/* =========================================================
   OTP INPUTS — LOGIN STYLE MATCH
   ========================================================= */




.otp-inputs {
    display: flex;
    gap: 8px;
    width: 100%;
    justify-content: space-between;
    margin: 0 auto;
}

.otp-inputs input {
    flex: 1;                 /* ⬅️ ავსებს მთელ სიგანეს */
    aspect-ratio: 1 / 1;     /* ⬅️ იდეალური კვადრატი */
    text-align: center;
    font-size: 16px;
    border-radius: 12px;
    border: 1px solid #e2e6ef;
    width: calc((100% - 40px) / 6);
}


/* Light background like Login */
[data-view="otp"] {
    background: #f9fafb;
}

/* Header spacing */
[data-view="otp"] .auth-header {
    margin-bottom: 36px;
}

/* Main flow — flat */
[data-view="otp"] .auth-inner {
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

/* Title — same hierarchy as Login */
[data-view="otp"] h1 {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.6px;
    margin-bottom: 6px;
    color: #0b1220;
}

/* Subtitle */
[data-view="otp"] .subtitle {
    font-size: 16px;
    line-height: 1.5;
    color: #6b7280;
    margin-bottom: 32px;
}

/* OTP INPUT ROW */
[data-view="otp"] .otp-inputs {
    display: flex;
    width: 100%;
    max-width: 520px;
    margin: 0 auto 32px;

    justify-content: space-between;
    gap: clamp(6px, 2vw, 12px);
}

/* OTP DIGIT — SAME AS LOGIN INPUT */
[data-view="otp"] .otp-inputs input {
    flex: 1;
    min-width: 0;

    height: clamp(48px, 12vw, 64px);

    text-align: center;
    font-size: clamp(18px, 4.5vw, 22px);
    font-weight: 600;

    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 14px;

    color: #0b1220;
    box-sizing: border-box;
}

/* Focus — identical to Login */
[data-view="otp"] .otp-inputs input:focus {
    outline: none;

    background: #ffffff;
}

/* Verify button — same primary */
[data-view="otp"] .btn-primary {
    margin-top: 32px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    padding: 15px;


}

/* Timer + resend */
[data-view="otp"] .otp-footer {
    margin-top: 24px;
    text-align: center;
}

[data-view="otp"] #otpTimer {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 12px;
}

/* Resend — like outline button */
[data-view="otp"] #resendOtpBtn {
    border-radius: 16px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    font-weight: 600;
    color: #0b1220;
}

/* Back link */
[data-view="otp"] .btn_back {
    margin-top: 16px;
    background: transparent;
    border: none;

    font-weight: 600;
}

/* Footer — same as Login */
[data-view="otp"] .auth-footer {
    margin-top: auto;
    padding-top: 36px;
    font-size: 12px;
    color: #6b7280;
    text-align: center;
}

/* Small screens */
@media (max-width: 360px) {
    [data-view="otp"] .otp-inputs input {
        border-radius: 12px;
        font-size: 18px;
        height: 48px;
    }
}
