@charset "UTF-8";
/* Access LoginWithOtp — dark premium card. Per-page MIRROR of the department-approved
   Account otp-login-dark.css, scoped with acc-otpd-* class names so it never collides
   with the Account flow (which keeps its own otp-login-dark.css untouched).
   Presentational only; form fields / bindings / JS unchanged. CSP-nonce safe. */

.acc-otpd-page {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.6rem 1rem;
    background:
        radial-gradient(900px 480px at 50% -20%, #eef4f2 0%, transparent 65%),
        #eef3f1;
}

.acc-otpd-card {
    width: 420px;
    max-width: 100%;
    border-radius: 16px;
    padding: .55rem 1.6rem 1.3rem;
    color: #eafaf4;
    background: color-mix(in srgb, var(--nav-bg, #0d5744) 82%, #000000);
    box-shadow: 0 26px 56px -24px rgba(6, 45, 35, .55), 0 2px 6px rgba(6, 45, 35, .25);
}

.acc-otpd-badge {
    width: 42px;
    height: 42px;
    margin: 0 auto .35rem;
    border-radius: 16px;
    background: color-mix(in srgb, var(--nav-bg, #0d5744) 62%, #000000);
    border: 1px solid rgba(255, 255, 255, .22);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.acc-otpd-badge svg { width: 26px; height: 26px; }

.acc-otpd-title {
    text-align: center;
    margin: 0 0 .7rem;
    font-size: 1.28rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.01em;
}

/* Inline title icon (Bootstrap-icon font, e.g. Forgot Password's key beside the
   heading text) — LoginWithOtp keeps its separate .acc-otpd-badge. A font icon avoids
   the `svg { display:block }` reset (which pushed an inline SVG onto its own line) and
   the a11y script that injected a generic <title>Icon</title> into SVGs. */
.acc-otpd-title-icon {
    margin-left: .4rem;
    font-size: .95em;
    vertical-align: -0.02em;
}

.acc-otpd-field { margin-bottom: .75rem; text-align: left; }
.acc-otpd-label {
    display: block;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #a9d6c8;
    margin-bottom: .35rem;
}
.acc-otpd-card .form-control {
    width: 100%;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 11px;
    background: color-mix(in srgb, var(--nav-bg, #0d5744) 62%, #000000);
    padding: 0 .9rem;
    font-size: .92rem;
    color: #fff;
    -webkit-text-fill-color: #fff;
    caret-color: #fff;
    outline: none;
    transition: border-color .15s, background .15s, box-shadow .15s;
}
.acc-otpd-card .form-control::placeholder { color: #c6e6db; }

.acc-otpd-card .form-control:-webkit-autofill,
.acc-otpd-card .form-control:-webkit-autofill:hover,
.acc-otpd-card .form-control:-webkit-autofill:focus,
.acc-otpd-card .form-control:-webkit-autofill:active {
    -webkit-text-fill-color: #fff !important;
    caret-color: #fff;
    -webkit-box-shadow: 0 0 0 1000px color-mix(in srgb, var(--nav-bg, #0d5744) 62%, #000000) inset !important;
    box-shadow: 0 0 0 1000px color-mix(in srgb, var(--nav-bg, #0d5744) 62%, #000000) inset !important;
}
.acc-otpd-card .form-control:focus {
    border-color: #fff;
    background: color-mix(in srgb, var(--nav-bg, #0d5744) 72%, #000000);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .16);
}

.acc-otpd-card .text-danger,
.acc-otpd-card .field-validation-error,
.acc-otpd-card .validation-summary-errors {
    color: #ffb4ba !important;
}

/* Captcha — one line */
.acc-otpd-captcha { display: flex; align-items: center; gap: .5rem; }
.acc-otpd-code {
    flex: 0 0 auto;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: .2rem;
    color: #eafaf4;
    background: color-mix(in srgb, var(--nav-bg, #0d5744) 62%, #000000);
    border: 1px dashed rgba(255, 255, 255, .32);
    border-radius: 9px;
    padding: .5rem .75rem;
    user-select: none;
    font-variant-numeric: tabular-nums;
}
.acc-otpd-refresh {
    flex: 0 0 auto;
    width: 44px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 11px;
    background: color-mix(in srgb, var(--nav-bg, #0d5744) 62%, #000000);
    color: #eafaf4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.acc-otpd-refresh:hover { background: #fff; color: var(--nav-bg, #0d5744); }
.acc-otpd-cap-input { flex: 1 1 auto; min-width: 0; }
.acc-otpd-cap-input .form-control { max-width: 200px; }

/* Buttons */
.acc-otpd-btn {
    width: 100%;
    height: 45px;
    margin-top: .85rem;
    border: 0;
    border-radius: 11px;
    background: #ffffff;
    color: var(--nav-bg, #0d5744);
    font-size: .95rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    cursor: pointer;
    text-decoration: none;
    transition: transform .12s, background .15s;
}
.acc-otpd-btn:hover { background: #eef7f3; transform: translateY(-1px); color: var(--nav-bg, #0d5744); }
.acc-otpd-btn i { font-size: 1.05rem; }

.acc-otpd-divider {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: .7rem 0;
    color: #c6e6db;
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.acc-otpd-divider::before, .acc-otpd-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, .16);
}

.acc-otpd-ghost {
    width: 100%;
    height: 42px;
    border: 1.5px solid rgba(255, 255, 255, .28);
    border-radius: 11px;
    background: transparent;
    color: #eafaf4;
    font-weight: 700;
    font-size: .9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    cursor: pointer;
    text-decoration: none;
    transition: border-color .15s, background .15s;
}
.acc-otpd-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }

.acc-otpd-links {
    margin-top: .9rem;
    padding-top: .75rem;
    border-top: 1px solid rgba(255, 255, 255, .14);
    text-align: center;
    font-size: .82rem;
    color: #b9dccf;
}
.acc-otpd-links a { color: #fff; font-weight: 600; text-decoration: none; }
.acc-otpd-links a:hover { text-decoration: underline; }
.acc-otpd-links .sep { color: rgba(255, 255, 255, .3); margin: 0 .4rem; }

/* Verify-OTP (confirm) page — sub text, 6-box OTP input, meta + actions */
.acc-otpd-sub {
    text-align: center;
    margin: 0 auto .9rem;
    max-width: 34ch;
    font-size: .83rem;
    line-height: 1.45;
    color: #b9dccf;
}
.acc-otpd-card .otp-inputs { display: flex; gap: .55rem; justify-content: center; margin: .3rem 0 .1rem; }
.acc-otpd-card .otp-digit {
    width: 46px;
    height: 52px;
    text-align: center;
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    -webkit-text-fill-color: #fff;
    caret-color: #fff;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 12px;
    background: color-mix(in srgb, var(--nav-bg, #0d5744) 62%, #000000);
    outline: none;
    transition: border-color .15s, background .15s, box-shadow .15s;
}
.acc-otpd-card .otp-digit:focus {
    border-color: #fff;
    background: color-mix(in srgb, var(--nav-bg, #0d5744) 72%, #000000);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .16);
}
.acc-otpd-meta { text-align: center; margin-top: 1rem; font-size: .84rem; color: #b9dccf; }
.acc-otpd-meta a { color: #fff; font-weight: 700; text-decoration: none; }
.acc-otpd-meta .otp-timer { color: #ffd7a6; font-weight: 700; font-variant-numeric: tabular-nums; }

@media (max-width: 480px) {
    .acc-otpd-card { padding: 1.7rem 1.3rem; }
    .acc-otpd-card .otp-digit { width: 44px; height: 52px; font-size: 1.2rem; }
}
