/* Auth pages styling */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    padding: 40px 20px;
}

.auth-box {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 40px;
    max-width: 400px;
    width: 100%;
}

.auth-box h1 {
    color: #800000;
    margin-bottom: 24px;
    text-align: center;
    font-size: 1.8rem;
}

.auth-box form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-box label {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.auth-box input {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 200ms ease;
}

.auth-box input:focus {
    outline: none;
    border-color: #800000;
}

.auth-box button {
    background-color: #800000;
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 200ms ease, transform 100ms ease;
    margin-top: 8px;
}

.auth-box button:hover {
    background-color: #600000;
    transform: translateY(-2px);
}

.auth-box button:active {
    transform: translateY(0);
}

.error {
    background-color: #ffebee;
    color: #c62828;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 16px;
}

.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 16px;
}

.auth-links {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.auth-links a {
    color: #800000;
    text-decoration: none;
    font-weight: 600;
}

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

.field-error {
    color: #c62828;
    font-size: 0.85rem;
    margin-top: -8px;
    display: block;
}

.password-hint {
    font-size: 0.85rem;
    color: #666;
    margin-top: -8px;
    margin-bottom: 8px;
}
