/*****************************************/
/*recup de la page ajouter_itineraire.php*/
/*****************************************/
/* Menu burger et overlay */
        .menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1001;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .menu-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .side-menu {
            position: fixed;
            top: 0;
            left: -100%;
            width: var(--menu-width);
            height: 100vh;
            background-color: var(--nantes-red);
            z-index: 1002;
            transition: left var(--transition-speed) ease-in-out;
            box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
            overflow-y: auto;
        }

        .side-menu.active {
            left: 0;
        }

        .side-menu-header {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 1rem;
            background-color: var(--nantes-green);
            color: white;
        }

        .side-menu-close {
            align-self: flex-start;
            background: none;
            border: none;
            color: white;
            font-size: 1.8rem;
            cursor: pointer;
            padding: 8px 15px 8px 8px;
            margin-bottom: 1rem;
            position: relative;
            z-index: 10;
        }

        .side-menu-close-container {
            width: 100%;
            display: flex;
            justify-content: flex-end;
        }

        .side-menu-logo {
            text-align: center;
            margin-bottom: 1rem;
        }

        .side-menu-logo img {
            height: 60px;
        }

        .side-menu-nav {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .side-menu-nav li {
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .side-menu-nav a {
            display: flex;
            align-items: center;
            padding: 12px 20px;
            color: white;
            text-decoration: none;
            transition: background-color 0.2s;
        }

        .side-menu-nav a:hover {
            background-color: var(--nantes-gold);
            color: var(--nantes-green);
        }

        .side-menu-nav i {
            margin-right: 10px;
            font-size: 1.1rem;
        }

        /* Header avec menu burger */
        .header-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1rem 2rem;
            background-color: var(--nantes-green);
            position: relative;
            min-height: 120px;
            z-index: 1000;
        }

        .burger-menu {
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            width: 50px;
            height: 50px;
            color: white;
            font-size: 1.8rem;
            z-index: 1003;
            margin-right: 20px;
        }

        .logo-center {
            flex-grow: 1;
            text-align: center;
            margin: 0 20px;
        }

        .logo-center img {
            height: 80px;
            margin: 0 auto;
            display: block;
        }

        .logo-center h1 {
            color: white;
            margin: 0.5rem 0;
            font-size: 1.5rem;
        }

        .logo-center p {
            color: rgba(255, 255, 255, 0.9);
            margin: 0;
            font-size: 1rem;
        }

        .desktop-auth {
            display: flex;
            margin-left: auto;
            margin-right: 20px;
        }

        .desktop-auth a {
            color: white;
            text-decoration: none;
            display: flex;
            align-items: center;
            padding: 0.5rem 1rem;
            border-radius: 5px;
        }

        .desktop-auth a:hover {
            background-color: var(--nantes-gold);
        }

        .desktop-auth i {
            margin-right: 0.5rem;
            font-size: 1.2rem;
        }

        /* Conteneur principal */
        .main-container {
            max-width: 900px;
            margin: 2rem auto;
            padding: 2rem;
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .back-link {
            display: inline-block;
            margin-bottom: 1.5rem;
            color: var(--nantes-green);
            text-decoration: none;
            font-weight: 600;
        }

        .back-link i {
            margin-right: 0.5rem;
        }

        .back-link:hover {
            text-decoration: underline;
        }

        .form-title {
            color: var(--nantes-green);
            text-align: center;
            margin-bottom: 1.5rem;
            font-size: 1.8rem;
        }

        .form-section {
            background-color: #f9f9f9;
            border-radius: 8px;
            padding: 1.5rem;
            margin-bottom: 2rem;
        }

        .section-title {
            color: var(--nantes-green);
            margin: 0 0 1rem 0;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
        }

        .section-title i {
            margin-right: 0.5rem;
        }

        .form-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
        }

        .form-group {
            margin-bottom: 1rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: var(--dark-gray);
        }

        .form-group input[type="text"],
        .form-group input[type="number"],
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
            transition: border-color 0.3s;
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            border-color: var(--nantes-green);
            outline: none;
            box-shadow: 0 0 0 2px rgba(30, 155, 187, 0.2);
        }

        .form-group textarea {
            min-height: 120px;
            resize: vertical;
        }

        .checkbox-group {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 0.75rem;
            margin-top: 0.5rem;
        }

        .checkbox-item {
            display: flex;
            align-items: center;
        }

        .checkbox-item input[type="checkbox"] {
            margin-right: 0.5rem;
        }

        .tag-container {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: 0.5rem;
        }

        .tag {
            background-color: #e9ecef;
            color: var(--dark-gray);
            padding: 0.3rem 0.6rem;
            border-radius: 15px;
            font-size: 0.8rem;
            display: flex;
            align-items: center;
        }

        .tag i {
            margin-right: 0.3rem;
            font-size: 0.7rem;
        }

        .tag.active {
            background-color: var(--nantes-green);
            color: white;
        }

        .budget-selector {
            display: flex;
            gap: 0.5rem;
            margin-top: 0.5rem;
        }

        .budget-option {
            flex: 1;
            padding: 0.5rem;
            border: 1px solid #ddd;
            border-radius: 5px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
        }

        .budget-option.active {
            background-color: var(--nantes-green);
            color: white;
            border-color: var(--nantes-green);
        }

        .image-preview-container {
            margin: 1rem 0;
            text-align: center;
        }

        .image-preview {
            max-width: 200px;
            max-height: 200px;
            margin: 0.5rem auto;
            border-radius: 5px;
            border: 1px solid #eee;
            padding: 5px;
            display: none;
        }

        .image-preview img {
            max-width: 100%;
            border-radius: 5px;
        }

        .file-info {
            font-size: 0.9rem;
            color: #666;
            margin-top: 0.5rem;
        }

        .submit-container {
            text-align: center;
            margin-top: 2rem;
        }

        .cta-button {
            background-color: var(--nantes-green);
            color: white;
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: 5px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            display: inline-flex;
            align-items: center;
            text-decoration: none;
        }

        .cta-button:hover {
            background-color: #1a87a8;
            transform: translateY(-2px);
        }

        .cta-button i {
            margin-right: 0.5rem;
        }

        .error-message {
            color: var(--nantes-red);
            background-color: #ffebee;
            padding: 1rem;
            border-radius: 5px;
            margin-bottom: 1.5rem;
            text-align: center;
        }

        .success-message {
            color: var(--nantes-green);
            background-color: #e8f5e9;
            padding: 1rem;
            border-radius: 5px;
            margin-bottom: 1.5rem;
            text-align: center;
        }

        @media (max-width: 768px) {
            .header-container {
                flex-direction: column;
                text-align: center;
                padding: 1rem;
            }

            .logo-center {
                margin: 1rem 0;
            }

            .main-container {
                margin: 1rem;
                padding: 1.5rem;
            }

            .desktop-auth {
                margin: 0.5rem 0 0 0;
            }

            .form-grid {
                grid-template-columns: 1fr;
            }

            .budget-selector {
                flex-direction: column;
            }
        }
        /* Pied de page */
            footer {
                text-align: center;
                padding: 20px;
                background-color: var(--nantes-green);
                color: white;
                margin-top: 2rem;
            }
            /* Styles pour les liens */
