#address-results {
    display: none;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.search-results-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-result-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.search-result-item:hover {
    background-color: #fff;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item strong {
    color: #093192;
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
}

.address-details {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

.no-results {
    padding: 10px;
    color: #666;
}

.loading {
    padding: 10px;
    color: #666;
}

.error {
    padding: 10px;
    color: #ff0000;
}

#city-search {
    margin: 20px 0;
}

#city-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#osm-map {
    border: none;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    margin-top: 0;
    height: 100vh !important;
    min-height: 500px;
    width: 100%;
	z-index: 0;
}

.leaflet-popup-content p {
    margin: 0 0 !important;
  }

#address-list {
    margin: 20px 0;
}

#address-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#address-list li {
    margin-bottom: 10px;
}

.centre-item {
    cursor: pointer;
    color: #0073aa;
    font-weight: bold;
}

.centre-item:hover {
    text-decoration: underline;
}

/* Style Google Maps-like pour les popups */
.leaflet-popup-content-wrapper {
    background-color: #ffffff !important;
    color: #444444 !important;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    padding: 0;
}

.leaflet-popup-content {
    margin: 0;
    padding: 12px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: #444444 !important;
}

.leaflet-popup-content strong {
    color: #0066cc !important;
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
}

.leaflet-popup-tip {
    background-color: #ffffff !important;
}

.leaflet-popup-close-button {
    color: #666666 !important;
}

.leaflet-popup-close-button:hover {
    color: #000000 !important;
}

/* Style des contrôles de la carte */
.leaflet-control-zoom {
    border: none !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2) !important;
}

.leaflet-control-zoom a {
    background-color: #ffffff !important;
    color: #444444 !important;
    border: none !important;
    width: 30px !important;
    height: 30px !important;
    line-height: 30px !important;
    font-size: 18px !important;
}

.leaflet-control-zoom a:hover {
    background-color: #f5f5f5 !important;
    color: #000000 !important;
}

/* Style des marqueurs au survol */
.leaflet-marker-icon {
    transition: transform 0.3s ease;
}

.leaflet-marker-icon:hover {
    transform: scale(1.2);
}

/* Style pour le conteneur parent de la carte */
.leaflet-container {
    height: 100%;
    width: 100%;
}

/* Style pour s'assurer que les contrôles de la carte sont bien positionnés */
.leaflet-control-container {
    position: absolute;
    z-index: 1000;
}

/* Animation pour les marqueurs sélectionnés */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.leaflet-marker-icon.selected {
    animation: pulse 1.5s infinite;
}

.map-popup {
    padding: 5px;
    max-width: 350px;
}


.map-popup p {
    margin: 5px 0;
    font-size: 14px;
    line-height: 1.4;
}

.map-popup .address {
    color: #000957;
    font-weight: 500;
}

.map-popup .city {
    color: #000957;
}

.map-popup .phone {
    font-weight: 700;
    color: #093192;
}

.map-popup .hours {
    color: #000000;
    margin: 10px 0;
}

.map-popup .hours p {
    margin: 3px 0;
    font-size: 13px;
    line-height: 1.4;
}

.map-popup .hours strong {
    color: #d35400;
    font-weight: 600;
    margin-right: 5px;
}

