* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f6f8;
    color: #1f2937;
}

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: white;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.auth-card h1 {
    margin-top: 0;
    margin-bottom: 8px;
}

.auth-card p {
    margin-top: 0;
    margin-bottom: 20px;
    color: #4b5563;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
}

input {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
}

.field-hint {
    margin: -8px 0 16px;
    font-size: 0.875rem;
    color: #6b7280;
}

button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #2563eb;
    color: white;
    font-size: 1rem;
    cursor: pointer;
}

button:hover {
    background: #1d4ed8;
}

.auth-links {
    margin-top: 16px;
    text-align: center;
}

.auth-links a {
    display: block;
    color: #2563eb;
    text-decoration: none;
    margin-top: 8px;
}

.auth-links a:first-child {
    margin-top: 0;
}

.message {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.message.error {
    background: #fef2f2;
    color: #991b1b;
}

.message.success {
    background: #f0fdf4;
    color: #166534;
}

.hidden {
    display: none;
}