/* Student Enrollment Form â€” modern style.css
   Primary: #1c7640   Secondary: #e6b535 */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
}

body {
    font-family: "DM Sans", sans-serif;
    background: #f6faf7 !important;
    color: #1f2937;
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: #1c7640;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.hidden {
    display: none !important;
}

.page-wrap {
    min-height: 100%;
    padding: 40px 0px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
}

/* =================== STICKY WIZARD HEADER =================== */

header.uc-header.header-five.uc-navbar-sticky-wrap.z-999.uc-sticky {
    border-bottom: 1px solid #dbead9;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.enrollment-container {
    max-width: 100%;
    margin: 0px auto;
    background: #f3f3f3 !important;
    overflow-x: hidden !important;
}

button.verify-btn {
    height: 44px !important;
}

.wizard-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
    margin-bottom: 20px;
    border-radius: 14px 14px 0px 0px;
}

.wizard-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 24px 0;
}

.steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-left: 0;
}

.step {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    padding: 4px 0;
    cursor: pointer;
}

.step .circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff;
    color: #9ca3af;
    border: 2px solid #e5e7eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    transition: all .25s ease;
}

.step .label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
    white-space: nowrap;
}

.step.active .circle {
    background: #1c7640;
    color: #fff;
    border-color: #1c7640;
    box-shadow: 0 0 0 4px rgba(28, 118, 64, 0.12);
}

.step.active .label {
    color: #1c7640;
    font-weight: 600;
}

.step.done .circle {
    background: #1c7640;
    color: #fff;
    border-color: #1c7640;
}

.step.done .circle::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.progress-track {
    height: 4px;
    background: #eef2f0;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 16px;
}

