/* ===== Glass-door background ===== */
body.login-body {
    background: #eef1f8;
    position: relative;
    overflow-x: hidden;
}

.glass-backdrop {
    position: fixed;
    inset: 0;
    padding: 40px;
    filter: blur(3px);
    opacity: .95;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.glass-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 30px;
}

.glass-brand {
    font-weight: 800;
    font-size: 20px;
    color: #1f4fd1;
    letter-spacing: .04em;
}

.glass-pill {
    height: 14px;
    width: 140px;
    background: #c9d3ec;
    border-radius: 999px;
}
.glass-pill.short { width: 90px; }

.glass-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.glass-card {
    background: #fff;
    border: 1px solid #dbe2f5;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 12px 30px rgba(30,45,75,.06);
}

.glass-line {
    height: 12px;
    border-radius: 6px;
    background: #dde4f7;
    margin-bottom: 10px;
}
.glass-line.w80 { width: 80%; }
.glass-line.w70 { width: 70%; }
.glass-line.w65 { width: 65%; }
.glass-line.w60 { width: 60%; }
.glass-line.w55 { width: 55%; }
.glass-line.w50 { width: 50%; }
.glass-line.w45 { width: 45%; }
.glass-line.w40 { width: 40%; }
.glass-line.w30 { width: 30%; }

.glass-btn {
    margin-top: 14px;
    height: 30px;
    width: 45%;
    background: #c3d0f7;
    border-radius: 8px;
}

.glass-pane {
    position: fixed;
    inset: 0;
    background: rgba(244, 247, 251, .18);
    z-index: 1;
    pointer-events: none;
}

.login-shell {
    position: relative;
    z-index: 2;
}

.glass-form-card {
    background: rgba(255,255,255,.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.6);
    box-shadow: 0 30px 70px rgba(20,35,70,.16);
}

@media (max-width: 720px) {
    .glass-grid { grid-template-columns: 1fr; }
    .glass-backdrop { padding: 20px; }
}

/* ===== 6-digit OTP boxes ===== */
.otp-boxes {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 6px 0 4px;
}

.otp-box {
    width: 46px;
    height: 56px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    border: 1.5px solid #cdd6ea;
    border-radius: 12px;
    background: #fff;
    color: #172033;
}

.otp-box:focus {
    outline: none;
    border-color: #1f4fd1;
    box-shadow: 0 0 0 3px rgba(31,79,209,.14);
}

@media (max-width: 420px) {
    .otp-box { width: 38px; height: 48px; font-size: 20px; }
    .otp-boxes { gap: 7px; }
}

/* ===== Resend link (sits between the OTP boxes and the verify button) ===== */
.resend-link {
    background: none;
    border: 0;
    color: #1f4fd1;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
    padding: 2px 0 14px;
    text-align: center;
    width: 100%;
}
