.auth-page{
    min-height:100vh;
    background:#07111f;
}

.auth-layout{
    min-height:100vh;
    display:grid;
    grid-template-columns:1.05fr 0.95fr;
}

.auth-visual{
    position:relative;
    overflow:hidden;
    display:flex;
    align-items:flex-end;
}

.auth-visual::before{
    content:'';
    position:absolute;
    inset:0;
    background:
    linear-gradient(
        180deg,
        rgba(2,7,13,.15),
        rgba(2,7,13,.75)
    );
    z-index:1;
}

.auth-content{
    position:relative;
    z-index:2;
    padding:60px;
    width:100%;
}

.auth-badge{
    display:inline-flex;
    padding:8px 14px;
    border-radius:999px;
    background:rgba(0,212,138,.12);
    color:#00d48a;
    font-size:13px;
    font-weight:800;
}

.auth-content h1{
    margin:18px 0;
    font-size:56px;
    line-height:1;
    letter-spacing:-0.04em;
}

.auth-content p{
    color:#c7d0db;
    max-width:520px;
    line-height:1.7;
}

.auth-benefits{
    margin-top:30px;
    display:grid;
    gap:14px;
}

.auth-benefits div{
    display:flex;
    gap:12px;
    align-items:center;
    color:#fff;
    font-weight:700;
}

.auth-form-side{
    display:flex;
    align-items:center;
    justify-content:center;
    padding:50px 30px;
}

.auth-card{
    width:100%;
    max-width:520px;
    background:
    linear-gradient(
        145deg,
        rgba(255,255,255,.05),
        rgba(255,255,255,.01)
    );
    border:1px solid rgba(255,255,255,.10);
    border-radius:24px;
    padding:40px;
    box-shadow:0 30px 80px rgba(0,0,0,.35);
}

.auth-card h2{
    margin:0;
    font-size:38px;
}

.auth-subtitle{
    margin-top:10px;
    color:#9ea9b7;
}

.auth-card label{
    display:block;
    margin-bottom:8px;
    font-size:14px;
    color:#d3dbe5;
    font-weight:700;
}

.auth-card input{
    width:100%;
    min-height:52px;
    border-radius:14px;
    background:#0d1627;
    border:1px solid rgba(255,255,255,.10);
    color:white;
    padding:0 16px;
}

.auth-card input:focus{
    outline:none;
    border-color:#00d48a;
}

.auth-group{
    margin-top:18px;
}

.auth-btn{
    width:100%;
    min-height:54px;
    border:none;
    border-radius:14px;
    background:#00d48a;
    color:#041018;
    font-weight:900;
    margin-top:24px;
    cursor:pointer;
}

.auth-links{
    margin-top:24px;
    text-align:center;
    color:#9ea9b7;
}

.auth-links a{
    color:#00d48a;
    text-decoration:none;
}

.auth-error{
    margin-bottom:18px;
    padding:14px;
    border-radius:12px;
    background:rgba(255,90,90,.10);
    border:1px solid rgba(255,90,90,.25);
    color:#ffb2b2;
}

@media(max-width:900px){

    .auth-layout{
        grid-template-columns:1fr;
    }

    .auth-visual{
        min-height:380px;
    }

    .auth-content{
        padding:40px 28px;
    }

    .auth-content h1{
        font-size:42px;
    }

    .auth-form-side{
        padding:25px 16px 40px;
    }

    .auth-card{
        padding:28px;
    }
}

.auth-field-error {
    display: block;
    margin-top: 8px;
    color: #ff6b6b;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

/* Signup/login field validation errors */
.auth-field-error,
.auth-field-error *,
.errorlist,
.errorlist li {
    color: #ff3b30 !important;
}

.auth-field-error {
    display: block !important;
    margin-top: 8px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    background: rgba(255,59,48,.08);
    border: 1px solid rgba(255,59,48,.25);
    padding: 10px 12px;
    border-radius: 10px;
}

.errorlist {
    margin: 8px 0 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.errorlist li {
    font-size: 13px !important;
    font-weight: 800 !important;
}

/* Login/global auth errors */
.auth-error {
    color: #ff3b30 !important;
    background: rgba(255,59,48,.08) !important;
    border: 1px solid rgba(255,59,48,.25) !important;
    padding: 12px 14px !important;
    border-radius: 12px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    margin-bottom: 16px !important;
}
