/* Spa Manager: Auth Styling */

:root {
    --spa-primary: #5c7c67; /* Soft Sage */
    --spa-secondary: #f8f5f0; /* Cream Background */
    --spa-accent: #d4a373; /* Muted Gold/Tan */
    --spa-text: #2c3e50;
    --spa-card-bg: #ffffff;
}

body.auth-body {
    background-color: var(--spa-secondary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--spa-text);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    background: var(--spa-card-bg);
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 450px;
    padding: 2.5rem;
    margin: 1rem;
    position: relative; /* For absolute positioned children */
}

.auth-lang-switcher {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--spa-primary);
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: #7f8c8d;
    font-size: 0.95rem;
}

.form-label {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #95a5a6;
    margin-bottom: 0.5rem;
}

.form-control {
    border-radius: 10px;
    border: 1px solid #edf2f7;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: var(--spa-primary);
    box-shadow: 0 0 0 3px rgba(92, 124, 103, 0.1);
}

.btn-spa {
    background-color: var(--spa-primary);
    border: none;
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    color: white;
    font-weight: 600;
    width: 100%;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-spa:hover {
    background-color: #4a6453;
    transform: translateY(-1px);
    color: white;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
}

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

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

/* Validation Errors */
.invalid-feedback {
    font-size: 0.8rem;
    margin-top: 0.35rem;
}

.alert-spa {
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}