.map-popup .services {
    color: #3498db;
    font-size: 13px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

/* Style des popups Leaflet */
.leaflet-popup-content-wrapper {
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.leaflet-popup-content {
    margin: 10px 15px;
}

.leaflet-popup-tip {
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.department-addresses-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 30px 0;
}

.department-addresses-map {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.department-addresses-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.franchise {
	 color: #000957;
    font-weight: 600;
	font-size: 18px;
	line-height:0.4;
	margin-bottom:25px;
}

.address-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.address-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.address-card h3 {
    color: #000957;
    font-size: 18px;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.address-card .address {
    color: #000957;
    font-weight: 500;
    margin: 10px 0;
}

.address-card .city {
    color: #000957;
    margin: 5px 0;
}

.address-card .phone {
    color: #093192;
    font-weight: 700;
    margin: 10px 0;
}

.address-card .hours {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.address-card .hours p {
    margin: 5px 0;
    font-size: 14px;
    line-height: 1.4;
}

.address-card .hours strong {
    color: #000957;
    font-weight: 600;
    margin-right: 5px;
}

/* Style pour le format compact des adresses */
.compact-addresses-container {
    display: grid;
	grid-template-columns: repeat(3, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.compact-address-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.compact-address-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.compact-address-content {
    padding: 20px;
    flex: 1;
}

.compact-address-content h4 {
    color: #000957;
    font-size: 20px;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.compact-address-content .address {
    color: #000957;
    font-weight: 500;
    margin: 10px 0;
    font-size: 15px;
}

.compact-address-content .city {
    color: #000957;
    margin: 5px 0;
    font-size: 15px;
}

.compact-address-content .phone {
    color: #093192;
    font-weight: 700;
    margin: 15px 0;
    font-size: 15px;
}

.compact-address-content .phone strong {
    display: block;
    margin-bottom: 5px;
    color: #000957;
}

.compact-address-content .hours {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.compact-address-content .hours p {
    margin: 5px 0;
    font-size: 13px;
    line-height: 1.4;
    color: #666;
}

.compact-address-content .hours strong {
    color: #000957;
    font-weight: 600;
    margin-right: 5px;
}

.compact-address-map {
    width: 100%;
    height: 200px;
    border-top: 1px solid #eee;
	z-index:0;
}

.compact-address-map .leaflet-container {
    border-radius: 0;
}


@media screen and (min-width: 320px) and (max-width: 768px) {
    .compact-addresses-container {
        grid-template-columns: repeat(1, minmax(300px, 1fr));
		gap:0;
    }
	
.accordion {
width:auto !important;
	max-width:300px;
	padding-left:20px !important;
	padding-right:20px !important;
}
	
	.compact-address-card {
		margin-bottom:20px;
	}
	
}

@media screen and (min-width: 769px) and (max-width: 1280px) {
    .compact-addresses-container {
        grid-template-columns: repeat(2, minmax(300px, 1fr));
    }
	.accordion {
width:auto !important;
		padding-left:20px !important;
		padding-right:20px !important;
}
	
	
}



/* Style pour la fiche centre auto */

.fiche-address-content h3 {
	font-size:20px !important;
	
}


/* Styles pour les QR codes */
.qr-container {
    text-align: center;
    margin: 20px 0;
}

.qr-code-map,
.qr-code-map-cached {
    display: inline-block;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.qr-code-map:hover,
.qr-code-map-cached:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.qr-address {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
    font-style: italic;
}

.qr-error {
    background: #ffebee;
    border: 1px solid #f44336;
    color: #c62828;
    padding: 12px;
    border-radius: 6px;
    margin: 10px 0;
    font-size: 14px;
}

.qr-debug {
    background: #f5f5f5;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
    font-family: monospace;
    font-size: 12px;
}

.qr-debug h4 {
    margin-top: 0;
    color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .qr-code-map,
    .qr-code-map-cached {
        max-width: 90vw;
        height: auto;
    }
}


/* Styles pour les QR codes */
.qr-container {
    text-align: center;
    margin: 20px 0;
}

.qr-code-map,
.qr-code-map-cached {
    display: inline-block;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.qr-code-map:hover,
.qr-code-map-cached:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.qr-address {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
    font-style: italic;
}

.qr-error {
    background: #ffebee;
    border: 1px solid #f44336;
    color: #c62828;
    padding: 12px;
    border-radius: 6px;
    margin: 10px 0;
    font-size: 14px;
}

.qr-debug {
    background: #f5f5f5;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
    font-family: monospace;
    font-size: 12px;
}

.qr-debug h4 {
    margin-top: 0;
    color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .qr-code-map,
    .qr-code-map-cached {
        max-width: 90vw;
        height: auto;
    }
	
}

/* Lien autour du QR code */
a .qr-code-map,
a .qr-code-map-cached {
    cursor: pointer;
}

a:hover .qr-code-map,
a:hover .qr-code-map-cached {
    border-color: #007cba;
}







/* Lien autour du QR code */
a .qr-code-map,
a .qr-code-map-cached {
    cursor: pointer;
}

a:hover .qr-code-map,
a:hover .qr-code-map-cached {
    border-color: #007cba;
}


/* QR code Waze */

.qr-code-waze {
    display: inline-block;
    border: 2px solid #00d4ff;
    border-radius: 8px;
    padding: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,212,255,0.2);
    transition: transform 0.2s ease;
}

.qr-code-waze:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,212,255,0.3);
}

/* Style pour les liens */
a .qr-code-waze {
    cursor: pointer;
}

a:hover .qr-code-waze {
    border-color: #0099cc;
}







