.ahc-app,
.ahc-app * {
  box-sizing: border-box;
}

.ahc-app {
  --ahc-accent: #00B55A;
  --ahc-dark: #003F34;
  --ahc-bg: #F7FAF9;
  --ahc-soft: #EEF9F2;
  --ahc-border: #E6EEEE;
  --ahc-muted: #6C807B;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 88px 20px 80px;
  font-family: "Figtree", Arial, sans-serif;
  color: var(--ahc-dark);
}

.ahc-hero {
  text-align: center;
  margin-bottom: 46px;
}

.ahc-logo {
  max-width: 105px;
  max-height: 56px;
  object-fit: contain;
  display: block;
  margin: 0 auto 18px;
}

.ahc-hero h1 {
  margin: 0;
  color: var(--ahc-dark);
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  text-transform: uppercase;
}

.ahc-hero h2 {
  margin: 8px 0 8px;
  color: var(--ahc-accent);
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.2;
  font-weight: 800;
}

.ahc-hero p {
  margin: 0;
  color: var(--ahc-dark);
  font-size: 14px;
}

.ahc-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 0 auto 86px;
  max-width: 930px;
}

.ahc-step-indicator {
  position: relative;
  text-align: center;
  min-width: 0;
}

.ahc-step-line {
  position: absolute;
  top: 14px;
  left: 50%;
  right: -50%;
  height: 3px;
  background: #E4EDEC;
  z-index: 0;
}

.ahc-step-indicator:last-child .ahc-step-line {
  display: none;
}

.ahc-step-circle {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  margin: 0 auto 11px;
  border-radius: 50%;
  background: #F2F7F6;
  border: 1px solid #DFE9E7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ahc-dark);
  font-size: 12px;
  font-weight: 800;
}

.ahc-step-label {
  color: var(--ahc-dark);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
}

.ahc-step-indicator.is-active .ahc-step-circle,
.ahc-step-indicator.is-complete .ahc-step-circle {
  background: var(--ahc-accent);
  border-color: var(--ahc-accent);
  color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(0, 181, 90, 0.18);
}

.ahc-step-indicator.is-active .ahc-step-label,
.ahc-step-indicator.is-complete .ahc-step-label {
  color: var(--ahc-accent);
}

.ahc-step-indicator.is-complete .ahc-step-line,
.ahc-step-indicator.is-active .ahc-step-line {
  background: var(--ahc-accent);
}

.ahc-form {
  width: 100%;
}

.ahc-form-step {
  display: none;
}

.ahc-form-step.is-active {
  display: block;
  animation: ahcFadeUp 0.28s ease-out;
}