a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}






/******************/
/*    Général    */
/******************/

/* Variables de couleurs */
:root {
    --nantes-green: #1e9bbb;
    --nantes-red: #C2201B;
    --nantes-gold: #FAB700;
    --light-gray: #f8f9fa;
    --dark-gray: #333;
    --medium-gray: #666;
    --menu-width: 280px;
    --transition-speed: 0.3s;
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--light-gray);
}

/* Styles pour les liens */
a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/*titre*/
.title-container {
    text-align: center;
    margin-bottom: 1rem;
    width: 100%;
}

.title-container h1 {
    margin: 0;
    font-size: 2.5rem;
    color: white;
}

.title-container p {
    margin: 0.5rem 0 0;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/*apparence menu*/
.auth-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 1rem;
}

.auth-menu a {
    margin: 0 5px;
    margin-bottom: 5px;
    padding: 8px 15px;
    background-color: var(--nantes-gold);
    color: var(--nantes-green);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.auth-menu a:hover {
    background-color: var(--nantes-green);
    color: var(--nantes-gold);
    transform: translateY(-2px);
}

/* Navigation principale */
nav {
    background-color: var(--nantes-red);
    padding: 0.5rem 0;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: block;
}

nav ul li a:hover {
    background-color: var(--nantes-gold);
    color: var(--nantes-green);
}

nav ul li a.active {
    background-color: var(--nantes-gold);
    color: var(--nantes-green);
}

/* Conteneur principal */
main {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

/****************************/
/*        en tete           */
/****************************/
/* ===== STYLES EXISTANTS À CONSERVER ===== */
/* Styles pour l'en-tête */

            header {
                background-color: var(--nantes-green);
                color: white;
                padding: 1rem;
                position: relative;
                min-height: 120px;
            }

            
/***************************************/  
/*      Styles pour les filtres        */
/***************************************/

            .filter-button {
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 8px;
                padding: 10px 15px;
                background-color: #f8f9fa;
                border: none;
                border-radius: 25px;
                cursor: pointer;
                width: fit-content;
                transition: all 0.3s;
                box-shadow: 0 2px 4px rgba(0,0,0,0.1);
                }

                .filter-button:hover {
                    background-color: #e9ecef;
                    transform: translateY(-1px);
                }

                .filter-button i {
                    color: var(--nantes-gold);
                }

                .filter-button span {
                    font-weight: 500;
                    color: var(--dark-gray);
                }


/****************************************/
/* Styles pour les cartes d'itinéraires */
/****************************************/

        .itinerary-options {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 25px;
            margin: 20px 0;
        }

        .itinerary-card {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .itinerary-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .itinerary-card img {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }

/* Texte des boutons d'action (visible en mobile) */
        .btn-text {
            display: inline;
            margin-left: 5px;
            font-size: 0.7rem;
        }

/* Contenu de l'itinéraire */
        .itinerary-content {
            padding: 1.5rem;
        }

        .itinerary-card h3 {
            color: var(--nantes-green);
            margin: 0 0 10px;
            font-size: 1.3rem;
        }

        .itinerary-card p {
            margin: 10px 0;
            color: var(--medium-gray);
            line-height: 1.4;
}

/* Styles pour les métadonnées des itinéraires */
        .itinerary-meta {
            display: flex;
            justify-content: space-between;
            margin: 15px 0;
            font-size: 0.9rem;
        }

        .itinerary-author {
            display: flex;
            align-items: center;
            color: var(--medium-gray);
        }

        .author-avatar {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background-color: var(--nantes-gold);
            margin-right: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--nantes-green);
            font-size: 12px;
            font-weight: bold;
        }

        .duree, .niveau {
            padding: 4px 10px;
            border-radius: 12px;
            font-weight: bold;
            font-size: 0.8rem;
        }

        .duree {
            background-color: var(--nantes-gold);
            color: var(--nantes-green);
        }

        .niveau {
            color: white;
        }

        .niveau.facile {
            background-color: #4CAF50;
        }

        .niveau.moyen {
            background-color: #FF9800;
        }

        .niveau.difficile {
            background-color: #F44336;
        }

/* Barre d'actions */

        .itinerary-actions {
            display: flex;
            justify-content: space-between;
            padding: 10px 15px;
            background-color: rgba(255, 255, 255, 0.95);
            border-top: 1px solid #eee;
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
        }

        .action-btn {
            background: none;
            border: none;
            color: var(--nantes-green);
            font-size: 1.2rem;
            cursor: pointer;
            padding: 5px 10px;
            transition: all 0.2s;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-width: 60px;
            position: relative;
        }

        .action-btn:hover {
            color: var(--nantes-gold);
            transform: scale(1.1);
        }

        .action-btn.active {
            color: var(--nantes-red);
        }

        .action-btn span {
            font-size: 0.7rem;
            margin-top: 3px;
            color: #666;
        }


/* Boutons CTA */

        .cta-button {
            display: inline-block;
            background-color: var(--nantes-gold);
            color: var(--nantes-green);
            padding: 10px 20px;
            text-decoration: none;
            border-radius: 5px;
            font-weight: bold;
            margin: 10px 0;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
        }

        .cta-button:hover {
            background-color: var(--nantes-green);
            color: var(--nantes-gold);
            transform: translateY(-2px);
        }

/* Section vedette */
        .featured-section {
            background-color: var(--light-gray);
            padding: 2rem;
            border-radius: 8px;
            margin: 2rem auto;
            text-align: center;
            max-width: 1200px;
        }

/* Carte Leaflet */
        .map-container {
            margin: 2rem auto;
            height: 500px;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            max-width: 1200px;
        }

#map {
    width: 100%;
    height: 100%;
}



/******************************/
/*    Section vote            */
/******************************/

            .vote-section {
                margin-top: 15px;
                text-align: center;
            }

            .vote-button {
                background: none;
                border: none;
                color: var(--nantes-green);
                font-size: 1.2em;
                cursor: pointer;
                transition: all 0.3s ease;
                display: flex;
                align-items: center;
                justify-content: center;
                padding: 5px;
            }

            .vote-button:hover {
                transform: scale(1.1);
            }

            .vote-button.voted {
                color: var(--nantes-gold);
            }

            .vote-button i {
                margin-right: 5px;
            }

            .vote-count {
                margin-left: 5px;
                font-size: 0.9em;
            }

            @keyframes thumbUp {
                0% { transform: scale(1) rotate(0deg); }
                50% { transform: scale(1.2) rotate(10deg); }
                100% { transform: scale(1) rotate(0deg); }
            }

            .vote-button.voted i {
                animation: thumbUp 0.5s ease;
            }

/********************************/
/*        Classement            */
/********************************/


            .popularity-rating {
                position: absolute;
                top: 10px;
                right: 10px;
                background-color: rgba(0, 0, 0, 0.7);
                color: white;
                padding: 4px 8px;
                border-radius: 12px;
                font-size: 0.8rem;
                font-weight: bold;
                z-index: 10;
            }

            .rating-stars {
                color: var(--nantes-gold);
                margin-right: 4px;
            }

            /* Pagination */
            .pagination {
                display: flex;
                justify-content: center;
                margin: 30px 0;
                flex-wrap: wrap;
            }

            .pagination a, .pagination span {
                padding: 8px 16px;
                margin: 0 4px;
                text-decoration: none;
                border-radius: 4px;
                color: var(--nantes-green);
                background-color: #f1f1f1;
                transition: all 0.3s;
            }

            .pagination a:hover {
                background-color: var(--nantes-gold);
                color: var(--nantes-green);
            }

            .pagination .active {
                background-color: var(--nantes-green);
                color: white;
                font-weight: bold;
            }

/**********************************/            
/*       Timeline des étapes      */
/**********************************/


            .timeline {
                position: relative;
                max-width: 800px;
                margin: 2rem auto;
            }

            .etape {
                background: white;
                border: 1px solid #ddd;
                border-radius: 5px;
                padding: 15px;
                margin-bottom: 20px;
                box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            }

            .etape-header {
                display: flex;
                justify-content: space-between;
                margin-bottom: 10px;
                padding-bottom: 10px;
                border-bottom: 1px solid #eee;
            }

            .etape-ordre {
                background-color: var(--nantes-gold);
                color: var(--nantes-green);
                padding: 5px 10px;
                border-radius: 5px;
                font-weight: bold;
            }

            .etape-heure {
                background-color: var(--nantes-green);
                color: white;
                padding: 5px 10px;
                border-radius: 5px;
                font-weight: bold;
            }

            .etape-content h2 {
                color: var(--nantes-green);
                margin-top: 0;
            }

            .etape-description {
                margin: 10px 0;
            }

            .etape-details {
                display: flex;
                flex-wrap: wrap;
                gap: 10px;
                margin-top: 10px;
                font-size: 0.9rem;
            }

            .etape-details p {
                margin: 0;
                display: flex;
                align-items: center;
            }

            .etape-details i {
                margin-right: 5px;
                color: var(--nantes-gold);
            }

            .etape-separator {
                text-align: center;
                margin: 10px 0;
                color: var(--nantes-red);
                font-size: 1.5rem;
            }

/* ============================================= */
/* STYLES MODERNES POUR LES FORMULAIRES          */
/* ============================================= */

/* Conteneur principal des formulaires */
.form-container, .step-form {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--nantes-green), var(--nantes-gold));
}

