/* =====================================================================
   Shared brand tokens (kept local via CSS custom properties so this
   file can be dropped in without clashing with the rest of the theme)
   ===================================================================== */
.otp-modal,
.status-dialog-content {
    --brand-navy: #0b2c5f;
    --brand-blue: #2f6fed;
    --brand-green: #22b573;
    --brand-green-light: #3ddc97;
    --brand-red: #e5484d;
    --brand-amber: #f5a524;
    --brand-border: #e9edf3;
    --brand-muted: #6b7686;
}

/* =====================================================================
   OTP Modal
   ===================================================================== */
.otp-modal {
    position: relative;
    border: 1px solid var(--brand-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18);
}

.otp-modal-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-navy), var(--brand-blue) 55%, var(--brand-green-light));
}

.otp-graphic {
    display: block;
    max-width: 130px;
    width: 100%;
    height: auto;
    margin: 0 auto 16px;
}

.otp-title {
    font-weight: 800;
    color: var(--brand-navy);
    margin-bottom: 8px;
}

.otp-subtext {
    font-size: 13.5px;
    color: var(--brand-muted);
}

.otp-mobile {
    font-size: 15px;
    color: var(--brand-navy);
    font-weight: 700;
    letter-spacing: 0.3px;
}

.otp-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.otp-input {
    width: 46px;
    height: 52px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--brand-navy);
    background-color: #f8fafc;
    border: 1px solid var(--brand-border);
    border-radius: 10px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

.otp-input:hover {
    border-color: #c9d3e0;
}

.otp-input:focus {
    outline: none;
    background-color: #ffffff;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.15);
}

.otp-timer-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--brand-muted);
    font-size: 13px;
}

.otp-timer-row i {
    width: 14px;
    height: 14px;
}

.otp-timer {
    font-weight: 700;
    color: var(--brand-navy);
}

.otp-resend-btn {
    background: none;
    border: none;
    padding: 0;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--brand-blue);
}

.otp-resend-btn:disabled {
    color: var(--brand-muted);
    cursor: not-allowed;
}

.otp-verify-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 18px;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.2px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
    box-shadow: 0 10px 24px rgba(47, 111, 237, 0.28);
    transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out, opacity 0.15s ease-in-out;
}

.otp-verify-btn i {
    width: 16px;
    height: 16px;
}

.otp-verify-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(47, 111, 237, 0.34);
    color: #ffffff;
}

.otp-verify-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}



/* =====================================================================
   Small screens
   ===================================================================== */
@media (max-width: 420px) {
    .otp-input {
        width: 40px;
        height: 48px;
        font-size: 18px;
    }

    .otp-inputs {
        gap: 8px;
    }
}
