@import url(https://fonts.bunny.net/css?family=abel:400|anek-odia:500);



@font-face {
    font-family: 'Zigoto';  /* Ou le nom exact de votre police */
    src: url('../fonts/NylonB8-Bold.woff2') format('woff2'),
         url('../fonts/NylonB8-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nylon';  /* Ou le nom exact de votre police */
    src: url('../fonts/Nylon.woff2') format('woff2'),
         url('../fonts/Nylon.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}



@font-face {
    font-family: 'Noway';
    src: url('../fonts/noway/noway-regular-webfont.eot');
    src: url('../fonts/noway/noway-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/noway/noway-regular-webfont.woff2') format('woff2'),
         url('../fonts/noway/noway-regular-webfont.woff') format('woff'),
         url('../fonts/noway/noway-regular-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    font-family: 'Noway';
    src: url('../fonts/noway/noway-italic-webfont.eot');
    src: url('../fonts/noway/noway-italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/noway/noway-italic-webfont.woff2') format('woff2'),
         url('../fonts/noway/noway-italic-webfont.woff') format('woff'),
         url('../fonts/noway/noway-italic-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;

}

@font-face {
    font-family: 'Noway';
    src: url('../fonts/noway/noway-bolditalic-webfont.eot');
    src: url('../fonts/noway/noway-bolditalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/noway/noway-bolditalic-webfont.woff2') format('woff2'),
         url('../fonts/noway/noway-bolditalic-webfont.woff') format('woff'),
         url('../fonts/noway/noway-bolditalic-webfont.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;

}
@font-face {
    font-family: 'Noway';
    src: url('../fonts/noway/noway-bold-webfont.eot');
    src: url('../fonts/noway/noway-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/noway/noway-bold-webfont.woff2') format('woff2'),
         url('../fonts/noway/noway-bold-webfont.woff') format('woff'),
         url('../fonts/noway/noway-bold-webfont.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;

}

@font-face {
    font-family: 'Nowayround';
    src: url('../fonts/nowayround/nowayround-regular-webfont.eot');
    src: url('../fonts/nowayround/nowayround-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/nowayround/nowayround-regular-webfont.woff2') format('woff2'),
         url('../fonts/nowayround/nowayround-regular-webfont.woff') format('woff'),    
        url('../fonts/nowayround/nowayround-regular-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    font-family: 'Nowayround';
    src: url('../fonts/nowayround/nowayround-italic-webfont.eot');
    src: url('../fonts/nowayround/nowayround-italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/nowayround/nowayround-italic-webfont.woff2') format('woff2'),
         url('../fonts/nowayround/nowayround-italic-webfont.woff') format('woff'),
         url('../fonts/nowayround/nowayround-italic-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;

}

@font-face {
    font-family: 'Nowayround';
    src: url('../fonts/nowayround/nowayround-bolditalic-webfont.eot');
    src: url('../fonts/nowayround/nowayround-bolditalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/nowayround/nowayround-bolditalic-webfont.woff2') format('woff2'),
         url('../fonts/nowayround/nowayround-bolditalic-webfont.woff') format('woff'),
         url('../fonts/nowayround/nowayround-bolditalic-webfont.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;

}
@font-face {
    font-family: 'Nowayround';
    src: url('../fonts/nowayround/nowayround-bold-webfont.eot');
    src: url('../fonts/nowayround/nowayround-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/nowayround/nowayround-bold-webfont.woff2') format('woff2'),
         url('../fonts/nowayround/nowayround-bold-webfont.woff') format('woff'),
         url('../fonts/nowayround/nowayround-bold-webfont.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;

}


/* Suppression de l'ancien import Google Fonts */
/* @import url(https://fonts.bunny.net/css?family=abel:400|anek-odia:500); */

:root {
    --primary-color: #ffffff;
    --secondary-color: #cccccc;
    --text-color: #ffffff;
    /* Couleur de fond principale - Un violet profond moderne */
    --background-color: #2A1B3D;
    /* Couleur d'accent principale - Un vert vif mais sophistiqué */
    --accent-color: #21D670;
    /* Couleur d'accent secondaire - Un rouge corail énergique */
    --accent-color-2: #FF4B5C;
    /* Couleur d'accent tertiaire - Une version plus claire du rouge */
    --accent-color-3: #FF6B7D;
    /* Fond des cartes - Un violet plus clair que le fond */
    --card-bg: #362B48;
    /* Couleur des bordures - Un gris légèrement violacé */
    --border-color: rgba(255, 255, 255, 0.15);
    /* Couleur de survol - Un violet encore plus clair */
    --hover-bg: #443856;
    --border-width: 1px;
    --font-primary: 'Nowayround', sans-serif;
    --font-secondary: 'anek-odia', sans-serif;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
}

.counter-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-family: var(--font-primary);
    font-weight: normal;
    text-align: center;
}

.counter-title span {
color: var(--accent-color);
}


nav {
    background-color: var(--background-color);
    padding: 1.5rem;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    text-align: center;
    border-bottom: none;
}


.nav-title {
    color: var(--accent-color);
    font-weight: normal;
    font-size: 4rem;
    margin: 0;
    font-family: 'Nylon';
    text-align: center;
}

.nav-title span {
    display: inline-block;
    animation: floating 1.5s ease-in-out infinite;
    transform-origin: bottom center;
}

/* Créer un délai différent pour chaque lettre */
.nav-title span:nth-child(1) { animation-delay: 0.0s; }  /* S */
.nav-title span:nth-child(2) { animation-delay: 0.1s; }  /* T */
.nav-title span:nth-child(3) { animation-delay: 0.2s; }  /* O */
.nav-title span:nth-child(4) { animation-delay: 0.3s; }  /* P */
.nav-title span:nth-child(5) { animation-delay: 0.4s; }  /* espace */
.nav-title span:nth-child(6) { animation-delay: 0.5s; }  /* V */
.nav-title span:nth-child(7) { animation-delay: 0.6s; }  /* E */
.nav-title span:nth-child(8) { animation-delay: 0.7s; }  /* G */
.nav-title span:nth-child(9) { animation-delay: 0.8s; }  /* A */
.nav-title span:nth-child(10) { animation-delay: 0.9s; } /* N */
.nav-title span:nth-child(11) { animation-delay: 1.0s; } /* espace */
.nav-title span:nth-child(12) { animation-delay: 1.1s; } /* T */
.nav-title span:nth-child(13) { animation-delay: 1.2s; } /* A */
.nav-title span:nth-child(14) { animation-delay: 1.3s; } /* X */

@keyframes floating {
    0%, 100% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-8px);
    }
    75% {
        transform: translateY(4px);
    }
}

/* Désactiver l'animation sur les appareils qui préfèrent la réduire */
@media (prefers-reduced-motion: reduce) {
    .nav-title span {
        animation: none;
    }
}

.nav-slogan {
    color: var(--text-color);
    font-size: 1.8rem;
    margin-top: 0.5rem;
    opacity: 0.9;
    text-align: center;
    line-height: 1.3;
}

/* Style pour le span qui contiendra le texte animé */
.changing-word {
    color: var(--accent-color);
    font-weight: normal;
    display: inline;
    transition: opacity 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero {
    display: none;
}

.logo {
    width: 200px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.logoajas {
    width: 60px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

.cta-button {
    background-color: var(--background-color);
    color: var(--text-color);
    padding: 1rem 2rem;
    border: var(--border-width) solid var(--border-color);
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--accent-color-3);
    border-color: var(--accent-color);
    color: var(--text-color);
}

.manifesto {
    border: var(--border-width) solid var(--accent-color);
    padding: 4rem;
    margin: 2rem 0 6rem;
    border-radius: 8px;
    text-align: left;
    background: linear-gradient(45deg, rgba(255, 51, 102, 0.05), rgba(0, 0, 0, 0));
    position: relative;
    overflow: hidden;
}

.manifesto::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 12rem;
    font-family: 'Nylon';
    color: rgba(255, 51, 102, 0.1);
    line-height: 1;
}

.manifesto p {
    max-width: 800px;
    font-size: 1.4rem;
    line-height: 1.8;
    margin: 0 auto;
    position: relative;
}

/* Mise en évidence des points clés */
.manifesto strong {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.6rem;
}

.manifesto-title {
    font-family: 'Nylon';
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}

.manifesto-highlight {
    font-size: 2rem;
    line-height: 1.4;
    color: var(--accent-color);
    margin: 2rem 0;
    padding-left: 2rem;
    border-left: 4px solid var(--accent-color);
    font-family: 'Nylon';
}

/* Responsive */
@media (max-width: 768px) {
    .manifesto {
        padding: 1.5rem;
        margin: 1rem 0 2rem;
    }

    .manifesto::before {
        font-size: 8rem;
        top: -10px;
    }

    .manifesto p {
        font-size: 1.2rem;
        line-height: 1.6;
    }

    .manifesto-title {
        font-size: 2rem;
    }

    .manifesto-highlight {
        font-size: 1.6rem;
        margin: 1.5rem 0;
        padding-left: 1rem;
    }
}

.manifesto h1 {
   
    font-size: 4.5rem;
    margin-bottom: 3rem;
    letter-spacing: 2px;
    line-height: 1.1;
    
}

.manifesto h2 {
  
    font-size: 2.2rem;
    margin-top: 4rem;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.manifesto li {
    margin-bottom: 1.2rem;
}

.emoji-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Style pour le conteneur du tableau */
.table-container {
    width: 100%;
    overflow-x: auto;
}

/* Mise à jour du tableau */
.restaurant-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 1200px; /* Pour s'assurer que le tableau reste lisible */
}

/* Style des cellules */
.restaurant-table th,
.restaurant-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: var(--border-width) solid var(--border-color);
}

/* Style de l'en-tête */
.restaurant-table th {
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 1rem;
    background-color: var(--card-bg);
}

/* Style pour la colonne et le bouton "Contacté" */
.status-button {
    width: 32px;
    height: 32px;
    min-width: 32px;
    padding: 0;
    border-radius: 0.25rem;
    border: 1px solid var(--bs-gray-400);
    background: white;
    color: var(--bs-gray);
    cursor: pointer;
    transition: all .15s ease-in-out;
    font-size: 1rem;
    margin: 0 auto;
}

.status-button.contacted {
    background-color: var(--bs-success);
    border-color: var(--bs-success);
    color: white;
}

.status-button:hover {
    transform: scale(1.05);
}

/* Forcer la largeur minimale de la colonne */
.restaurant-table th:nth-child(1),
.restaurant-table td:nth-child(1) {
    width: 50px;
    min-width: 50px;
    text-align: center;
    padding: 0.75rem;
}

/* Ajuster le texte de l'en-tête */
.restaurant-table th:nth-child(1) .sort-link {
    padding: 2px;
    font-size: 0.9em;
    justify-content: center;
}

/* Colonnes courtes */
.restaurant-table th:nth-child(3), /* Ville */
.restaurant-table td:nth-child(3) {
    width: 8%;
}

.restaurant-table th:nth-child(8), /* Actions */
.restaurant-table td:nth-child(8) {
    width: 5%;
    text-align: center;
}

/* Colonnes longues */
.restaurant-table th:nth-child(2), /* Restaurant */
.restaurant-table td:nth-child(2) {
    width: 20%;
}

.restaurant-table th:nth-child(4), /* Produits */
.restaurant-table td:nth-child(4) {
    width: 20%;
}

.restaurant-table th:nth-child(5), /* Photo */
.restaurant-table td:nth-child(5) {
    width: 15%;
}

.restaurant-table th:nth-child(6), /* Commentaire */
.restaurant-table td:nth-child(6) {
    width: 22%;
}

.restaurant-table th:nth-child(7), /* Date */
.restaurant-table td:nth-child(7) {
    width: 7%;
}

/* Hover sur les lignes */
.restaurant-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

/* Dernière ligne du tableau */
.restaurant-table tbody tr:last-child td {
    border-bottom: none;
}

/* Style pour le nom des restaurants */
.restaurant-name {
    color: var(--accent-color);
    font-weight: bold;
}



.restaurant-table th:nth-child(2),
.restaurant-table td:nth-child(2) {
    width: 25%;
}

.restaurant-table th:last-child,
.restaurant-table td:last-child {
    width: 40%;
}

.form-container, .about-section {
    border: var(--border-width) solid var(--border-color);
    padding: 3rem;
    margin: 0;
    border-radius: 8px;
}

.form-container {
 
    margin: 0 auto;
    padding: 2rem;
}

.form-container h2 {
    font-size: 1.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3rem;
    color: var(--accent-color-3);
    text-align: center;
    margin-top: 0;
    margin-bottom: 10px;

}

/* Style des groupes de champs */
.form-fields-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

/* Faire en sorte que le champ photo prenne toute la largeur */
.form-group:nth-child(3) {
    grid-column: 1 / -1; /* Fait en sorte que l'élément prenne toute la largeur */
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
}

.form-group label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-color);
}

/* Style des inputs */
.form-group input,
.form-group select,
.form-group input[type="file"] {
    width: 100%;
    box-sizing: border-box;
    padding: 0.8rem;
    font-size: 0.9rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: var(--border-width) solid var(--border-color);
    color: var(--text-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(11, 194, 103, 0.2);
}

/* Style des options de type de plat */
.checkbox-group {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.checkbox-label {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem;
    font-size: 0.9rem;
    cursor: pointer;
    border: var(--border-width) solid var(--border-color);
    border-radius: 4px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05);
    position: relative;
}

/* Cacher la checkbox tout en la gardant accessible */
.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Style pour l'état sélectionné */
.checkbox-label input[type="checkbox"]:checked + span,
.checkbox-label:has(input[type="checkbox"]:checked) {
    color: white;
}

.checkbox-label:has(input[type="checkbox"]:checked) {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Effet hover */
.checkbox-label:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
}

/* Style du champ de surcoût */
.products-inputs input[type="number"] {
    width: 100%;
    max-width: 200px;
    margin-top: 1rem;
}

/* Style du bouton d'envoi */
.form-container .cta-button {
    width: calc(100% - 2rem); /* Ajuster la largeur pour tenir compte du padding */
    padding: 1rem;
    background-color: var(--accent-color-3);
    border: none;
    font-weight: bold;
    letter-spacing: 1px;
    margin-top: 1rem;
    margin-left: auto; /* Centrer horizontalement */
    margin-right: auto; /* Centrer horizontalement */
    display: block; /* S'assurer que le bouton est un bloc pour le centrage */
}

.form-container .cta-button:hover {
    background-color: var(--accent-color-2);
}

.city-suggestions {
    position: absolute;
    top: 100%; /* Position juste en dessous du champ de saisie */
    left: 0;
    right: 0;
    background: var(--background-color);    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    width: 100%;
    z-index: 1000;
    margin-top: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.city-suggestion {
    padding: 12px 16px;
    cursor: pointer;
    color: var(--text-color);
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.city-suggestion:last-child {
    border-bottom: none;
}

.city-suggestion:hover {
    background-color: var(--accent-color);
    color: white;
}

/* Style de la scrollbar pour le menu déroulant */
.city-suggestions::-webkit-scrollbar {
    width: 8px;
}

.city-suggestions::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.city-suggestions::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

/* S'assurer que le conteneur du champ de saisie est bien positionné */
.form-group {
    position: relative;
}

/* Ajuster le z-index des éléments du formulaire */
.form-fields-container {
    position: relative;
    z-index: 1;
}

/* Style pour le champ de saisie actif */
.form-group input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(11, 194, 103, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0.5rem;
    }

    .form-container {
        padding: 0.5rem;
        margin-bottom: 2rem;
    }

    .form-fields-container {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }

    .form-group {
        width: 100%;
        margin: 0;
    }

    .form-group label {
        margin-bottom: 0.25rem;
    }

    input[type="text"],
    input[type="number"],
    select,
    .form-textarea {
        width: 100%;
        padding: 0.5rem;
        margin-bottom: 0;
    }

    .drag-drop-zone {
        margin: 0.5rem 0;
        padding: 0.75rem;
    }

    .checkbox-group {
        gap: 0.5rem;
        margin: 0.5rem 0;
    }

    .checkbox-label {
        padding: 0.5rem;
    }

    /* Réduire l'espacement du manifeste sur mobile */
    .manifesto {
        padding: 1.5rem;
        margin: 1rem 0 2rem;
    }
}

/* Ajustements pour très petits écrans */
@media (max-width: 480px) {
    .form-container {
        padding: 0;
    }

    nav {
        padding: 1.2rem;
    }

    .checkbox-group {
        gap: 0.5rem;
    }

    .checkbox-label {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
}

.tag {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border: var(--border-width) solid var(--border-color);
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 12px;
}

.tag-yes {
    background-color: var(--accent-color);
    color: white;
    border: none;
}

.tag-no {
    background-color: var(--accent-color-3);
    color: var(--background-color);
}



/* Style de la section À propos */
.about-section {
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--background-color);
    padding: 3rem;
    border-radius: 8px;
    padding-top: 10px;
}

.about-section h2,
.about-section h3 {
    color: var(--background-color);
}

/* Mise à jour des liens dans la section À propos */
.about-section .download-link {
    background-color: var(--background-color);
    color: white;
    border: none;
}

.about-section .download-link:hover {
    background-color: var(--accent-color);
}

/* Ajustement du texte dans la section À propos */
.about-section p {
    color: var(--background-color);
    opacity: 0.9;
    font-size: 1.2rem;
    text-align: center;
}

.about-section strong {
    color: var(--background-color);
    opacity: 1;
}

/* Style amélioré pour le filtre de ville */
.filter-container {
    border: var(--border-width) solid var(--border-color);
    padding: 1rem;
    margin-bottom: 2rem;
    border-radius: 8px;
}

.filter-container label {
    display: block;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    color: var(--text-color);
}

.filter-container select {
    width: 100%;
    max-width: 300px;
    padding: 0.5rem;
    background-color: transparent;
    border: var(--border-width) solid var(--border-color);
    color: var(--text-color);
    font-size: 0.9rem;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231a8f1e' d='M6 9L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.filter-container select:focus {
    outline: none;
    border-color: var(--accent-color-2);
}

.filter-container select:hover {
    border-color: var(--accent-color-2);
}

/* Mise à jour du conteneur de colonnes */
.columns-container {
    margin: 3rem 0;
}

.column {
    max-width: 800px;
    margin: 0 auto;
}


/* Style responsive */
@media (max-width: 768px) {
    .columns-container {
        margin: 4rem 0;
    }

    .hero {
        padding: 6rem 0;
        margin-bottom: 4rem;
    }

    .container {
        padding: 0 1rem;
        padding-top: 0rem;
    }

    .manifesto {
        padding: 3rem 1.5rem;
    }

    .manifesto h1 {
        font-size: 3rem;
        margin-bottom: 2rem;
    }

    .manifesto h2 {
        font-size: 1.8rem;
    }

    .manifesto p,
    .manifesto ul {
        font-size: 1.2rem;
    }

    .restaurants-section {
        margin: 0 0 4rem 0;
    }

    .columns-container {
        margin: 4rem 0;
        gap: 2rem;
    }

    main {
        margin-bottom: 6rem;
    }


  
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px;
        padding: 0.8rem;
    }

    .form-group textarea {
        min-height: 100px;
    }

    .modal {
        padding: 1rem;
    }

    .modal-content {
        margin: 1rem auto;
    }

    .close-modal {
        top: 0.5rem;
        right: 0.5rem;
    }

    .about-section {
        padding: 1.5rem;
        margin: 0 -1rem;
        border-radius: 0;
    }

    .columns-container {
        margin: 3rem 0;
    }
}

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

    .form-group {
        margin-bottom: 1rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .cta-button {
        width: 100%;
        padding: 0.8rem;
    }

    .about-section {
        padding: 1rem;
    }
}

/* Ajustement du conteneur de la table */
.restaurants-section {
    margin: 0 0 6rem 0;
}

/* Style pour le groupe de filtres */
.filters-group {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.filter {
    flex: 1;
    max-width: 300px;
}

/* Le champ de recherche a la même taille que les autres filtres */
.filter:first-child {
    flex: 1;
    max-width: 300px;
}

/* Style du champ de recherche identique au select */
.search-input {
    width: 100%;
    max-width: 300px;
    padding: 0.5rem;
    border: var(--border-width) solid var(--border-color);
    background-color: var(--background-color);
    color: var(--text-color);
    font-size: 0.9rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Ajustement responsive */
@media (max-width: 768px) {
    .filters-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .filter,
    .filter:first-child {
        width: 100%;
        max-width: none;
    }
}

/* Style du footer */
footer {
    background-color: var(--background-color);
    color: var(--text-color);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 20px;
}

.footer-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-section h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: 0.2px;

}

.footer-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-family: 'Nylon';
    font-weight: normal;
}

.copyright {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Style pour le crédit de l'association */
.copyright a {
    color: var(--bs-gray-200);
    text-decoration: none;
    transition: all 0.3s ease;
}

.copyright a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    footer {
        padding: 2rem 1rem;
    }

 
}

/* Style pour le titre dans la navigation */
.nav-title {
    font-weight: normal;
    color: var(--primary-color)

}

/* Style pour les produits dans le formulaire */
.products-inputs {
    flex: 1;
}

.product-row {
    display: flex;
    gap: 0.5rem;
}

.product-row select {
    flex: 1;
    max-width: 200px;
}

.product-row input[type="number"] {
    width: 120px;
}

.add-product {
    padding: 0 0.8rem;
    background: var(--accent-color);
    border: none;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}

/* Style pour la liste des produits dans le tableau */
.products-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.products-list li {
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.product-type {
    color: var(--accent-color-2);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-tax {
    color: var(--accent-color);
    font-weight: bold;
}

.tax-amount {
    font-weight: bold;
    color: var(--accent-color);
}

/* Style des produits et surcoût */
.products-section {
    grid-column: 1 / -1;
    width: 100%;
}

.products-row {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    width: 100%;
    box-sizing: border-box;
}

.checkbox-group {
    flex: 1;
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.products-inputs input[type="number"] {
    width: 150px;
    align-self: flex-start;
    margin-top: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .products-row {
        flex-direction: column;
        gap: 1rem;
        padding: 0;
    }

    .products-inputs input[type="number"] {
        width: 100%;
        box-sizing: border-box;
        margin: 0;
    }
}

/* Ajustements mobile */
@media (max-width: 768px) {
    .form-container {
        padding: 1rem;
        margin: 0 0 3rem 0;
    }

    .form-container h2 {
        margin-bottom: 1.5rem;
        font-size: 1.2rem;
    }


    .form-fields-container {
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .form-group {
        gap: 0.3rem;
        margin-bottom: 0;
    }

    .form-group label {
        font-size: 0.8rem;
    }

    .form-group input,
    .form-group select,
    .form-group input[type="file"] {
        padding: 0.6rem;
    }

    .checkbox-group {
        gap: 0.5rem;
    }

    .checkbox-label {
        padding: 0.5rem;
        font-size: 0.85rem;
        text-align: center;
    }

    .products-row {
        gap: 0.8rem;
    }

    .form-container .cta-button {
        margin-top: 0.5rem;
    }
}

/* Ajustements pour très petits écrans */
@media (max-width: 480px) {
    .form-container {
        padding: 0.8rem;
    }

    .form-fields-container {
        gap: 0.8rem;
    }
}

/* Style du message de succès */
.success-message {
    background-color: rgba(0, 204, 153, 0.1);
    border: 2px solid var(--accent-color-3);
    color: var(--accent-color);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 4px;
    font-size: 1.1rem;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Style pour le texte d'aide */
.help-text {
    display: block;
    color: #c6c6c6;
    font-size: 0.8em;
    margin-top: 3px;
    text-align: center;
    letter-spacing: 0.5px;
    font-style: italic;
}

/* Ajustement sur mobile */
@media (max-width: 768px) {
    .help-text {
        font-size: 0.7rem;
        margin-top: 0.2rem;
    }
}

/* Style pour la bannière de stats */
.stats-banner {
    text-align: center;
    margin: 2rem 0;
}

.stats-banner h2 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
}

/* Suppression des styles du bouton dépliant */
.collapse-trigger,
.collapse-content,
.collapse-icon,
.collapsible-form {
    display: none;
}

/* Ajustement du style du formulaire */
.form-container {
    display: block;
    border: var(--border-width) solid var(--border-color);
    padding: 1rem;
    margin: 2rem 0 3rem;
    border-radius: 8px;
    padding-top: 22px;
}

/* Style pour la FAQ */
.faq-section details {
   
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--secondary-color);
    
}

.faq-section details p {
    text-align: left;
}

.about-section h2 {
    font-family: 'Nylon';
    text-align: center;
    font-size: 2rem;
    padding-top: 20px;
    padding-bottom: 0px;
}

.faq-section details:last-child {
    border-bottom: none;
}

.faq-section summary {
    font-weight: bold;
    cursor: pointer;
    padding: 0.5rem 0;
    list-style: none;
    position: relative;
    padding-right: 2rem;
    font-size: 1.1rem;
    
}

.faq-section summary::-webkit-details-marker {
    display: none;
}

.faq-section summary::after {
    content: '▼';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    transform-origin: center;
}

.faq-section details[open] summary::after {
    transform: translateY(-50%) rotate(180deg);
    transform-origin: center;
}

.faq-section details p {
    margin: 1rem 0;
    padding-left: 1rem;
    border-left: 2px solid var(--accent-color);
}

/* Animation d'ouverture */
.faq-section details[open] p {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Styles pour le backoffice */
.login-form {
    max-width: 400px;
    margin: 100px auto;
    padding: 2rem;
    border: var(--border-width) solid var(--border-color);
    border-radius: 8px;
}

.error-message {
    background-color: rgba(255, 51, 102, 0.1);
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    text-align: center;
}

.logout-button {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: var(--border-width) solid var(--accent-color);
    border-radius: 4px;
}

.status-button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: var(--border-width) solid var(--border-color);
    background: none;
    cursor: pointer;
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.status-button:hover {
    transform: scale(1.1);
}

.status-button.contacted {
    background-color: var(--accent-color-3);
    border-color: var(--accent-color-3);
    color: var(--background-color);
}

.delete-button {
    background-color: transparent;
    color: var(--accent-color);
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.delete-button:hover {
    color: #ff0000;
    transform: scale(1.1);
}

/* Ajustements pour le tableau admin */
.restaurant-table td {
    vertical-align: middle;
    padding: 1rem;
}

.restaurant-table .photo-cell {
    width: 120px;
}

.restaurant-table .photo-cell img {
    max-width: 100px;
    height: auto;
    border-radius: 4px;
    transition: transform 0.2s ease;
}

.restaurant-table .photo-cell img:hover {
    transform: scale(1.1);
}

/* Style des produits dans le tableau admin */
.products-list .product-types {
    margin-bottom: 0.5rem;
}

.products-list .product-type {
    color: var(--accent-color-2);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-right: 0.5rem;
}

.products-list .product-tax {
    color: var(--accent-color);
    font-weight: bold;
    display: block;
}

/* Variables pour le thème admin */
.admin-theme {
    --bs-blue: #0d6efd;
    --bs-gray: #6c757d;
    --bs-gray-dark: #343a40;
    --bs-gray-100: #f8f9fa;
    --bs-gray-200: #e9ecef;
    --bs-gray-300: #dee2e6;
    --bs-gray-400: #ced4da;
    --bs-gray-500: #adb5bd;
    --bs-success: #198754;
    --bs-danger: #dc3545;
    background-color: var(--bs-gray-100);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--bs-gray-dark);
}

.admin-theme .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* Navigation */
.admin-theme nav {
    background-color: var(--bs-gray-200);
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
    padding: 1rem;
}

.admin-theme nav h1 {
    color: var(--bs-gray-dark);
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-actions a {
    text-decoration: none;
    padding: 0.375rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    transition: all .15s ease-in-out;
}

.export-button {
    background-color: var(--bs-blue);
    color: white;
    border: 1px solid var(--bs-blue);
}

.export-button:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.logout-button {
    color: var(--bs-danger);
    border: 1px solid var(--bs-danger);
    background: transparent;
}

.logout-button:hover {
    background-color: var(--bs-danger);
    color: white;
}

/* Tableau */
.table-container {
    background: white;
    border-radius: 0.375rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
    margin: 1rem 0;
}

.restaurant-table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: collapse;
}

.restaurant-table th,
.restaurant-table td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--bs-gray-300);
}

.restaurant-table th {
    background-color: var(--bs-gray-200);
    color: var(--bs-gray-dark);
    font-weight: 600;
    border-bottom: 2px solid var(--bs-gray-300);
}

.restaurant-table tbody tr:hover {
    background-color: var(--bs-gray-100);
}

/* Boutons et statuts */
.status-button {
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 0.25rem;
    border: 1px solid var(--bs-gray-400);
    background: white;
    color: var(--bs-gray);
    cursor: pointer;
    transition: all .15s ease-in-out;
}

.status-button.contacted {
    background-color: var(--bs-success);
    border-color: var(--bs-success);
    color: white;
}

.delete-button {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    color: var(--bs-danger);
    background: transparent;
    border: 1px solid var(--bs-danger);
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all .15s ease-in-out;
}

.delete-button:hover {
    background-color: var(--bs-danger);
    color: white;
}

/* Types de produits */
.product-type {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    margin: 0.125rem;
    font-size: 0.875rem;
    background-color: var(--bs-gray-200);
    border-radius: 0.25rem;
    color: var(--bs-gray-dark);
}

.product-tax {
    color: var(--bs-danger);
    font-weight: 500;
}

/* Statistiques */
.admin-stats {
    background-color: var(--bs-gray-200);
    padding: 1.5rem;
    border-radius: 0.375rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
    margin-bottom: 1.5rem;
}

.admin-stats h2 {
    color: var(--bs-gray-dark);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.admin-stats p {
    color: var(--bs-gray-dark);
    margin-bottom: 0;
    font-weight: 500;
}

/* Liens de tri */
.sort-link {
    color: var(--bs-gray-dark);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 600;
}

.sort-link:hover {
    color: var(--bs-blue);
}

/* Photos */
.photo-cell img {
    max-width: 100px;
    border-radius: 0.25rem;
    border: 1px solid var(--bs-gray-300);
    padding: 2px;
}

/* Style pour le modal d'image */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding: 40px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: scale(1);
}

/* Animation pour l'ouverture du modal */
@keyframes modalOpen {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-content {
    animation: modalOpen 0.3s ease;
}

/* Ajustement du curseur sur les images du tableau */
.admin-theme .photo-cell img {
    cursor: zoom-in;
}

/* Style de la pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1rem;
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.pagination-button {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: var(--card-bg);
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-button:hover {
    background-color: var(--hover-bg);
}

.pagination-button.active {
    background-color: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.pagination-info {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Style pour le bouton d'export */
.export-container {
    display: flex;
    justify-content: flex-end;
    margin: 1rem 0 2rem 0;
}

.export-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    background-color: var(--card-bg);
    color: var(--accent-color-3);
    border: 2px solid var(--accent-color-3);
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.export-button:hover {
    background-color: var(--accent-color-3);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.export-icon {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.export-button:hover .export-icon {
    transform: translateY(-1px);
}

/* Style spécifique pour le thème admin */
.admin-theme .export-button {
    background-color: var(--card-bg);
    color: var(--accent-color-3);
    border: 2px solid var(--accent-color-3);
}

.admin-theme .export-button:hover {
    background-color: var(--accent-color-3);
    color: white;
    border-color: var(--accent-color-3);
}

/* Responsive */
@media (max-width: 768px) {
    .export-container {
        justify-content: center;
    }
    
    .export-button {
        width: 100%;
        justify-content: center;
    }
}

/* Style pour la barre de navigation admin */
.admin-theme nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    box-sizing: border-box;
    z-index: 1000;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto; /* Pour pousser les boutons à droite */
}

/* Réinitialisation des styles précédents des boutons */
.nav-actions .export-button,
.nav-actions .logout-button {
    position: static;
    transform: none;
    height: auto;
}

/* Style commun pour les boutons de navigation */
.nav-actions a {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

/* Style spécifique pour le bouton d'export */
.nav-actions .export-button {
    background-color: var(--card-bg);
    color: var(--accent-color-3);
    border: 2px solid var(--accent-color-3);
}

.nav-actions .export-button:hover {
    background-color: var(--accent-color-3);
    color: var(--card-bg);
}

/* Style spécifique pour le bouton de déconnexion */
.nav-actions .logout-button {
    background-color: var(--card-bg);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.nav-actions .logout-button:hover {
    background-color: var(--accent-color);
    color: var(--card-bg);
}

/* Ajustement de l'icône d'export */
.nav-actions .export-icon {
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .admin-theme nav {
        padding: 1rem;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .nav-actions a {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .nav-title {
        font-size: 2.2rem;
        line-height: 54px;
    }
    
    .nav-slogan {
        font-size: 1.5rem;
        margin-top: 2rem;
    }
}

/* Ajustement du contenu principal pour éviter qu'il soit caché sous la navbar fixe */
.admin-theme .container {
    padding-top: 80px;
}

/* Style pour le message type */
.message-template {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    border-radius: 4px;
    margin: 1.5rem 0;
    position: relative;
}

.message-template pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    margin: 0;
    font-family: inherit;
    line-height: 1.6;
    color: rgb(134, 134, 134);
    font-family: monospace;
}

.copy-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--background-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.copy-button:hover {
    background-color: var(--accent-color);
}

.copy-button.copied {
    background-color: var(--accent-color-3);
}

/* Style pour la zone de drag & drop */
.drag-drop-zone {
    border: 2px dashed var(--border-color);
    padding: 1.2rem;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.drag-drop-zone.dragover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-color);
}

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

.drag-drop-text {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .drag-drop-zone {
        padding: 1rem;
    }
}

/* Style du textarea */
.form-textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0.8rem;
    font-size: 0.9rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: var(--border-width) solid var(--border-color);
    color: var(--text-color);
    border-radius: 4px;
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 60px;
    max-height: 200px;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Faire en sorte que le commentaire prenne toute la largeur */
.form-group:last-child {
    grid-column: 1 / -1;
}

/* Style pour le modal prototype */
.prototype-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.prototype-modal-content {
    background-color: var(--background-color);
    border: 2px solid var(--accent-color);
    margin: 15% auto;
    padding: 2rem;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
    position: relative;
    text-align: center;
}

.prototype-modal h2 {
    color: var(--accent-color);
    font-family: 'Nylon';
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.prototype-modal p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.prototype-modal button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.prototype-modal button:hover {
    background-color: var(--accent-color-2);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .prototype-modal-content {
        width: 90%;
        margin: 30% auto;
        padding: 1.5rem;
    }
    
    .prototype-modal h2 {
        font-size: 1.5rem;
    }
    
    .prototype-modal p {
        font-size: 1rem;
    }
}

.admin-stats {
    margin: 2rem 0;
    text-align: center;
}

.admin-stats h2 {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}




.sort-link:hover {
    color: var(--accent-color);
}

/* Ajuster la pagination pour inclure les paramètres de tri */
.pagination a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Style pour les cellules avec beaucoup de contenu */
.comment-cell, .products-list {
    max-width: 300px;
    word-wrap: break-word;
}

/* Style pour le honeypot */
.honeypot-field {
    display: none;
    position: absolute;
    left: -9999px;
}

/* S'assurer que tous les éléments respectent le box-sizing */
* {
    box-sizing: border-box;
}

.success-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.success-modal .modal-content {
    background-color: var(--background-color);
    border: 2px solid var(--accent-color);
    margin: 5% auto;
    padding: 1.5rem;
    width: 95%;
    max-width: 500px;
    border-radius: 8px;
    text-align: center;
}

.success-modal h2 {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-family: 'Nylon';
}

.share-section {
    margin: 2rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
    width: 100%;
}

.share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    border: none;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.3s ease;
}

.share-button:hover {
    opacity: 0.9;
}

.share-button.facebook {
    background-color: #1877F2;
}

.share-button.linkedin {
    background-color: #0A66C2;
}

.share-button.mastodon {
    background-color: #6364FF;
    padding: 10px 20px;
    margin: 0;
    max-width: 100%;
}

.share-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    .share-buttons {
        gap: 8px;
    }
    
    .share-button {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

.copy-url-container {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.copy-url-container input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--accent-color);
    padding: 0.8rem;
    border-radius: 4px;
    color: white;
    flex-grow: 1;
    text-align: center;
}

.copy-url-button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-url-button:hover {
    background-color: var(--accent-color-2);
    transform: translateY(-2px);
}

.copy-url-button.copied {
    background-color: var(--accent-color-2);
}

/* Ajout d'une media query pour mobile */
@media (max-width: 768px) {
    .success-modal .modal-content {
        margin: 2% auto;
        padding: 1rem;
        width: 98%;
    }

    .success-modal h2 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .share-section {
        margin: 1rem 0;
        padding: 0.8rem;
    }
}

.modal-close-btn {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 32px;
    height: 32px;
    opacity: 0.7;
    cursor: pointer;
    color: var(--text-color);
    font-size: 24px;
    border: none;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.success-modal .modal-content {
    position: relative;
}

/* Style pour les réseaux sociaux et la newsletter */
.social-and-newsletter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    width: 100%;
}

.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.social-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.newsletter-signup {
    flex: 1;
    max-width: 400px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.newsletter-form .form-group {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0.5rem;
    margin-bottom: 0;
    width: 100%;
    height: 38px;
}

.newsletter-form input {
    flex: 1;
    padding: 0 0.8rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    min-width: 0;
    height: 38px;
    font-size: 0.9rem;
    box-sizing: border-box;
}

.newsletter-button {
    padding: 0 1rem;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    height: 38px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.newsletter-button:hover {
    background-color: var(--accent-color-2);
    transform: translateY(-2px);
}

.consent-text {
    font-size: 0.75rem;
    color: var(--secondary-color);
    margin-top: 0.5rem;
}

.consent-text a {
    color: var(--accent-color);
    text-decoration: none;
}

.consent-text a:hover {
    text-decoration: underline;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .social-and-newsletter {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .newsletter-signup {
        width: 100%;
        max-width: none;
    }
    
    /* Garder la direction en ligne même sur mobile */
    .newsletter-form .form-group {
        flex-direction: row;
    }
    
    /* Ajuster la taille du texte du bouton sur mobile */
    .newsletter-button {
        font-size: 0.85rem;
        padding: 0.6rem 0.8rem;
    }
}

/* Pour les très petits écrans */
@media (max-width: 480px) {
    .newsletter-button {
        font-size: 0.8rem;
        padding: 0.6rem 0.7rem;
    }
}

/* Style amélioré pour la section de contact dans le modal */
.contact-section {
    margin: 1.5rem 0;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 2px solid var(--accent-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-section h3 {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    text-align: center;
    font-weight: normal;
}

.contact-section p {
    font-size: 0.9rem;
    opacity: 0.9;
    text-align: center;
    margin-bottom: 0.8rem;
}

.message-template-modal {
    background-color: rgba(0, 0, 0, 0.15);
    padding: 1.2rem;
    border-radius: 6px;
    margin: 0.8rem 0;
    position: relative;
    max-height: 180px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.message-template-modal pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    margin: 0;
    font-family: inherit;
    line-height: 1.5;
    color: var(--text-color);
    font-size: 0.85rem;
    opacity: 0.9;
}

.copy-button-modal {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.copy-button-modal:hover {
    background-color: var(--accent-color-2);
    opacity: 1;
    transform: translateY(-1px);
}

.copy-button-modal.copied {
    background-color: var(--accent-color-3);
}

/* Ajustement pour mobile */
@media (max-width: 768px) {
    .message-template-modal {
        max-height: 140px;
        padding: 1rem;
    }
    
    .message-template-modal pre {
        font-size: 0.8rem;
    }
    
    .copy-button-modal {
        padding: 0.25rem 0.5rem;
        font-size: 0.7rem;
    }
}

/* Style pour les étapes d'aide dans le modal */
.help-steps {
    margin: 1.5rem 0;
}

.help-steps h3 {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    text-align: center;
    font-weight: normal;
}

.step-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 1.2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: normal;
}

/* Ajustement des éléments existants */
.message-template-modal {
    margin-top: 0.8rem;
}

.copy-url-container {
    margin-top: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .step-container {
        padding: 1rem;
        gap: 0.8rem;
    }
    
    .step-number {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
    
    .step-content h4 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .help-steps h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
}

/* Section définition */
.definition-section {
    margin: 2rem auto;
    max-width: 800px;
    padding: 0 1rem;
    margin-top: 0;
}

.definition-box {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.definition-box summary {
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 2rem;
}

.definition-box summary h2 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin: 0;
    font-family: 'Nowayround';
    font-weight: normal;
    display: inline;
}

.definition-box summary::-webkit-details-marker {
    display: none;
}

.definition-box summary::after {
    content: '▼';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    transform-origin: center;
}

.definition-box[open] summary::after {
    transform: translateY(-50%) rotate(180deg);
    transform-origin: center;
}

/* Media queries pour la responsivité */
@media (max-width: 768px) {
    .definition-box {
        padding: 1.5rem;
    }

    .definition-box summary h2 {
        font-size: 1.3rem;
    }

    .definition-content {
        padding-left: 1rem;
    }
}

.definition-content {
    border-left: 3px solid var(--accent-color);
    padding-left: 1.5rem;
    margin-left: 0.5rem;
    margin-top: 1.5rem;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.word-type {
    color: var(--accent-color);
    font-style: italic;
    display: block;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.definition-example {
    margin-top: 1rem;
    color: var(--text-color-light);
    font-size: 0.95rem;
    font-style: italic;
}

.objectives-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.objectives-list li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    display: flex;
    align-items: center;
}

.objectives-list li:before {
    content: counter(objective);
    counter-increment: objective;
    position: absolute;
    left: 0;
    width: 24px;
    height: 24px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
}

/* Initialiser le compteur pour les objectifs */
.faq-section {
    counter-reset: objective;
}

/* Style responsive */
@media (max-width: 768px) {
    .objectives-list li {
        padding-left: 2rem;
        margin-bottom: 0.8rem;
    }

    .objectives-list li:before {
        width: 20px;
        height: 20px;
        font-size: 0.8rem;
    }
}

.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: white;
    font-size: 12px;
    margin-left: 5px;
    cursor: help;
    position: relative;
}

.info-icon::before {
    content: "i";
    font-family: "Times New Roman", serif;
    font-style: italic;
    font-weight: bold;
  text-transform: lowercase;
}

.info-icon:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 15px;
    background-color: rgba(0, 0, 0, 0.95);
    color: white;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.4;
    white-space: normal;
    z-index: 1000;
    margin-bottom: 8px;
    width: max-content;
    max-width: 220px;
    text-transform: none;
    font-weight: normal;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.info-icon:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.95);
    margin-bottom: -3px;
}

/* Ajustement pour mobile */
@media (max-width: 768px) {
    .info-icon {
        width: 16px;
        height: 16px;
        font-size: 11px;
    }

    .info-icon:hover::after {
        font-size: 12px;
        padding: 8px 12px;
        max-width: 200px;
    }

    .definition-section {
        margin: 1rem auto;
    }
    
}

/* Ajuster la taille du modal */
.success-modal .modal-content {
    margin: 2% auto;
    padding: 1.2rem;
    max-width: 550px;
}

/* Réduire l'espacement des titres */
.success-modal h2 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}

/* Ajuster les étapes */
.help-steps {
    margin: 1rem 0;
}

.help-steps h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

/* Rendre les conteneurs d'étapes plus compacts */
.step-container {
    padding: 0.8rem;
    margin-bottom: 0.8rem;
    gap: 0.8rem;
}

.step-number {
    width: 28px;
    height: 28px;
    font-size: 1rem;
}

.step-content h4 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

/* Ajuster le template de message */
.message-template-modal {
    max-height: 120px;
    padding: 0.8rem;
    margin: 0.4rem 0;
}

.message-template-modal pre {
    font-size: 0.8rem;
    line-height: 1.3;
}

/* Ajuster le formulaire de newsletter */
.modal-newsletter-form .form-group {
    height: 32px;
}

.modal-newsletter-form input,
.modal-newsletter-form .newsletter-button {
    height: 32px;
    font-size: 0.85rem;
}

/* Ajuster le conteneur de copie d'URL */
.copy-url-container {
    margin-top: 0.4rem;
}

.copy-url-container input {
    height: 32px;
    padding: 0.4rem;
    font-size: 0.85rem;
}

.copy-url-button {
    height: 32px;
    padding: 0 0.8rem;
    font-size: 0.85rem;
}

/* Ajuster le texte de consentement */
.consent-text {
    font-size: 0.7rem;
    margin-top: 0.3rem;
}

.faq-section details p a {
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: 1px solid var(--accent-color);
    transition: all 0.3s ease;
}

.faq-section details p a:hover {
    color: var(--background-color);
    border-bottom-color: var(--background-color);
}

.faq-section details p a.source {
    font-size: 0.8em;
    vertical-align: super;
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: none;
    margin-left: 2px;
    opacity: 1;
    font-weight: normal;
    transition: all 0.3s ease;
}

.faq-section details p a.source:hover {
    color: var(--background-color);
    opacity: 0.8;
}

.share-button.mastodon {
    background-color: #6364FF;
    border: none;
    width: 100%;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    transition: opacity 0.3s ease;
}

.share-button.mastodon:hover {
    opacity: 0.9;
}

.mastodon-modal .modal-content {
    max-width: 400px;
    padding: 20px;
}

.mastodon-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.mastodon-input {
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    color: var(--background-color);
}

.mastodon-submit {
    background-color: #6364FF;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: opacity 0.3s ease;
}

.mastodon-submit:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .mastodon-modal .modal-content {
        max-width: 90%;
        margin: 20px auto;
    }
}

.checkbox-group.error {
    border: 2px solid #ff4949;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 15px;
}

.checkbox-group .error-message {
    color: #ff4949;
    font-size: 14px;
    margin-top: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-group .error-message::before {
    content: '⚠️';
    font-size: 16px;
}


