body{
    min-height:100vh;
    background:
        radial-gradient(circle at top left, #2b2b55 0, transparent 34%),
        linear-gradient(135deg, #09090b, #151515);
    color:#fff;
}

.auth-wrap{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:24px;
}

.auth-card{
    width:100%;
    max-width:420px;
    background:rgba(24,24,24,0.92);
    border:1px solid #2d2d2d;
    border-radius:24px;
    padding:32px;
    box-shadow:0 24px 80px rgba(0,0,0,0.45);
}

.auth-card h2{
    margin:0 0 24px;
    font-size:30px;
}

.auth-card label{
    display:block;
    color:#aaa;
    margin:14px 0 6px;
}

.auth-title-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin:18px 0 24px;
}

.auth-title-row h1{
    margin:0;
    font-size:30px;
    line-height:1.2;
}

.forgot-password-top-link{
    flex:0 0 auto;
    color:#fff;
    font-size:14px;
    font-weight:800;
    text-decoration:none;
    padding:6px 0;
    white-space:nowrap;
}

.forgot-password-top-link:hover{
    color:#dbe7ff;
}

.auth-card input,
.auth-card select{
    width:100%;
    height:44px;
    border-radius:12px;
    border:1px solid #333;
    background:#0f0f0f;
    color:#fff;
    padding:0 12px;
    box-sizing:border-box;
}

.auth-card button{
    width:100%;
    height:46px;
    margin-top:22px;
    border:0;
    border-radius:23px;
    background:#fff;
    color:#000;
    font-weight:bold;
    cursor:pointer;
}

.auth-card button:hover,
.google-login-btn:hover{
    opacity:.85;
}

.auth-link{
    margin-top:20px;
    color:#bbb;
    text-align:center;
}

.auth-link a{
    color:#fff;
    font-weight:bold;
}

.auth-error{
    color:#ff7070;
    line-height:1.7;
}

.auth-success{
    color:#5cff9d;
}

.auth-hint{
    margin:8px 0 0;
    font-size:13px;
    line-height:1.6;
}

.verify-code-row{
    display:grid;
    grid-template-columns:minmax(0, 1fr) 132px;
    gap:10px;
    align-items:center;
}

.auth-card .verify-code-row button.secondary-submit-btn{
    height:46px;
    margin-top:0;
    border-radius:12px;
    background:#2f2f2f;
    color:#fff;
    font-size:14px;
    white-space:nowrap;
}

.register-verify-box .register-verify-form{
    margin-top:16px;
}

.register-verify-box .register-verify-form input{
    width:100%;
    height:46px;
    border-radius:12px;
    border:1px solid #333;
    background:#0f0f0f;
    color:#fff;
    padding:0 12px;
    box-sizing:border-box;
    font-size:18px;
    text-align:center;
}

.register-verify-error{
    margin-top:12px;
    line-height:1.6;
}

.register-verify-success{
    color:#5cff9d !important;
}

.register-verify-countline{
    color:#fff;
}

#registerVerifyCountdown{
    font-weight:800;
    color:#5cff9d;
}

#registerVerifyCountdown.is-expiring{
    color:#ff7070;
}

.birth-row{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    gap:8px;
}

.google-login-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:44px;
    border-radius:22px;
    background:#fff;
    color:#111;
    font-weight:bold;
    margin-top:16px;
}

.auth-divider{
    border:0;
    border-top:1px solid #333;
    margin:22px 0;
}