/* Titre des formulaires */
.form-container h1,
.form-container h2,
.step-form h2 {
    color: var(--nantes-green);
    text-align: center;
    margin-bottom: 1.8rem;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.form-container h1::after,
.form-container h2::after,
.step-form h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--nantes-gold);
    border-radius: 2px;
}

/* Sous-titres des sections */
.form-section {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 1.8rem;
    margin-bottom: 2rem;
    border: 1px solid #eee;
}

.section-title {
    color: var(--nantes-green);
    margin: 0 0 1.2rem 0;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.section-title i {
    margin-right: 0.7rem;
    color: var(--nantes-gold);
}

/* Groupes de champs */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 0.95rem;
}

.form-group .required::after {
    content: ' *';
    color: var(--nantes-red);
}

/* Champs de formulaire */
.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-control:focus {
    border-color: var(--nantes-green);
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 155, 187, 0.15);
    background-color: #fff;
}

input.form-control,
select.form-control {
    height: 48px;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
    padding: 12px 15px;
}

/* Cases à cocher et boutons radio */
.checkbox-group,
.radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.checkbox-item,
.radio-item {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
}

.checkbox-item input,
.radio-item input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-item label,
.radio-item label {
    cursor: pointer;
    font-weight: 500;
}

/* Style personnalisé pour les checkbox */
.checkbox-custom {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: all 0.2s;
}

