:root{
    --navy:#081a36;
    --navy-2:#0d264d;
    --navy-3:#123566;
    --white:#ffffff;
    --off:#f4f7fb;
    --line:#d8e0ea;
    --text:#0f172a;
    --muted:#667085;
    --danger:#d92d20;
    --danger-bg:#fdecec;
    --shadow:0 20px 60px rgba(8,26,54,.14);
    --radius-xl:28px;
    --radius-lg:20px;
    --radius-md:14px;
}

*{
    box-sizing:border-box;
}

html,body{
    margin:0;
    padding:0;
    font-family:Tahoma, Arial, sans-serif;
    background:linear-gradient(180deg,#eef3f9 0%, #f8fbff 100%);
    color:var(--text);
}

body.auth-body{
    min-height:100vh;
}

.auth-shell{
    min-height:100vh;
    display:grid;
    grid-template-columns: 1fr 1fr;
    align-items:center;
    gap:32px;
    max-width:1300px;
    margin:0 auto;
    padding:32px;
}

.auth-card{
    background:rgba(255,255,255,.88);
    border:1px solid rgba(255,255,255,.7);
    backdrop-filter:blur(18px);
    border-radius:var(--radius-xl);
    box-shadow:var(--shadow);
    padding:42px;
}

.auth-brand{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 16px;
    border-radius:999px;
    background:#eef4ff;
    color:var(--navy-3);
    font-size:13px;
    font-weight:700;
    margin-bottom:20px;
}

.auth-title{
    margin:0 0 10px;
    font-size:42px;
    line-height:1.2;
    color:var(--navy);
}

.auth-subtitle{
    margin:0 0 28px;
    color:var(--muted);
    font-size:17px;
    line-height:1.8;
}

.auth-form{
    display:grid;
    gap:18px;
}

.form-group{
    display:grid;
    gap:10px;
}

.form-group label{
    font-size:14px;
    font-weight:700;
    color:var(--navy);
}

.input{
    width:100%;
    border:1px solid var(--line);
    background:#fff;
    border-radius:16px;
    padding:16px 18px;
    font-size:15px;
    outline:none;
    transition:.2s ease;
}

.input:focus{
    border-color:var(--navy-3);
    box-shadow:0 0 0 4px rgba(18,53,102,.08);
}

.btn{
    border:none;
    border-radius:18px;
    padding:16px 20px;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
    transition:.2s ease;
}

.btn-primary{
    background:linear-gradient(135deg,var(--navy) 0%, var(--navy-3) 100%);
    color:#fff;
    box-shadow:0 18px 35px rgba(8,26,54,.18);
}

.btn-primary:hover{
    transform:translateY(-1px);
}

.alert{
    padding:14px 16px;
    border-radius:16px;
    font-size:14px;
    font-weight:700;
    margin-bottom:18px;
}

.alert-error{
    background:var(--danger-bg);
    color:var(--danger);
    border:1px solid #f6c7c3;
}

.auth-note{
    margin-top:18px;
    color:var(--muted);
    font-size:13px;
}

.auth-side{
    position:relative;
}

.glass-box{
    background:linear-gradient(145deg, rgba(8,26,54,.96) 0%, rgba(18,53,102,.96) 100%);
    color:#fff;
    border-radius:32px;
    padding:44px;
    min-height:540px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    box-shadow:var(--shadow);
    position:relative;
    overflow:hidden;
}

.glass-box::before{
    content:'';
    position:absolute;
    inset:auto -80px -80px auto;
    width:280px;
    height:280px;
    background:radial-gradient(circle, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 70%);
    border-radius:50%;
}

.mini-badge{
    display:inline-flex;
    align-self:flex-start;
    padding:10px 14px;
    border-radius:999px;
    background:rgba(255,255,255,.1);
    border:1px solid rgba(255,255,255,.14);
    font-size:12px;
    font-weight:700;
    margin-bottom:18px;
}

.glass-box h2{
    margin:0 0 16px;
    font-size:36px;
    line-height:1.3;
}

.glass-box p{
    margin:0 0 22px;
    color:rgba(255,255,255,.84);
    font-size:17px;
    line-height:1.9;
    max-width:540px;
}

.feature-list{
    display:grid;
    gap:12px;
}

.feature-item{
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.08);
    border-radius:16px;
    padding:14px 16px;
    font-size:14px;
    font-weight:700;
}

.dashboard-shell{
    max-width:1400px;
    margin:0 auto;
    padding:24px;
}

@media (max-width: 980px){
    .auth-shell{
        grid-template-columns:1fr;
        padding:18px;
    }

    .auth-card{
        order:2;
        padding:24px;
    }

    .auth-side{
        order:1;
    }

    .glass-box{
        min-height:auto;
        padding:28px;
    }

    .auth-title{
        font-size:30px;
    }

    .glass-box h2{
        font-size:26px;
    }

    .auth-subtitle,
    .glass-box p{
        font-size:15px;
    }
}