body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #a0c1d1, #eaf3fa);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-wrapper {
    width: 90%;
    max-width: 400px;
    background: #ffffff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.login-wrapper:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.login-form {
    padding: 20px;
    text-align: center;
}

.imgcontainer {
    text-align: center;
    margin-bottom: 20px;
}

.user {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid #6fa3ef;
}

.container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

label {
    font-weight: bold;
    font-size: 14px;
    color: #333;
    text-align: left;
    display: block;
    margin-bottom: 5px;
}

input[type=text], input[type=password] {
    width: auto;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

input[type=text]:focus, input[type=password]:focus {
    border-color: #6fa3ef;
    box-shadow: 0 0 8px rgba(111, 163, 239, 0.5);
}

button {
    width: 100%;
    background-color: #5a99e6;
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover {
    background-color: #488bda;
    transform: translateY(-5px);
}

/* Style spécifique pour le select */
select {
    background-color: #fff;
    font-size: 16px;
    height: 45px;
    appearance: none;  /* Supprime le style par défaut du select */
    cursor: pointer;
    background-image: url('images/down-arrow.png'); /* Ajouter une flèche personnalisée */
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 40px;
}

/* Pour les navigateurs qui ne supportent pas appearance */
select::-ms-expand {
    display: none;
}

.footer {
    text-align: center;
    margin-top: 15px;
}

.footer a {
    color: #5a99e6;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #488bda;
    text-decoration: underline;
}

/* Media Queries for Responsiveness */
@media (max-width: 600px) {
    .login-wrapper {
        width: 95%;
    }
    
    .login-form {
        padding: 15px;
    }

    .user {
        width: 80px;
        height: 80px;
    }

    input[type=text], input[type=password] {
        font-size: 14px;
        padding: 12px;
    }

    button {
        font-size: 16px;
        padding: 12px;
    }

    .footer a {
        font-size: 12px;
    }
}
