/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #E7E5DF;
    height: auto;
}

body.home {
    background-image: url("../Assets/Background_accueil.jpeg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Header */
header {
    display: grid;
    grid-template-columns: 20% 20% 40% 20%;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 80px;
    background-color: #E7E5DF;
    position: fixed;
    top: 0;
    z-index: 100;
}

.logo {
    margin-left: 2vw;
    cursor: pointer;
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'League Spartan', sans-serif;
}

header li {
    list-style-type: none;
}

header a {
    text-decoration: none;
    color: #000;
    font-size: 1.3rem;
    font-family: 'League Spartan', sans-serif;
}

header a:hover {
    color: #F2B705;
}

.links li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    position: relative;

}

.links li a:hover {
    color: #F2B705;
}


.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 70px;
    position: relative;
}

.logo {
    font-size: 3rem;
    font-weight: bold;
    text-decoration: none;
    color: #000;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    font-size: 2.5rem;
    cursor: pointer;
    color: #222;
    z-index: 110;
}

.links {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.links li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

/* Responsive Burger Menu */
@media (max-width: 900px) {
    .menu-icon {
        display: block;
    }

    .links {
        position: absolute;
        top: 70px;
        right: 10px;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 25px 30px;
        border-radius: 14px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
        display: none;
        z-index: 100;
        min-width: 270px;
        font-size: 1.2rem;
        background: rgba(255, 255, 255, 0.80);
        backdrop-filter: blur(10px);
    }

    .menu-toggle:checked+.menu-icon+.links {
        display: flex;
    }
}

/* Animation reveal */
[class*='reveal-'] {
    opacity: 0;
    transform: translateY(30px);
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
    transition: 1s cubic-bezier(.5, 0, 0, 1);
}

/* Main */
main {
    margin-top: 25vh;
    font-family: 'League Spartan', sans-serif;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    width: auto;
    height: auto;
    margin-top: 10vh;
}

.container h1 {
    font-size: 3.5rem;
    font-family: 'League Spartan', sans-serif;
}

.container p {
    font-size: 2rem;
    font-family: 'League Spartan', sans-serif;
}

h1 {
    font-size: 3rem;
    margin-bottom: 5vh;
    text-align: center;
}

hr {
    border: 0.5px solid #000;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 55vw;
}

/* Boutons unifiés */
.btn {
    display: block;
    padding: 0.8rem 1.5rem;
    font-size: 1.2rem;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    margin: 0.5rem 0;
    font-family: 'League Spartan', sans-serif;
    text-align: center;
    transition: background 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
}

.btn-yellow {
    background-color: #fdd835;
    color: #000;
    font-weight: bold;
}

.btn-yellow:hover {
    background-color: #fbc02d;
}

.btn-red {
    background-color: #e53935;
    color: #fff;
    font-weight: bold;
}

.btn-red:hover {
    background-color: #c62828;
}

/* Formulaires login/edit */
.form-login,
.form-edit {
    background-color: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: auto;
    margin-top: 15vh;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: 'League Spartan', sans-serif;
}

.form-login label,
.form-edit label {
    font-size: 1.1rem;
    color: #333;
}

.form-login input[type="text"],
.form-login input[type="password"],
.form-login input[type="email"],
.form-edit input[type="text"],
.form-edit input[type="password"],
.form-edit input[type="email"] {
    padding: 12px 15px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 10px;
    outline: none;
    transition: border 0.3s ease;
}

.form-login input:focus,
.form-edit input:focus {
    border-color: #F2B705;
}

/* Projet */

.container-project {
    width: 100%;
    margin-top: 10vh;
    margin-bottom: 10vh;
    text-align: center;
    font-family: 'League Spartan', sans-serif;
}

.container-project-title h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.container-project-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.project-card {
    background-color: #f8f8f8;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-card img {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.project-card h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.project-card p {
    font-size: 1rem;
    color: #333;
}




@media (max-width: 768px) {
    .container-project-content {
        flex-direction: column;
        align-items: center;
    }
}

/* Page Projet */

.project-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 10vh;
    padding: 2rem;
    background-color: #E7E5DF;
}


