/* 🌍 Appliquer à tout le site */
body {
    background: linear-gradient(135deg, #004080, #0066cc); /* Dégradé bleu */
    font-family: 'Arial', sans-serif;
    height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 📦 Conteneur principal */
.login-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 400px;
    width: 100%;
    animation: fadeIn 0.5s ease-in-out;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 🖼️ Logo arrondi */
.login-logo {
    width: 100px; /* Taille ajustable */
    height: 100px; /* Doit être identique à width pour garder un cercle */
    border-radius: 50%; /* Rend le logo totalement arrondi */
    object-fit: cover; /* Ajuste l’image pour bien s’adapter */
    margin-bottom: 15px;
    border: 3px solid #004080; /* Bordure bleue pour un effet stylé */
    display: block;
}

/* 📝 Animation d'apparition */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 🔒 Titre */
h2 {
    color: #004080;
    font-size: 22px;
    margin-bottom: 20px;
}

/* 📩 Label des champs */
label {
    display: block;
    font-weight: bold;
    margin: 10px 0 5px;
}

/* ✍️ Champs input */
input[type="email"],
input[type="password"] {
    width: 90%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    text-align: center;
}

/* 🔘 Bouton de connexion */
button {
    background: #0066cc;
    color: white;
    font-size: 16px;
    padding: 10px;
    width: 90%;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #004080;
}

/* 📱 Responsive */
@media (max-width: 480px) {
    .login-container {
        width: 90%;
        padding: 20px;
    }
}
