:root {
    --brand-primary: #1e3a5f;
    --brand-accent: #2b6cb0;
    --brand-soft: #edf4fc;
    --bg-offwhite: #f8f9fa;
    --text-dark: #2d3748;
    --text-muted: #64748b;
}

html, body { min-height: 100%; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-offwhite);
    color: var(--text-dark);
    margin: 0;
}
.auth-shell { min-height: 100vh; }
.brand-panel {
    background: linear-gradient(145deg, var(--brand-primary) 0%, #14273f 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}
.brand-panel::after {
    content: "";
    position: absolute;
    width: 24rem;
    height: 24rem;
    right: -10rem;
    bottom: -11rem;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
}
.brand-content { max-width: 480px; position: relative; z-index: 1; }
.brand-mark {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 20px;
    background: rgba(255,255,255,.08);
    margin-bottom: 1.5rem;
}
.brand-description { color: rgba(255,255,255,.76); line-height: 1.7; }
.auth-panel {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 2.5rem 1.25rem;
}
.auth-wrapper { width: 100%; max-width: 420px; }
.mobile-brand { color: var(--brand-primary); }
.auth-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-primary);
    background: var(--brand-soft);
    border-radius: 14px;
    margin-bottom: 1.25rem;
}
.auth-description { color: var(--text-muted); line-height: 1.6; }
.form-label { color: #526174; font-size: .875rem; font-weight: 600; }
.form-control {
    min-height: 48px;
    padding: .75rem 1rem;
    border-radius: .55rem;
    border-color: #d8e0e9;
}
.form-control:focus {
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 .25rem rgba(43,108,176,.14);
}
.btn-primary {
    min-height: 48px;
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    border-radius: .55rem;
    font-weight: 600;
    transition: transform .2s ease, background-color .2s ease;
}
.btn-primary:hover, .btn-primary:focus {
    background: var(--brand-accent);
    border-color: var(--brand-accent);
    transform: translateY(-1px);
}
.text-brand { color: var(--brand-primary); text-decoration: none; font-weight: 600; }
.text-brand:hover { color: var(--brand-accent); text-decoration: underline; }
.auth-note {
    color: var(--text-muted);
    background: #f7f9fc;
    border: 1px solid #e3e9f0;
    border-radius: .65rem;
    padding: .85rem 1rem;
    font-size: .875rem;
    line-height: 1.5;
}
.alert { border-radius: .65rem; font-size: .925rem; }
.password-group { position: relative; }
.password-group .form-control { padding-right: 3.25rem; }
.password-toggle {
    position: absolute;
    right: .4rem;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 40px;
    border: 0;
    border-radius: .4rem;
    background: transparent;
    color: #64748b;
}
.password-toggle:hover, .password-toggle:focus { color: var(--brand-primary); background: var(--brand-soft); }

@media (max-width: 991.98px) {
    .auth-panel { min-height: 100vh; }
}
