body{
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
}

section { /* Estilos para las secciones de todas las páginas */
    padding: 20px;
}

/* INICIO */
.intro {
    text-align: center;
    background-color: #e8f5e9;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

/* ZONAS */
.listaZonas ul {
    margin-top: 5vh;
    list-style: inside; /* Eliminamos los estilos propios de la lista */
    padding: 0;
    margin-left: 1vw;
    font-size: 20px;
}

.listaZonas li {
    margin-top: 3vh;
    margin-left: 1.5vw;
}

.listaZonas li a {
    text-decoration: none;
    color: #4caf50;
}

.listaZonas ul li a:hover {
    text-decoration: underline;
}

/* VER ZONA */

.descripcion {
    text-align: center;
    margin-right: 10vw;
    margin-left: 10vw;
}
.datos {
    display:flex;
    flex-direction:row;
    gap:15px;
    margin-left: 37vw
}

h3 span {
    color: #4CA452;
}

.carousel {
    position: relative;
    margin-left: 40vw;
    width: 45vw;
    max-width: 45vh;
    max-height: 25vh;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  
  .carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }
  
  .carousel-img {
    width: 100%;
    height: 25vh;
    flex-shrink: 0;
  }
  
  .carousel-track img {
    max-width: 500px;
    display: block;
  }
  
  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
  }
  
  .prev-btn {
    left: 10px;
  }
  
  .next-btn {
    right: 10px;
  }
  
  .carousel-btn:focus {
    outline: none;
  }

/* ADMINISTRACIONES */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: #f9f9f6;
    text-align: center;
}

table a {
    text-decoration: none;
    color: black;
}

th {
    background-color: #4CA452;
    color: white!important;
    font-weight: bold;
    padding: 12px;
    border: 1px solid #ddd;
}

td {
    padding: 10px;
    border: 1px solid #ddd;
}

tr:nth-child(even) {
    background-color: #e8f5e9;

}

tr:nth-child(odd) {
    background-color: #f1f8e9;
}

td,th {
    font-size: 16px;
    color: #333;
}

td[colspan] {
    text-align: right;
    background-color: #c8e6c9;
    font-style: italic;
}

.botones {
    margin-left: 87vw;
}

.acciones {
    gap: 10vw;
    margin-top: 5vh;
    margin-left: 44.5vw;
}

/* DETALLES ZONAS */
.formularioDetalles {
    display: flex;
    flex-direction: row;
    margin-bottom: 10vh;
    padding: 10px;
}

.formularioDetalles input {
    padding: 6px;
    margin-bottom: 10px;
    width: 20vw;
}

.tituloZona {
    margin-left: 0.5vw;
    width: 20vw;
}

.divZona {
    display: flex;
    flex-direction: column;
}

.divEtiquetas {
    margin-top: 3vh;
    margin-left: 2vw;
}

.divContactosRecursos {
    display: flex;
    flex-direction: column;
    margin-top: 3vh;
    margin-right: 10vw;
}

.divContactosRecursos select{
    margin-bottom: 3vh;
    margin-right: 10vw;
}

/* DETALLES ETIQUETAS */

.formularioEtiquetas {
    display: flex;
    flex-direction: row;
    padding: 15px;
    height: 20vh;
}

.formularioEtiquetas input {
    padding: 6px;
    margin-top: 3vh;
    width: 15vw;
    height: 4vh;
}

.etiquetasNuevas {
    display: flex;
    flex-direction: column;
    margin-left: 3vw;
}

.etiquetasNuevas h1 {
    margin-bottom: 10vh;
}

/* DETALLES CONTACTOS */
.formularioContactos {
    display: flex;
    flex-direction: row;
}

.formularioContactos div {
    display: flex;
    flex-direction: column;
    padding: 12px;
    height: 47vh;
}

.formularioContactos input {
    padding: 6px;
    margin-bottom: 1.5vh;
    height: 4vh;
    width: 20vw;
}

/* DETALLES RECURSOS */
.formularioRecursos {
    display: flex;
    flex-direction: row;
    padding: 12px;
    height: 40vh;
    margin-top: 8vh;
}

.formularioRecursos input {
    padding: 6px;
    height: 4vh;
    width: 20vw;
    margin-top: 4vh;
}

.inputsImagenes {
    display: flex;
    flex-direction: column;
    margin-left: 20vh;
}

.inputsImagenes input {
    margin-top: 0;
    height: 5vh;
}

/* MENSAJES DE VALIDACION */
.errores {
    color: red;
    font-size: 12px;
    margin-top: 0;
    margin-bottom: 10px;
}

.erroresEtiqueta {
    color: red;
    font-size: 12px;
    margin-top: 4vh;
    margin-left: 1vw;
}