.hiring-form-section {
  padding: 85px 0 40px;
  background-color: #eef5ff; /* Light blue tint from design */
  position: relative;
  overflow: hidden;
}

.application-form {
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 45px;
}

.scratched-circle {
  position: absolute;
  top: 36%;
  right: 6%;
}

.decorative-semicircle {
  position: absolute;
  top: 1%;
  left: 3%;
}

.decorative-cross {
  position: absolute;
  top: 11%;
  right: 5%;
}

.decorative-dotted-diamond {
  position: absolute;
  top: 75%;
  left: 7%;
}

/* Floating effect for unique job page decorations */
.scratched-circle,
.decorative-semicircle,
.decorative-cross,
.decorative-dotted-diamond,
.multi-lines,
.double-circle-overlapped {
  animation: jobFloatDecor 5s ease-in-out infinite;
}

/* Offset the timing so they don't move in perfect sync */
.decorative-cross,
.multi-lines {
  animation-delay: 1.5s;
}
.decorative-dotted-diamond,
.double-circle-overlapped {
  animation-delay: 3s;
}

@keyframes jobFloatDecor {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(2deg);
  }
}

.form-card {
  max-width: 100%;
  background: #fff;
  border: 1px solid #e0eaff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.21);
  margin-bottom: 0;
}

.app-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 46px;
  float: left; /* Necessary to keep legend inline with top of fieldset padding */
  width: 100%;
}

.app-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.blue-icon {
  background-color: #e7f1ff;
}

.green-icon {
  background-color: #e0ffe9;
}

.pink-icon {
  background-color: #ffe4f0;
}

.app-card-header h2 {
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
}

.card-header img {
  width: 45px;
}

.form-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: flex;
  gap: 20px;
  clear: both;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.full-width {
  width: 100%;
}

.form-group label {
  font-weight: 500;
}

.form-group label span {
  color: #ed0e0e;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 18px;
  border: 1px solid #d1d1d1;
  border-radius: 2px;
  font-family: inherit;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background: none;
}

.select-wrapper {
  position: relative;
  display: block;
}

.select-wrapper select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  width: 100%;
  padding-right: 40px; /* space for arrow */
}

.select-wrapper::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;

  background-image: url("../assets/icons/down-arrow.svg");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}

.form-group input::placeholder,
.form-group select::placeholder,
.form-group select,
.form-group textarea::placeholder,
option {
  color: #878787;
}

option[disabled] {
  background-color: #eef5ff;
  color: #000;
}

.form-hint {
  color: #878787;
  font-size: var(--fs-small);
  line-height: var(--lh-small);
  margin-top: 10px;
}

/* Blue Submission Banner */
.submission-footer {
  background-color: #0053c7;
  border-radius: 11px;
  padding: 30px 40px;
  text-align: center;
  color: #fff;
}

.orange-bg {
  background-color: #ed7d30;
}

.submission-footer p {
  margin-bottom: 20px;
}

.btn-submit {
  max-width: 300px;
  width: 100%;
  margin: 0 auto;
  background: #fff;
  color: #000;
  border: 1px solid transparent;
  padding: 10px 20px;
  border-radius: 170px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s all ease;
}

.btn-submit:hover {
  background: #fff;
  color: #000;
  border: 1px solid transparent;
}

.hiring-process-section {
  padding: 20px 0 60px;
  background-color: #eef5ff; /* Light blue background as per design */
  position: relative;
  overflow: hidden;
}

.multi-lines {
  position: absolute;
  top: 0%;
  left: 1%;
}

.double-circle-overlapped {
  position: absolute;
  top: 20%;
  right: 15%;
}

.process-title {
  margin-bottom: 48px;
}

/* Orange underline for "Happens" */
.highlight-underline {
  position: relative;
  display: inline-block;
}

.highlight-underline::after {
  content: "";
  position: absolute;
  bottom: -9px;
  left: 0;
  width: 75%;
  height: 6px;
  background-color: #ed7d30; /* var(--color-accent-orange) */
}

.blue-underline::after {
  background-color: #0053c7;
}

/* Vertical Timeline Layout */
.timeline-container {
  max-width: 700px;
  width: 100%;
  margin: 0 auto 47px;
  position: relative;
}

.timeline-step {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 55px;
  position: relative;
}

.step-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 2; /* Keeps icon above the vertical line */
}

.step-icon img {
  width: 33px;
}

