@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}
body {
  color: #00172D;
  font-family: 'Montserrat', sans-serif;
  scroll-behavior: smooth;
  font-size: 14px;   /* taille précise */
  font-weight: 500;    /* semi-gras */
}
.sidebar {
  width: 400px;
  background-color: #f4f4f4;
  display: flex;
  flex-direction: column;
  height: 100%;
  flex-shrink: 0;
}
.map-container {
  flex: 1;
  height: 100%;
}
.sidebar-panel {
  border-bottom: 1px solid black;
  overflow-y: auto;
}
.icon-btn {
  background-color: #dcdcdc;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
}
.icon-btn:hover {
  background-color: #c4c4c4;
}
.icon-bar {
  display: flex;
}
.icon-bar button {
  flex: 1;
  border-right: 1px solid black;
}
.icon-bar button:last-child {
  border-right: none;
}
.section-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid black;
  padding-bottom: 0.25rem;
}
.section-box {
  background-color: #ffffff;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
#parcelleInfo {
  background: white;
  border: 2px solid #48BFCF;
  padding: 5px;
  margin-top: 0.75rem;
  font-size: 12px;
  white-space: normal;
}
#parcelleInfo .section-title{
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  color: #009fb7;
  margin-bottom: 12px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 5px;
}
#parcelleInfo .label {
  font-weight: bold;
  color: #333;
}
#parcelleInfo .value {
  color: #e67e22;
  font-weight: bold;
}
#mapExport {
  height: 400px;
}
#map {
  height: 100%;
  border: 4px solid #052d63;
}
.leaflet-control-attribution {
  display: none !important;
}

#mapExport {
  height: 400px;
}
#mapFooter {
    margin-left: 0 !important; /* Très important */
}

#mapFooter {
    background: #2c2c2c;              /* même fond sombre que ton image */
    color: #dcdcdc;
    padding: 4px 10px;
}

/* Style texte "Coord :", "Zoom :", "Échelle :" */
#mapFooter span strong {
    font-weight: 500;
    color: #e6e6e6;
}

/* Le petit cadre gris clair autour des valeurs */
.footer-box {
    background: #b9b9b9;              /* gris comme ton exemple */
    color: #000;                      /* texte noir */
    padding: 1px 6px;
    border: 1px solid #7a7a7a;        /* fine bordure */
    border-radius: 2px;
    font-weight: 500;
    margin-left: 4px;
    min-width: 80px;                  /* optionnel, pour aligner */
    display: inline-block;
}

.leaflet-draw-tooltip {
    background: #222 !important;
    color: #fff !important;
    font-size: 12px !important;
    border-radius: 6px !important;
    padding: 6px 10px !important;
    border: 1px solid #555 !important;
}
