.content {
    margin-left: 0;
    margin-top: 0 !important;
}

.footer {
    left: 0;
}

:root {
    --accent: #0b2b6b;
    --accent2: #f6a800;
    --text: #101828;
    --text2: #667085;
    --surface: #ffffff;
    --surface2: #f4f6fa;
    --border: #dce3f0;
    --green: #16a34a;
    --radius: 18px;
    --shadow-lg: 0 22px 54px rgba(11, 43, 107, 0.12);
    --transition: all .18s ease;
}

.access-brand-color {
    color: var(--accent, #0b2b6b) !important;
}

.access-brand-link {
    color: var(--accent) !important;
    text-decoration: none;
}

.access-brand-link:hover {
    color: var(--accent2) !important;
}

/* Benefit icon circle — Bootstrap has no peach bg utility */
.access-benefit-icon-wrap {
    width: 40px;
    height: 40px;
    background: rgba(246, 168, 0, .12);
    font-size: 15px;
}

.access-shell {
    min-height: 100vh;
    color: var(--text, #101828);
}

.access-panel {
    min-height: 100vh;
}

.access-panel--brand {
    background: #ffffff;
}

.access-panel--form {
    background: #f4f6fa;
}

/* Form card border — Bootstrap border utilities don't support custom colors */
.access-form-card {
    max-width: 420px;
    border: 1.5px solid rgba(11, 43, 107, .10);
    box-shadow: 0 4px 28px rgba(11, 43, 107, 0.08);
    color: var(--text, #101828);
}

.access-form-card h1,
.access-form-card h2,
.access-form-card h3,
.access-form-card h4,
.access-form-card h5,
.access-form-card h6,
.access-form-card strong,
.access-form-card label {
    color: var(--text, #101828);
}

.access-form-card .text-muted {
    color: var(--text2, #667085) !important;
}

/* Badge — custom brand colors */
.access-badge {
    background: rgba(11, 43, 107, .08);
    color: var(--accent, #0b2b6b);
    font-size: 11px;
    border: 1px solid rgba(11, 43, 107, .14);
    letter-spacing: .04em;
}

/* Input label size */
.access-input-label {
    font-size: 10px;
    letter-spacing: .06em;
    color: #666;
}

/* intl-tel-input padding fix — unavoidable */
.access-phone-input {
    padding-left: 90px !important;
    border-color: #dce3f0;
    color: var(--text, #101828);
    background-color: #ffffff;
}

.access-phone-input:focus {
    border-color: var(--accent2);
    box-shadow: 0 0 0 3px rgba(246, 168, 0, 0.12);
}

.iti {
    display: block;
}

/* Submit button — Bootstrap .btn has no brand color */
.access-btn-submit {
    background: var(--accent, #0b2b6b);
    color: #ffffff;
    padding: 13px;
    font-size: 15px;
    border: 0;
}

.access-btn-submit:hover {
    background: var(--accent2, #f6a800);
    color: #ffffff;
}

/* OTP / terms / divider */
.access-terms {
    color: #bbb;
}

.access-divider {
    border-color: #ebeef5;
}

/* ── OTP PAGE ── */
.otp-section {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 0;
    position: relative;
    z-index: 1;
}

.otp-section .container {
    max-width: 1080px;
    margin: auto;
    padding: 0 24px;
}

.otp-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    min-height: 100vh;
    padding: 60px 0;
}

.otp-left {
    padding-right: 16px;
}

.otp-brand {
    display: inline-flex;
    align-items: center;
    margin-bottom: 28px;
    text-decoration: none;
}

.otp-brand img {
    height: 50px;
    width: auto;
    display: block;
}

.otp-brand--mobile {
    display: none;
    margin-bottom: 16px;
}

.otp-headline {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 14px;
}

.otp-headline em {
    color: var(--accent2);
    font-style: italic;
}

.otp-sub {
    color: var(--text2);
    line-height: 1.6;
    margin-bottom: 36px;
}

.otp-steps {
    display: flex;
    flex-direction: column;
}

.otp-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    position: relative;
    padding-bottom: 28px;
}

.otp-step:last-child {
    padding: 0;
}

.otp-step-line {
    position: absolute;
    left: 17px;
    top: 36px;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

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

.otp-step.done .otp-step-line,
.otp-step.active .otp-step-line {
    background: linear-gradient(to bottom, var(--accent2), rgba(246, 168, 0, .15));
}

.otp-step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    background: var(--surface2);
    border: 2px solid var(--border);
    color: var(--text2);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.otp-step.done .otp-step-num {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

.otp-step.active .otp-step-num {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #fff;
    border: 0;
    box-shadow: 0 4px 16px rgba(11, 43, 107, .28);
}

.otp-step-content {
    padding-top: 6px;
}

.otp-step-content strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 3px;
}

.otp-step-content span {
    font-size: 13px;
    color: var(--text2);
    line-height: 1.5;
}

.otp-step:not(.done):not(.active) .otp-step-content {
    opacity: .5;
}

.otp-right {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.otp-card {
    max-width: 420px;
    width: 100%;
    padding: 36px 32px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
}

.otp-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    font-size: 24px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(37, 211, 102, .25);
}

.otp-card-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 8px;
    color: var(--text);
}

.otp-card-desc {
    font-size: 13.5px;
    color: var(--text2);
    margin: 0 0 24px;
    line-height: 1.6;
}

.otp-card-desc strong {
    display: block;
    color: var(--text);
    font-weight: 700;
}

.otp-change-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-left: 6px;
    transition: color var(--transition);
}

.otp-change-link:hover {
    color: var(--accent2);
    text-decoration: underline;
}

.otp-input-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text2);
    margin-bottom: 10px;
}

.otp-inputs-row,
#otp {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    margin-bottom: 20px;
    width: 100%;
}

.otp-digit {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    height: 52px;
    border-radius: 8px;
    border: 1.5px solid var(--border);
    background: var(--surface2);
    font-family: 'Public Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    color: var(--text);
    outline: none;
    transition: var(--transition);
}

.otp-digit:focus {
    border-color: var(--accent);
    background: rgba(11, 43, 107, .06);
    box-shadow: 0 0 0 3px rgba(11, 43, 107, .1);
}

.otp-digit.filled {
    border-color: var(--accent2);
    background: rgba(246, 168, 0, .08);
}

.otp-error-msg {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 12.5px;
    color: #b31b25;
    background: rgba(179, 27, 37, .08);
    border: 1px solid rgba(179, 27, 37, .15);
    border-radius: 8px;
    margin-bottom: 16px;
}

.otp-resend-wrap {
    margin-bottom: 20px;
}

.otp-timer,
.otp-resend-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.otp-resend-link {
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}

.otp-resend-link:hover {
    color: var(--accent2);
}

.btn-otp-submit {
    width: 100%;
    padding: 13px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(to top, var(--accent), var(--accent2));
    color: #fff;
    font-family: 'Public Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    margin-bottom: 20px;
    box-shadow: 0 10px 24px rgba(11, 43, 107, .22);
    transition: transform .15s, box-shadow .15s;
}

.btn-otp-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(11, 43, 107, .3);
}

.btn-otp-submit:active {
    transform: translateY(0);
}

.otp-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.otp-trust-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text2);
}