@keyframes ahcFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.ahc-form-step > h3 {
  text-align: center;
  margin: 0 0 48px;
  color: var(--ahc-dark);
  font-size: clamp(27px, 3vw, 36px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ahc-section-title {
  width: 100%;
  margin: 0 0 28px;
  padding: 14px 18px;
  border-radius: 7px;
  background: linear-gradient(90deg, #EBFFF3 0%, #BFF1D4 100%);
  color: var(--ahc-accent);
  text-transform: uppercase;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.ahc-section-title:not(:first-child) {
  margin-top: 52px;
}

.ahc-small-note {
  margin: -14px 0 26px;
  color: var(--ahc-muted);
  font-size: 13px;
  line-height: 1.6;
}

.ahc-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 18px;
  width: 100%;
}

.ahc-gap-top {
  margin-top: 42px;
}

.ahc-field {
  display: block;
}

.ahc-col-100 { flex: 0 0 100%; max-width: 100%; }
.ahc-col-75 { flex: 0 0 calc(75% - 9px); max-width: calc(75% - 9px); }
.ahc-col-70 { flex: 0 0 calc(70% - 9px); max-width: calc(70% - 9px); }
.ahc-col-50 { flex: 0 0 calc(50% - 9px); max-width: calc(50% - 9px); }
.ahc-col-40 { flex: 0 0 calc(40% - 12px); max-width: calc(40% - 12px); }
.ahc-col-35 { flex: 0 0 calc(35% - 12px); max-width: calc(35% - 12px); }
.ahc-col-33 { flex: 0 0 calc(33.333% - 12px); max-width: calc(33.333% - 12px); }
.ahc-col-30 { flex: 0 0 calc(30% - 12px); max-width: calc(30% - 12px); }
.ahc-col-25 { flex: 0 0 calc(25% - 14px); max-width: calc(25% - 14px); }
.ahc-col-20 { flex: 0 0 calc(20% - 15px); max-width: calc(20% - 15px); }
.ahc-col-15 { flex: 0 0 calc(15% - 15px); max-width: calc(15% - 15px); }

.ahc-field label,
.ahc-card h4 {
  display: block;
  margin: 0 0 9px;
  color: var(--ahc-dark);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
}

.ahc-field label span {
  color: #D73B3E;
}

.ahc-field input:not([type="radio"]):not([type="checkbox"]),
.ahc-field select,
.ahc-field textarea {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--ahc-border) !important;
  border-radius: 9px !important;
  background: #FFFFFF !important;
  box-shadow: 0 8px 24px rgba(0, 63, 52, 0.025) !important;
  color: var(--ahc-dark) !important;
  font-size: 14px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.ahc-field textarea {
  min-height: 116px;
  resize: vertical;
}

.ahc-field input:focus,
.ahc-field select:focus,
.ahc-field textarea:focus {
  border-color: rgba(0, 181, 90, 0.55) !important;
  box-shadow: 0 0 0 4px rgba(0, 181, 90, 0.08) !important;
}

.ahc-field input::placeholder,
.ahc-field textarea::placeholder {
  color: #AEBAB7;
}

.ahc-help {
  display: block;
  margin-top: 7px;
  color: var(--ahc-muted);
  font-size: 11px;
}

.ahc-choice-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 56px;
  min-height: 34px;
  align-items: center;
}

.ahc-check {
  display: inline-flex !important;
  align-items: center;
  gap: 9px;
  margin: 0 !important;
  cursor: pointer;
  font-weight: 500 !important;
  color: var(--ahc-dark) !important;
}

.ahc-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ahc-check span {
  width: 17px;
  height: 17px;
  border-radius: 4px;
  border: 1.5px solid #548078;
  background: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ahc-check input:checked + span {
  border-color: var(--ahc-accent);
  background: var(--ahc-accent);
}

.ahc-check input:checked + span::after {
  content: "✓";
  color: #FFFFFF;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
}

.ahc-field[data-condition] {
  display: none;
}

.ahc-field[data-condition].is-condition-visible {
  display: block;
}

.ahc-error-text {
  display: none;
  margin-top: 7px;
  color: #C73535;
  font-size: 12px;
  font-weight: 600;
}

.ahc-field.has-error input,
.ahc-field.has-error select,
.ahc-field.has-error textarea {
  border-color: #E07070 !important;
  box-shadow: 0 0 0 4px rgba(224, 112, 112, 0.08) !important;
}

.ahc-field.has-error .ahc-error-text {
  display: block;
}

.ahc-card,
.ahc-repeat-item.ahc-card {
  position: relative;
  width: 100%;
  margin: 0 0 24px;
  padding: 32px 28px 28px;
  border: 1px solid #EEF4F2;
  border-radius: 12px;
  background: #FFFFFF;
  box-shadow: 0 12px 30px rgba(0, 63, 52, 0.035);
}

.ahc-card-soft {
  background: #FFFFFF;
  margin-top: 26px;
}

.ahc-mini-label {
  display: inline-block;
  margin: 0 0 24px;
  padding: 5px 10px;
  border-radius: 99px;
  background: #F0FFF5;
  color: var(--ahc-accent);
  font-size: 12px;
  font-weight: 800;
}

.ahc-remove-repeat {
  position: absolute;
  top: 17px;
  right: 20px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--ahc-accent);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.ahc-repeat-list .ahc-repeat-item:first-child .ahc-remove-repeat {
  display: none;
}

.ahc-add-repeat {
  width: 100%;
  min-height: 56px;
  margin: 0 0 46px;
  border: 1.5px dashed var(--ahc-accent);
  border-radius: 10px;
  background: rgba(0, 181, 90, 0.025);
  color: var(--ahc-accent);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.ahc-add-repeat:hover {
  background: rgba(0, 181, 90, 0.06);
}

.ahc-accordion {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
}

.ahc-accordion-item {
  background: #FFFFFF;
  border: 1px solid #EAF1EF;
  border-bottom: none;
}

.ahc-accordion-item:last-child {
  border-bottom: 1px solid #EAF1EF;
}

.ahc-accordion-head {
  width: 100%;
  min-height: 56px;
  padding: 0 20px;
  border: none;
  background: #FFFFFF;
  color: var(--ahc-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: 14px;
  font-weight: 800;
}

.ahc-accordion-item.is-open .ahc-accordion-head {
  background: linear-gradient(90deg, #F6FFF9 0%, #E0F7EA 100%);
}

.ahc-accordion-head em {
  font-style: normal;
  transform: rotate(0deg);
  transition: transform 0.2s ease;
}

.ahc-accordion-item.is-open .ahc-accordion-head em {
  transform: rotate(180deg);
}

.ahc-accordion-body {
  display: none;
  padding: 0 20px 12px;
}

.ahc-accordion-item.is-open .ahc-accordion-body {
  display: block;
}

.ahc-skill-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  min-height: 44px;
  border-top: 1px solid #EDF3F1;
  color: var(--ahc-dark);
  font-size: 13px;
}

.ahc-rating {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ahc-rating label {
  margin: 0 !important;
  cursor: pointer;
}

.ahc-rating input {
  position: absolute;
  opacity: 0;
}

.ahc-rating span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ahc-dark);
  background: #F3F8F7;
  font-size: 11px;
  font-weight: 800;
}

.ahc-rating input:checked + span {
  background: var(--ahc-accent);
  color: #FFFFFF;
}

.ahc-pill-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.ahc-pill {
  margin: 0 !important;
  cursor: pointer;
}

.ahc-pill input {
  position: absolute;
  opacity: 0;
}

.ahc-pill span {
  min-width: 142px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  padding: 9px 19px;
  border: 1px solid #E5EEEC;
  border-radius: 99px;
  background: #FFFFFF;
  color: var(--ahc-dark);
  font-size: 13px;
  font-weight: 700;
  transition: all 0.18s ease;
}

.ahc-pill input:checked + span {
  border-color: var(--ahc-accent);
  background: #EFFFF5;
  color: var(--ahc-accent);
  box-shadow: 0 8px 20px rgba(0, 181, 90, 0.08);
}

.ahc-availability-table {
  width: 100%;
  overflow-x: auto;
  margin: 0 0 28px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 63, 52, 0.035);
}

.ahc-availability-table table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: #FFFFFF;
}

.ahc-availability-table th {
  background: var(--ahc-accent);
  color: #FFFFFF;
  height: 42px;
  padding: 10px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.32);
  font-size: 14px;
  font-weight: 700;
}

.ahc-availability-table th:first-child,
.ahc-availability-table td:first-child {
  text-align: left;
  padding-left: 17px;
  width: 32%;
}

.ahc-availability-table td {
  height: 42px;
  padding: 8px 10px;
  border: 1px solid #E9F0EE;
  text-align: center;
  color: var(--ahc-dark);
  font-size: 13px;
  font-weight: 600;
}

.ahc-table-radio {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  cursor: pointer;
}

.ahc-table-radio input {
  position: absolute;
  opacity: 0;
}

.ahc-table-radio span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: transparent;
  background: #F2F8F6;
  font-weight: 900;
}

