*{box-sizing:border-box;margin:0;padding:0}

:root{
    --navy:#0b122e;
    --deep:#22104f;
    --blue:#1d4ed8;
    --cyan:#38bdf8;
    --gold:#f5b82e;
    --soft:#f7f8ff;
    --text:#101828;
    --muted:#667085;
    --line:#e5e7eb;
}

body.auth-body{
    min-height:100vh;
    font-family:Inter,Arial,sans-serif;
    background:linear-gradient(135deg,#f8fbff,#eef2ff);
    display:flex;
    align-items:center;
    justify-content:center;
    padding:28px;
    color:var(--text);
}

.auth-shell{
    width:min(1120px,96vw);
    min-height:650px;
    display:grid;
    grid-template-columns:.88fr 1.12fr;
    background:white;
    border-radius:34px;
    overflow:hidden;
    box-shadow:0 30px 80px rgba(15,23,42,.18);
}

.auth-visual{
    padding:46px;
    color:white;
    background:
        linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px),
        linear-gradient(135deg,#24104f 0%,#172554 55%,#0f67d7 100%);
    background-size:44px 44px,44px 44px,cover;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}

.auth-brand{
    display:flex;
    align-items:center;
    gap:16px;
    margin-bottom:44px;
}

.auth-brand img{
    width:76px;
    height:76px;
    object-fit:contain;
    background:#fff;
    border-radius:20px;
    padding:9px;
}

.auth-brand h3{
    font-size:27px;
    font-weight:900;
}

.auth-brand p{
    margin-top:5px;
    color:#dbeafe;
    font-size:15px;
}

.auth-badge{
    display:inline-flex;
    width:max-content;
    align-items:center;
    gap:10px;
    padding:11px 18px;
    border-radius:999px;
    background:rgba(255,255,255,.14);
    border:1px solid rgba(255,255,255,.25);
    color:#e0f2fe;
    font-weight:900;
    font-size:13px;
    text-transform:uppercase;
    margin-bottom:24px;
}

.auth-badge::before{
    content:"";
    width:9px;
    height:9px;
    border-radius:50%;
    background:var(--cyan);
}

.auth-visual h1{
    font-size:clamp(44px,5vw,68px);
    line-height:1;
    letter-spacing:-2px;
    font-weight:950;
    margin-bottom:22px;
}

.auth-visual h1 span{
    background:linear-gradient(90deg,#ffffff,#a7d8ff);
    -webkit-background-clip:text;
    color:transparent;
}

.auth-desc{
    font-size:18px;
    line-height:1.55;
    color:#eef6ff;
    max-width:520px;
    font-weight:600;
}

.auth-clean-card{
    margin-top:32px;
    padding:24px;
    border-radius:24px;
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.22);
    max-width:520px;
}

.auth-clean-card h4{
    font-size:22px;
    font-weight:950;
    margin-bottom:8px;
    color:#fff;
}

.auth-clean-card p{
    color:#dbeafe;
    font-size:15px;
    line-height:1.55;
    margin-bottom:18px;
}

.clean-list{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
}

.clean-list span{
    padding:12px 14px;
    border-radius:14px;
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.16);
    color:#fff;
    font-size:13px;
    font-weight:850;
}

.auth-panel,
.auth-card{
    padding:48px 54px;
    display:flex;
    align-items:center;
    background:#ffffff;
}

.auth-panel-inner{
    width:100%;
}

.panel-kicker{
    color:var(--blue);
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:.8px;
    font-weight:950;
    margin-bottom:12px;
}

.auth-panel h2,
.auth-card h2{
    font-size:40px;
    line-height:1.08;
    color:#101828;
    letter-spacing:-1px;
    font-weight:950;
    margin-bottom:10px;
}

.auth-sub{
    color:var(--muted);
    font-size:16px;
    line-height:1.55;
    margin-bottom:26px;
}

.auth-form label{
    display:block;
    margin:15px 0 8px;
    font-size:14px;
    font-weight:900;
    color:#1f2937;
}

.auth-form input,
.auth-form select{
    width:100%;
    height:54px;
    border:1px solid #d8deea;
    background:#f8fafc;
    border-radius:16px;
    padding:0 18px;
    font-size:15.5px;
    outline:none;
}

.auth-form input:focus,
.auth-form select:focus{
    border-color:var(--blue);
    background:#fff;
    box-shadow:0 0 0 4px rgba(29,78,216,.12);
}

.password-wrap{
    position:relative;
}

.password-wrap input{
    padding-right:74px;
}

.eye,
.show-btn{
    position:absolute;
    right:13px;
    top:50%;
    transform:translateY(-50%);
    border:0;
    background:transparent;
    color:var(--blue);
    font-size:13px;
    font-weight:900;
    cursor:pointer;
}

.auth-btn{
    width:100%;
    height:56px;
    border:0;
    border-radius:16px;
    margin-top:24px;
    background:linear-gradient(135deg,#1d4ed8,#0b122e);
    color:white;
    font-size:16px;
    font-weight:950;
    cursor:pointer;
}

.auth-links{
    display:flex;
    justify-content:space-between;
    gap:14px;
    margin-top:22px;
    flex-wrap:wrap;
}

.auth-links a,
.register-panel a{
    color:var(--blue);
    font-weight:900;
    text-decoration:none;
    font-size:14px;
}

.register-panel{
    margin-top:28px;
    padding:20px;
    border-radius:20px;
    background:#f8fafc;
    border:1px solid var(--line);
}

.register-panel p{
    color:var(--muted);
    font-weight:800;
    margin-bottom:12px;
}

.register-panel div{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
}

.register-panel a{
    display:block;
    padding:13px;
    border-radius:14px;
    background:white;
    border:1px solid #dbe3ef;
    text-align:center;
    color:#101828;
}

.success-box,
.error-box,
.auth-error{
    padding:14px 16px;
    border-radius:16px;
    margin-bottom:18px;
    font-weight:850;
    line-height:1.5;
}

.success-box{
    background:#ecfdf3;
    color:#027a48;
    border:1px solid #abefc6;
}

.error-box,
.auth-error{
    background:#fff1f3;
    color:#b42318;
    border:1px solid #fecdd3;
}

.auth-note{
    margin-top:12px;
    font-size:13px;
    line-height:1.45;
    color:var(--muted);
    text-align:center;
}

@media(max-width:980px){
    .auth-shell{
        grid-template-columns:1fr;
    }

    .auth-visual{
        padding:32px 28px;
    }

    .auth-visual h1{
        font-size:42px;
    }

    .auth-panel,
    .auth-card{
        padding:32px 26px;
    }

    .auth-panel h2,
    .auth-card h2{
        font-size:32px;
    }
}

@media(max-width:560px){
    body.auth-body{
        padding:14px;
    }

    .clean-list,
    .register-panel div{
        grid-template-columns:1fr;
    }
}