.project-title {
    font-size: 3rem;
    text-align: center;
    font-family: 'League Spartan', sans-serif;
}

.project-intro {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    width: 80%;
}


.project-text {
    flex: 1;
    min-width: 300px;
    text-align: left;
    font-family: 'League Spartan', sans-serif;
}

.project-text h2 {
    margin-bottom: 1rem;
    font-family: 'League Spartan', sans-serif;
}

.project-text p {
    font-size: 1.2rem;
    line-height: 1.3;
}

.project-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.project-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}


.project-carousel {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 2rem auto;
    padding: 2rem 0;
}

.project-carousel img {
    width: 300px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    object-fit: cover;

}

.project-details {
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
    font-family: 'League Spartan', sans-serif;
}

.project-details p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.project-final-image {
    margin-bottom: 2rem;
    text-align: center;
}

.project-final-image img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* Profil */
.profil-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-direction: row;
    gap: 5vw;
    margin: 10vh auto;
    max-width: 1000px;
    padding: 2rem;
    box-sizing: border-box;
}

.profil,
.profil-actions {
    flex: 1;
    background-color: #f8f8f8;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.profil h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-family: 'League Spartan', sans-serif;
}

.profil-content {
    text-align: left;
}

.profil-content p {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'League Spartan', sans-serif;
}

.profil-actions h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-family: 'League Spartan', sans-serif;
}

@media screen and (max-width: 768px) {
    .profil-wrapper {
        flex-direction: column;
    }

    .profil,
    .profil-actions {
        width: 100%;
    }
}

/* Supprimer profil */
.form-delete {
    flex: 1;
    background-color: #f8f8f8;
    padding: 2rem;
    margin: 10vh auto;
    border-radius: 15px;
    max-width: 600px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    font-family: 'League Spartan', sans-serif;
    text-align: center;
}

.form-delete h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.form-delete p {
    font-size: 1.2rem;
    color: #333;
}

.form-delete input[type="submit"] {
    background-color: #e53935;
    color: #fff;
    font-weight: bold;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-delete input[type="submit"]:hover {
    background-color: #c62828;
}

.form-delete input[type="button"] {
    background-color: #fdd835;
    color: #000;
    font-weight: bold;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}


/* Formulaire de contact */
.contact-form-container {
    width: 90%;
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    font-family: 'League Spartan', sans-serif;
    margin-top: 15vh;
}

.contact-form-container h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: #333;
}

.contact-form-container .form-group {
    margin-bottom: 15px;
}

.contact-form-container label {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #333;
}

.contact-form-container input,
.contact-form-container textarea {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 10px;
    outline: none;
    transition: border 0.3s ease;
    font-family: Arial, Helvetica, sans-serif;
}

.contact-form-container input:focus,
.contact-form-container textarea:focus {
    border-color: #F2B705;
}

.contact-form-container button {
    background-color: #F2B705;
    color: black;
    font-weight: bold;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    width: 100%;
    margin-top: 20px;
}

.contact-form-container button:hover {
    background-color: #d9a403;
}

.contact-form-container .error-message {
    color: red;
    font-size: 1rem;
    text-align: center;
    margin-top: 15px;
}

.contact-form-container .success-message {
    color: green;
    font-size: 1rem;
    text-align: center;
    margin-top: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-form-container {
        width: 100%;
        padding: 20px;
    }

    .contact-form-container h1 {
        font-size: 1.5rem;
    }
}


.success-message {
    color: green;
    font-size: 1rem;
    text-align: center;
}

.error-message {
    color: red;
    font-size: 1rem;
    text-align: center;
}

/* AdminPage */
/* Admin Panel - Liste des utilisateurs */
.container-usernames {
    max-width: 600px;
    background: #f8f8f8;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
    padding: 2rem 2.5rem;
    font-family: 'League Spartan', sans-serif;
}

.container-usernames h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #222;
}

.container-usernames ul {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 8px;
}