.step-content h3 {
  font-size: var(--fs-large-bold);
  line-height: var(--lh-large-bold);
  font-weight: 700;
}

/* Disclaimer Box with Orange Left Border */
.process-disclaimer {
  max-width: 670px;
  width: 100%;
  margin: 0 auto;
  padding: 18px 25px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  border-left: 9px solid #ed7d30; /* Thick orange left border from design */
  border-top: 2px solid #ed7d30;
  border-right: 2px solid #ed7d30;
  border-bottom: 2px solid #ed7d30;
}

.blue-border {
  border-color: #0053c7;
}

.process-disclaimer strong {
  font-size: var(--fs-large-bold);
  line-height: var(--lh-large-bold);
}

@media (max-width: 1300px) {
  .hero-banner p {
    width: 80%;
  }

  .application-form {
    max-width: 780px;
    gap: 32px;
  }

  .app-card-header {
    margin-bottom: 40px;
  }

  .scratched-circle {
    top: 32%;
    right: 2%;
  }

  .decorative-dotted-diamond {
    left: 3%;
  }
  .process-title {
    margin-bottom: 46px;
  }

  .timeline-container {
    margin-bottom: 50px;
  }

  .timeline-step {
    margin-bottom: 32px;
  }

  .multi-lines {
    top: 12%;
  }

  .double-circle-overlapped {
    top: 25%;
    right: 10%;
  }
}

@media (max-width: 1100px) {
  .hero-banner p {
    width: 75%;
  }

  .application-form {
    width: 82%;
    gap: 36px;
  }

  .form-container {
    gap: 20px;
  }
  .app-card-header {
    margin-bottom: 24px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    margin-top: auto;
    padding: 12px 10px;
  }

  .form-hint {
    margin-top: 4px;
  }

  .hiring-process-section {
    padding: 20px 0 50px;
  }
  .highlight-underline::after {
    bottom: -15px;
    left: 20px;
  }
  .timeline-container {
    width: 85%;
    margin-bottom: 36px;
  }
  .timeline-step {
    margin-bottom: 24px;
  }

  .process-disclaimer {
    width: 75%;
  }
  .multi-lines {
    top: 0%;
  }

  .double-circle-overlapped {
    top: 30%;
    right: 5%;
  }

  .double-circle-overlapped img {
    width: 75%;
  }

  .scratched-circle {
    top: 35%;
    right: -6%;
  }

  .scratched-circle img {
    width: 45%;
  }

  .decorative-semicircle img {
    width: 90%;
  }

  .decorative-cross {
    top: 12%;
    right: 0%;
  }

  .decorative-cross img {
    width: 70%;
  }

  .decorative-dotted-diamond img {
    width: 55%;
  }
}

/* Responsive */
@media (max-width: 767px) {
  .hero-banner p {
    width: 100%;
  }

  .hiring-form-section {
    padding: 70px 0 40px;
  }

  .scratched-circle {
    top: 34%;
    right: -30%;
  }

  .scratched-circle img {
    width: 10%;
  }
  .application-form {
    width: 100%;
    gap: 32px;
  }

  .form-card {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px 15px;
  }

  .form-group textarea {
    height: 196px;
  }

  .app-card-icon {
    width: 40px;
    height: 40px;
  }

  .app-card-icon img {
    width: 24px;
  }

  .form-container {
    gap: 12px;
  }

  .form-row.split {
    flex-direction: column;
    gap: 12px;
  }

  .submission-footer {
    padding: 30px 25px;
  }

  .hiring-process-section {
    padding: 10px 0 40px;
  }
  .process-title {
    margin-bottom: 40px;
  }

  .highlight-underline::after {
    width: 100%;
    left: 0;
  }

  .multi-lines {
    left: -8%;
  }

  .multi-lines img {
    width: 70%;
  }

  .double-circle-overlapped {
    top: 12%;
    right: -5%;
  }

  .double-circle-overlapped img {
    width: 45%;
  }

  .decorative-semicircle {
    top: 10px;
  }

  .decorative-semicircle img {
    width: 55%;
  }

  .decorative-cross {
    top: 9%;
    right: -16%;
  }

  .decorative-cross img {
    width: 16%;
  }

  .timeline-container {
    width: 100%;
    margin-bottom: 32px;
  }

  .timeline-step {
    margin-bottom: 18px;
  }

  .step-icon {
    width: 33px;
    height: 33px;
  }

  .process-disclaimer {
    padding: 15px 5px;
    width: 100%;
  }
}
