.auth-page{
    padding:70px 0;
    background:
        radial-gradient(circle at top left, rgba(37,99,235,.12), transparent 32%),
        linear-gradient(180deg,#f8fafc,#eef4ff);
}

.auth-wrapper{
    display:grid;
    grid-template-columns:1fr 520px;
    gap:40px;
    align-items:center;
}

.auth-content{
    background:
        linear-gradient(135deg,#2563eb,#0f172a);
    color:#fff;
    border-radius:34px;
    padding:58px;
    min-height:560px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    box-shadow:0 28px 70px rgba(15,23,42,.18);
    position:relative;
    overflow:hidden;
}

.auth-content::after{
    content:"";
    position:absolute;
    width:320px;
    height:320px;
    border-radius:50%;
    background:rgba(255,255,255,.08);
    right:-110px;
    bottom:-110px;
}

.auth-content span{
    display:inline-flex;
    width:max-content;
    background:rgba(255,255,255,.15);
    border:1px solid rgba(255,255,255,.18);
    padding:8px 14px;
    border-radius:999px;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.08em;
    margin-bottom:18px;
}

.auth-content h1{
    font-size:48px;
    font-weight:950;
    line-height:1.08;
    letter-spacing:-.05em;
    margin-bottom:18px;
}

.auth-content p{
    font-size:17px;
    line-height:1.8;
    color:#dbeafe;
    max-width:560px;
}

.auth-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:30px;
    padding:42px;
    box-shadow:0 24px 65px rgba(15,23,42,.12);
}

.auth-card h2{
    font-size:30px;
    font-weight:950;
    margin-bottom:22px;
    color:#0f172a;
}

.auth-alert{
    border-radius:16px;
    padding:14px 16px;
    margin-bottom:20px;
    font-weight:800;
}

.auth-alert p{
    margin:0;
}

.auth-alert.error{
    background:#fee2e2;
    color:#991b1b;
    border:1px solid #fecaca;
}

.auth-alert.success{
    background:#dcfce7;
    color:#166534;
    border:1px solid #bbf7d0;
}

.auth-card .form-group{
    margin-bottom:18px;
}

.auth-card label{
    display:block;
    font-size:14px;
    font-weight:900;
    margin-bottom:8px;
    color:#0f172a;
}

.auth-card input{
    width:100%;
    height:52px;
    border:1px solid #e5e7eb;
    border-radius:16px;
    padding:0 15px;
    outline:none;
    background:#f8fafc;
    font-size:15px;
}

.auth-card input:focus{
    border-color:#2563eb;
    background:#fff;
    box-shadow:0 0 0 4px rgba(37,99,235,.09);
}

.auth-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    margin-bottom:22px;
}

.remember-check{
    display:flex!important;
    align-items:center;
    gap:8px;
    margin:0!important;
    color:#64748b!important;
    font-size:14px!important;
}

.remember-check input{
    width:16px!important;
    height:16px!important;
}

.auth-row a{
    color:#2563eb;
    font-weight:900;
    font-size:14px;
}

.auth-btn{
    width:100%;
    height:54px;
    border:none;
    border-radius:16px;
    background:linear-gradient(135deg,#2563eb,#1d4ed8);
    color:#fff;
    font-size:16px;
    font-weight:950;
    cursor:pointer;
    box-shadow:0 14px 28px rgba(37,99,235,.22);
}

.auth-btn:hover{
    transform:translateY(-1px);
}

.auth-btn:disabled{
    opacity:.65;
    cursor:not-allowed;
}

.auth-switch{
    text-align:center;
    margin:22px 0 0;
    color:#64748b;
    font-weight:700;
}

.auth-switch a{
    color:#2563eb;
    font-weight:950;
}

.form-error{
    color:#dc2626;
    font-size:12px;
    font-weight:800;
    margin-top:6px;
}

.input-error{
    border-color:#dc2626!important;
    background:#fff5f5!important;
}

@media(max-width:1000px){
    .auth-wrapper{
        grid-template-columns:1fr;
    }

    .auth-content{
        min-height:auto;
        padding:42px;
    }

    .auth-content h1{
        font-size:38px;
    }

    .auth-card{
        padding:34px;
    }
}

@media(max-width:576px){
    .auth-page{
        padding:38px 0;
    }

    .auth-content{
        display:none;
    }

    .auth-card{
        border-radius:24px;
        padding:26px;
    }

    .auth-card h2{
        font-size:26px;
    }

    .auth-row{
        flex-direction:column;
        align-items:flex-start;
    }
}