
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: Arial, sans-serif;
  overflow: auto;
}

#titulo {
  text-align: center;
  color: white;
  background-color: #2c3e50;
  padding: 15px;
  font-size: 32px;
}

#leyenda {
  text-align: center;
  background-color: #f1c40f;
  padding: 10px;
  font-weight: bold;
  font-size: 20px;
}

#contenedor {
  display: flex;
  height: 70vh;
  overflow: hidden;
}

#map {
  flex: 70%;
  height: 100%;
}

#formulario {
  flex: 30%;
  background-color: #ecf0f1;
  padding: 15px;
  overflow-y: auto;
  border-left: 2px solid #bdc3c7;
}

#formulario label,
#formulario select,
#formulario textarea,
#formulario button,
#formulario input[type="file"] {
  display: block;
  margin-bottom: 10px;
  width: 100%;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

th, td {
  border: 1px solid #ccc;
  padding: 6px;
  text-align: center;
}

th {
  background-color: #34495e;
  color: white;
}

.scrollable {
  overflow-x: auto;
  overflow-y: auto;
  max-height: 30vh;
}

.select-col {
  width: 30px;
}

#modal, #modalTabla {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

#modal-content, #modalTablaContent {
  background-color: white;
  padding: 20px;
  max-width: 600px;
  max-height: 80vh;
  overflow: auto;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 0 10px #333;
}

#modal-content button, #modalTablaContent button {
  margin-top: 10px;
  padding: 8px 16px;
  background-color: #2c3e50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
