/* Styles généraux */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

/* Header*/
header {
    width: 100%;
    height: 80px;
    background-color: #007bff; /* Bleu plus foncé */
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Change de 'space-between' à 'flex-start' */
    padding: 0 20px;
    position: relative;
}

/* Logo */
.logo img {
    height: 70px;
}

/* Nom du site */
.site-name {
    color: white;
    font-size: 24px;
    font-weight: bold;
    margin-left: 10px;
}

/* Menu principal */
.menu {
    display: flex;
    align-items: center;
    gap: 15px; /* Réduit l'espacement entre les éléments du menu */
    margin-left: 90px; /* Espacement réduit entre services et menu */
}

.menu a {
    text-decoration: none;
    color: white;
    font-size: 14px;
}

/* Cadre du profil */
.profile-frame {
width: 50px; /* Taille du cadre */
height: 50px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
background-color: #007bff; /* Assorti au header */
border: 2px solid white;
overflow: hidden; /* Empêche l'image de dépasser */
cursor: pointer;
}

/* Image de profil (photo de l'utilisateur) */
.profile-picture {
width: 44px; /* Image plus petite que le cadre */
height: 44px;
border-radius: 50%;
object-fit: cover;
}

/* Icône utilisateur (si pas connecté) */
.profile-icon {
font-size: 24px; /* Taille de l'icône */
color: white;
}


.dropdown {
    display: none;
    position: absolute;
    top: 50px;
    right: 0;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    width: 200px;
    z-index: 1001;
}

.dropdown a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: background 0.3s ease;
}

.dropdown a:hover {
    background-color: #f1f1f1;
}

/* Section services dans le header */
.services-container {
    display: flex;
    gap: 15px; /* Réduit l'espacement entre les services */
    margin-left: 40px; /* Réduit l'espacement entre le nom du site et les services */
    color: white;
}

.service-card {
    text-align: center;
    color: white;
    font-size: 12px; /* Taille des services réduite */
    cursor: pointer;
    
}
.service-card a {
color: white !important; /* Force la couleur du texte en blanc */
text-decoration: none; /* Enlève le soulignement des liens */
}

.service-card a:hover {
color: white !important; /* Assure que la couleur reste blanche au survol */
}

.service-card i {
font-size: 16px; /* Taille de l'icône réduite */
color: white; /* Changer la couleur en blanc */
position: relative;
top: 10px;
}
/* Afficher le menu profil au clic */
.profile-menu.active .dropdown {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-wrap: wrap;
        height: auto;
        padding: 10px;
        justify-content: flex-start;
    }

    .menu {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .services-container {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 10px;
    }

    .service-card {
        font-size: 10px; /* Plus petite taille pour mobile */
    }

    .service-card i {
        font-size: 14px; /* Réduire la taille des icônes */
    }
}
/* BODY GENERAL */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

/* FORM CONTAINER */
.form-container {
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
    position: relative;
    
}


/* FORM HEADER */
h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
    font-weight: bold;
}

/* INPUT FIELDS */
form label {
    display: block;
    margin: 15px 0 5px;
    text-align: left;
    font-weight: bold;
    color: #555;
}

form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    margin-bottom: 10px;
    transition: border-color 0.3s ease;
}

form input:focus {
    border-color: #0071c2;
    outline: none;
}

/* SUBMIT BUTTON */
button {
    background-color: #0071c2;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #005b9f;
}

/* LINKS */
p {
    margin-top: 15px;
    font-size: 14px;
    color: #555;
}

a {
    color: #0071c2;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

/* ERROR MESSAGES */
.error {
    background-color: #ffdddd;
    color: #d8000c;
    padding: 10px;
    border: 1px solid #d8000c;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 14px;
}

.divider {
    margin: 15px 0; /* Réduit l'espacement autour du divider */
    position: relative;
    text-align: center;
}

.divider::before,
.divider::after {
    content: '';
    display: block;
    width: 40%;
    height: 1px;
    background-color: #ddd;
    margin: 0 auto;
}

.divider::before {
    margin-right: 10px;
}

.divider::after {
    margin-left: 10px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0 30px;
}

.icon {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.icon img {
    width: 24px;
    height: 24px;
}

.icon:hover {
    background-color: #f0f0f0;
    border-color: #0071c2;
}

.terms {
    font-size: 12px;
    color: #777;
    margin-bottom: 20px;
}

.terms a {
    color: #0071c2;
    text-decoration: none;
}

footer {
    font-size: 12px;
    color: #777;
    margin-top: 30px;
}

/* Responsive */
@media (max-width: 600px) {
    .login-container {
        width: 90%;
        padding: 15px;
    }

    h2 {
        font-size: 20px;
    }

    input, button {
        font-size: 13px;
    }

    .divider {
        font-size: 12px;
    }
}