*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    min-height:100vh;
    background:
        radial-gradient(circle at top left, rgba(37,99,235,.22), transparent 28%),
        radial-gradient(circle at bottom right, rgba(16,185,129,.18), transparent 30%),
        linear-gradient(135deg,#071428,#0b1f3a 45%,#0c2d57 100%);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
}

.auth-wrapper{
    width:100%;
    max-width:1180px;
    display:grid;
    grid-template-columns: 1.1fr .9fr;
    gap:28px;
    align-items:stretch;
}

.auth-left,
.auth-right{
    border:1px solid rgba(255,255,255,.12);
    background:rgba(255,255,255,.08);
    backdrop-filter: blur(16px);
    border-radius:28px;
    box-shadow:0 25px 60px rgba(0,0,0,.35);
}

.auth-left{
    padding:48px;
    position:relative;
    overflow:hidden;
}

.auth-left::before{
    content:"";
    position:absolute;
    inset:auto -80px -80px auto;
    width:220px;
    height:220px;
    background:rgba(59,130,246,.15);
    border-radius:50%;
    filter:blur(10px);
}

.brand-badge{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:10px 18px;
    border-radius:999px;
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.12);
    margin-bottom:22px;
    font-size:14px;
    font-weight:600;
}

.auth-left h1{
    font-size:42px;
    line-height:1.18;
    margin-bottom:16px;
    font-weight:800;
}

.auth-left p{
    color:rgba(255,255,255,.82);
    font-size:15px;
    line-height:1.8;
    max-width:640px;
}

.feature-list{
    margin-top:32px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
}

.feature-item{
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.10);
    border-radius:18px;
    padding:18px;
}

.feature-item h4{
    font-size:16px;
    margin-bottom:8px;
}

.feature-item p{
    font-size:13px;
    line-height:1.6;
}

.auth-right{
    padding:34px 28px;
}

.form-header{
    margin-bottom:22px;
}

.form-header h2{
    font-size:30px;
    margin-bottom:8px;
    font-weight:800;
}

.form-header p{
    color:rgba(255,255,255,.72);
    font-size:14px;
}

.form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
}

.form-group{
    margin-bottom:16px;
}

.form-group.full{
    grid-column:1/-1;
}

label{
    display:block;
    margin-bottom:8px;
    font-size:14px;
    font-weight:600;
    color:#e8eefc;
}

.input-wrap{
    position:relative;
}

input, select{
    width:100%;
    height:54px;
    border:none;
    outline:none;
    border-radius:16px;
    padding:0 16px;
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.12);
    color:#fff;
    font-size:15px;
}

input::placeholder{
    color:rgba(255,255,255,.55);
}

.toggle-pass{
    position:absolute;
    right:14px;
    top:50%;
    transform:translateY(-50%);
    background:none;
    border:none;
    color:#dbeafe;
    cursor:pointer;
    font-size:13px;
    font-weight:600;
}

.auth-btn{
    width:100%;
    border:none;
    height:56px;
    border-radius:18px;
    cursor:pointer;
    font-size:16px;
    font-weight:700;
    color:#fff;
    background:linear-gradient(135deg,#2563eb,#16a34a);
    box-shadow:0 15px 35px rgba(37,99,235,.35);
    transition:.25s ease;
}

.auth-btn:hover{
    transform:translateY(-2px);
}

.form-footer{
    margin-top:18px;
    text-align:center;
    color:rgba(255,255,255,.75);
    font-size:14px;
}

.form-footer a,
.top-link{
    color:#93c5fd;
    text-decoration:none;
    font-weight:600;
}

.alert{
    padding:14px 16px;
    border-radius:14px;
    margin-bottom:16px;
    font-size:14px;
    line-height:1.5;
}

.alert-success{
    background:rgba(34,197,94,.16);
    border:1px solid rgba(34,197,94,.35);
    color:#dcfce7;
}

.alert-error{
    background:rgba(239,68,68,.16);
    border:1px solid rgba(239,68,68,.35);
    color:#fee2e2;
}

.top-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:18px;
    gap:12px;
}

.inline-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    margin:14px 0 20px;
    flex-wrap:wrap;
}

.inline-row label{
    margin:0;
    display:flex;
    align-items:center;
    gap:8px;
    font-size:14px;
}

.inline-row input[type="checkbox"]{
    width:18px;
    height:18px;
}

@media (max-width: 991px){
    .auth-wrapper{
        grid-template-columns:1fr;
    }

    .auth-left{
        padding:32px 24px;
    }

    .auth-right{
        padding:28px 20px;
    }

    .auth-left h1{
        font-size:32px;
    }
}

@media (max-width: 600px){
    .feature-list,
    .form-grid{
        grid-template-columns:1fr;
    }

    .auth-left h1{
        font-size:28px;
    }

    .form-header h2{
        font-size:24px;
    }

    input, select{
        height:50px;
        font-size:14px;
    }

    .auth-btn{
        height:52px;
    }
}