* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', system-ui, sans-serif; background: #0a0e1a; min-height: 100vh; -webkit-font-smoothing: antialiased; }
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; position: relative; }
.auth-shell::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #ce1126 0%, #ce1126 33%, #d4a94c 33%, #d4a94c 66%, #046a38 66%, #046a38 100%); z-index: 5; }
.auth-brand { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 56px; background: radial-gradient(1100px 500px at -10% -10%, rgba(212, 169, 76,0.35), transparent 60%), radial-gradient(900px 500px at 110% 110%, rgba(143, 106, 34,0.28), transparent 60%), linear-gradient(160deg, #0a0e1a 0%, #0f1420 55%, #131a2b 100%); color: white; overflow: hidden; }
.auth-brand-mark { display: flex; align-items: center; gap: 14px; }
.auth-brand-logo { height: 48px; width: auto; display: block; flex-shrink: 0; filter: drop-shadow(0 6px 16px rgba(0,0,0,0.35)); }
.auth-brand-mark .logo-wrapper { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.4px; }
.auth-brand-mark .logo-subtitle { font-size: 0.72rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 1.4px; font-weight: 600; margin-top: 2px; }
.auth-brand-copy { max-width: 420px; position: relative; z-index: 1; }
.auth-brand-copy h2 { font-size: 1.9rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.5px; margin-bottom: 14px; }
.auth-brand-copy p { color: #94a3b8; font-size: 0.98rem; line-height: 1.6; }
.auth-brand-features { list-style: none; margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.auth-brand-features li { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: #cbd5e1; }
.auth-brand-features i { color: #e6c878; font-size: 0.85rem; }
.auth-brand-footer { color: #64748b; font-size: 0.8rem; position: relative; z-index: 1; }
.auth-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background:
        radial-gradient(700px 420px at 15% -5%, rgba(212, 169, 76,0.30), transparent 60%),
        radial-gradient(600px 380px at 100% 100%, rgba(4, 106, 56,0.20), transparent 60%),
        linear-gradient(165deg, #0a0e1a 0%, #0f1420 55%, #131a2b 100%);
}
.login-container { width: 100%; max-width: 400px; }
.mobile-only-brand { display: none; }
.login-card {
    position: relative;
    background: white;
    padding: 44px 38px;
    border-radius: 20px;
    box-shadow: 0 1px 3px rgba(15,23,42,0.06), 0 24px 60px rgba(15,23,42,0.09);
    border: 1px solid #f1f5f9;
    text-align: left;
    overflow: hidden;
}
.login-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #d4a94c, #8f6a22); }
.login-card-badge {
    width: 52px; height: 52px; border-radius: 14px;
    background: linear-gradient(135deg, #d4a94c, #8f6a22);
    display: flex; align-items: center; justify-content: center;
    color: #14100a; font-size: 1.3rem;
    margin-bottom: 20px;
    box-shadow: 0 10px 24px rgba(143, 106, 34, 0.3);
}
.login-card .mobile-brand { display: none; }
h1 { font-size: 1.5rem; font-weight: 700; margin-bottom: 6px; color: #0f172a; letter-spacing: -0.3px; }
.subtitle { color: #64748b; margin-bottom: 20px; font-size: 0.92rem; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 7px; color: #334155; }
.form-group input { width: 100%; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 10px; font-size: 0.95rem; font-family: inherit; background: #f8fafc; transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease; }
.form-group input:focus { outline: none; border-color: #d4a94c; background: white; box-shadow: 0 0 0 3px rgba(212, 169, 76,0.12); }
.btn-login { width: 100%; padding: 13px; background: linear-gradient(135deg, #d4a94c, #8f6a22); color: #14100a; border: none; border-radius: 10px; font-size: 0.98rem; font-weight: 700; cursor: pointer; margin-top: 6px; letter-spacing: 0.2px; box-shadow: 0 8px 20px rgba(143, 106, 34, 0.35); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.btn-login:disabled { opacity: 0.85; cursor: default; }
@media (hover: hover) and (pointer: fine) {
    .btn-login:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(143, 106, 34, 0.42); }
}
.footer-text { margin-top: 26px; font-size: 0.8rem; color: #94a3b8; text-align: center; }
.error-message { display: flex; align-items: center; gap: 9px; background: #fef2f2; color: #b91c1c; padding: 12px 14px; border-radius: 10px; margin-bottom: 22px; font-size: 0.88rem; font-weight: 500; border: 1px solid #fecaca; }
@media (max-width: 980px) {
    .auth-shell { grid-template-columns: 1fr; }
    .auth-brand { display: none; }
    .auth-form-panel {
        padding: 28px 24px;
        min-height: 100vh;
        align-items: flex-start;
        padding-top: 64px;
    }
    .mobile-only-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
    .mobile-only-brand-logo { height: 40px; width: auto; display: block; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.35)); }
    .mobile-only-brand-name { font-weight: 800; font-size: 1.15rem; color: white; letter-spacing: -0.2px; }
    .mobile-only-brand-tag { font-size: 0.68rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 1.2px; font-weight: 600; margin-top: 2px; }
}
@media (max-width: 420px) { .login-card { padding: 32px 22px; border-radius: 16px; } }
