:root {
    --club: #50c5ff;

    --bg1: #eef9ff;
    --bg2: #e2f3ff;

    --glass: rgba(255, 255, 255, 0.62);
    --stroke: rgba(10, 30, 60, 0.1);
}

body.auth-page {
    height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(
            1000px 620px at 15% 85%,
            rgba(80, 197, 255, 0.26),
            transparent 62%
        ),
        radial-gradient(
            900px 520px at 85% 20%,
            rgba(80, 197, 255, 0.18),
            transparent 60%
        ),
        linear-gradient(135deg, var(--bg1), var(--bg2), var(--bg1));
    color: #0b2235;
    font-family:
        system-ui,
        -apple-system,
        Segoe UI,
        Roboto,
        sans-serif;
}

@media (max-height: 740px) {
    body.auth-page {
        overflow: auto;
        height: auto;
        min-height: 100vh;
    }
}

.wrap {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
}

.glass-card {
    background: var(--glass);
    border: 1px solid var(--stroke);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 22px;
    box-shadow: 0 18px 55px rgba(10, 30, 60, 0.12);
}

.brand-badge {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(
        135deg,
        rgba(80, 197, 255, 1),
        rgba(80, 197, 255, 0.55)
    );
    box-shadow: 0 14px 35px rgba(80, 197, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.brand-badge-sm {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(80, 197, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-badge-sm i {
    color: var(--club);
}

.form-control,
.form-select {
    border-radius: 14px;
    padding: 0.7rem 0.95rem;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(10, 30, 60, 0.14);
    color: #0b2235;
}

.form-control::placeholder {
    color: rgba(11, 34, 53, 0.55);
}

.form-control:focus,
.form-select:focus {
    background: #fff;
    border-color: rgba(80, 197, 255, 0.85);
    box-shadow: 0 0 0 0.22rem rgba(80, 197, 255, 0.22);
    color: #0b2235;
}

.input-group-text {
    border-radius: 14px 0 0 14px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(10, 30, 60, 0.14);
    color: rgba(11, 34, 53, 0.7);
}

.btn-eye {
    border-radius: 0 14px 14px 0;
    border: 1px solid rgba(10, 30, 60, 0.14);
    background: rgba(255, 255, 255, 0.86);
    color: rgba(11, 34, 53, 0.7);
}

.btn-eye:hover {
    background: #fff;
}

.btn-club {
    border: 0;
    border-radius: 14px;
    padding: 0.9rem 1rem;
    font-weight: 800;
    background: linear-gradient(
        90deg,
        rgba(80, 197, 255, 1),
        rgba(80, 197, 255, 0.72)
    );
    box-shadow: 0 14px 35px rgba(80, 197, 255, 0.22);
    color: #06131c;
}

.btn-club:hover {
    filter: brightness(1.03);
    transform: translateY(-1px);
}

.small-muted {
    color: rgba(11, 34, 53, 0.7);
}

.club-link {
    color: var(--club);
    font-weight: 800;
    text-decoration: none;
}

.club-link:hover {
    text-decoration: none;
}

.tight {
    margin-bottom: 0.25rem;
}

.card-pad {
    padding: 0.95rem;
}

@media (min-width: 576px) {
    .card-pad {
        padding: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .row.g-3 {
        --bs-gutter-y: 0.6rem;
        --bs-gutter-x: 0.75rem;
    }

    .btn-club {
        padding: 0.82rem 1rem;
    }
}

.btn-reset {
    border-radius: 999px;
    padding: 0.45rem 0.75rem;
    font-weight: 800;
    border: 1px solid rgba(80, 197, 255, 0.45);
    background: rgba(255, 255, 255, 0.65);
    color: #0b2235;
}
.btn-reset:hover {
    background: #fff;
    border-color: rgba(80, 197, 255, 0.7);
}

.reset-option {
    border-radius: 16px;
    border: 1px solid rgba(10, 30, 60, 0.12);
    background: rgba(255, 255, 255, 0.85);
    padding: 14px;
    display: flex;
    gap: 12px;
    align-items: center;
    text-decoration: none;
    color: #0b2235;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        border-color 0.15s ease;
}
.reset-option:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(10, 30, 60, 0.1);
    border-color: rgba(80, 197, 255, 0.55);
}
.reset-ico {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(80, 197, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: var(--club);
}
.reset-title {
    margin: 0;
    font-weight: 900;
    line-height: 1.1;
}
.reset-sub {
    margin: 0;
    font-size: 0.86rem;
    color: rgba(11, 34, 53, 0.7);
}

.otp-wrap {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.otp-box {
    width: 44px;
    height: 50px;
    border-radius: 14px;
    border: 1px solid rgba(10, 30, 60, 0.14);
    background: rgba(255, 255, 255, 0.86);
    text-align: center;
    font-weight: 900;
    font-size: 1.05rem;
    color: #0b2235;
    outline: none;
    transition:
        box-shadow 0.15s ease,
        border-color 0.15s ease,
        transform 0.15s ease;
}

.otp-box:focus {
    border-color: rgba(80, 197, 255, 0.85);
    box-shadow: 0 0 0 0.22rem rgba(80, 197, 255, 0.22);
    transform: translateY(-1px);
}

@media (max-width: 380px) {
    .otp-box {
        width: 40px;
        height: 48px;
    }

    .otp-wrap {
        gap: 0.4rem;
    }
}
