/* =========================
   Alea-tes-mots — Login page
   Mobile-first, scoped under .ate-home (shares tokens from home.css)
   ========================= */
.ate-hero-compact { padding: 2.5rem 0 4rem; }

.ate-auth-card {
    background: var(--ate-card);
    border-radius: var(--ate-radius-lg);
    box-shadow: var(--ate-shadow);
    padding: 1.75rem 1.5rem;
    max-width: 420px;
    margin: 0 auto;
}

@media (min-width: 480px) {
    .ate-auth-card { padding: 2.25rem 2rem; }
}

.ate-auth-error {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8d7da;
    color: #842029;
    border-left: 4px solid #dc3545;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.ate-field { margin-bottom: 1.1rem; }

.ate-field label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--ate-text);
}

.ate-field input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ate-field input:focus {
    outline: none;
    border-color: var(--ate-primary);
    box-shadow: 0 0 0 3px rgba(82, 121, 255, 0.15);
}

.ate-auth-submit {
    width: 100%;
    margin-top: 0.35rem;
}

.ate-auth-footer-link {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--ate-text-muted);
}

.ate-auth-footer-link a {
    color: var(--ate-primary);
    font-weight: 700;
    text-decoration: none;
}

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