.checkbox-item input:checked ~ .checkbox-custom {
    background-color: var(--nantes-green);
    border-color: var(--nantes-green);
}

.checkbox-custom::after {
    content: '';
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-item input:checked ~ .checkbox-custom::after {
    display: block;
}

/* Style pour les boutons radio */
.radio-custom {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 50%;
    transition: all 0.2s;
}

.radio-item input:checked ~ .radio-custom {
    background-color: var(--nantes-green);
    border-color: var(--nantes-green);
}

.radio-custom::after {
    content: '';
    position: absolute;
    display: none;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white;
    transform: translate(-50%, -50%);
}

.radio-item input:checked ~ .radio-custom::after {
    display: block;
}

/* Sélecteurs de budget */
.budget-selector {
    display: flex;
    gap: 0.7rem;
    margin-top: 0.5rem;
}

.budget-option {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background-color: #f9f9f9;
    color: var(--dark-gray);
    font-weight: 500;
}

.budget-option:hover {
    border-color: var(--nantes-green);
}

.budget-option.active {
    background-color: var(--nantes-green);
    color: white;
    border-color: var(--nantes-green);
}

.budget-option i {
    margin-right: 5px;
}

/* Sélecteurs de tags */
.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.8rem;
    min-height: 40px;
    border: 1px dashed #ddd;
    border-radius: 8px;
    padding: 0.8rem;
    background-color: #f9f9f9;
}