@media(max-width:480px){
    .auth-card{
        padding:24px;
        border-radius:18px;
    }

    .auth-card h2{
        font-size:26px;
    }
}
body{
    min-height:100vh;
    margin:0;
    background:
        radial-gradient(circle at top left, #2b2b55 0, transparent 34%),
        linear-gradient(135deg, #09090b, #151515);
    color:#fff;
}

.auth-wrap{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:24px;
    box-sizing:border-box;
}

.auth-card{
    width:100%;
    max-width:420px;
    background:rgba(24,24,24,0.94);
    border:1px solid #2d2d2d;
    border-radius:24px;
    padding:32px;
    box-shadow:0 24px 80px rgba(0,0,0,0.45);
    box-sizing:border-box;
}

.auth-card h2{
    margin:0 0 24px;
    font-size:30px;
}

.auth-card label{
    display:block;
    color:#aaa;
    margin:14px 0 6px;
}

.auth-card input,
.auth-card select{
    width:100%;
    height:46px;
    border-radius:12px;
    border:1px solid #333;
    background:#0f0f0f;
    color:#fff;
    padding:0 12px;
    box-sizing:border-box;
    font-size:16px;
}

.auth-card button{
    width:100%;
    height:48px;
    margin-top:22px;
    border:0;
    border-radius:24px;
    background:#fff;
    color:#000;
    font-weight:bold;
    cursor:pointer;
    font-size:16px;
}

.google-login-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:46px;
    border-radius:23px;
    background:#fff;
    color:#111;
    font-weight:bold;
    margin-top:16px;
    box-sizing:border-box;
}

.auth-link{
    margin-top:20px;
    color:#bbb;
    text-align:center;
}

.auth-error{
    color:#ff7070;
    line-height:1.7;
}

.auth-success{
    color:#5cff9d;
}

.auth-divider{
    border:0;
    border-top:1px solid #333;
    margin:22px 0;
}

@media(max-width:600px){
    .auth-wrap{
        align-items:flex-start;
        padding:18px 14px;
    }

    .auth-card{
        max-width:none;
        min-height:auto;
        border-radius:20px;
        padding:24px 18px;
        margin-top:18px;
    }

    .auth-card h2{
        font-size:26px;
        text-align:center;
    }

    .auth-card input,
    .auth-card select,
    .auth-card button,
    .google-login-btn{
        height:48px;
        font-size:16px;
    }

    .verify-code-row{
        grid-template-columns:1fr;
    }

    .auth-card .verify-code-row button.secondary-submit-btn{
        height:48px;
    }
}
.auth-card input[type="date"]{
    width:100%;
    max-width:100%;
    box-sizing:border-box;
    appearance:none;
    -webkit-appearance:none;
}
.birth-row input::-webkit-outer-spin-button,
.birth-row input::-webkit-inner-spin-button{
    opacity:1;
}

/* Login title action */
.auth-title-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin:18px 0 24px;
}

.auth-title-row h1{
    margin:0;
    font-size:30px;
    line-height:1.2;
}

.forgot-password-top-link{
    flex:0 0 auto;
    color:#fff;
    font-size:14px;
    font-weight:800;
    text-decoration:none;
    padding:6px 0;
    white-space:nowrap;
}

.forgot-password-top-link:hover{
    color:#dbe7ff;
}

@media(max-width:480px){
    .auth-title-row{
        gap:12px;
        margin:16px 0 22px;
    }

    .auth-title-row h1{
        font-size:28px;
    }

    .forgot-password-top-link{
        font-size:13px;
    }
}

/* Keep login title action aligned even when shared auth styles change. */
.auth-card .auth-title-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin:18px 0 24px;
}

.auth-card .auth-title-row h1{
    margin:0;
    font-size:30px;
    line-height:1.2;
}

.auth-card .forgot-password-top-link{
    flex:0 0 auto;
    width:auto;
    height:auto;
    margin:0;
    padding:6px 0;
    border:0;
    border-radius:0;
    background:transparent;
    color:#fff;
    font-size:14px;
    font-weight:800;
    line-height:1.2;
    text-decoration:none;
    white-space:nowrap;
}

.auth-card .forgot-password-top-link:hover{
    color:#dbe7ff;
}

@media(max-width:480px){
    .auth-card .auth-title-row{
        gap:12px;
        margin:16px 0 22px;
    }

    .auth-card .auth-title-row h1{
        font-size:28px;
    }

    .auth-card .forgot-password-top-link{
        font-size:13px;
    }
}
