*{box-sizing:border-box}
:root{
    --auth-primary:#0757d8;
    --auth-dark:#061f4d;
    --auth-secondary:#0ca7a2;
    --auth-bg:#f3f7fc;
    --auth-text:#152238;
    --auth-muted:#6d778a;
}
body{
    margin:0;
    min-height:100vh;
    font-family:Inter,Arial,sans-serif;
    color:var(--auth-text);
    background:
        radial-gradient(circle at 15% 20%,rgba(25,194,189,.16),transparent 30%),
        radial-gradient(circle at 85% 80%,rgba(7,87,216,.17),transparent 34%),
        linear-gradient(135deg,#eff5ff,#f8fbff 45%,#eefaf8);
}
.auth-page{
    min-height:100vh;
    display:grid;
    grid-template-columns:minmax(0,1.1fr) minmax(460px,.9fr);
}
.auth-visual{
    position:relative;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    overflow:hidden;
    padding:44px 54px;
    color:#fff;
    background:
        linear-gradient(145deg,rgba(6,31,77,.96),rgba(7,87,216,.91)),
        url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1400&q=85')
        center/cover;
}
.auth-visual::after{
    content:"";
    position:absolute;
    width:420px;
    height:420px;
    right:-150px;
    bottom:-150px;
    border-radius:50%;
    background:rgba(25,194,189,.18);
}
.auth-brand{
    position:relative;
    z-index:2;
    display:flex;
    align-items:center;
    gap:13px;
    color:#fff;
    text-decoration:none;
}
.auth-brand-icon{
    display:grid;
    place-items:center;
    width:50px;
    height:50px;
    border-radius:15px;
    background:linear-gradient(135deg,#19c2bd,#0ca7a2);
    font-size:25px;
    box-shadow:0 12px 30px rgba(0,0,0,.18);
}
.auth-brand strong{
    display:block;
    font-size:22px;
}
.auth-brand small{
    color:rgba(255,255,255,.72);
}
.auth-copy{
    position:relative;
    z-index:2;
    max-width:620px;
    margin:auto 0;
}
.auth-copy .badge{
    margin-bottom:18px;
    padding:9px 13px;
    border-radius:999px;
    background:rgba(255,255,255,.14);
    color:#fff;
}
.auth-copy h1{
    margin:0 0 18px;
    font-size:clamp(38px,5vw,66px);
    line-height:1.03;
    font-weight:800;
}
.auth-copy p{
    max-width:560px;
    margin:0;
    color:rgba(255,255,255,.79);
    font-size:18px;
    line-height:1.7;
}
.auth-features{
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
}
.auth-feature{
    padding:16px;
    border:1px solid rgba(255,255,255,.14);
    border-radius:16px;
    background:rgba(255,255,255,.09);
    backdrop-filter:blur(10px);
}
.auth-feature i{
    display:block;
    margin-bottom:8px;
    color:#68efe7;
    font-size:23px;
}
.auth-feature strong{
    font-size:14px;
}
.auth-panel{
    display:flex;
    align-items:center;
    justify-content:center;
    padding:35px;
}
.auth-card{
    width:100%;
    max-width:510px;
    padding:36px;
    border:1px solid rgba(7,87,216,.09);
    border-radius:24px;
    background:rgba(255,255,255,.94);
    box-shadow:0 25px 75px rgba(16,42,89,.14);
    backdrop-filter:blur(14px);
}
.auth-card h2{
    margin:0 0 6px;
    font-size:31px;
    font-weight:800;
}
.auth-subtitle{
    margin-bottom:26px;
    color:var(--auth-muted);
}
.auth-tabs{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:8px;
    padding:5px;
    margin-bottom:24px;
    border-radius:14px;
    background:#edf3fb;
}
.auth-tabs button{
    border:0;
    border-radius:10px;
    padding:10px 7px;
    color:#62718a;
    background:transparent;
    font-size:13px;
    font-weight:700;
}
.auth-tabs button.active{
    color:#fff;
    background:var(--auth-primary);
    box-shadow:0 8px 18px rgba(7,87,216,.22);
}
.auth-pane{display:none}
.auth-pane.active{display:block}
.form-label{
    font-size:14px;
    font-weight:700;
}
.auth-input{
    position:relative;
}
.auth-input i{
    position:absolute;
    left:15px;
    top:50%;
    transform:translateY(-50%);
    color:#8a96a8;
}
.auth-input .form-control{
    min-height:51px;
    padding-left:44px;
    border-radius:12px;
    border-color:#dbe4f0;
}
.auth-input .form-control:focus{
    border-color:var(--auth-primary);
    box-shadow:0 0 0 .2rem rgba(7,87,216,.10);
}
.auth-btn{
    min-height:51px;
    border:0;
    border-radius:12px;
    font-weight:800;
}
.auth-btn-primary{
    color:#fff;
    background:linear-gradient(135deg,var(--auth-primary),#07357d);
}
.auth-btn-secondary{
    color:#fff;
    background:linear-gradient(135deg,var(--auth-secondary),#087f7b);
}
.auth-divider{
    display:flex;
    align-items:center;
    gap:12px;
    margin:22px 0;
    color:#98a2b2;
    font-size:12px;
    font-weight:700;
}
.auth-divider::before,.auth-divider::after{
    content:"";
    height:1px;
    flex:1;
    background:#e1e7f0;
}
.auth-links{
    display:flex;
    justify-content:space-between;
    gap:12px;
    margin-top:20px;
    font-size:14px;
}
.auth-links a{
    color:var(--auth-primary);
    font-weight:700;
    text-decoration:none;
}
.auth-footer{
    margin-top:25px;
    padding-top:20px;
    border-top:1px solid #edf0f5;
    color:#8b95a6;
    font-size:12px;
    text-align:center;
}
.auth-toast{
    position:fixed;
    top:20px;
    right:20px;
    z-index:2000;
    min-width:320px;
}
@media(max-width:1050px){
    .auth-page{grid-template-columns:1fr}
    .auth-visual{display:none}
    .auth-panel{min-height:100vh}
}
@media(max-width:576px){
    .auth-panel{padding:16px}
    .auth-card{padding:24px 19px;border-radius:19px}
    .auth-card h2{font-size:27px}
    .auth-tabs{grid-template-columns:1fr}
    .auth-links{flex-direction:column;text-align:center}
}