.progress-bar {
    height: 100%;
    width: 14%;
    background: linear-gradient(90deg, #1c7640, #e6b535);
    border-radius: 4px;
    transition: width .4s ease;
}

/* =================== FORM SHELL =================== */
.form-shell {
    max-width: 1200px;
    margin: 0 auto 0;
    background: #fff;
    border-radius: 16px;
    overflow: visible;
    border: 1px solid #ebebeb;
}

.step-panel {
    display: none;
    animation: fadeUp .35s ease;
}

.step-panel.active {
    display: block;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =================== MODERN CARD =================== */
.modern-card {
    background: #ffffff;
    padding: 24px 30px;
    transition: box-shadow .25s ease, transform .25s ease;
}

.m-section {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.m-section-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1c7640, #2c9858);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.m-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0;
}

.m-title-sm {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0;
}

.m-sub {
    color: #6b7280;
    margin-top: 4px;
    font-size: 14px;
}

.m-sub-sm {
    color: #6b7280;
    margin-top: 2px;
    font-size: 13px;
}

/* Locked state */
.modern-card.locked {
    opacity: .55;
    pointer-events: none;
    filter: grayscale(0.2);
    position: relative;
}

.modern-card.locked::after {
    content: "\f023  Verify your email to unlock";
    font-family: "DM Sans", "Font Awesome 6 Free";
    font-weight: 600;
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 12px;
    color: #6b7280;
    background: #fef9e7;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #f1e2a5;
}

/* =================== VERIFY CARD =================== */

.verify-head {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.verify-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1c7640, #2c9858);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.verify-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: end;
}

.verify-btn {
    height: 44px;
    white-space: nowrap;
}

.verify-btn .vb-loader,
.verify-btn .vb-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.verify-success {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #ecfdf3;
    border: 1px solid #a7e6c0;
    color: #14532d;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 14px;
    animation: fadeUp .35s ease;
}

.verify-success i {
    color: #1c7640;
    font-size: 20px;
}

/* =================== FIELDS =================== */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 20px;
}

.grid-2 .full {
    grid-column: 1 / -1;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field.full {
    grid-column: 1 / -1;
}

.field label {
    font-size: 13px;
    font-weight: 500;
    color: #374151;
}

.field input[type=text],
.field input[type=email],
.field input[type=password],
.field input[type=tel],
.field input[type=date] {
    width: 100%;
    height: 44px !important;
    padding: 0 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fbfbfb;
    font-family: inherit;
    font-size: 14px;
    color: #111827;
    transition: border .2s, box-shadow .2s, background .2s;
}

.field input:focus {
    outline: none;
    border-color: #1c7640;
    background: #fff;
    /* box-shadow: 0 0 0 4px rgba(28, 118, 64, 0.12); */
}

.field input[readonly] {
    background: #f0f7f2;
    color: #222222;
    font-weight: 500;
}

.field.invalid input {
    border-color: #dc2626;
    background: #fef2f2;
}

.field-note {
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
}

.field-spacer {
    visibility: hidden;
    pointer-events: none;
}

.fee-box {
    min-height: 136px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 18px;
}

.fee-box-label {
    font-size: 14px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.fee-box-value {
    font-size: 38px;
    line-height: 1;
    color: #374151;
}

.choice-row {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-top: 8px;
    flex-wrap: wrap;
}

.choice-row-wrap {
    gap: 18px 28px;
}

.choice-option {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #4b5563;
    cursor: pointer;
    position: relative;
}

.choice-option input[type=radio] {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background: #ffffff;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    outline: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.choice-option input[type=radio]:hover {
    border-color: #1c7640;
}

.choice-option input[type=radio]:checked {
    background: #10b981;
    border-color: #10b981;
    box-shadow: inset 0 0 0 4px #ffffff;
}

.section-nested {
    margin-top: 24px;
    border-top: 1px solid #e5e7eb;
    border-radius: 0;
}

.mini-title {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    margin: 22px 0 10px;
}

/* =================== STEP 3 LAYOUT =================== */
.step3-grid {
    display: grid;
    grid-template-columns: 1fr 410px;
    gap: 30px;
    align-items: start;
    padding-bottom: 30px;
}

.left-col {
    min-width: 0;
}

.agreement-note {
    padding: 14px 16px;
    border: 1px solid #cdebd3;
    border-radius: 10px;
    background: #f2fbf3;
    color: #4b5563;
    font-size: 12px;
    line-height: 1.7;
}

.signature-note {
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
    margin-bottom: 8px;
}

.signature-field {
    gap: 8px;
}

.signature-box {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    background: #fbfbfb;
    padding: 0;
    transition: border .2s, box-shadow .2s, background .2s;
}

.signature-box:focus-within {
    border-color: #1c7640;
    background: #fff;
}

.new-field-wpas-wsp .grid-2 {
    padding-top: 20px;
}

.field.invalid .signature-box {
    border-color: #dc2626;
    background: #fef2f2;
}

.signature-pad {
    width: 100%;
    display: block;
    border: 0;
    cursor: crosshair;
    background: #fff;
    border-radius: 10px;
}

.signature-pad:focus {
    outline: none;
}

.payment-method-select-field {
    margin-bottom: 18px;
}

.payment-method-select-field label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.payment-method-select-field label i {
    color: #0f172a;
    font-size: 14px;
}

.payment-section-card .pay-options,
.payment-section-card .method-row,
.payment-section-card .alt-pay {
    margin-top: 18px;
}

.signature-actions {
    display: flex;
    justify-content: flex-end;
    padding: 8px 12px;
    border-top: 1px solid #e5e7eb;
    background: #f8fafc;
}

.signature-clear-btn {
    padding: 8px 12px;
    border: 1px solid #f87171;
    border-radius: 8px;
    background: #fff;
    color: #ef4444;
    font-size: 12px;
    cursor: pointer;
    transition: all .2s ease;
}

.signature-clear-btn:hover {
    background: #fef2f2;
}

.logic-hidden-field {
    display: none !important;
}

.logic-hidden-select {
    pointer-events: none;
}

.pay-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.pay-card {
    position: relative;
    cursor: pointer;
    border: 1.5px solid #d2d2d2;
    border-radius: 14px;
    padding: 12px;
    text-align: center;
    background: #fff;
    transition: all .2s ease;
}

.pay-card input {
    display: none;
}

.pay-card .pay-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f0f7f2;
    color: #1c7640;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 18px;
}

.pay-card .pay-amt {
    font-weight: 700;
    color: #111827;
    font-size: 15px;
}

.pay-card .pay-label {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
}

.pay-card.popular {
    border-color: #1c7640;
}

.pay-card .pop-tag {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #e6b535;
    color: #1f2937;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 999px;
    font-weight: 600;
    white-space: nowrap;
}

.pay-card:has(input:checked) {
    border-color: #1c7640;
    background: #f4faf6;
    box-shadow: 0 4px 12px rgba(28, 118, 64, 0.12);
}

.pay-card:hover {
    transform: translateY(-2px);
}

.method-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: center;
}

.method {
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    background: #fff;
}

.method input {
    display: none;
}

.method-brand {
    font-size: 22px;
    font-weight: 700;
    color: #1c7640;
    letter-spacing: -.5px;
}

.method-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 14px;
    color: #6b7280;
    font-size: 12px;
}

.method-checks i {
    color: #1c7640;
    margin-right: 4px;
}

.btn-and-text button {
    width: 100%;
}

.btn-and-text span {
    font-size: 12px;
    padding-top: 0px;
    display: block;
    color: #6b7280;
}

.btn-and-text {
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    background: #fff;
}

