:root {
    --primary: #1e3a8a;
    --secondary: #2563eb;
    --background: #f8fafc;
    --text: #0f172a;
    --muted: #64748b;
    --danger: #dc2626;
}

* {
    box-sizing: border-box;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

body.auth-body {
    margin: 0;
    min-height: 100vh;
    background: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    width: 100%;
    padding: 1rem;
}

.auth-card {
    max-width: 420px;
    margin: auto;
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

.auth-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-logo {
    max-width: 80px;
    margin-bottom: .5rem;
}

.auth-header h1 {
    margin: .5rem 0;
    color: var(--primary);
    font-size: 1.4rem;
}

.auth-header p {
    color: var(--muted);
    font-size: .9rem;
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: .3rem;
    font-size: .85rem;
    color: var(--text);
}

input {
    width: 100%;
    padding: .6rem .7rem;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    font-size: .95rem;
}

input:focus {
    outline: none;
    border-color: var(--secondary);
}

.btn-primary {
    width: 100%;
    padding: .7rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: .95rem;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--secondary);
}

.auth-footer {
    margin-top: 1rem;
    text-align: center;
}

.link-muted {
    font-size: .85rem;
    color: var(--muted);
    text-decoration: none;
}

.alert {
    padding: .6rem;
    margin-bottom: 1rem;
    border-radius: 6px;
    font-size: .85rem;
}

.alert-error {
    background: #fee2e2;
    color: var(--danger);
}