body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: var(--md-sys-color-surface-container-highest);
    margin: 0;
}

.auth-container {
    width: 100%;
    padding: 20px;
}

.auth-card {
    max-width: 400px;
    margin: 0 auto;
    background-color: var(--md-sys-color-background);
    padding: 2rem 2.5rem;
    border-radius: 28px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.auth-card h1 {
    text-align: center;
    margin-top: 0;
    color: var(--md-sys-color-primary);
}

.auth-card p {
    text-align: center;
    margin-bottom: 2rem;
    color: #49454F;
}

.button.full-width {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
}

.auth-switch {
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.auth-switch a {
    color: var(--md-sys-color-primary);
    text-decoration: none;
    font-weight: 500;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* Styles for success/error messages */
.message {
    padding: 10px;
    margin-bottom: 1rem;
    border-radius: 8px;
    text-align: center;
    display: none; /* Hidden by default */
}
.message.success {
    background-color: #D1E7DD;
    color: #0F5132;
    display: block;
}
.message.error {
    background-color: #F8D7DA;
    color: #842029;
    display: block;
}