     /* Reset et styles de base */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html, body {
            height: 100%;
            overflow: hidden;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #f5f5f5;
            color: #333;
            line-height: 1.6;
            touch-action: manipulation;
            overscroll-behavior: contain;
        }

        .container {
            height: 100vh;
            display: flex;
            flex-direction: column;
            position: relative;
        }

        /* Header */
        .header {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 10px 15px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            z-index: 1000;
            position: relative;
        }

        .header h1 {
            font-size: 16px;
            font-weight: 600;
            text-align: center;
            line-height: 1.3;
        }

        .header h1 i {
            margin-right: 8px;
            color: #ffd700;
        }

        .header-info {
            margin-top: 5px;
            opacity: 0.9;
            text-align: center;
            font-size: 11px;
        }

        /* SYSTÈME D'ONGLETS MOBILE */
        .mobile-tabs {
            display: none;
            background: white;
            border-bottom: 2px solid #667eea;
            z-index: 1001;
        }

        .mobile-tab-buttons {
            display: flex;
            width: 100%;
        }

        .mobile-tab-button {
            flex: 1;
            background: #f8f9fa;
            border: none;
            padding: 15px 10px;
            font-size: 14px;
            font-weight: 600;
            color: #667eea;
            cursor: pointer;
            transition: all 0.3s ease;
            border-bottom: 3px solid transparent;
            position: relative;
        }

        .mobile-tab-button.active {
            background: white;
            color: #333;
            border-bottom-color: #667eea;
        }

        .mobile-tab-button:not(.active):hover {
            background: #e9ecef;
        }

        .mobile-tab-button i {
            margin-right: 6px;
        }

        /* Contenu des onglets mobile */
        .mobile-tab-content {
            display: none;
            flex: 1;
            overflow: hidden;
        }

        .mobile-tab-content.active {
            display: flex;
            flex-direction: column;
        }

        /* Contenu principal */
        .main-content {
            display: flex;
            flex-direction: column;
            flex: 1;
            overflow: hidden;
        }

        /* Panel de contrôles */
        .left-panel {
            width: 100%;
            background: white;
            border-bottom: 2px solid #667eea;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            z-index: 999;
            order: 1;
            flex-shrink: 0;
            overflow-y: auto;
        }

        .panel-header {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 12px 15px;
            position: sticky;
            top: 0;
            z-index: 1000;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .panel-header h2 {
            font-size: 16px;
            font-weight: 600;
        }

        .panel-section {
            padding: 15px;
            border-bottom: 1px solid #e0e0e0;
        }

        .panel-section:last-child {
            border-bottom: none;
        }

        .panel-section h3 {
            font-size: 14px;
            margin-bottom: 10px;
            color: #667eea;
            display: flex;
            align-items: center;
            gap: 6px;
            font-weight: 600;
        }

        /* Conteneur pour le select avec aide */
        .select-with-help {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-top: 8px;
        }

        .select-with-help .select-input {
            flex: 1;
        }

        /* Icône d'aide optimisée mobile */
        .help-icon {
            color: #667eea;
            font-size: 18px;
            cursor: pointer;
            padding: 10px;
            border-radius: 50%;
            transition: all 0.3s ease;
            background: rgba(102, 126, 234, 0.15);
            border: 2px solid rgba(102, 126, 234, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            flex-shrink: 0;
            touch-action: manipulation;
        }

        .help-icon:active {
            transform: scale(0.95);
            background: rgba(102, 126, 234, 0.3);
        }

        /* Tooltips optimisés pour mobile */
        .variable-tooltip {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.8);
            background: white;
            border: 2px solid #667eea;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            z-index: 10001;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            max-width: 90vw;
            max-height: 70vh;
            overflow-y: auto;
        }

        .variable-tooltip.show {
            opacity: 1;
            visibility: visible;
            transform: translate(-50%, -50%) scale(1);
        }

        .tooltip-backdrop {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 10000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .tooltip-backdrop.show {
            opacity: 1;
            visibility: visible;
        }

        .tooltip-content {
            padding: 20px;
        }

        .tooltip-content h4 {
            margin: 0 0 12px 0;
            color: #667eea;
            font-size: 18px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .tooltip-content p {
            margin: 0 0 12px 0;
            color: #555;
            font-size: 15px;
            line-height: 1.6;
        }

        /* Formulaires optimisés mobile */
        .select-input {
            width: 100%;
            padding: 14px 12px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-size: 16px;
            background-color: #fafafa;
            transition: all 0.3s ease;
            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='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right 12px center;
            background-size: 16px;
            padding-right: 40px;
        }

        .select-input:focus {
            outline: none;
            border-color: #667eea;
            background-color: white;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

        label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #555;
            font-size: 14px;
        }

        /* Informations du pays optimisées */
        .country-info {
            background: linear-gradient(135deg, #f8f9ff 0%, #e8f4f8 100%);
            padding: 15px;
            border-radius: 10px;
            border-left: 4px solid #667eea;
        }

        .country-info .info-item {
            margin-bottom: 10px;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .country-info .info-label {
            font-weight: 600;
            color: #667eea;
            font-size: 13px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .country-info .info-value {
            font-weight: 700;
            color: #333;
            background: white;
            padding: 8px 12px;
            border-radius: 6px;
            border: 1px solid #e0e0e0;
            font-size: 16px;
        }

        .no-selection {
            color: #999;
            font-style: italic;
            text-align: center;
            padding: 20px;
            font-size: 14px;
        }

        /* Message d'alerte mobile */
        .alert-message {
            background: linear-gradient(135deg, #ff6b6b, #ee5a24);
            color: white;
            padding: 15px;
            border-radius: 10px;
            margin-top: 15px;
            text-align: center;
            font-weight: 600;
            font-size: 14px;
            animation: pulse 2s infinite;
            box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
        }

        /* Conteneur de la carte */
        .map-container {
            width: 100%;
            height: 100%;
            position: relative;
            background: #e8f4f8;
            order: 2;
            flex: 1;
        }

        #map {
            width: 100%;
            height: 100%;
            touch-action: pan-x pan-y pinch-zoom;
        }

        /* Bouton de retour vers les contrôles (mobile uniquement) */
        .back-to-controls {
            position: absolute;
            bottom: 80px;
            right: 15px;
            background: linear-gradient(135deg, #ff6b6b, #ee5a24);
            color: white;
            border: none;
            border-radius: 50px;
            padding: 12px 20px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            z-index: 1002;
            box-shadow: 0 4px 20px rgba(255, 107, 107, 0.4);
            transition: all 0.3s ease;
            display: none;
            align-items: center;
            gap: 8px;
            min-width: 140px;
            justify-content: center;
        }

        .back-to-controls:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 25px rgba(255, 107, 107, 0.5);
        }

        .back-to-controls:active {
            transform: translateY(0);
        }

        .back-to-controls i {
            font-size: 16px;
        }

        /* Légende de la carte */
        .map-legend {
            position: absolute;
            bottom: 20px;
            left: 10px;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 8px;
            padding: 8px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
            z-index: 1000;
            border: 2px solid #667eea;
            max-width: 140px;
            min-width: 120px;
        }

        .legend-title {
            font-size: 11px;
            font-weight: 600;
            color: #667eea;
            margin-bottom: 6px;
            text-align: center;
        }

        .legend-horizontal {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .legend-item {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 10px;
            color: #555;
            font-weight: 500;
            padding: 2px 0;
        }

        .legend-color {
            width: 16px;
            height: 12px;
            border-radius: 2px;
            border: 1px solid #ccc;
            flex-shrink: 0;
        }

        /* Échelle de la carte */
        .leaflet-control-scale {
            font-size: 10px;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 4px;
            padding: 2px 4px;
        }

        /* POPUP CORRIGÉ - Système modular avec backdrop */
        
        /* Backdrop pour les popups */
        .popup-backdrop {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 9998;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .popup-backdrop.show {
            opacity: 1;
            visibility: visible;
        }

        /* Popup personnalisé centré */
        .custom-popup-wrapper {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 9999;
            pointer-events: none;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .custom-popup-wrapper.show {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
        }

        .custom-popup {
            background: white;
            border-radius: 12px;
            box-shadow: 0 15px 35px rgba(0,0,0,0.6);
            border: 3px solid #667eea;
            max-width: 70vw; /* Réduit de 90vw à 70vw */
            max-height: 80vh;
            overflow-y: auto;
            min-width: 220px; /* Réduit de 280px à 220px */
            position: relative;
            transform: scale(0.9);
            transition: all 0.3s ease;
        }

        .custom-popup-wrapper.show .custom-popup {
            transform: scale(1);
        }

        /* Bouton de fermeture du popup */
        .custom-popup-close {
            position: absolute;
            top: -15px;
            right: -15px;
            width: 50px;
            height: 50px;
            background: white;
            border: 4px solid #667eea;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 10000;
            font-size: 24px;
            font-weight: bold;
            color: #667eea;
            transition: all 0.3s ease;
            box-shadow: 0 6px 25px rgba(0,0,0,0.6);
        }

        .custom-popup-close:hover {
            background: #667eea;
            color: white;
            transform: scale(1.1);
        }

        /* Contenu du popup */
        .popup-container {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border-radius: 10px 10px 0 0;
            overflow: hidden;
        }

        .popup-title {
            font-size: 16px;
            font-weight: 700;
            padding: 15px;
            text-align: center;
            background: rgba(255,255,255,0.1);
            margin: 0;
            border-bottom: 1px solid rgba(255,255,255,0.2);
        }

        .popup-info {
            padding: 10px;
            background: white;
            color: #333;
        }

        .popup-info .info-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 4px;
            padding: 4px 0;
            border-bottom: 1px solid #f0f0f0;
        }

        .popup-info .info-row:last-child {
            border-bottom: none;
            margin-bottom: 0;
        }

        .popup-info .info-label {
            font-weight: 600;
            color: #667eea;
            font-size: 11px;
            flex: 1;
            margin-right: 8px;
        }

        .popup-info .info-value {
            font-weight: 700;
            color: #333;
            background: #f8f9ff;
            padding: 3px 6px;
            border-radius: 4px;
            font-size: 12px;
            min-width: 50px;
            text-align: right;
        }

        /* Overlay de chargement */
        .loading-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(255, 255, 255, 0.95);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            flex-direction: column;
        }

        .loading-spinner {
            text-align: center;
            color: #667eea;
        }

        .loading-spinner i {
            font-size: 40px;
            margin-bottom: 15px;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .loading-spinner p {
            font-size: 14px;
            font-weight: 600;
            margin-top: 10px;
        }

        /* Footer flexible */
        .footer-bar {
            background: linear-gradient(135deg, #333 0%, #667eea 100%);
            color: white;
            padding: 15px;
            font-size: 11px;
            line-height: 1.4;
            text-align: center;
            position: relative;
            order: 3;
            box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
            border-radius: 12px 12px 0 0;
            flex-shrink: 0;
        }

        .footer-content {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .footer-content i {
            color: #ffd700;
            margin-right: 4px;
        }

        /* Styles pour les contrôles Leaflet */
        .leaflet-control-zoom {
            border: none;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }

        .leaflet-control-zoom a {
            background-color: white;
            border: 1px solid #667eea;
            color: #667eea;
            font-weight: bold;
            width: 35px;
            height: 35px;
            line-height: 35px;
            font-size: 16px;
        }

        .leaflet-control-zoom a:hover {
            background-color: #667eea;
            color: white;
        }

        /* Attributions */
        .leaflet-control-attribution {
            font-size: 10px !important;
            background: transparent !important;
            border: none !important;
            box-shadow: none !important;
            margin-bottom: 5px !important;
            margin-right: 5px !important;
            padding: 2px 4px !important;
            max-width: 200px !important;
            line-height: 1.2 !important;
            color: #333 !important;
            text-shadow: 1px 1px 2px rgba(255,255,255,0.9) !important;
            white-space: nowrap !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
        }

        .leaflet-control-attribution a {
            color: #667eea !important;
            text-decoration: none !important;
            font-weight: 600 !important;
            text-shadow: 1px 1px 2px rgba(255,255,255,0.9) !important;
        }

        .leaflet-control-attribution a:hover {
            text-decoration: underline !important;
        }

        /* Échelle repositionnée */
        .leaflet-control-scale {
            font-size: 10px !important;
            background: rgba(255, 255, 255, 0.95) !important;
            border-radius: 4px !important;
            padding: 4px 6px !important;
            border: 1px solid #667eea !important;
            box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
            margin-bottom: 35px !important;
            margin-right: 5px !important;
            margin-left: auto !important;
        }

        .leaflet-control-scale-line {
            border: 2px solid #667eea !important;
            border-top: none !important;
            color: #667eea !important;
            font-weight: bold !important;
            line-height: 1.2 !important;
            padding: 2px 4px !important;
            white-space: nowrap !important;
            background: rgba(255, 255, 255, 0.9) !important;
        }

        /* Animations */
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }

        /* RESPONSIVE DESIGN */

        /* MOBILE - Onglets actifs */
        @media (max-width: 768px) {
            .mobile-tabs {
                display: block;
            }

            .main-content {
                flex-direction: column;
            }

            .left-panel {
                height: 100%;
                border-bottom: none;
                order: unset;
            }

            .map-container {
                height: 100%;
                order: unset;
            }

            .back-to-controls {
                display: flex;
            }

            /* Adaptation de la légende sur mobile en onglet */
            .map-legend {
                bottom: 5px;
                left: 10px;
                max-width: 120px;
                min-width: 100px;
                padding: 6px;
            }

            .legend-title {
                font-size: 10px;
                margin-bottom: 4px;
            }

            .legend-item {
                font-size: 9px;
                gap: 4px;
                padding: 1px 0;
            }

            .legend-color {
                width: 14px;
                height: 10px;
            }

            /* Attribution mobile en onglet */
            .leaflet-control-attribution {
                font-size: 9px !important;
                margin-bottom: 90px !important; /* Descendu de 30px (120px - 30px) */
                margin-right: 5px !important;
                max-width: 180px !important;
            }

            /* Échelle mobile en onglet */
            .leaflet-control-scale {
                font-size: 9px !important;
                margin-bottom: 50px !important; /* Descendu de 100px (150px - 100px) */
                margin-right: 5px !important;
                padding: 3px 5px !important;
            }

            /* Bouton de retour vers les contrôles - descendu de 30px */
            .back-to-controls {
                bottom: 90px; /* Descendu de 30px (120px - 30px) */
                right: 15px;
            }

            .custom-popup {
                max-width: 80vw; /* Réduit de 95vw à 80vw */
                min-width: 200px; /* Réduit de 250px à 200px */
            }

            .custom-popup-close {
                width: 40px;
                height: 40px;
                font-size: 20px;
                top: -12px;
                right: -12px;
            }

            /* Optimisations pour très petits écrans */
            @media (max-width: 360px) {
                .header h1 {
                    font-size: 14px;
                }
                
                .panel-section {
                    padding: 12px 10px;
                }

                .mobile-tab-button {
                    padding: 12px 8px;
                    font-size: 13px;
                }

                .back-to-controls {
                    padding: 10px 16px;
                    font-size: 13px;
                    min-width: 120px;
                    bottom: 70px;
                }

                .map-legend {
                    bottom: 5px;
                    max-width: 120px;
                    min-width: 100px;
                }

                .leaflet-control-attribution {
                    margin-bottom: 110px !important;
                }

                .leaflet-control-scale {
                    margin-bottom: 140px !important;
                }
            }
        }

        /* DESKTOP - Layout côte-à-côte */
        @media (min-width: 769px) {
            .mobile-tabs {
                display: none !important;
            }

            .mobile-tab-content {
                display: flex !important;
                flex-direction: row;
                height: 100vh;
                width: 100%;
            }

            .main-content {
                flex-direction: row;
                overflow: hidden;
                height: calc(100vh - 60px - 60px);
                width: 100%;
            }

            /* Onglet contrôles sur desktop - se superpose au left-panel */
            #controlsTab {
                position: absolute; /* Positionnement absolu pour superposition */
                top: 0;
                left: 0;
                width: 350px; /* Même largeur que left-panel */
                height: 100vh;
                overflow: hidden;
                z-index: 1; /* Au-dessus du left-panel */
                pointer-events: none; /* Laisse passer les clics vers left-panel */
            }

            .left-panel {
                width: 350px;
                height: 100%;
                border-right: 2px solid #667eea; /* Bordure droite restaurée */
                border-bottom: none;
                order: 1;
                overflow-y: auto;
                padding-bottom: 20px;
                margin: 0;
                background: white;
                position: relative;
                z-index: 2; /* Au-dessus de controlsTab */
            }

            /* Onglet carte sur desktop - occupe tout l'espace à droite */
            #mapTab {
                flex: 1; /* Prend tout l'espace restant */
                height: 100vh;
                overflow: hidden;
                margin: 0;
                padding: 0;
                margin-left: 350px; /* Commence après le panneau de 350px */
                width: calc(100% - 350px); /* Largeur = total - panneau */
            }

            .map-container {
                height: 100vh;
                width: 100%;
                position: relative;
                margin: 0;
                padding: 0;
            }

            #map {
                height: 100vh;
                width: 100%;
                margin: 0;
                padding: 0;
            }

            .back-to-controls {
                display: none !important;
            }

            /* Légende desktop */
            .map-legend {
                bottom: 150px;
                left: 5px;
                max-width: 180px;
                min-width: 160px;
                padding: 12px;
            }

            .legend-horizontal {
                gap: 6px;
            }

            .legend-item {
                font-size: 11px;
                gap: 8px;
            }

            .legend-color {
                width: 18px;
                height: 14px;
                border-radius: 3px;
            }

            .legend-title {
                font-size: 12px;
                margin-bottom: 8px;
            }

            .footer-bar {
                position: fixed;
                bottom: 0;
                left: 350px;
                right: 0;
                z-index: 1000;
                order: unset;
                border-radius: 0;
                padding: 12px 15px;
                height: 60px;
                box-sizing: border-box;
            }

            /* Attributions desktop */
            .leaflet-control-attribution {
                margin-bottom: 90px !important;
                font-size: 11px !important;
                margin-right: 12px !important;
                max-width: 300px !important;
            }

            /* Échelle desktop */
            .leaflet-control-scale {
                margin-bottom: 120px !important;
                font-size: 11px !important;
                margin-right: 12px !important;
                padding: 6px 8px !important;
            }

            .custom-popup {
                max-width: 60vw; /* Réduit de 70vw à 60vw pour desktop */
                min-width: 280px; /* Largeur minimale appropriée pour desktop */
            }

            .panel-header {
                padding: 20px 15px;
            }

            .panel-section {
                padding: 20px 15px;
            }

            .panel-section h3 {
                margin-bottom: 15px;
                gap: 8px;
            }
        }

        /* Optimisations pour les écrans avec encoche */
        @supports (padding-top: env(safe-area-inset-top)) {
            .header {
                padding-top: calc(10px + env(safe-area-inset-top));
            }
            
            .footer-bar {
                padding-bottom: calc(15px + env(safe-area-inset-bottom));
            }

            @media (min-width: 769px) {
                .footer-bar {
                    padding-bottom: calc(12px + env(safe-area-inset-bottom));
                    height: calc(60px + env(safe-area-inset-bottom));
                }
                
                .main-content {
                    height: calc(100vh - 60px - 60px - env(safe-area-inset-bottom));
                }
                
                .leaflet-control-attribution {
                    margin-bottom: calc(90px + env(safe-area-inset-bottom)) !important;
                }
                
                .leaflet-control-scale {
                    margin-bottom: calc(120px + env(safe-area-inset-bottom)) !important;
                }
            }
        }

        /* Styles de base pour tous les appareils */
        .map-container,
        #map {
            will-change: transform;
            transform: translateZ(0);
            -webkit-touch-callout: none;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }

        .leaflet-container {
            background-color: #e8f4f8;
        }

        .leaflet-control-container {
            pointer-events: auto;
        }

        .leaflet-popup-pane,
        .leaflet-control {
            touch-action: auto;
        }

        /* Optimisations pour mobile */
        @media (max-width: 768px) {
            .map-container,
            #map {
                touch-action: pan-x pan-y pinch-zoom;
            }
            
            .leaflet-container {
                touch-action: pan-x pan-y pinch-zoom !important;
            }
        }

        /* Pour desktop */
        @media (min-width: 769px) {
            .leaflet-container {
                cursor: grab;
            }
            
            .leaflet-container.leaflet-drag {
                cursor: grabbing;
            }
        }

        /* Désactiver la sélection de texte sur les éléments interactifs */
        .help-icon,
        .legend-item,
        .mobile-tab-button,
        .back-to-controls {
            user-select: none;
            -webkit-user-select: none;
            -webkit-touch-callout: none;
        }

        /* RÈGLES SPÉCIFIQUES LEAFLET - SPÉCIFICITÉ (0,2,0) */
        
        /* Téléphone - Attribution et contrôles cachés */
        @media (max-width: 768px) {
            .leaflet-touch .leaflet-control-attribution,
            .leaflet-touch .leaflet-control-layers,
            .leaflet-touch .leaflet-bar {
                bottom: -100px;
            }

            .leaflet-bottom .leaflet-control-scale {
                margin-bottom: 5px;
                bottom: -220px;
            }
			.leaflet-control-zoom leaflet-bar leaflet-control{
			 bottom: 5px;
			}
			.leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar {
			border: 2px solid rgba(0, 0, 0, 0.2);
			background-clip: padding-box;
			top: 5px;
		}
        }

        /* Ordinateur - Attribution visible, échelle cachée */
        @media (min-width: 769px) {
            .leaflet-touch .leaflet-control-attribution,
            .leaflet-touch .leaflet-control-layers,
            .leaflet-touch .leaflet-bar {
                bottom: 40px;
            }

            .leaflet-bottom .leaflet-control-scale {
                margin-bottom: 5px;
                bottom: -70px;
            }
			.leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar {
			border: 2px solid rgba(0, 0, 0, 0.2);
			background-clip: padding-box;
			top: 5px;
		}
        }
		@media (max-width: 768px) {
    @media (max-width: 360px) {
        .back-to-controls {
            padding: 10px 16px;
            font-size: 13px;
            min-width: 120px;
            bottom: 80px;
        }
    }
}