/* =========================================
   LoveGames — Auth (Sign in / Sign up)
========================================= */

body.auth-body {
    min-height: 100vh;
    background: radial-gradient(circle at top, #ff6b81, #1e90ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', Arial, sans-serif;
}

/* Carte centrale */
.auth-container {
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

.auth-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    text-align: center;
}

/* Titres & textes */
.auth-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #222;
}

.auth-subtitle {
    font-size: 15px;
    color: #666;
    margin-bottom: 28px;
}

/* Messages */
.auth-error {
    background: #ffecec;
    color: #c0392b;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* Formulaire */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.auth-group {
    text-align: left;
}

.auth-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.auth-input {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border-radius: 12px;
    border: 2px solid #ddd;
    font-size: 15px;
    transition: all 0.3s ease;
}

.auth-input:focus {
    outline: none;
    border-color: #ff6b81;
    box-shadow: 0 0 0 3px rgba(255, 107, 129, 0.25);
}

/* Boutons */
.auth-button {
    margin-top: 10px;
    height: 48px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #ff6b81, #1e90ff);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* Liens */
.auth-links {
    margin-top: 22px;
    font-size: 14px;
}

.auth-links a {
    color: #1e90ff;
    font-weight: 600;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {
    .auth-card {
        padding: 26px 22px;
    }

    .auth-title {
        font-size: 24px;
    }
}