:root{
    --auth-navy:#0b1f3a;
    --auth-blue:#2f80ed;
    --auth-soft:#f3f7fc;
}

body{
    margin:0;
    min-height:100vh;
    background:var(--auth-soft);
    color:#111827;
    font-family:Inter,system-ui,sans-serif;
}

.auth-layout{
    min-height:100vh;
    display:grid;
    grid-template-columns:minmax(390px, .9fr) minmax(520px, 1.1fr);
    background:#f4f7fb;
}

.auth-showcase{
    min-height:100vh;
    padding:34px clamp(34px,5vw,72px);
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    background:#071f3e;
    color:#fff;
}

.showcase-brand{
    display:inline-flex;
    align-items:center;
    gap:10px;
    color:#fff;
    text-decoration:none;
    font-size:20px;
    font-weight:900;
}

.showcase-brand span{
    width:38px;
    height:38px;
    border-radius:8px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:#dceeff;
    color:#071f3e;
}

.showcase-content{
    max-width:540px;
}

.showcase-kicker{
    display:inline-flex;
    align-items:center;
    gap:7px;
    margin-bottom:18px;
    color:#b9dcff;
    font-size:13px;
    font-weight:800;
    text-transform:uppercase;
}

.showcase-content h1{
    margin:0 0 18px;
    max-width:520px;
    font-size:clamp(34px,4vw,52px);
    line-height:1.08;
    font-weight:900;
    letter-spacing:0;
}

.showcase-content > p{
    margin:0;
    max-width:510px;
    color:rgba(255,255,255,.7);
    font-size:17px;
}

.showcase-footer{
    color:rgba(255,255,255,.48);
}

.showcase-preview{
    width:min(100%,430px);
    margin-top:32px;
    padding:20px;
    border:1px solid rgba(255,255,255,.16);
    border-radius:8px;
    background:rgba(255,255,255,.08);
}

.showcase-preview small{
    color:rgba(255,255,255,.58);
}

.preview-status{
    width:9px;
    height:9px;
    border-radius:50%;
    background:#38c78e;
    box-shadow:0 0 0 5px rgba(56,199,142,.12);
}

.preview-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
}

.preview-grid > div{
    padding:14px;
    border-radius:8px;
    background:rgba(255,255,255,.1);
}

.preview-grid strong{
    display:block;
    margin-top:2px;
    font-size:19px;
}

.preview-note{
    margin-top:10px;
    padding:11px 14px;
    border-radius:8px;
    background:#fff;
    color:#0b1f3a;
    font-size:13px;
    font-weight:800;
}

.preview-note i{
    color:#0f8a65;
    margin-right:6px;
}

.benefit-list{
    display:grid;
    gap:12px;
    margin-top:30px;
}

.benefit-list span{
    display:flex;
    align-items:center;
    gap:10px;
    color:rgba(255,255,255,.86);
    font-weight:700;
}

.benefit-list i{
    width:26px;
    height:26px;
    border-radius:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:rgba(76,166,232,.18);
    color:#8bc8f5;
}

.auth-form-side{
    min-width:0;
    padding:36px clamp(28px,6vw,88px);
    display:flex;
    align-items:center;
    justify-content:center;
}

.auth-form-card{
    width:min(100%,450px);
}

.auth-form-card-wide{
    width:min(100%,700px);
}

.auth-form-card h2{
    margin:0 0 8px;
    color:#0b1f3a;
    font-size:30px;
    font-weight:900;
    letter-spacing:0;
}

.auth-brand-mobile{
    display:none;
}

.input-with-icon{
    position:relative;
}

.input-with-icon > i{
    position:absolute;
    left:15px;
    top:50%;
    z-index:2;
    color:#7a8798;
    transform:translateY(-50%);
}

.input-with-icon .form-control{
    padding-left:43px;
}

.password-field{
    position:relative;
}

.password-field .form-control{
    padding-right:48px;
}