.ahc-table-radio input:checked + span {
  color: var(--ahc-accent);
  background: #DDF8E9;
}

.ahc-certification-copy {
  color: var(--ahc-dark);
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 30px;
}

.ahc-certification-copy p {
  margin: 0 0 18px;
}

.ahc-button-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 44px;
}

.ahc-btn {
  min-width: 150px;
  min-height: 55px;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 14px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  transition: all 0.18s ease;
}

.ahc-btn-primary {
  background: var(--ahc-accent);
  color: #FFFFFF;
  box-shadow: 0 14px 26px rgba(0, 181, 90, 0.18);
}

.ahc-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(0, 181, 90, 0.22);
}

.ahc-btn-secondary {
  background: #FFFFFF;
  color: var(--ahc-dark);
  border-color: #EDF3F1;
}

.ahc-form-message {
  display: none;
  margin-top: 28px;
  padding: 16px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
}

.ahc-form-message.is-success {
  display: block;
  background: #EFFFF5;
  color: var(--ahc-accent);
  border: 1px solid #C9F1D9;
}

.ahc-form-message.is-error {
  display: block;
  background: #FFF0F0;
  color: #B93434;
  border: 1px solid #F2C6C6;
}

.ahc-form.is-submitting {
  opacity: 0.72;
  pointer-events: none;
}

