:root {
    --primary-blue: #17a2b8;
    --border-color: #333;
    --radius-sm: 4px;
    --shadow-md: 0 2px 10px rgba(0,0,0,0.3);
}
nav a {
  padding: 10px 15px;
  text-decoration: none;
  background-color: transparent;
  border-radius: 5px;
}
.arabic-text {
  direction: rtl;
  text-align: right; /* Ensures the text is also aligned to the right margin */
}

/* Structure principale */
.map {
    width: 100%;
    height: 100vh-56px;
    position: relative;
    overflow: hidden;
}
/* Conteneurs centrés (Top & Bottom) */
.container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    padding: 8px;
    Top: 20px; /* Plus propre que top: 96% */
    color: #fff;
    background-color: transparent;
    border-radius: var(--radius-sm);
    font-family: monospace;
}
/* select a city */
.citySelect {
    padding: 8px;
    z-index: 1000;
    background: white; /* 'transparent' rend souvent le texte illisible sur une carte */
    border-radius: var(--radius-sm);
    border: 1px solid #ccc;
}
/* Style pour les boutons personnalisés (Zoom / Fullscreen) */
.map-controls {
    position: absolute;
    top: 220px;
    right: 10px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.custom-btn {
    background-color: white;
    border: 2px solid rgba(0,0,0,0.2);
    border-radius: 4px;
    width: 34px;
    height: 34px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background 0.3s;
}

.custom-btn:hover {
    background-color: #f4f4f4;
    color: #3498db;
}

/* Correction Leaflet en plein écran */
#map:-webkit-full-screen { width: 100% !important; height: 100% !important; }
#map:-moz-full-screen { width: 100% !important; height: 100% !important; }
#map:full-screen { width: 100% !important; height: 100% !important; }


