.map-content {
  position: absolute;
  display: flex;
  flex-wrap: wrap;
  right: 3%;
  bottom: 5%;
  justify-content: right;
}

.table-title {
  display: block;
  font-weight: 600;
  font-size: 18px;
  color: #364955;
}

.info-table {
  width: 100%;
  max-width: 500px;
  border-collapse: collapse;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 20px 0;
  overflow: hidden;
  border-radius: 10px;
}

.info-table thead tr {
  background-color: #21177071;
  /* background: linear-gradient(to right, #00d2ff, #36a9e0); */
  color: white;
  text-align: left;
  font-weight: bold;
}

.info-table th,
.info-table td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.info-table tbody tr:last-child td {
  border-bottom: none;
}

.info-table tbody tr:hover {
  background-color: rgba(54, 73, 85,0.25);
}

.paragraph {
  margin-bottom: 0%;
  font-weight: 150;
  font-size: 15px;
  color: #364955;
  top: -50px;
}

#deck-container {
  width: 68vw;
  height: 85vh;
  margin-top: 6%;
}

/* Formulario de selección de comunas */
.service-form {
  position: absolute;
  left: 2%;
  top: 12%;
  width: 90%;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
  z-index: 100;
  /* background: rgba(255, 255, 255, 0.9); */
  padding: 20px;
  border-radius: 15px;
  /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4); */
  width: 500px;
  /* transition: all 0.3s ease; */
}

/* .service-form:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  } */

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

.form-label {
  display: block;
  font-weight: 600;
  font-size: 18px;
  color: #364955;
  margin-bottom: 10px;
}

.type-label {
  font-weight: bold;
}

.detail-small {
  font-size: small;
}

.form-select {
  width: 100%;
  padding: 12px 15px;
  font-size: 16px;
  font-family: 'Open Sans', sans-serif;
  color: #364955;
  background-color: #F1FBFF;
  border: 2px solid #BFD1DD;
  border-radius: 8px;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23364955'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 20px;
  transition: all 0.3s ease;
}

/* .form-select:focus {
  outline: none;
  border-color: #008958;
  box-shadow: 0 0 0 3px rgba(0, 137, 88, 0.2);
} */

.form-select:hover {
  outline: none;
  border-color: #008958;
  box-shadow: 0 0 0 3px rgba(0, 137, 88, 0.2);
}

.form-submit {
  width: 100%;
  padding: 12px;
  background: #008958;
  color: #F1FBFF;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit:hover {
  background: #00734d;
  transform: translateY(-2px);
}

/* TABLAS */
.table {
  position: absolute;
  left: 2%;
  top: 21%;
  /* width: 95%; */
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
  z-index: 100;
  /* background: rgba(255, 255, 255, 0.9); */
  padding: 20px;
  /* border-radius: 15px; */
  /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4); */
  width: 500px;
  transition: all 0.3s ease;
}

/* Versión responsive */
@media (max-width: 768px) {
  .navbar-space {
    height: 80px;
  }

  .service-form {
    position: static;
    top: auto;
    right: auto;
    width: 100%;
    margin: 0 auto;
  }

  .form-select {
    font-size: 14px;
    padding: 10px 12px;
  }

  .map-content {
    position: static;
    justify-content: center;
  }

  .table {
    position: static;
  }

  .table-container {
    width: 100%;
    overflow-x: auto;
  }

  #deck-container {
    width: 80vw;
    height: 45vh;
    margin-top: 0;
  }
}