@media (max-width: 900px) {
  .ahc-app {
    padding: 58px 16px 60px;
  }

  .ahc-steps {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 58px;
  }

  .ahc-step-indicator {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    align-items: center;
    text-align: left;
  }

  .ahc-step-line {
    display: none;
  }

  .ahc-step-circle {
    margin: 0;
  }

  .ahc-col-75,
  .ahc-col-70,
  .ahc-col-50,
  .ahc-col-40,
  .ahc-col-35,
  .ahc-col-33,
  .ahc-col-30,
  .ahc-col-25,
  .ahc-col-20,
  .ahc-col-15 {
    flex-basis: 100%;
    max-width: 100%;
  }

  .ahc-card,
  .ahc-repeat-item.ahc-card {
    padding: 26px 18px 22px;
  }

  .ahc-choice-wrap {
    gap: 12px 24px;
  }

  .ahc-button-row {
    align-items: stretch;
  }

  .ahc-btn {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 520px) {
  .ahc-button-row {
    flex-direction: column-reverse;
  }

  .ahc-button-row span:empty {
    display: none;
  }

  .ahc-pill span {
    min-width: 0;
    width: 100%;
  }

  .ahc-pill {
    width: calc(50% - 7px);
  }
}

/* v1.0.4 clinical skills and hover polish */
.ahc-app button,
.ahc-app button:hover,
.ahc-app button:focus,
.ahc-app button:active,
.ahc-app a,
.ahc-app a:hover,
.ahc-app a:focus {
  text-decoration: none !important;
}

.ahc-app button:hover,
.ahc-app button:focus,
.ahc-app button:active {
  color: inherit;
}

.ahc-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: visible;
  border-radius: 0;
}

.ahc-accordion-item {
  overflow: hidden;
  border: 1px solid #E5F0ED !important;
  border-radius: 10px;
  background: #FFFFFF;
}

.ahc-accordion-item:last-child {
  border-bottom: 1px solid #E5F0ED !important;
}

.ahc-accordion-head {
  min-height: 52px;
  padding: 0 18px;
  background: #FFFFFF;
  color: var(--ahc-dark) !important;
  line-height: 1.35;
}

.ahc-accordion-head span {
  color: var(--ahc-dark) !important;
}

