/* auth.css - Style pour les pages d'authentification */

/* Reset partiel pour garantir la cohérence */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Section principale */
section.pt-32.pb-20.bg-gray-50 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0fdf4 0%, #f8fafc 100%);
    padding: 2rem 1rem;
}

/* Conteneur du formulaire */
.max-w-6xl.mx-auto.px-6 {
    max-width: 480px;
    width: 100%;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 40px -15px rgba(5, 150, 105, 0.2);
    padding: 2.5rem 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(5, 150, 105, 0.1);
}

/* Titre */
.auth-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #059669, #0891b2, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    text-align: center;
}

/* Sous-titre */
.auth-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

/* Groupe de champ */
.auth-group {
    margin-bottom: 1.5rem;
}

/* Label */
.auth-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 0.4rem;
    letter-spacing: 0.3px;
}

/* Input */
.auth-input {
    width: 100%;
    padding: 0.85rem 1.2rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    background-color: #f8fafc;
    transition: all 0.3s ease;
    outline: none;
    color: #1e293b;
}

.auth-input:focus {
    border-color: #059669;
    background-color: white;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.15);
}

.auth-input::placeholder {
    color: #94a3b8;
    opacity: 0.7;
}

/* Bouton de connexion */
.auth-btn {
    width: 100%;
    padding: 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #7c3aed, #059669);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
    letter-spacing: 0.5px;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(124, 58, 237, 0.4);
    background: linear-gradient(135deg, #6d28d9, #047857);
}

.auth-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

/* Liens d'authentification */
.auth-links {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

.auth-links a {
    color: #059669;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    display: inline-block;
    margin: 0.3rem 0;
    position: relative;
}

.auth-links a:hover {
    color: #7c3aed;
}

.auth-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(90deg, #059669, #7c3aed);
    transition: width 0.3s ease;
}

.auth-links a:hover::after {
    width: 100%;
}

/* Responsive */
@media (max-width: 640px) {
    .max-w-6xl.mx-auto.px-6 {
        padding: 2rem 1.5rem;
    }
    .auth-title {
        font-size: 1.8rem;
    }
    .auth-subtitle {
        font-size: 0.9rem;
    }
}

/* Optionnel : style pour les messages d'erreur (si vous utilisez des alertes) */
.alert-danger {
    background-color: #fee2e2;
    border-left: 4px solid #dc2626;
    color: #b91c1c;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}