.tag {
    background-color: var(--nantes-gold);
    color: var(--nantes-green);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    transition: all 0.2s;
}

.tag i {
    margin-right: 0.4rem;
    font-size: 0.8rem;
}

.tag .remove-tag {
    margin-left: 0.5rem;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.6);
}

.tag .remove-tag:hover {
    color: var(--nantes-red);
}

/* Champ de saisie des tags */
#newTag {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 0.8rem;
    font-size: 0.95rem;
}

/* Aperçu d'image */
.image-preview-container {
    margin: 1rem 0;
    text-align: center;
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    background-color: #f9f9f9;
    transition: all 0.3s;
}

.image-preview-container:hover {
    border-color: var(--nantes-green);
}

.image-preview {
    max-width: 100%;
    max-height: 250px;
    margin: 0 auto;
    display: none;
}

.image-preview img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.file-info {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.8rem;
}

/* Boutons */
.cta-button,
.form-container button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--nantes-green);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover,
.form-container button[type="submit"]:hover {
    background-color: #1a87a8;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.cta-button i,
.form-container button[type="submit"] i {
    margin-right: 8px;
}

/* Boutons secondaires */
.btn-secondary {
    background-color: var(--nantes-gold);
    color: var(--nantes-green);
}

.btn-secondary:hover {
    background-color: #d49f00;
    color: var(--nantes-green);
}

/* Messages d'erreur et de succès */
.error-message {
    color: var(--nantes-red);
    background-color: rgba(255, 87, 87, 0.1);
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--nantes-red);
}

.success-message {
    color: var(--nantes-green);
    background-color: rgba(30, 155, 187, 0.1);
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--nantes-green);
}

/* Grille pour les formulaires multi-colonnes */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .form-container,
    .step-form {
        margin: 1rem;
        padding: 1.5rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .budget-selector {
        flex-direction: column;
    }

    .checkbox-group,
    .radio-group {
        grid-template-columns: 1fr;
    }
}

