body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}


header {
    padding: 0.5rem 1rem;
    text-align: center;
	background-color: #007bff;
    color: white;
}

header h1 {
    font-size: 1.2rem; /* reduce el tamaño de la letra */
    margin: 0.5rem 0;  /* reduce el espacio vertical */
header {
    
}

.logo {
    max-width: 150px;
    margin-bottom: 10px;
}

.main-container, .container {
    text-align: center;
    margin: 0 auto;
    padding: 20px;
    width: 80%;
}

.form-group {
    margin: 15px 0;
}

input[type="date"], button {
    padding: 5px;
    margin-top: 5px;
    width: 70px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

canvas {
    margin-top: 20px;
    width: 100%;
    max-width: 800px;
	pointer-events: none; 
}

.leaflet-draw-tooltip, 
.leaflet-draw-tooltip-single {
  font-size: 12px;
}

/* Estilo para los vértices durante el dibujo */
.leaflet-interactive {
  stroke-width: 2;
}

.leaflet-editing-icon {
  width: 3px !important;
  height: 3px !important;
  margin-left: -3px !important;
  margin-top: -3px !important;
}


#myChart {
    width: 100% !important;
    height: 50vh !important; /* 50% de la altura de la pantalla */
}


.chart-section {
    width: 100%;
    height: auto;
    padding: 1rem;
}

#ndviEvolucionContainer {
  position: fixed;
  top: 270px;
  left: 20px;
  background: rgba(255,255,255,0.8);
  padding: 10px;
  border-radius: 5px;
  z-index: 1000;
  font-size: 16px;
}

.custom-ndvi-layer,
.leaflet-pane .custom-ndvi-layer {
  pointer-events: none !important;
  z-index: 200 !important;
}


/* Asegura que el popup esté por encima de todo */
.leaflet-popup {
  z-index: 1000 !important;
  position: relative;
}

