/* Styles supplémentaires pour le formulaire de connexion */

/* Reset général pour éviter les conflits */
* {
    box-sizing: border-box;
}

/* Reset Bootstrap si nécessaire */
body {
    margin: 0 !important;
    padding: 0 !important;
}

/* Container de la page de connexion */
.login-page-container {
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1rem !important;
    background: linear-gradient(135deg, #1f2937 0%, #374151 50%, #1f2937 100%) !important;
}

/* Carte de connexion */
.login-card {
    width: 100% !important;
    max-width: 500px !important;
    margin: 0 auto !important;
    background: white !important;
    border-radius: 24px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    overflow: hidden !important;
}

/* En-tête de la carte */
.login-header {
    background: linear-gradient(to right, #f0fdf4, #eff6ff) !important;
    padding: 2rem !important;
}

/* Amélioration des champs de saisie */
input[type="email"],
input[type="password"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    width: 100% !important;
    padding: 0.75rem 1rem 0.75rem 2.5rem !important;
    background-color: #eff6ff !important;
    border: none !important;
    border-radius: 0.5rem !important;
    color: #374151 !important;
    font-size: 1rem !important;
    outline: none !important;
    transition: all 0.2s ease !important;
}

input[type="email"]:focus,
input[type="password"]:focus {
    background-color: #ffffff !important;
    box-shadow: 0 0 0 2px #10b981 !important;
}

/* Style pour le bouton de connexion */
.login-btn {
    width: 100% !important;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: white !important;
    font-weight: bold !important;
    padding: 1rem 1.5rem !important;
    border-radius: 0.5rem !important;
    border: none !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.2s ease !important;
    font-size: 1.125rem !important;
}

.login-btn:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1) !important;
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
}

.login-btn:active {
    transform: scale(0.98) !important;
}

/* Style pour les liens */
.login-link {
    color: #059669 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.login-link:hover {
    color: #047857 !important;
    text-decoration: underline !important;
}

/* Style pour la checkbox */
.login-checkbox {
    accent-color: #10b981 !important;
    margin-right: 0.5rem !important;
}

/* Styles pour les labels */
label {
    display: block !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #059669 !important;
    margin-bottom: 0.5rem !important;
}

/* Responsive */
@media (max-width: 768px) {
    .login-page-container {
        padding: 0.5rem !important;
    }
    
    .login-card {
        max-width: 100% !important;
        margin: 0.5rem !important;
    }
    
    .login-header {
        padding: 1.5rem !important;
    }
    
    h1 {
        font-size: 1.5rem !important;
    }
}

/* Override Bootstrap si nécessaire */
.container,
.container-fluid {
    max-width: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}