.container-usernames li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 1rem;
    padding: 1rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s;
}

.container-usernames li:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
}

.container-usernames p {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
    font-family: 'League Spartan', sans-serif;
}

.container-usernames span {
    color: #888;
    font-size: 1rem;
    margin-left: 1rem;
}

.container-usernames form {
    margin: 0;
}

.container-usernames .btn.btn-red,
.container-usernames .btn.btn-yellow {
    width: 150px;
    padding: 0.5rem 1.2rem;
    font-size: 1rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    font-family: 'League Spartan', sans-serif;
}

.container-usernames .btn.btn-red {
    background-color: #e53935;
    color: #fff;
}

.container-usernames .btn.btn-red:hover {
    background-color: #c62828;
}

.container-usernames .btn.btn-yellow {
    background-color: #fdd835;
    color: #000;
}

.container-usernames .btn.btn-yellow:hover {
    background-color: #fbc02d;
}

.btn-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

@media (max-width: 600px) {
    .container-usernames {
        padding: 1rem;
    }

    .container-usernames li {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }

    .container-usernames form {
        width: 100%;
        margin-top: 0.5rem;
    }
}

/* Admin Panel - Flex container pour deux colonnes */
.admin-flex-container {
    display: flex;
    align-items: flex-start;
    /* <-- pour aligner les deux panneaux en haut */
    justify-content: center;
    gap: 3vw;
    max-width: 1500px;
    margin: 0 auto;
    margin-top: 5vh;
    width: 95vw;
    min-height: 70vh;
    /* plus haut */
}

/* Sections admin pour même style et hauteur */
.admin-panel-section {
    flex: 1 1 600px;
    min-width: 350px;
    max-width: 650px;
    background: #f8f8f8;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
    padding: 2.5rem 3rem;
    font-family: 'League Spartan', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100%;
}

/* Wrapper de la colonne droite */
.admin-edit-form-wrapper {
    flex: 1 1 500px;
    min-width: 350px;
    max-width: 650px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    background: #f8f8f8;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
    padding: 2.5rem 3rem;
    min-height: 400px;
    height: 400px;
    /* hauteur fixe pour la colonne droite */
}

/* Formulaire de modification */
.admin-edit-form {
    width: 100%;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    font-family: inherit;
    border: none;
    margin-top: 0;
    min-height: 100%;
    /* prend toute la hauteur du wrapper */
    height: 100%;
    /* prend toute la hauteur du wrapper */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.admin-edit-form h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #222;
    font-family: 'League Spartan', sans-serif;
}

.admin-edit-form p {
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    color: #333;
    font-family: 'League Spartan', sans-serif;
}

.admin-edit-form label {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.5rem;
    display: block;
}

.admin-edit-form select {
    width: 100%;
    padding: 12px 15px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 10px;
    outline: none;
    margin-bottom: 1.5rem;
    font-family: 'League Spartan', sans-serif;
    background: #f8f8f8;
    transition: border 0.3s ease;
}

.admin-edit-form button {
    width: 100%;
    margin-top: 1rem;
}

/* Placeholder si pas d'utilisateur sélectionné */
.admin-edit-form-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #888;
    font-size: 1.2rem;
    text-align: center;
    width: 100%;
}

/* Bentobox flex pour la colonne de droite */
.bentobox-flex {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-items: stretch;
    gap: 2rem;
    width: 100%;
    height: 100%;
}

.new-project-shortcut {
    background: #f8f8f8;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
    padding: 2rem 2.5rem;
    font-family: 'League Spartan', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    margin-bottom: 0;
    margin-top: 100px;
}

.new-project-shortcut h2 {
    font-size: 1.5rem;
    color: #222;
    text-align: center;
    margin-bottom: 1rem;
}

.new-project-shortcut .btn {
    width: 100%;
    max-width: 300px;
    margin-top: 1rem;
}

/* AddProject - Formulaire d'ajout de projet */
.container-add-project {
    max-width: 600px;
    margin: 120px auto 40px auto;
    background: #f8f8f8;
    border-radius: 18px;
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.10);
    padding: 2.5rem 3rem;
    font-family: 'League Spartan', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container-add-project h1 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #222;
    letter-spacing: 1px;
}

