.auth-page{
    width:100%;
    min-height:auto;
    padding:32px 0 40px;
    background:
        radial-gradient(circle at 12% 10%, rgba(128,82,226,.12), transparent 34%),
        radial-gradient(circle at 90% 20%, rgba(41,145,101,.10), transparent 28%),
        var(--brand-bg);
}

.auth-shell{
    width:92%;
    max-width:1180px;
    margin:0 auto;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(360px,480px);
    gap:34px;
    align-items:start;
}

.auth-card,
.auth-panel-card{
    background:var(--brand-white);
    border:1px solid var(--border);
    border-radius:34px;
    box-shadow:0 24px 70px rgba(32,35,49,.08);
}

.auth-card{
    padding:46px;
}

.auth-badge{
    display:inline-flex;
    align-items:center;
    padding:10px 16px;
    border-radius:999px;
    background:rgba(128,82,226,.10);
    color:var(--brand-purple);
    font-size:14px;
    font-weight:800;
    margin-bottom:22px;
}

.auth-card h1{
    font-size:clamp(34px,4vw,56px);
    line-height:1.05;
    font-family:"Google Sans", Georgia,serif;
    color:var(--brand-dark);
    margin-bottom:18px;
}

.auth-muted{
    color:var(--brand-muted);
    font-size:17px;
    line-height:1.7;
    margin-bottom:30px;
}

.auth-form{
    margin-top:28px;
}

.auth-form label{
    color:var(--brand-dark);
    font-weight:800;
    margin-bottom:8px;
}

.auth-form input,
.auth-form select,
.auth-form textarea{
    width:100%;
    border:1px solid var(--border);
    border-radius:16px;
    padding:15px 16px;
    min-height:52px;
    font-size:16px;
    background:#fff;
    outline:none;
    transition:.2s ease;
}

.auth-form input:focus,
.auth-form select:focus,
.auth-form textarea:focus{
    border-color:var(--brand-purple);
    box-shadow:0 0 0 4px rgba(128,82,226,.12);
}

.auth-form .form-group,
.auth-form .mb-3{
    margin-bottom:18px;
}

.auth-form button,
.auth-button-link{
    width:100%;
    min-height:56px;
    border:0;
    border-radius:18px;
    background:var(--brand-dark);
    color:white;
    font-size:16px;
    font-weight:900;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    transition:.2s ease;
}

.auth-form button:hover,
.auth-button-link:hover{
    transform:translateY(-1px);
    box-shadow:0 16px 36px rgba(32,35,49,.18);
}

.auth-form-row{
    display:flex;
    justify-content:flex-end;
    margin:-6px 0 22px;
}

.auth-form-row a,
.auth-note a,
.auth-message a{
    color:var(--brand-purple);
    font-weight:800;
    text-decoration:none;
}

.auth-note{
    text-align:center;
    margin-top:26px;
    color:var(--brand-muted);
}

.auth-panel{
    min-height:100%;
}

.auth-panel-card{
    height:100%;
    padding:44px;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    overflow:hidden;
    position:relative;
    background:
        linear-gradient(135deg, rgba(128,82,226,.95), rgba(41,145,101,.92)),
        var(--brand-purple);
    color:white;
}

.auth-panel-card::before{
    content:"";
    position:absolute;
    width:260px;
    height:260px;
    border-radius:60px;
    background:rgba(255,255,255,.14);
    top:-70px;
    right:-70px;
    transform:rotate(18deg);
}

.auth-panel-card::after{
    content:"";
    position:absolute;
    width:190px;
    height:190px;
    border-radius:50px;
    background:rgba(255,255,255,.12);
    bottom:40px;
    left:-80px;
    transform:rotate(-20deg);
}

.auth-panel-card span,
.auth-panel-card h2,
.auth-panel-card p,
.auth-feature-grid{
    position:relative;
    z-index:2;
}

.auth-panel-card span{
    display:inline-flex;
    width:max-content;
    padding:10px 16px;
    border-radius:999px;
    background:rgba(255,255,255,.18);
    font-weight:900;
    margin-bottom:22px;
}

.auth-panel-card h2{
    font-size:clamp(34px,4vw,54px);
    line-height:1.08;
    font-family:"Google Sans", Georgia,serif;
    margin-bottom:20px;
}

.auth-panel-card p{
    font-size:18px;
    line-height:1.7;
    opacity:.92;
}

.auth-feature-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:12px;
    margin-top:34px;
}

.auth-feature{
    padding:16px;
    border-radius:18px;
    background:rgba(255,255,255,.16);
    font-weight:800;
    backdrop-filter:blur(10px);
}

.auth-status{
    width:72px;
    height:72px;
    border-radius:22px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:30px;
    font-weight:900;
    margin-bottom:24px;
}

.auth-status.success{
    background:rgba(41,145,101,.12);
    color:var(--brand-green);
}

.auth-status.info{
    background:rgba(152,172,187,.22);
    color:#557187;
}

.auth-status.warning{
    background:rgba(128,82,226,.12);
    color:var(--brand-purple);
}

.auth-message{
    border-radius:22px;
    padding:18px 20px;
    line-height:1.7;
    font-weight:700;
    margin:24px 0;
}

.auth-message.success{
    background:rgba(41,145,101,.12);
    color:var(--brand-green);
}

.auth-message.info{
    background:rgba(152,172,187,.18);
    color:#496578;
}

.auth-message.warning{
    background:rgba(128,82,226,.12);
    color:var(--brand-dark);
}

.auth-actions{
    margin-top:28px;
}

.invalid-feedback,
.text-danger,
.errorlist{
    color:#B42318;
    font-size:14px;
    margin-top:8px;
}

.form-text,
.helptext{
    color:var(--brand-muted);
    font-size:14px;
}

@media(max-width:980px){
    .auth-shell{
        grid-template-columns:1fr;
    }

    .auth-panel{
        display:none;
    }

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

@media(max-width:640px){
    .auth-page{
        padding:24px 0 32px;
    }

    .auth-card{
        padding:28px;
        border-radius:26px;
    }

    .auth-card h1{
        font-size:36px;
    }

    .auth-muted{
        font-size:16px;
    }
}