.pay-cta {
    background: #0f172a;
    color: #fff;
    border: 0;
    border-radius: 10px;
    font-family: inherit;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all .2s ease;
    padding: 12px;
}

.pay-cta:hover {
    background: #1c7640;
}

.alt-pay {
    margin-top: 18px;
    padding: 16px;
    border: 1px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #fafafa;
}

.alt-title {
    font-weight: 600;
    color: #111827;
}

.alt-sub {
    color: #6b7280;
    font-size: 13px;
}

.alt-btn {
    background: #fff;
    border: 1.5px solid #e6b535;
    color: #8a6a18;
    padding: 10px 16px;
    border-radius: 10px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
}

.alt-btn:hover {
    background: #e6b535;
    color: #fff;
}

.summary-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 14px;
    padding: 26px;
    position: sticky;
    top: 5px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    margin-right: 30px;
}

.modern-card.payment-section-card {
    padding-right: 0px;
    padding-bottom: 0px;
}

.sum-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #eef0ee;
    font-size: 14px;
    color: #374151;
}

.sum-row strong {
    color: #111827;
    font-weight: 600;
}

.sum-row.green strong {
    color: #1c7640;
}

.sum-row.total {
    border-bottom: 0;
    margin-top: 6px;
    padding-top: 14px;
    border-top: 2px solid #1c7640;
    font-size: 16px;
}

.sum-row.total strong {
    color: #1c7640;
    font-size: 20px;
}

.after-pay {
    margin-top: 18px;
    padding: 16px;
    background: #f4faf6;
    border-radius: 12px;
}

.after-pay h4 {
    font-size: 14px;
    font-weight: 700;
    color: #1c7640;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.after-pay ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 0;
}

.after-pay .after-pay-highlight span {
    font-size: 13px;
}



.after-pay li {
    font-size: 13px;
    color: #374151;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.after-pay li i {
    color: #1c7640;
    margin-top: 3px;
}

/* =================== UPLOAD =================== */
.upload-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.upload-grid-docs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 20px;
}

.doc-upload-item {
    min-width: 0;
}

.full-width-doc {
    grid-column: 1 / -1;
}

.doc-upload-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
}

.doc-upload-note {
    font-size: 11px;
    color: #9ca3af;
    min-height: 16px;
    margin-bottom: 8px;
}

.doc-optional {
    color: #9ca3af;
    font-weight: 500;
}

