*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:linear-gradient(135deg,#eef7f0,#f4f6f9);
    font-family:'Segoe UI', sans-serif;
    padding:20px;
}

.login-page{
    width:100%;
    display:flex;
    justify-content:center;
}

.login-shell{
    width:100%;
    max-width:920px;
    display:flex;
    background:#fff;
    border-radius:28px;
    overflow:hidden;
    box-shadow:0 20px 50px rgba(15,122,61,.12);
    animation:loginRise .4s ease;
}

@keyframes loginRise{
    from{ opacity:0; transform:translateY(14px); }
    to{ opacity:1; transform:translateY(0); }
}

/* ── BRAND PANEL (desktop) ── */
.brand-panel{
    flex:1;
    position:relative;
    background:linear-gradient(160deg,#16a34a,#0c6332);
    color:#fff;
    padding:48px 40px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
}

.brand-blob{
    position:absolute;
    border-radius:50%;
    background:rgba(255,255,255,.08);
}

.brand-blob-1{ width:260px; height:260px; top:-80px; right:-90px; }
.brand-blob-2{ width:180px; height:180px; bottom:-60px; left:-60px; background:rgba(255,255,255,.06); }

.brand-panel-content{
    position:relative;
    z-index:1;
    text-align:center;
}

.brand-logo{
    width:96px;
    height:96px;
    object-fit:contain;
    margin-bottom:18px;
    filter:drop-shadow(0 6px 14px rgba(0,0,0,.15));
}

.brand-eyebrow{
    font-size:13px;
    font-weight:600;
    letter-spacing:4px;
    text-transform:uppercase;
    color:rgba(255,255,255,.8);
    margin-bottom:4px;
}

.brand-title{
    font-size:46px;
    font-weight:800;
    line-height:1.1;
    margin-bottom:4px;
}

.brand-region{
    font-size:14px;
    font-weight:600;
    letter-spacing:5px;
    color:rgba(255,255,255,.8);
}

.brand-divider{
    width:46px;
    height:3px;
    background:rgba(255,255,255,.4);
    border-radius:999px;
    margin:22px auto;
}

.brand-tagline{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    font-size:15px;
    font-weight:600;
    color:rgba(255,255,255,.95);
}

.brand-tagline i{ font-size:18px; }

.brand-features{
    list-style:none;
    text-align:left;
    margin-top:22px;
    display:inline-flex;
    flex-direction:column;
    gap:10px;
}

.brand-features li{
    display:flex;
    align-items:center;
    gap:9px;
    font-size:13px;
    font-weight:500;
    color:rgba(255,255,255,.88);
}

.brand-features i{
    font-size:14px;
    color:#bbf7d0;
    flex-shrink:0;
}

.version-badge{
    display:inline-block;
    margin-top:22px;
    background:rgba(255,255,255,.16);
    color:#fff;
    padding:6px 16px;
    border-radius:999px;
    font-size:12px;
    font-weight:700;
    letter-spacing:.03em;
}

/* ── FORM PANEL ── */
.form-panel{
    flex:1;
    background:#fff;
    padding:48px 44px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.form-mobile-head{
    display:none;
    align-items:center;
    gap:12px;
    margin-bottom:22px;
}

.form-mobile-logo{
    width:48px;
    height:48px;
    object-fit:contain;
    flex-shrink:0;
}

.form-mobile-head h3{
    font-size:16px;
    font-weight:800;
    color:#0f172a;
    margin-bottom:4px;
}

.version-badge-sm{
    margin-top:0;
    background:#ecfdf5;
    color:#15803d;
    padding:3px 11px;
    font-size:10.5px;
}

.mobile-features{
    display:none;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:24px;
}

.feature-pill{
    display:inline-flex;
    align-items:center;
    gap:5px;
    background:#ecfdf5;
    color:#15803d;
    font-size:11.5px;
    font-weight:700;
    padding:6px 11px;
    border-radius:999px;
}

.feature-pill i{ font-size:11px; }

.form-panel-head{
    margin-bottom:24px;
}

.form-panel-head h2{
    font-size:24px;
    font-weight:800;
    color:#0f172a;
    margin-bottom:6px;
}

.form-panel-head p{
    font-size:14px;
    color:#64748b;
}

label{
    display:block;
    margin-bottom:8px;
    margin-top:16px;
    font-size:13px;
    font-weight:700;
    color:#374151;
}

.input-group{
    display:flex;
    align-items:center;
    border:1.5px solid #e2e8f0;
    border-radius:14px;
    overflow:hidden;
    background:#fff;
    transition:.2s;
}

.input-group:focus-within{
    border-color:#15803d;
    box-shadow:0 0 0 3px rgba(21,128,61,.1);
}

.input-group i{
    padding:0 0 0 15px;
    color:#15803d;
    font-size:16px;
}

.input-group input{
    flex:1;
    border:none;
    outline:none;
    padding:14px 15px;
    font-size:15px;
    font-family:inherit;
    background:transparent;
}

.toggle-password{
    background:none;
    border:none;
    padding:0 15px;
    color:#94a3b8;
    cursor:pointer;
    font-size:16px;
}

.login-btn{
    width:100%;
    margin-top:26px;
    border:none;
    background:linear-gradient(135deg,#16a34a,#15803d);
    color:#fff;
    padding:15px;
    border-radius:14px;
    font-size:15px;
    font-weight:700;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    transition:.2s;
}

.login-btn:hover{
    opacity:.92;
    transform:translateY(-1px);
}

.security-box{
    margin-top:26px;
    background:#f8fafc;
    border-radius:14px;
    padding:14px 16px;
    display:flex;
    gap:13px;
    align-items:flex-start;
}

.security-box i{
    color:#15803d;
    font-size:22px;
    flex-shrink:0;
    margin-top:1px;
}

.security-box strong{
    display:block;
    font-size:13px;
    color:#0f172a;
    margin-bottom:2px;
}

.security-box p{
    color:#64748b;
    font-size:12px;
}

.error-box{
    display:flex;
    align-items:center;
    gap:10px;
    background:#fef2f2;
    color:#dc2626;
    font-size:13px;
    font-weight:600;
    padding:13px 16px;
    border-radius:12px;
    margin-bottom:8px;
}

/* ── MOBILE ── */
@media(max-width:880px){
    .login-shell{
        flex-direction:column;
        max-width:440px;
        border-radius:24px;
    }

    .brand-panel{ display:none; }

    .form-panel{
        padding:36px 28px;
    }

    .form-mobile-head{ display:flex; }
    .mobile-features{ display:flex; }
}