/* Animation pour les champs focus */
@keyframes inputFocus {
    0% { box-shadow: 0 0 0 0 rgba(30, 155, 187, 0); }
    100% { box-shadow: 0 0 0 3px rgba(30, 155, 187, 0.15); }
}

.form-control:focus {
    animation: inputFocus 0.3s forwards;
}

/* Style pour les sélecteurs */
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23999'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 35px;
}

/* Style pour les champs de fichier */
.file-input-container {
    position: relative;
    margin-bottom: 1rem;
}

.file-input-label {
    display: block;
    padding: 12px 15px;
    background-color: #f9f9f9;
    border: 2px dashed #ddd;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.file-input-label:hover {
    border-color: var(--nantes-green);
    background-color: rgba(30, 155, 187, 0.05);
}

.file-input-label i {
    margin-right: 8px;
    color: var(--nantes-green);
}

#image {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

/* Style pour les groupes de champs avec icônes */
.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.input-with-icon input {
    padding-left: 40px;
}

/* Style pour les infobulles */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Pied de page */
            footer {
                text-align: center;
                padding: 20px;
                background-color: var(--nantes-green);
                color: white;
                margin-top: 2rem;
            }

/* Responsive design général */
            @media (max-width: 768px) {
                .itinerary-card {
                    flex: 1 1 100%;
                }
                nav ul {
                    flex-direction: column;
                    align-items: center;
                }
                nav ul li {
                    margin: 5px 0;
                    width: 100%;
                    text-align: center;
                }
            }
/* Responsive pour desktop */
            @media (min-width: 768px) {
                .side-menu {width: 320px;}
                .side-menu-header {flex-direction: column; align-items: flex-start;}
                .side-menu-close-container {width: 100%; justify-content: flex-end;}
                .side-menu-logo {text-align: center; padding-left: 0;}
            }

/* Animations */
            @keyframes fadeIn {
                from { opacity: 0; transform: translateY(-10px); }
                to { opacity: 1; transform: translateY(0); }
            }

/* Styles pour les modales */
            .modal {
                display: none;
                position: fixed;
                z-index: 1001;
                left: 0;
                top: 0;
                width: 100%;
                height: 100%;
                background-color: rgba(0,0,0,0.4);
            }

            .modal-content {
                background-color: #fefefe;
                margin: 15% auto;
                padding: 20px;
                border: 1px solid #888;
                width: 80%;
                max-width: 400px;
                border-radius: 5px;
            }

            .close {
                color: #aaa;
                float: right;
                font-size: 28px;
                font-weight: bold;
                cursor: pointer;
            }

            .close:hover,
            .close:focus {
                color: black;
                text-decoration: none;
            }

            /* Styles pour les témoignages */
            .testimonial-slider {
                bottom: 0;
                left: 0;
                right: 0;
                background: rgba(0,0,0,0.7);
                color: white;
                padding: 10px;
                text-align: center;
            }

/* Styles pour les sections supplémentaires */
            .featured-section, .personalize-section {
                max-width: 1200px;
                margin: 40px auto;
                padding: 0 20px;
                text-align: center;
            }

            .featured-section h2, .personalize-section h2 {
                color: var(--nantes-green);
                margin-bottom: 15px;
                font-size: 1.8rem;
            }

            .featured-section p, .personalize-section p {
                color: var(--medium-gray);
                margin-bottom: 20px;
                max-width: 600px;
                margin-left: auto;
                margin-right: auto;
            }


/********************/
/*   Compteurs      */
/********************/
            .vote-count, .comment-count {
            position: absolute;
            top: -10px;
            right: -10px;
            min-width: 22px;
            height: 22px;
            font-size: 0.8rem;
            font-weight: bold;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2px 6px;
            border-radius: 50%;
            box-shadow: 0 1px 3px rgba(0,0,0,0.2);
            border: 1px solid white;
            }

            .vote-count {
            background-color: var(--nantes-red);
            color: white;
            }

            .comment-count {
            background-color: var(--nantes-green);
            color: white;
            }





/* Styles pour les modales de commentaires */
.comment-modal-content {
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.comment-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    border-left: 3px solid var(--nantes-gold);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.comment-author {
    font-weight: bold;
    color: var(--nantes-green);
}

.comment-date {
    font-size: 0.8rem;
    color: #666;
}

.comment-content {
    line-height: 1.5;
    color: #333;
}

.no-comments {
    text-align: center;
    padding: 20px;
    color: #666;
    font-style: italic;
}

.loading-comments {
    text-align: center;
    padding: 20px;
    color: var(--nantes-green);
}

.footer-links {
    margin-top: 10px;
    text-align: center;
}

.footer-links a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    font-size: 0.9em;
}

