:root {
    --bg-main: #f8fafc;
    --bg-surface: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --accent-primary: #002868; /* Navy Blue */
    --accent-secondary: #BF0A30; /* Crimson Red */
    --border-subtle: #e2e8f0;
}

* { box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
body { margin: 0; padding: 0; background: var(--bg-main); color: var(--text-primary); display: flex; align-items: center; justify-content: center; height: 100vh; }

.auth-container {
    background: var(--bg-surface);
    width: 400px;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid var(--border-subtle);
}

.auth-container h2 {
    margin-top: 0;
    color: var(--accent-primary);
    text-align: center;
    margin-bottom: 8px;
}

.auth-container p {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-secondary);
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.btn-primary {
    width: 100%;
    padding: 12px;
    background: var(--accent-primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: #001f52;
}

.auth-link {
    text-align: center;
    margin-top: 16px;
    font-size: 0.85rem;
}

.auth-link a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
}

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

.error-msg {
    color: var(--accent-secondary);
    font-size: 0.85rem;
    text-align: center;
    margin-top: -10px;
    margin-bottom: 10px;
    display: none;
}