.ahc-accordion-head:hover,
.ahc-accordion-head:focus,
.ahc-accordion-item.is-open .ahc-accordion-head:hover {
  background: linear-gradient(90deg, #F1FFF6 0%, #DDF7E8 100%) !important;
  color: var(--ahc-dark) !important;
}

.ahc-accordion-item.is-open .ahc-accordion-head {
  background: linear-gradient(90deg, #F3FFF7 0%, #DFF8E9 100%) !important;
  color: var(--ahc-dark) !important;
}

.ahc-accordion-head em {
  color: var(--ahc-dark) !important;
  opacity: 0.8;
}

.ahc-accordion-body {
  padding: 0 18px 10px;
  background: #FFFFFF;
}

.ahc-skill-rating-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 26px 26px 26px 26px;
  column-gap: 9px;
  align-items: center;
  min-height: 30px;
  color: var(--ahc-muted);
  font-size: 11px;
  font-weight: 800;
}

.ahc-skill-rating-head strong {
  text-align: center;
  color: var(--ahc-muted);
  font-weight: 800;
}

.ahc-skill-row {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  min-height: 46px;
  padding: 7px 0;
  line-height: 1.35;
  color: var(--ahc-dark) !important;
}

.ahc-skill-name,
.ahc-skill-row > span {
  color: var(--ahc-dark) !important;
  font-weight: 600;
  word-break: normal;
  overflow-wrap: anywhere;
}

.ahc-rating {
  gap: 9px;
  min-width: 132px;
  justify-content: flex-end;
}

.ahc-rating span {
  width: 26px;
  height: 26px;
  border: 1px dashed #DCEBE7;
  background: #FFFFFF;
  color: var(--ahc-dark) !important;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.ahc-rating label:hover span,
.ahc-rating label:focus-within span {
  border-color: rgba(0, 181, 90, 0.55);
  background: #EFFFF5;
  color: var(--ahc-accent) !important;
}

.ahc-rating input:checked + span {
  border-color: var(--ahc-accent);
  background: var(--ahc-accent) !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 18px rgba(0, 181, 90, 0.16);
}

.ahc-btn-primary,
.ahc-btn-primary:hover,
.ahc-btn-primary:focus,
.ahc-btn-primary:active {
  background: var(--ahc-accent) !important;
  color: #FFFFFF !important;
  border-color: var(--ahc-accent) !important;
}

.ahc-btn-secondary:hover,
.ahc-btn-secondary:focus,
.ahc-btn-secondary:active {
  background: #EFFFF5 !important;
  color: var(--ahc-accent) !important;
  border-color: rgba(0, 181, 90, 0.35) !important;
}

.ahc-add-repeat:hover,
.ahc-add-repeat:focus,
.ahc-remove-repeat:hover,
.ahc-remove-repeat:focus {
  background: #EFFFF5 !important;
  color: var(--ahc-accent) !important;
}

.ahc-pill span:hover,
.ahc-pill input:focus + span {
  border-color: rgba(0, 181, 90, 0.45) !important;
  background: #EFFFF5 !important;
  color: var(--ahc-accent) !important;
}

@media (max-width: 640px) {
  .ahc-skill-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 0;
  }

  .ahc-skill-rating-head {
    display: none;
  }

  .ahc-rating {
    min-width: 0;
    justify-content: flex-start;
    gap: 8px;
  }

  .ahc-rating span {
    width: 30px;
    height: 30px;
  }
}


/* v1.0.5 typography update: Figtree + requested desktop label and placeholder styles */
.ahc-app,
.ahc-app * {
  font-family: "Figtree", Arial, sans-serif !important;
}

.ahc-app {
  --ahc-dark: #013D33;
  --ahc-placeholder: #616C67;
}

.ahc-field input:not([type="radio"]):not([type="checkbox"]),
.ahc-field select,
.ahc-field textarea {
  font-family: "Figtree", Arial, sans-serif !important;
  font-weight: 400 !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  color: var(--ahc-placeholder) !important;
}

.ahc-field input:not([type="radio"]):not([type="checkbox"])::placeholder,
.ahc-field textarea::placeholder {
  font-family: "Figtree", Arial, sans-serif !important;
  font-weight: 400 !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  color: var(--ahc-placeholder) !important;
  opacity: 1 !important;
}

.ahc-field input:not([type="radio"]):not([type="checkbox"]):-ms-input-placeholder,
.ahc-field textarea:-ms-input-placeholder {
  color: var(--ahc-placeholder) !important;
}

.ahc-field select option:first-child {
  color: var(--ahc-placeholder) !important;
}

@media (min-width: 901px) {
  .ahc-field > label,
  .ahc-pill-field > label,
  .ahc-card > h4,
  .ahc-card .ahc-grid > .ahc-field > label {
    font-family: "Figtree", Arial, sans-serif !important;
    font-weight: 500 !important;
    font-style: normal !important;
    font-size: 18px !important;
    line-height: 1.5 !important;
    letter-spacing: 0 !important;
    color: #013D33 !important;
  }

  .ahc-help,
  .ahc-small-note {
    font-family: "Figtree", Arial, sans-serif !important;
  }
}

.ahc-check,
.ahc-pill span,
.ahc-btn,
.ahc-step-label,
.ahc-section-title,
.ahc-skill-row,
.ahc-rating span,
.ahc-availability-table th,
.ahc-availability-table td {
  font-family: "Figtree", Arial, sans-serif !important;
}

/* v1.0.6 alignment and title weight fixes */
.ahc-field input:not([type="radio"]):not([type="checkbox"]),
.ahc-field select,
.ahc-field textarea {
  text-align: left !important;
}

.ahc-field input:not([type="radio"]):not([type="checkbox"])::placeholder,
.ahc-field textarea::placeholder {
  text-align: left !important;
}

.ahc-field input:not([type="radio"]):not([type="checkbox"]):-ms-input-placeholder,
.ahc-field textarea:-ms-input-placeholder {
  text-align: left !important;
}

.ahc-field input:not([type="radio"]):not([type="checkbox"])::-ms-input-placeholder,
.ahc-field textarea::-ms-input-placeholder {
  text-align: left !important;
}

.ahc-hero h1,
.ahc-form-step > h3 {
  font-weight: 600 !important;
}

/* Version 1.0.7 refinements */
.ahc-form-step[data-ahc-step="2"] > h3 {
  margin-bottom: 42px;
}

.ahc-form-step[data-ahc-step="2"] .ahc-section-title {
  margin-bottom: 24px;
}

.ahc-education-item {
  width: 100%;
  padding: 0 0 24px;
  margin: 0 0 22px;
  border-bottom: 1px solid #E3ECE9;
}

.ahc-education-item:last-child {
  margin-bottom: 28px;
}

.ahc-education-item .ahc-grid {
  gap: 16px 12px;
}

.ahc-form-step[data-ahc-step="2"] .ahc-field label {
  margin-bottom: 10px;
}

.ahc-form-step[data-ahc-step="2"] textarea[name="additional_training"] {
  min-height: 92px;
}

.ahc-form-step[data-ahc-step="2"] .ahc-add-repeat {
  margin-top: 6px;
}

.ahc-form-step[data-ahc-step="2"] .ahc-card,
.ahc-form-step[data-ahc-step="2"] .ahc-repeat-item.ahc-card {
  border-radius: 10px;
}

/* Version 1.0.9 - Applicant Certification & Authorization refinements */
.ahc-form-step[data-ahc-step="5"] .ahc-section-title {
  margin-bottom: 28px;
}

.ahc-form-step[data-ahc-step="5"] .ahc-certification-copy {
  margin: 0 0 34px;
  color: #5A6A66;
  font-size: 16px;
  line-height: 1.75;
}

.ahc-form-step[data-ahc-step="5"] .ahc-certification-copy p {
  margin: 0 0 18px;
}

.ahc-form-step[data-ahc-step="5"] .ahc-certification-copy strong,
.ahc-form-step[data-ahc-step="5"] .ahc-certification-copy b {
  color: var(--ahc-dark);
  font-weight: 700;
}

.ahc-signature-card {
  padding: 18px 18px 16px;
  border: 1px solid #DDE8E4;
  border-radius: 16px;
  box-shadow: none;
}

.ahc-signature-card h4 {
  margin: 0 0 22px;
  color: #758783;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
}

.ahc-signature-card .ahc-grid {
  gap: 18px 16px;
}

.ahc-signature-card .ahc-field label {
  margin-bottom: 10px;
}

.ahc-signature-card .ahc-esig-upload input[type="file"] {
  min-height: 40px;
  padding: 4px;
  border: 1px solid #E1EAE7 !important;
  border-radius: 10px !important;
  background: #FBFDFC !important;
  box-shadow: none !important;
}

.ahc-signature-card .ahc-esig-upload input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 9px 14px;
  border: 1px solid #D7E3DF;
  border-radius: 8px;
  background: #F4F8F7;
  color: #677772;
  font-family: "Figtree", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.ahc-signature-card .ahc-resume-upload input[type="file"] {
  min-height: 78px;
  padding: 18px 16px;
  border: 1.5px dashed #D5E4DE !important;
  border-radius: 12px !important;
  background: #FAFCFB !important;
  box-shadow: none !important;
}

.ahc-signature-card .ahc-resume-upload input[type="file"]::file-selector-button {
  margin-right: 16px;
  padding: 10px 14px;
  border: 1px solid #D7E3DF;
  border-radius: 8px;
  background: #FFFFFF;
  color: var(--ahc-dark);
  font-family: "Figtree", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.ahc-signature-card .ahc-resume-upload .ahc-help {
  margin-top: 10px;
  text-align: center;
  color: #7C8D88;
  font-size: 13px;
}

@media (max-width: 767px) {
  .ahc-form-step[data-ahc-step="5"] .ahc-certification-copy {
    font-size: 15px;
    line-height: 1.7;
  }

  .ahc-signature-card {
    padding: 16px 14px 14px;
    border-radius: 14px;
  }

  .ahc-signature-card h4 {
    margin-bottom: 18px;
    font-size: 15px;
  }

  .ahc-signature-card .ahc-esig-upload input[type="file"],
  .ahc-signature-card .ahc-resume-upload input[type="file"] {
    min-height: 52px;
  }

  .ahc-signature-card .ahc-resume-upload input[type="file"] {
    min-height: 88px;
  }

  .ahc-signature-card .ahc-esig-upload input[type="file"]::file-selector-button,
  .ahc-signature-card .ahc-resume-upload input[type="file"]::file-selector-button {
    display: block;
    margin: 0 0 10px;
    width: auto;
  }
}


/* Version 1.1.0 - security and UX validation states */
.ahc-field input[aria-invalid="true"],
.ahc-field select[aria-invalid="true"],
.ahc-field textarea[aria-invalid="true"] {
  border-color: #E07070 !important;
  box-shadow: 0 0 0 4px rgba(224, 112, 112, 0.08) !important;
}

.ahc-btn:disabled {
  cursor: not-allowed;
  opacity: 0.76;
}

.ahc-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: ahcSpin 0.6s linear infinite;
}

@keyframes ahcSpin {
  to { transform: rotate(360deg); }
}

.ahc-success-screen {
  max-width: 760px;
  margin: 30px auto 0;
  padding: 58px 34px;
  border: 1px solid #CFECDD;
  border-radius: 18px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F3FFF8 100%);
  text-align: center;
  box-shadow: 0 20px 45px rgba(0, 63, 52, 0.07);
}

.ahc-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--ahc-accent);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 800;
}

.ahc-success-screen h2 {
  margin: 0 0 14px;
  color: var(--ahc-dark);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
  font-weight: 700;
}

.ahc-success-screen p {
  margin: 8px 0;
  color: #4E625D;
  font-size: 16px;
  line-height: 1.65;
}

.ahc-success-screen strong {
  color: var(--ahc-dark);
  font-weight: 800;
}

@media (max-width: 767px) {
  .ahc-success-screen {
    padding: 42px 20px;
    border-radius: 14px;
  }

  .ahc-success-icon {
    width: 54px;
    height: 54px;
    font-size: 28px;
  }
}
