/* Styles spécifiques pour la page de connexion */

body {
    background: linear-gradient(135deg, #f9f9f9 0%, #eaeaea 100%);
}

.container {
    animation: fadeIn 0.8s ease-in-out;
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-header {
    background-color: white;
    border-bottom: 3px solid var(--primary-color);
    padding: 1.5rem 1rem;
}

.card-header img {
    transition: all 0.3s ease;
}

.card-header img:hover {
    transform: scale(1.1);
}

.form-control {
    border: 1px solid #e9ecef;
    border-radius: 5px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 237, 0, 0.25);
    background-color: white;
}

.btn-primary {
    padding: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 237, 0, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ajustements pour les alertes */
.alert {
    border-radius: 8px;
    animation: slideDown 0.5s ease-out;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: auto;
    min-width: 300px;
    max-width: 80%;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}