.otp-trust-item i {
    color: var(--green);
    font-size: 12px;
}

.s4b-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .55s cubic-bezier(.4, 0, .2, 1), transform .55s cubic-bezier(.4, 0, .2, 1);
}

.s4b-visible {
    opacity: 1;
    transform: none;
}

.s4b-reveal-delay-2 {
    transition-delay: .15s;
}

@media (max-width: 991.98px) {
    .otp-section {
        min-height: unset;
        padding: 18px 0 28px;
    }

    .otp-section .container {
        max-width: 100%;
        padding: 0 14px;
    }

    .otp-wrap {
        display: block !important;
        min-height: unset;
        padding: 18px 0 28px;
    }

    .otp-left {
        display: none !important;
    }

    .otp-right {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
    }

    .otp-brand {
        margin-bottom: 18px;
    }

    .otp-brand img {
        height: 42px;
    }

    .otp-brand--mobile {
        display: inline-flex !important;
        align-self: flex-start;
    }

    .otp-card {
        width: 100%;
        max-width: 100%;
        padding: 22px 16px 18px;
        border-radius: 22px;
    }

    .otp-card-title {
        font-size: 20px;
    }

    .otp-card-desc {
        margin-bottom: 18px;
    }

    .otp-inputs-row,
    #otp {
        gap: 8px !important;
    }

    .otp-digit {
        width: calc(25% - 6px);
        min-width: 0;
        flex: 0 0 calc(25% - 6px) !important;
        height: 56px;
        font-size: 20px;
    }

    .otp-resend-wrap {
        gap: 10px;
        flex-wrap: wrap;
    }

    .btn-otp-submit {
        width: 100%;
    }

    .otp-trust {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: space-between;
        padding-top: 14px;
    }

    .otp-trust-item {
        font-size: 11px;
    }
}

@media (max-width: 575.98px) {
    .otp-input-label {
        font-size: 11px;
    }

    .otp-card-title {
        font-size: 18px;
    }

    .otp-card-desc {
        font-size: 13px;
    }

    .otp-digit {
        height: 52px;
        font-size: 18px;
    }
}

body .mobile-box,
body .mobile-box strong,
body #timer {
  color: #fff !important;
}

.auth-header-brand {
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
}

.auth-header-brand img {
    height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
}

.auth-content {
    margin-left: 0 !important;
    margin-top: 0 !important;
    padding: 0;
    min-height: 100vh;
}

@media (max-width: 991.98px) {
    .access-panel {
        min-height: auto;
    }

    .access-panel--form {
        background: #ffffff;
    }
}

.access-otp-step {
    animation: authStepIn .22s ease-out;
}

.access-step-back {
    border: 0;
    background: transparent;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin-bottom: 18px;
    font-size: 13px;
    font-weight: 800;
}

.access-otp-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: #eef2fb;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 22px;
}

.access-otp-input {
    height: 56px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.access-otp-meta {
    min-height: 24px;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--text2);
    font-size: 12px;
    font-weight: 700;
}

body .access-otp-meta #timer {
    color: var(--text2) !important;
}

.access-otp-meta .btn-link {
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

@keyframes authStepIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