.upload-box {
    border: 2px dashed #d1d5db;
    border-radius: 14px;
    padding: 30px 16px;
    text-align: center;
    cursor: pointer;
    background: linear-gradient(180deg, #f8fcf9 0%, #f4faf6 100%);
    transition: all .2s ease;
    position: relative;
    overflow: visible;
    min-height: 188px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.upload-box:hover,
.upload-box.drag {
    border-color: #1c7640;
    background: linear-gradient(180deg, #f5fbf7 0%, #eef8f1 100%);
}

.upload-box.has-file {
    border-color: #1c7640;
    margin-bottom: 74px;
}

.upload-box i {
    font-size: 30px;
    color: #e6b535;
}

.up-title {
    font-weight: 600;
    color: #111827;
    margin-top: 12px;
    font-size: 15px;
}

.up-sub {
    font-size: 12px;
    color: #6b7280;
    margin-top: 6px;
}

.up-file {
    position: absolute;
    left: 0;
    top: calc(100% + 12px);
    display: none;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 8px;
    background: #f1fbf4;
    border: 1px solid #d9efdf;
    font-size: 12px;
    color: #1c7640;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    z-index: 2;
    width: 100%;
}

.up-file.active {
    display: flex;
}

.up-file i:first-child {
    font-size: 20px;
    color: #e6b535;
    flex-shrink: 0;
}

.up-file .file-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.up-file .rm {
    margin-left: auto;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffdfdf;
    color: #d72323;
    cursor: pointer;
    flex-shrink: 0;
    transition: all .2s ease;
    font-size: 13px;
}

.up-file .rm:hover {
    background: #fbe9ac;
    color: #b88509;
}

.up-file .rm i {
    font-size: 18px;
    color: inherit;
}

.confirmation-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.confirmation-item {
    padding-bottom: 4px;
    border-bottom: 1px solid #f3f4f6;
}

.confirmation-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.confirmation-text {
    font-size: 13px;
    line-height: 1.7;
    color: #374151;
    font-weight: 500;
}

.confirmation-choice {
    gap: 18px;
    padding-top: 12px;
}

.contract-card {
    background: #f2fbf3;
    border-color: #d3f0d6;
}

.contract-head {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4b5563;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}

.contract-head i {
    color: #1c7640;
}

.contract-copy {
    font-size: 13px;
    line-height: 1.8;
    color: #6b7280;
    margin-bottom: 0;
}

/* =================== BUTTONS =================== */
.form-actions {
    background: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 14px 24px;
    z-index: 40;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.04);
    border-radius: 0px 0px 14px 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 10px;
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: 0;
    transition: all .2s ease;
    height: 48px;
}

.btn.outline {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    color: #111827;
}

.btn.outline:hover {
    border-color: #1c7640;
    color: #1c7640;
}

.btn.primary {
    background: #1c7640;
    color: #fff;
    box-shadow: 0 4px 12px rgba(28, 118, 64, 0.25);
}

.btn.primary:hover {
    background: #155c31;
    transform: translateY(-1px);
}

.btn:disabled {
    opacity: .7;
    cursor: not-allowed;
    transform: none;
}

.dummy {
    padding: 40px;
    text-align: center;
    color: #6b7280;
    background: #fafafa;
    border: 1px dashed #e5e7eb;
    border-radius: 12px;
}

.auth-form-shell {
    height: auto;
    width: 100%;
}

/* .auth-form-title {
  padding: 16px 20px;
  border-radius: 10px;
  background: #f8faf9;
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  color: #1c7640;
  text-transform: uppercase;
} */

.auth-form-note {
    margin: 18px 0 14px;
    color: #6b7280;
    font-size: 12px;
}

.auth-copy p {
    margin-bottom: 14px;
    font-size: 12px;
    line-height: 1.75;
    color: #1f2937;
}

.auth-checkbox-field {
    margin-top: 18px;
}

.auth-checkbox-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border: 1px solid #d8e4db;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}

.auth-checkbox-card input[type=checkbox],
.auth-checkbox-card input[type=radio] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.auth-checkbox-text {
    position: relative;
    padding-left: 32px;
    color: #1f2937;
    font-size: 13px;
    line-height: 1.6;
    font-weight: 600;
    display: inline-block;
}

.auth-checkbox-text::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 22px;
    height: 22px;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-checkbox-card:hover .auth-checkbox-text::before {
    border-color: #1c7640;
}

.auth-checkbox-card input[type=checkbox]:checked+.auth-checkbox-text::before,
.auth-checkbox-card input[type=radio]:checked+.auth-checkbox-text::before {
    background: #1c7640;
    border-color: #1c7640;
    box-shadow: 0 4px 10px rgba(28, 118, 64, 0.2);
}

.auth-checkbox-text::after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 5px;
    top: 3px;
    font-size: 12px;
    color: #fff;
    opacity: 0;
    transform: scale(0.5) rotate(-10deg);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-checkbox-card input[type=checkbox]:checked+.auth-checkbox-text::after,
.auth-checkbox-card input[type=radio]:checked+.auth-checkbox-text::after {
    opacity: 1;
    transform: scale(1) rotate(0);
}

.auth-checkbox-card:has(input:checked) {
    border-color: #1c7640;
    background: #f4faf6;
    box-shadow: 0 4px 12px rgba(28, 118, 64, 0.08);
}

.auth-info-card {
    margin-top: 20px;
    border: 1px solid #d8e4db;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.auth-card-head {
    padding: 14px 18px;
    background: #f8faf9;
    border-bottom: 1px solid #d8e4db;
    font-size: 14px;
    font-weight: 700;
    color: #1f2937;
}

.auth-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 10px 0;
}

.auth-info-grid .field {
    gap: 8px;
}

.auth-info-grid label {
    font-size: 13px;
    font-weight: 500;
    color: #374151;
}

.auth-info-grid input[type=text],
.auth-info-grid input[type=email] {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fbfbfb;
    font-size: 14px;
    color: #111827;
    transition: all 0.2s ease;
}

.auth-info-grid input:focus {
    border-color: #1c7640;
    background: #fff;
    outline: none;
}

.auth-info-grid input[readonly] {
    background: #f0f7f2;
    color: #1c7640;
    font-weight: 600;
}

.auth-sign-row {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(220px, 0.9fr);
    gap: 20px;
    margin-top: 18px;
    background: #fff;
}

.auth-signature-box .signature-pad {
    min-height: 130px;
    height: 160px;
}

.field.invalid .auth-checkbox-card,
.field.invalid .auth-info-card,
.field.invalid .auth-sign-row,
.field.invalid.auth-checkbox-field .auth-checkbox-card {
    border-color: #dc2626;
    background: #fef2f2;
}

.m-list {
    list-style: none;
    padding-left: 0;
    margin: 14px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.m-list li {
    position: relative;
    padding-left: 20px;
    font-size: 12px;
    color: #4b5563;
    line-height: 1.6;
}

.consent-selection-grid .auth-checkbox-card {
    align-items: center;
}

/* Enrollment Agreement Table */
.table-container {
    overflow-x: auto;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.m-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.m-table th,
.m-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.m-table th {
    background: #f9fafb;
    font-weight: 700;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.m-table tr:last-child td {
    border-bottom: none;
}

/* =================== MODAL =================== */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn .3s ease;
}

.modal.show {
    display: flex;
}

.modal-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    max-width: 440px;
    width: 92%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.modal-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(28, 118, 64, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.modal-icon-wrapper {
    position: relative;
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #ffffff;
    color: #1c7640;
    font-size: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0fdf4;
    z-index: 2;
}

.modal-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.modal-card p {
    color: #6b7280;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.6;
}

.modal-details {
    background: #f9fafb;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    text-align: left;
    border: 1px solid #f3f4f6;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

.detail-value {
    font-size: 13px;
    color: #111827;
    font-weight: 600;
}

.modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn-light {
    background: #f3f4f6;
    color: #111827;
    border: none;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-light:hover {
    background: #e5e7eb;
}

.btn-dark {
    background: #111827;
    color: #fff;
    border: none;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-dark:hover {
    background: #000;
    transform: translateY(-1px);
    color: #fff;
}

.modern-card.section-nested.stp-1 {
    padding: 24px 0px;
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

/* =================== SELECT2 / INTL OVERRIDES =================== */
.select2-container--default .select2-selection--single {
    height: 44px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    background: #fbfbfb !important;
}

/* .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #111827 !important;
  line-height: 42px !important;
  padding-left: 14px !important;
} */

/* .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 42px !important;
  right: 10px !important;
} */

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #1c7640 !important;
    box-shadow: 0 0 0 4px rgba(28, 118, 64, 0.12) !important;
    background: #fff !important;
}

.select2-dropdown {
    border-color: #e5e7eb !important;
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.select2-search--dropdown {
    padding: 10px !important;
    background: #f8fafc;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #bfd4ff !important;
    border-radius: 8px !important;
    min-height: 40px;
    padding: 8px 12px !important;
}

.select2-container--default .select2-results__option {
    padding: 10px 14px !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #1c7640 !important;
}

.iti {
    width: 100%;
}

.iti__country-list {
    font-family: "DM Sans", sans-serif;
}

.in-btns {
    display: flex;
    gap: 15px;
}

.iti.iti--allow-dropdown.iti--show-flags input {
    padding-left: 80px;
}

.iti__selected-flag {
    padding: 0 8px 0 14px;
    border-radius: 8px 0 0 8px;
    background: #efefef;
    border: 1px solid #efefef;
    border-right: 0px;
}



/* =================== RESPONSIVE =================== */
@media (max-width: 980px) {
    .step3-grid {
        grid-template-columns: 1fr;
    }

    .summary-card {
        position: static;
        margin-right: 0;
        box-shadow: none;
        border: none;
        padding: 10px;
    }

    .pay-options {
        grid-template-columns: repeat(3, 1fr);
    }

    .method-row {
        grid-template-columns: 1fr;
    }

    .verify-row {
        grid-template-columns: 1fr;
    }

    .verify-btn {
        width: 100%;
        justify-content: center;
    }

    .auth-info-grid {
        grid-template-columns: 1fr;
    }

    .auth-info-grid .field {
        border-right: 0;
        border-bottom: none;
    }

    .auth-info-grid .field:last-child {
        border-bottom: 0;
    }

    .auth-sign-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   MOBILE-ONLY RESPONSIVE STEP WIZARD
   ========================================================================== */

/* Hide mobile header by default on desktop */
.wizard-mobile-header {
    display: none !important;
}

@media (max-width: 768px) {

    html,
    body {
        max-width: 100vw;
        overflow-x: hidden !important;
    }

    /* Hide the horizontal desktop steps list by default on mobile/tablets */
    .wizard-inner:not(.steps-open) .steps {
        display: none !important;
    }

    /* Show the mobile-only active step header */
    .wizard-mobile-header {
        display: block !important;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding-bottom: 12px;
    }

    .mobile-active-step {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .mobile-active-step .circle {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: #1c7640;
        color: #fff;
        border: 2px solid #1c7640;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 14px;
        box-shadow: 0 0 0 4px rgba(28, 118, 64, 0.12);
        transition: all 0.25s ease;
    }

    .mobile-active-step .label {
        font-size: 14px;
        color: #1c7640;
        font-weight: 700;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 180px;
        /* Prevent long titles from overlapping button */
    }

    .otp-digit {
        padding: 0px 4px !important;
    }

    @media (min-width: 480px) {
        .mobile-active-step .label {
            max-width: 280px;
        }
    }

    /* Toggle button styling */
    .view-all-steps-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 0;
        border-radius: 24px;
        background: transparent;
        border: none;
        color: #1c7640;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
        margin-top: 12px;
    }

    .view-all-steps-btn span {
        text-decoration: underline;
        white-space: nowrap;
    }

    .enrollment-container {
        padding-top: 0;
    }

    /* .view-all-steps-btn:hover,
  .view-all-steps-btn:focus {
    background: #e1efe6;
    border-color: #b3d7bf;
    color: #15582f;
    outline: none;
  } */

    .view-all-steps-btn .toggle-icon {
        font-size: 11px;
        transition: transform 0.25s ease;
    }

    /* Rotate icon when open */
    .wizard-inner.steps-open .view-all-steps-btn .toggle-icon {
        transform: rotate(180deg);
    }

    /* Styles for the steps list when expanded as a dropdown on mobile */
    .wizard-inner.steps-open .steps {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 16px 4px;
        border-top: 1px dashed #e2e8f0;
        margin-top: 8px;
        width: 100%;
        background: #fafdfb;
        border-radius: 8px;
        animation: stepsSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    .wizard-inner.steps-open .step {
        width: 100%;
        display: flex !important;
        align-items: center;
        gap: 12px;
        padding: 4px 8px;
        border-radius: 8px;
        transition: background-color 0.2s ease;
    }

    .wizard-inner.steps-open .step:hover {
        background-color: #f1f8f3;
    }

    /* Force step labels to be visible in expanded view on mobile */
    .step .label {
        display: none;
    }

    .wizard-inner.steps-open .step .label {
        display: block !important;
        font-size: 14px;
        font-weight: 500;
    }

    .wizard-inner.steps-open .step.active .label {
        font-weight: 700;
    }

    /* Adjust progress bar spacing on mobile */
    .progress-track {
        display: none;
    }

    .in-btns {
        gap: 10px;
    }

    button#verifyBtn {
        padding: 8px 18px;
        max-width: max-content;
    }

    button#verifyBtn span.vb-text i {
        display: none;
    }

    button#verifyBtn span.vb-text b {
        display: none;
    }

    .modern-card.locked::after {
        display: none !important;
    }

    .fee-note {
        font-size: 0.75rem !important;
    }

    .processing-fee-box .fee-box-label {
        font-size: 13px !important;
    }

    .processing-fee-box .fee-box-icon {
        width: 46px !important;
        height: 46px !important;
        font-size: 18px !important;
    }

    .processing-fee-box {
        min-height: 160px !important;
        padding: 18px !important;
    }

    .upload-box {
        padding: 20px 16px !important;
        min-height: 120px !important;

    }

    .processing-fee-box .fee-box-value {
        font-size: 22px;
    }

    .m-section {
        align-items: self-start;
        gap: 10px;
        margin-bottom: 12px;
    }

    .auth-checkbox-card {
        gap: 10px;
        border: none;
        padding: 0;
    }

    .auth-checkbox-card:has(input:checked) {
        border-color: none;
        background: transparent;
        box-shadow: none;
    }

    .signature-actions {
        display: flex;
        justify-content: flex-end;
        padding: 0;
        border-top: none;
        background: transparent;
    }

    .auth-info-card {
        margin-top: 16px !important;
    }

    .auth-info-card .p-3 {
        padding: 14px 20px !important;
    }

    .auth-copy p {
        margin: 12px 0px 10px 0px !important;
    }

    .field.payment-method-select-field.mb-5 {
        padding-top: 10px;
        margin-bottom: 20px !important;
    }

    .wizard-header {
        box-shadow: none;
    }

    .wizard-inner {
        padding: 18px 0px 0 !important;
    }

    .modal-actions {
        display: flex;
        flex-wrap: wrap-reverse;
    }

    .modal-actions a {
        width: 100%;
    }

    .verify-head {
        margin-bottom: 14px;
        gap: 12px;
    }

    .page-wrap {
        padding: 20px 0px;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .verify-icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
}

@keyframes stepsSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tooltip styles */
.gce-label-with-tooltip {
    display: flex !important;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.gce-tooltip-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: help;
}

.gce-tooltip-icon {
    color: #6b7280;
    font-size: 14px;
    transition: color 0.2s ease;
    margin-top: 1px;
}

.gce-tooltip-icon:hover {
    color: #1c7640;
}

.gce-tooltip-text {
    visibility: hidden;
    width: 260px;
    background-color: #1e293b;
    /* Modern dark slate background */
    color: #ffffff;
    text-align: center;
    border-radius: 8px;
    padding: 10px 14px;
    position: absolute;
    z-index: 1050;
    /* Ensure it stays on top of other form fields */
    bottom: 130%;
    /* Position above the icon */
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.16);
    white-space: normal;
    pointer-events: none;
}

/* Tooltip arrow */
.gce-tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #1e293b transparent transparent transparent;
}

/* Show tooltip on hover */
.gce-tooltip-container:hover .gce-tooltip-text {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Select2 width override for hidden panels */
.select2-container {
    width: 100% !important;
}

/* Locked select selection state */
.modern-card.locked-select {
    opacity: .55;
    pointer-events: none;
    filter: grayscale(0.2);
    position: relative;
}

.modern-card.locked-select::after {
    content: "\f00c  Select or start an enrollment above";
    font-family: "DM Sans", "Font Awesome 6 Free";
    font-weight: 600;
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 12px;
    color: #15803d;
    background: #f0fdf4;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #bbf7d0;
}

/* ========== CUSTOM BACKGROUND CHECK AUTHORIZATION STYLE ALIGNMENT ========== */
:root {
    --authf-primary: #3d8b8b;
    --authf-primary-light: #e8f4f4;
    --authf-text: #333333;
    --authf-text-muted: #666666;
    --authf-border: #cccccc;
    --authf-bg: #f5f5f5;
    --authf-white: #ffffff;
    --authf-link: #0066cc;
    --authf-notice-bg: #e6f0e6;
    --authf-notice-text: #2d5a2d;
    --eaf-error: #ef4444;
}

.authf-notice-banner {
    background: var(--authf-notice-bg);
    color: var(--authf-notice-text);
    padding: 12px 16px;
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 24px;
    border-radius: 6px;
}

.authf-paragraph {
    font-size: 13px;
    color: var(--authf-text);
    margin-bottom: 16px;
    line-height: 1.6;
    text-align: justify;
}

.authf-paragraph strong {
    font-weight: bold;
}

.authf-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 20px 0;
    font-size: 13px;
}

.authf-checkbox {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--authf-primary);
    flex-shrink: 0;
}

.authf-checkbox-label {
    font-size: 13px;
    color: var(--authf-text);
    cursor: pointer;
    line-height: 1.5;
}

.authf-form-section {
    margin-top: 30px;
}

.authf-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

.authf-field-row.single {
    grid-template-columns: 1fr;
}

@media (max-width: 640px) {
    .authf-field-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.authf-field {
    display: flex;
    flex-direction: column;
}

.authf-field-input {
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid var(--authf-border);
    background: var(--authf-white);
    color: var(--authf-text);
    outline: none;
    width: 100%;
    border-radius: 4px;
}

.authf-field-input:focus {
    border-color: var(--authf-primary);
}

.authf-field-label {
    font-size: 11px;
    color: var(--authf-text-muted);
    background: var(--authf-primary-light);
    padding: 6px 12px;
    border: 1px solid var(--authf-border);
    border-top: none;
    border-radius: 0 0 4px 4px;
}

.authf-signature-container {
    position: relative;
}

.authf-signature-box {
    min-height: 60px;
    border: 1px solid var(--authf-border);
    background: var(--authf-white);
    cursor: crosshair;
    position: relative;
    border-radius: 4px 4px 0 0;
}

.authf-signature-canvas {
    width: 100%;
    height: 60px;
    display: block;
}

.authf-signature-clear {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 3px;
    padding: 2px 6px;
    font-size: 10px;
    cursor: pointer;
    display: none;
}

.authf-signature-container.has-signature .authf-signature-clear {
    display: block;
}

/* ========== CUSTOM MEDIA CONSENT STYLE ALIGNMENT ========== */

.fcra-signature-group {
    border: unset;
    background-color: unset;
}

.fcra-notice-banner {
    font-size: 12px;
    color: #22c55e;
    margin-bottom: 24px;
    font-style: italic;
}

.fcra-title {
    font-size: 22px;
    font-weight: 700;
    color: #1b5173;
    margin-bottom: 24px;
    line-height: 1.3;
}

.fcra-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fcra-paragraph {
    font-size: 14px;
    color: #334155;
    line-height: 2.2;
}

.fcra-paragraph strong {
    font-weight: 600;
}

.fcra-subheading {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-top: 24px;
    margin-bottom: 12px;
}

.fcra-list {
    padding-left: 20px;
    list-style-type: disc;
    margin-bottom: 20px;
}

.fcra-list li {
    font-size: 14px;
    color: #334155;
    margin-bottom: 8px;
}

.fcra-fields-section {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.fcra-field-group {
    border-top: 1px solid #e2e8f0;
    padding: 16px 0;
}

.fcra-field-group:last-child {
    border-bottom: 1px solid #e2e8f0;
}

.fcra-field-label {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 8px;
    display: block;
}

.fcra-field-input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #cbd5e1;
    background: #f1f5f9;
    padding: 10px 12px;
    font-size: 14px;
    color: #1e293b;
    outline: none;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.fcra-field-input:focus {
    border-bottom-color: #3b82f6;
    background: #e0f2fe;
}

.fcra-radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.fcra-radio-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #334155;
    cursor: pointer;
}

.fcra-radio-label input[type="radio"] {
    margin-top: 5px;
    accent-color: #1b5173;
}

.fcra-signature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.fcra-signature-group {
    padding: 16px 0 !important;
    padding-right: 16px !important;
    position: relative;
    border: none !;
    border: none !important;
}


/* .fcra-signature-group:first-child {
    border-right: 1px solid #e2e8f0;
    padding-right: 16px;
} */

.fcra-signature-group:last-child {
    padding-left: 16px;
}

.fcra-signature-canvas {
    width: 100%;
    height: 80px;
    border: none;
    /* border-bottom: 1px solid #cbd5e1; */
    background: #f1f5f9;
    cursor: crosshair;
}

.fcra-clear-signature {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 11px;
    color: #ef4444;
    background: none;
    border: none;
    cursor: pointer;
    margin-top: 4px;
    padding: 0;
    display: none;
}

.fcra-signature-group.has-signature .fcra-clear-signature {
    display: block;
}

.fcra-clear-signature:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .fcra-signature-row {
        grid-template-columns: 1fr;
    }

    .fcra-signature-group:first-child {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding-right: 0;
        padding-bottom: 16px;
    }

    .fcra-signature-group:last-child {
        padding-left: 0;
        padding-top: 16px;
    }
}

/* ----- Urinalysis Box Section & Consent Paragraph ----- */
.fcra-urinalysis-box {
    border: 1px solid #cbd5e1;
    padding: 24px;
    margin: 16px 0;
    background: #f8fafc;
}

.fcra-urinalysis-title {
    font-size: 14px;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 16px;
}

.fcra-urinalysis-box .fcra-paragraph {
    margin-bottom: 16px;
}

.fcra-urinalysis-box .fcra-paragraph:last-child {
    margin-bottom: 0;
}

.fcra-consent-text {
    font-size: 14px;
    color: #334155;
    line-height: 1.8;
    margin-top: 8px;
}

@media (max-width: 720px) {
    .section-nested {
        margin-top: 0;
    }

    .step .label {
        display: none;
    }

    .form-shell {
        padding: 0 14px;
    }

    .modern-card {
        padding: 20px 8px;
    }

    div#verifyCard {
        padding-top: 0;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    /* .field-spacer {
    display: none;
  } */

    .pay-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .upload-grid {
        grid-template-columns: 1fr;
    }

    .upload-grid-docs {
        grid-template-columns: 1fr;
    }

    .auth-form-shell {
        padding: 0px;
    }

    .auth-form-title {
        font-size: 20px;
        padding: 14px 12px;
    }

    .auth-sign-row {
        padding: 0px;
    }

    .alt-pay {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-actions {
        padding: 15px 0px;
        gap: 8px;
        box-shadow: none;
    }

    .btn {
        padding: 10px 14px;
        font-size: 13px;
    }

    .modern-card.section-nested.stp-1.pb-0.mt-3.fci-neswp {
        margin-top: 0 !important;
        padding-top: 0;
    }

    div#candidateBlock {
        padding-bottom: 0px !important;
    }

    .modern-card.can-di-pad {
        padding-top: 0;
    }

    .modern-card.can-did-bt-b {
        padding-bottom: 0px;
    }

    .upload-box.has-file {
        margin-bottom: 50px;
    }

    .m-section-icon {
        width: 42px;
        height: 42px;
    }

    .authf-field-input {
        border-radius: 4px 4px 0px 0px;
    }

    div#backgroundSignatureContainer {
        padding: 0px;
        border: none;
        overflow: hidden !important;
        border-radius: 10px 10px 0px 0px !important;
    }

    .fcra-signature-row {
        border-top: none !important;
        ;
        border-bottom: none !important;
    }

    .step3-grid.stp-6-wps-wp {
        padding-bottom: 0;
    }

    .step3-grid.stp-6-wps-wp .modern-card.payment-section-card {
        padding-top: 0;
    }

    .form-actions.ctsp-wp {
        flex-wrap: wrap;
    }

    .form-actions.ctsp-wp button {
        width: 100%;
    }

    .form-actions.mt-4 {
        margin-top: 20px !important;
    }

    /* Tooltip Mobile Overrides */
    .gce-tooltip-text {
        left: 0 !important;
        transform: translateY(4px) !important;
        width: 240px !important;
    }

    .gce-tooltip-text::after {
        left: 12px !important;
        transform: none !important;
    }

    .signature-clear-btn {
        right: 10px;
        position: relative;
        bottom: 10px;
    }
}