.form-add-project {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-add-project label {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.form-add-project input[type="text"],
.form-add-project textarea {
    padding: 12px 15px;
    font-size: 1rem;
    border: 1.5px solid #ccc;
    border-radius: 10px;
    outline: none;
    font-family: 'League Spartan', sans-serif;
    background: #fff;
    transition: border 0.3s;
    margin-bottom: 0.5rem;
}

.form-add-project input[type="text"]:focus,
.form-add-project textarea:focus {
    border-color: #fdd835;
}

.form-add-project textarea {
    resize: vertical;
    min-height: 80px;
}

.file-label {
    display: block;
    width: 100%;
    max-width: 350px;
    margin: 0.5rem auto;
    background-color: #fdd835;
    color: #000;
    font-weight: bold;
    border-radius: 12px;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: background 0.2s, box-shadow 0.2s;
    letter-spacing: 1px;
    font-size: 1.1rem;
    text-align: center;
    padding: 1rem 0.5rem;
    cursor: pointer;
    position: relative;
}

.file-label:hover {
    background-color: #fbc02d;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.file-label input[type="file"] {
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    cursor: pointer;
}

.form-add-project button,
.form-add-project .btn.btn-yellow {
    width: 100%;
    max-width: 350px;
    margin: 2rem auto 0 auto;
    display: block;
    font-size: 1.2rem;
    padding: 1rem 0;
    background-color: #fdd835;
    color: #000;
    font-weight: bold;
    border-radius: 12px;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: background 0.2s, box-shadow 0.2s;
    letter-spacing: 1px;
}

.form-add-project button:hover,
.form-add-project .btn.btn-yellow:hover {
    background-color: #fbc02d;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.success-message,
.error-message {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding: 0.7rem 1rem;
    border-radius: 8px;
}

.success-message {
    color: #207d2c;
    background: #e6fbe9;
    border: 1px solid #b6e7c9;
}

.error-message {
    color: #e53935;
    background: #fdeaea;
    border: 1px solid #f5bcbc;
}

@media (max-width: 700px) {
    .container-add-project {
        padding: 1.2rem 0.5rem;
        margin: 90px 0 30px 0;
    }

    .form-add-project button {
        font-size: 1rem;
        padding: 0.8rem 0;
    }
}

/* Commentaires */
.commentaires {
    background: #f8f8f8;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
    padding: 2.5rem 2rem;
    max-width: 700px;
    margin: 3rem auto 2rem auto;
    font-family: 'League Spartan', sans-serif;
}

.commentaires h2 {
    font-size: 2rem;
    color: #222;
    text-align: center;
    margin-bottom: 2rem;
    font-family: 'League Spartan', sans-serif;
}

.commentaire {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 1.2rem 1.5rem;
    margin-bottom: 1.5rem;
}

.commentaire p {
    margin: 0.2rem 0;
    font-size: 1.1rem;
    color: #333;
}

.commentaire .date {
    color: #888;
    font-size: 0.95rem;
    margin-left: 0.5rem;
    font-weight: normal;
}

.form-commentaire {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
    animation: fadeIn 0.3s;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-commentaire textarea {
    padding: 12px 15px;
    font-size: 1rem;
    border: 1.5px solid #ccc;
    border-radius: 10px;
    outline: none;
    font-family: 'League Spartan', sans-serif;
    background: #fff;
    transition: border 0.3s;
    min-height: 80px;
    resize: vertical;
}

.form-commentaire textarea:focus {
    border-color: #fdd835;
}

.form-commentaire button {
    width: 180px;
    align-self: flex-end;
    background-color: #fdd835;
    color: #000;
    font-weight: bold;
    border-radius: 10px;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    font-size: 1.1rem;
    padding: 0.7rem 0;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    letter-spacing: 1px;
}

.form-commentaire button:hover {
    background-color: #fbc02d;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.commentaires .info {
    color: #888;
    text-align: center;
    margin-top: 1.5rem;
    font-size: 1.1rem;
}

@media (max-width: 700px) {
    .commentaires {
        padding: 1.2rem 0.5rem;
    }

    .form-commentaire button {
        width: 100%;
    }
}

/* Catégories */
.categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin: 2rem 0;
}

.categorie-card {
    background: #f8f8f8;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
    padding: 1.2rem 2rem;
    font-family: 'League Spartan', sans-serif;
    font-size: 1.3rem;
    color: #222;
    min-width: 180px;
    text-align: center;
    transition: box-shadow 0.2s, background 0.2s;
    cursor: pointer;
}

.categorie-card:hover {
    background: #fdd835;
    color: #000;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* Bot info container : compétences + commentaires côte à côte */
.bot-info-container {
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    margin: 3rem auto 2rem auto;
    max-width: 1400px;
}

.project-meta {
    background: #f8f8f8;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
    padding: 2.5rem 2rem;
    font-family: 'League Spartan', sans-serif;
    min-width: 320px;
    max-width: 500px;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.project-meta h2 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: #222;
}

.project-meta table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.1rem;
}

.project-meta td {
    padding: 0.5rem 0.7rem;
    border-bottom: 1px solid #eee;
    color: #333;
}

.project-meta tr:last-child td {
    border-bottom: none;
}

.commentaires {
    flex: 1 1 0;
    min-width: 320px;
    max-width: 700px;
    margin: 0;
    /* déjà stylé dans ton CSS */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

@media (max-width: 1100px) {
    .bot-info-container {
        flex-direction: column;
        gap: 2rem;
        align-items: stretch;
    }

    .project-meta,
    .commentaires {
        max-width: 100%;
        min-width: 0;
    }
}

#filters {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    margin: 2rem auto 3rem auto;
    background: #f8f8f8;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
    padding: 1.2rem 2rem;
    font-family: 'League Spartan', sans-serif;
    max-width: 600px;
    width: 90%;
}

#filters select {
    padding: 0.7rem 1.2rem;
    border-radius: 10px;
    border: 1.5px solid #ccc;
    font-size: 1.1rem;
    font-family: 'League Spartan', sans-serif;
    background: #fff;
    color: #222;
    transition: border 0.2s;
    outline: none;
    min-width: 160px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    cursor: pointer;
}

#filters select:focus {
    border-color: #fdd835;
}

@media (max-width: 700px) {
    #filters {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0.5rem;
    }

    #filters select {
        width: 100%;
        min-width: 0;
    }
}

