/* Center the entire login page vertically and horizontally */
.auth-layout {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8fafc; /* Very light slate background */
    padding: 1rem;
}

.auth-container {
    width: 100%;
    max-width: 400px; /* Keep the card nice and narrow */
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.auth-header {
    text-align: center;
}

    .auth-header .macroprep-brand {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
        display: block;
    }

.auth-card {
    /* The .mp-card class does the heavy lifting, 
       we just add specific spacing here */
    padding: 2.5rem 2rem;
}

.full-width {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 1rem;
}

.auth-footer {
    text-align: center;
    font-family: var(--font-family-base);
    font-size: var(--text-sm);
    color: #64748b;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

/* Error Banner Styling */
.error-banner {
    background-color: #fef2f2; /* Red-50 */
    border: 1px solid #fecaca; /* Red-200 */
    color: #ef4444; /* Red-500 */
    padding: 0.75rem;
    border-radius: 8px;
    font-family: var(--font-family-base);
    font-size: var(--text-sm);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Validation Message Override (Blazor Default) */
.validation-message {
    font-size: var(--text-xs);
    color: #ef4444;
    margin-top: 0.25rem;
    margin-left: 4px;
}
