*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
    background: #0a0a0a;
    color: #f5f5f5;
    font-family: 'Inter', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}
.auth-card {
    width: 100%;
    max-width: 420px;
    background: #1f1f1f;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 2.25rem 2rem;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .45);
}
.auth-logo {
    display: block;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #f5f5f5;
    text-decoration: none;
    letter-spacing: -0.03em;
    margin-bottom: 0.35rem;
}
.auth-sub { text-align: center; font-size: 0.875rem; color: #a3a3a3; margin-bottom: 1.75rem; }
.auth-sub a, .auth-back a { color: #3b82f6; font-weight: 600; text-decoration: none; }
.auth-sub a:hover, .auth-back a:hover { text-decoration: underline; }
.auth-error {
    background: rgba(239, 68, 68, .1);
    border: 1px solid rgba(239, 68, 68, .35);
    border-radius: 8px;
    padding: 0.7rem 1rem;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    color: #fca5a5;
    line-height: 1.5;
}
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 0.875rem; font-weight: 600; color: #f5f5f5; margin-bottom: 8px; }
.field input {
    width: 100%;
    height: 48px;
    background: #141414;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    color: #f5f5f5;
    font-family: inherit;
    font-size: 0.9375rem;
    padding: 0 14px;
    outline: none;
}
.field input:focus { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, .2); }
.btn-primary {
    display: block;
    width: 100%;
    height: 48px;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}
.btn-primary:hover { background: #2563eb; }
.auth-back { text-align: center; margin-top: 1.5rem; font-size: 0.8125rem; }