.password-toggle{
    position:absolute;
    top:50%;
    right:8px;
    width:36px;
    height:36px;
    border:0;
    background:transparent;
    color:#657083;
    transform:translateY(-50%);
}

.form-link,
.auth-switch a{
    color:#174ea6;
    text-decoration:none;
    font-size:13px;
    font-weight:800;
}

.auth-switch{
    margin:22px 0 0;
    text-align:center;
    color:#657083;
    font-size:14px;
}

.auth-support{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:7px;
    margin-top:16px;
    color:#0f766e;
    text-decoration:none;
    font-size:13px;
    font-weight:800;
}

.register-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:17px;
}

.register-submit{
    grid-column:1 / -1;
}

.form-select{
    min-height:48px;
    border-radius:8px;
    border-color:#d8e1ec;
}

.form-select:focus{
    border-color:var(--auth-blue);
    box-shadow:0 0 0 3px rgba(47,128,237,.12);
}

.field-hint{
    display:block;
    margin-top:5px;
    color:#7a8798;
    font-size:11px;
}

.trial-badge{
    flex:0 0 auto;
    padding:7px 10px;
    border-radius:999px;
    background:#eaf3ff;
    color:#174ea6;
    font-size:11px;
    font-weight:900;
    text-transform:uppercase;
}

.auth-shell{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:24px;
    background:#eef4fb;
}

.auth-card{
    width:min(100%,460px);
    padding:32px;
    background:#fff;
    border:1px solid #dce6f2;
    border-radius:8px;
    box-shadow:0 22px 60px rgba(11,31,58,.12);
}

.auth-brand{
    display:inline-flex;
    align-items:center;
    gap:9px;
    margin-bottom:28px;
    color:var(--auth-navy);
    text-decoration:none;
    font-size:18px;
    font-weight:900;
}

.auth-brand span,
.auth-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:8px;
}

.auth-brand span{
    width:34px;
    height:34px;
    background:#dceeff;
}

.auth-icon{
    width:48px;
    height:48px;
    margin-bottom:18px;
    background:#eaf3ff;
    color:#174ea6;
    font-size:21px;
}

.auth-card h1{
    margin:0 0 8px;
    font-size:28px;
    font-weight:900;
    letter-spacing:0;
}

.auth-copy{
    margin-bottom:24px;
    color:#657083;
}

.form-label{
    font-size:13px;
    font-weight:800;
}

.form-control{
    min-height:48px;
    border-radius:8px;
    border-color:#d8e1ec;
}

.form-control:focus{
    border-color:var(--auth-blue);
    box-shadow:0 0 0 3px rgba(47,128,237,.12);
}

.auth-primary{
    min-height:48px;
    border-radius:8px;
    background:var(--auth-navy);
    border-color:var(--auth-navy);
    color:#fff;
    font-weight:800;
}

.auth-primary:hover{
    background:#174ea6;
    border-color:#174ea6;
    color:#fff;
}

.auth-links{
    display:flex;
    justify-content:space-between;
    gap:16px;
    margin-top:22px;
    padding-top:18px;
    border-top:1px solid #edf1f6;
}

.auth-links a{
    color:#174ea6;
    text-decoration:none;
    font-size:13px;
    font-weight:800;
}

@media(max-width:480px){
    .auth-shell{padding:14px;}
    .auth-card{padding:24px 20px;}
    .auth-links{flex-direction:column;}
}

@media(max-width:991px){
    .auth-layout{
        display:block;
    }

    .auth-showcase{
        display:none;
    }

    .auth-form-side{
        min-height:100vh;
        padding:28px 20px;
    }

    .auth-brand-mobile{
        display:inline-flex;
        margin-bottom:32px;
    }
}

@media(max-width:640px){
    .auth-form-side{
        align-items:flex-start;
        padding:22px 16px 30px;
    }

    .auth-form-card h2{
        font-size:26px;
    }

    .register-grid{
        grid-template-columns:1fr;
        gap:14px;
    }

    .register-submit{
        grid-column:auto;
    }

    .trial-badge{
        display:none;
    }
}
