/* ============================================================
   DrSEO — auth.css  v2.0
   Split-screen professional login. Navy left + White right.
   ============================================================ */

/* ─── Shell ─────────────────────────────────────────────── */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    background: #fff;
}

/* ─── Left Brand Panel ───────────────────────────────────── */
.auth-brand-panel {
    width: 420px;
    flex-shrink: 0;
    background: #0d1526;
    display: flex;
    flex-direction: column;
    padding: 48px 44px;
    position: relative;
    overflow: hidden;
}

/* Subtle grid pattern overlay */
.auth-brand-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

/* Glow orb */
.auth-brand-panel::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(26,86,219,.25) 0%, transparent 70%);
    pointer-events: none;
}

.auth-brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 64px;
    position: relative;
    z-index: 1;
}

.auth-brand-logo-icon {
    width: 34px;
    height: 34px;
    background: #1a56db;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
    flex-shrink: 0;
}

.auth-brand-logo-text {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.4px;
}

.auth-brand-logo-text span { color: #e3a008; }

.auth-brand-sub {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: rgba(255,255,255,.35);
    margin-top: 1px;
}

/* Headline block */
.auth-brand-headline {
    position: relative;
    z-index: 1;
    flex: 1;
}

.auth-brand-headline h2 {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    letter-spacing: -.5px;
    margin-bottom: 14px;
}

.auth-brand-headline h2 em {
    font-style: normal;
    color: #e3a008;
}

.auth-brand-headline p {
    font-size: 13.5px;
    color: rgba(255,255,255,.55);
    line-height: 1.65;
    margin-bottom: 36px;
    max-width: 300px;
}

/* Feature list */
.auth-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 48px;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.auth-feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255,255,255,.65);
}

.auth-feature-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(26,86,219,.25);
    border: 1px solid rgba(26,86,219,.4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 9px;
    color: #60a5fa;
}

/* Stats strip */
.auth-stats-strip {
    display: flex;
    gap: 24px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,.07);
    position: relative;
    z-index: 1;
}

.auth-stat-item { }

.auth-stat-num {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.4px;
    line-height: 1;
}

.auth-stat-lbl {
    font-size: 10.5px;
    color: rgba(255,255,255,.35);
    text-transform: uppercase;
    letter-spacing: .7px;
    margin-top: 3px;
}

/* ─── Right Form Panel ───────────────────────────────────── */
.auth-form-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 40px;
    background: #fff;
}

.auth-form-inner {
    width: 100%;
    max-width: 380px;
}

.auth-form-title {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
    letter-spacing: -.4px;
}

.auth-form-subtitle {
    font-size: 13.5px;
    color: #64748b;
    margin-bottom: 32px;
    line-height: 1.5;
}

.auth-field-group {
    margin-bottom: 16px;
}

.auth-field-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
    letter-spacing: .2px;
}

.auth-field-group .form-control {
    height: 40px;
    font-size: 13.5px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 12px;
    color: #0f172a;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
    width: 100%;
}

.auth-field-group .form-control:focus {
    outline: none;
    border-color: #1a56db;
    box-shadow: 0 0 0 3px rgba(26,86,219,.1);
}

.auth-field-group .form-control.is-invalid {
    border-color: #dc2626;
}

.auth-field-group .invalid-feedback {
    font-size: 11.5px;
    color: #dc2626;
    margin-top: 4px;
}

/* Password field */
.input-password-wrap { position: relative; }
.input-password-wrap .form-control { padding-right: 38px; }

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    font-size: 15px;
    padding: 0;
    display: flex;
    align-items: center;
}

.toggle-password:hover { color: #475569; }

/* Row for checkbox + forgot link */
.auth-form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    margin-top: 4px;
}

.auth-form-row .form-check-label {
    font-size: 12.5px;
    color: #6b7280;
    cursor: pointer;
}

.auth-form-row a {
    font-size: 12.5px;
    color: #1a56db;
    font-weight: 500;
    text-decoration: none;
}

.auth-form-row a:hover { text-decoration: underline; }

/* Submit button */
.auth-submit {
    width: 100%;
    height: 42px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    background: #1a56db;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: background .15s, box-shadow .15s;
    letter-spacing: -.1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.auth-submit:hover {
    background: #1e429f;
    box-shadow: 0 3px 12px rgba(26,86,219,.3);
}

.auth-submit:active { transform: translateY(1px); }

.auth-footer-link {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: #9ca3af;
}

.auth-footer-link a { color: #6b7280; }

/* Alert banner */
.auth-alert {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    border-radius: 7px;
    font-size: 13px;
    margin-bottom: 18px;
}

.auth-alert-error   { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }
.auth-alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
    .auth-brand-panel { display: none; }
    .auth-form-panel  { padding: 40px 24px; }
}

@media (max-width: 480px) {
    .auth-form-panel  { padding: 28px 20px; align-items: flex-start; padding-top: 48px; }
}