.footer-links a:hover {
    text-decoration: underline;
}

/*formulaire de contact*/
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form button {
    width: auto;
    padding: 10px 20px;
}

/* ===== STYLES POUR LES PAGES LÉGALES ET FORMULAIRES ===== */
/* Conteneur principal pour les pages légales et formulaires */
.form-container {
    max-width: 800px;
    margin: 30px auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Titres des sections */
.form-container h1 {
    color: var(--nantes-green);
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.form-container h2 {
    color: var(--nantes-green);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

/* Paragraphes et listes */
.form-container p,
.form-container ul,
.form-container ol {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--dark-gray);
}

.form-container ul,
.form-container ol {
    padding-left: 2rem;
}

.form-container li {
    margin-bottom: 0.5rem;
}

/* Liens dans les pages légales */
.form-container a {
    color: var(--nantes-gold);
    text-decoration: underline;
}

.form-container a:hover {
    color: var(--nantes-red);
}

/* Tableaux (pour la politique des cookies) */
.form-container table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.form-container th,
.form-container td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.form-container th {
    background-color: var(--light-gray);
    font-weight: bold;
}

/* ===== STYLES POUR LES FORMULAIRES ===== */
/* Champs de formulaire */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--dark-gray);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--nantes-gold);
    outline: none;
    box-shadow: 0 0 0 2px rgba(247, 183, 0, 0.2);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Case à cocher pour le RGPD */
.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.form-group input[type="checkbox"] + label {
    display: inline;
    font-weight: normal;
}

/* Bouton de soumission */
.form-group button[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: var(--nantes-gold);
    color: var(--nantes-green);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 1rem;
}

.form-group button[type="submit"]:hover {
    background-color: var(--nantes-green);
    color: var(--nantes-gold);
    transform: translateY(-2px);
}

/* Message de succès/erreur */
.error-message {
    color: var(--nantes-red);
    background-color: #ffebee;
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 1rem;
    text-align: center;
}

.success-message {
    color: var(--nantes-green);
    background-color: #e8f5e9;
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 1rem;
    text-align: center;
}

/* ===== STYLES POUR LE FOOTER ===== */
footer {
    text-align: center;
    padding: 20px;
    background-color: var(--nantes-green);
    color: white;
    margin-top: 2rem;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .form-container {
        margin: 15px;
        padding: 1.5rem;
    }

    .form-container h1 {
        font-size: 1.8rem;
    }
}

/* ===== STYLES POUR LES PAGES SPÉCIFIQUES ===== */
/* Styles pour la page Actualités */
.actualite-section {
    max-width: 800px;
    margin: 0 auto;
}

.actualite-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.actualite-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.actualite-card h2 {
    color: var(--nantes-green);
    margin: 1rem 1rem 0.5rem;
    font-size: 1.5rem;
}

.actualite-card .date {
    color: #666;
    margin: 0 1rem;
    font-size: 0.9rem;
    font-style: italic;
}

.actualite-card p {
    margin: 0 1rem 1.5rem;
    line-height: 1.6;
    color: var(--dark-gray);
}

/* Styles pour la page À Propos */
.about-section {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.about-section h2 {
    color: var(--nantes-green);
    margin: 2rem 0 1rem;
    font-size: 1.8rem;
    border-bottom: 2px solid var(--nantes-gold);
    padding-bottom: 0.5rem;
}

.about-section p {
    margin-bottom: 1.5rem;
}

.about-image {
    text-align: center;
    margin: 2rem 0;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.team-member {
    display: flex;
    align-items: center;
    margin: 2rem 0;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.team-member img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1.5rem;
    border: 3px solid var(--nantes-gold);
}

.team-member h3 {
    color: var(--nantes-green);
    margin: 0 0 0.5rem;
}

.team-member p {
    color: var(--nantes-red);
    margin: 0;
}

.values-list {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.values-list li {
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

@media (max-width: 768px) {
    .team-member {
        flex-direction: column;
        text-align: center;
    }

    .team-member img {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}