/* Section compétences dans AddProject */
.form-add-project fieldset {
    border: none;
    background: #f8f8f8;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 1.5rem 1rem 1rem 1rem;
    margin: 1.5rem 0;
    font-family: 'League Spartan', sans-serif;
}

.form-add-project legend {
    font-size: 1.2rem;
    font-weight: bold;
    color: #222;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-align: left;
}

.form-add-project fieldset label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    color: #333;
    margin-right: 1.5rem;
    margin-bottom: 0.7rem;
    cursor: pointer;
    font-family: 'League Spartan', sans-serif;
}

.form-add-project fieldset input[type="checkbox"] {
    accent-color: #fdd835;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 1.5px solid #ccc;
    margin-right: 0.3rem;
    cursor: pointer;
    transition: border 0.2s;
}

.form-add-project fieldset input[type="checkbox"]:focus {
    outline: 2px solid #fdd835;
    outline-offset: 2px;
}

@media (max-width: 700px) {
    .form-add-project fieldset label {
        display: block;
        margin-right: 0;
    }
}

#toggle-comment-form {
    margin: 1.5rem auto 0 auto;
    display: block;
    width: 220px;
    font-size: 1.1rem;
    padding: 0.7rem 0;
    background-color: #fdd835;
    color: #000;
    font-weight: bold;
    border-radius: 10px;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    letter-spacing: 1px;

}

#toggle-comment-form:hover {
    background-color: #fbc02d;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}