body {
    background: linear-gradient(135deg, #b88ae6, #4e86e6);
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    text-align: center;
}

.login-container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}

.logo {
    width: 120px;
    margin-bottom: 20px;
}

h2 {
    color: #333;
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.btn-custom {
    background: #2575fc;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    width: 100%;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-custom:hover {
    background: #6a11cb;
}

.register-link {
    display: block;
    margin-top: 15px;
    text-decoration: none;
    color: #2575fc;
}

.register-link:hover {
    text-decoration: underline;
}
.profile-list-container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    width: 100%;
    max-width: 800px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}

.profile-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.profile-card {
    background: #f8f8f8;
    border-radius: 10px;
    padding: 20px;
    width: 200px;
    text-align: center;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

.profile-card h3 {
    margin: 10px 0;
    color: #333;
}

.profile-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

.profile-card .like-button {
    background: #2575fc;
    color: white;
    border: none;
    padding: 8px;
    border-radius: 5px;
    width: 100%;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.profile-card .like-button:hover {
    background: #6a11cb;
}

/* Conteneur des profils */
.profile-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Carte de profil */
.profile-card {
    background: #f8f8f8;
    border-radius: 10px;
    padding: 20px;
    width: 200px;
    text-align: center;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

.profile-card h3 {
    margin: 10px 0;
    color: #333;
}

.profile-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

/* Navbar en bas */
.navbar {
    background: linear-gradient(135deg, #2575fc, #6a11cb);
    color: white;
    padding: 10px 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

/* Navbar Links */
.navbar-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 0;
    margin: 0;
}

.navbar-list li {
    display: inline;
}

.navbar-list a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Hover Effects */
.navbar-list a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}
/* Conteneur principal pour le profil */
.profile-detail {
    max-width: 600px;
    margin: 50px auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
}

/* Titre du profil */
.profile-detail h3 {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

/* Informations du profil */
.profile-detail p {
    font-size: 16px;
    color: #555;
    margin: 10px 0;
    line-height: 1.6;
}

/* Libellés en gras pour chaque champ */
.profile-detail p strong {
    font-weight: bold;
    color: #2575fc;
}

/* Style pour les descriptions longues */
.profile-detail .description {
    font-style: italic;
    color: #666;
    margin-top: 15px;
}

/* Indicateur de chargement */
#loading {
    font-size: 18px;
    color: #2575fc;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
}

/* Message d'erreur */
#errorContainer {
    font-size: 16px;
    color: red;
    text-align: center;
    margin-top: 10px;
}

/* Boutons (si besoin d'ajouter des boutons d'action) */
.btn {
    background: #2575fc;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: inline-block;
    margin-top: 20px;
}

.btn:hover {
    background: #6a11cb;
}
/* Styles pour mobile */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        width: 100%;
        margin: 0 auto;
    }

    .login-container {
        padding: 20px;
        width: 100%;
        max-width: 90%; /* Réduction de la largeur */
        box-shadow: none; /* Supprime l'ombre pour un design plus plat */
    }

    .form-control {
        font-size: 14px;
        padding: 8px;
    }

    .btn-custom {
        font-size: 14px;
        padding: 8px;
    }

    .logo {
        width: 80px;
        margin-bottom: 10px;
    }

    h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .register-link {
        font-size: 14px;
    }

    #errorContainer, #loading {
        font-size: 14px;
    }
}
