/* ------------------- CONFIGURACIÓN GENERAL ------------------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');
body {
    background: url('admin/img/cabecera');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative; /* Asegura que el body sea relativo para el pseudo-elemento */
    box-sizing: border-box;
    
}
.div-cambiable{
    margin-top:25px;
    display: flex;
     justify-content: space-around; /* Espacia los divs uniformemente */
    align-items: center;   /* Alinea los elementos verticalmente */
    gap: 20px;             /* Espaciado entre los divs */
    flex-wrap: wrap; 
}
.editableDiv{
    border-radius: 20px;
  display: flex; /* Activa el diseño en fila */
    align-items: center; /* Alinea verticalmente */
    justify-content: space-between;
    width: 30%;
    border: 1px solid #ccc;
    padding: 20px;
    background-color: #f9f9f9;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}
.editableDiv img{
    max-width: 50%;
    border-radius:10px ;
}
.editableDiv p{
    padding: 0px;
    margin: 0px;
    font-size: 1vw
}
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 255, 0.5), rgba(128, 0, 128, 0.5));
    z-index: -1; /* Asegura que esté detrás del contenido pero sobre la imagen */
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    form {
        width: 70% !important; /* Ocupa todo el ancho de la pantalla */
        max-width: none !important;
        font-size: 20px !important; /* Aumenta el tamaño de la fuente */
        padding: 30px !important; /* Más espacio interno */
    }

    input[type="text"], 
    input[type="email"], 
    input[type="date"], 
    select, 
    textarea {
        width: 100% !important; /* Que los campos ocupen todo el ancho */
        font-size: 20px !important; /* Letras más grandes */
        padding: 10px !important; /* Más espacio en los campos */
    }

    button {
        font-size: 22px !important; /* Botón más grande */
        padding: 18px !important;
        width: 100% !important;
    }
    .editableDiv p{
    padding: 0px;
    margin: 0px;
    font-size: 2vw
}
}

#cabe{
      font-family: 'Poppins', sans-serif;
    color: #fff;
    
    padding: 0;
    margin: 0px;
}
#cabes{
      font-family: 'Poppins', sans-serif;
    color: #fff;
    
    padding: 0;
    margin: 10px;
}


h2 {
    color: #16697A;
    font-weight: 600;
    font-size: 26px;
}

form {
   background: rgba(255, 255, 255, 0.1); /* Más transparente */
    backdrop-filter: blur(8px); /* Difuminado */
    -webkit-backdrop-filter: blur(8px); /* Compatibilidad Safari */
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 90%; /* Que se adapte en móviles */
    max-width: 400px; /* No muy grande en pantallas grandes */
    text-align: center;
    margin: auto;
    color: #fff;
}


/* ------------------- ESTILO GENERAL DE INPUTS Y SELECT ------------------- */
label {
    
    font-weight: 500;
    display: block;
    margin-top: 10px;
    color: #fff;
    font-size: 16px;
}

input[type="text"], 
input[type="date"],
input[type="password"],
select {
    width: 80%;
    padding: 12px;
    margin-top: 5px;
    border: 2px solid #FFF;
    border-radius: 6px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to right, purple, blue); 
    color: #FFF;
    transition: all 0.3s ease-in-out;
        background: linear-gradient(to right, purple, blue)!important;
}

input:focus, select:focus {
    background: linear-gradient(to right, purple, blue)!important; 
    outline: none;
}

/* ------------------- DISEÑO MEJORADO PARA EL SELECT ------------------- */
select {
    appearance: none; /* Oculta el estilo predeterminado del navegador */
    cursor: pointer;
    font-weight: 500;
    background: linear-gradient(to right, purple, blue)!important; 
    border-radius: 6px;
    padding: 12px;
    color: #FFF;
    font-size: 14px;
    text-align: center;
    position: relative;
}

/* Agregar un icono de flecha personalizada */
select {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="%2316697A"><path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" /></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 15px;
    padding-right: 35px;
     background: linear-gradient(to right, purple, blue); 
}

/* Estilo cuando pasas el mouse */
select:hover {
    background: linear-gradient(to right, purple, blue); 
}

/* Estilo cuando está seleccionado */
select:focus {
    background: linear-gradient(to right, purple, blue)!important; 
    outline: none;
    box-shadow: 0px 0px 8px rgba(22, 105, 122, 0.5);
    color: black;
    border-radius: 25px;
}
#realizado{
    margin:0 !important;
    font-size:2vw!important;
    box-shadow: ;
}
.realizado{
    width: auto!important;
    height: auto!important;
    align-content: center;
    padding: 0!important;
}
td{
    color:#fff ;
    border: solid 2px #fff;
}
th{
     color:#fff ;
    border: solid 2px #fff; 
}
/* ------------------- ESTILO DE BOTONES ------------------- */
button {
    background: linear-gradient(to right, purple, blue);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 6px;
    margin-top: 15px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    transition: background 0.3s ease-in-out;
}

button:hover {
    background-color: #489FB5;
}


/* Contenedor de la política */
.politica-container {
    margin-top: 15px;
    text-align: left;
    position: relative;
}

/* Texto clickeable */
.btn-politica {
    background-color: transparent;
    color: #fff;
    border: none;
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    display: block;
    width: 100%;
    text-align: left;
}

/* Caja de la política (oculta al inicio) */
.politica-texto {
     background: linear-gradient(to right, purple, blue); 
    padding: 0 10px; /* Sin espacio cuando está oculta */
    border: 1px solid #489FB5;
    border-radius: 4px;
    font-size: 12px;
    margin-top: 5px;
    color: #fff;
    max-height: 0;
    overflow: hidden; /* Para que desaparezca completamente */
    transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
}

/* Mostrar el texto cuando el usuario lo despliega */
.politica-texto.mostrar {
    text-align: center;
    font-size: 15px;
    max-height: 200px; /* Ajusta la altura para que sea visible */
    padding: 10px;
}

/* Configuración general */
body {
    font-family: 'Arial', sans-serif;
    background-color: #82C0CC;
    color: #16697A;
    text-align: center;
    margin: 0;
    padding: 0;
}

/* Título */
.titulo{
    color: #16697A;
    font-size: 30px;
    font-weight: 600;
    background-color: #EDE7E3;
    padding: 25px;
    margin: 0;
}

/* Contenedor principal del carrusel */
.carrusel {
    position: relative;
    width: 100%;
    height: 550px; /* Altura fija para evitar saltos */
    margin: 0 20px 20px ;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contenedor de las imágenes */
.slide-container {
    justify-content: center;
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
    object-fit: cover;
}

/* Estilo de cada slide dentro del carrusel */
.slide-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que todas las imágenes ocupen el espacio sin deformarse */
    border-radius: 10px;
}



/* Posición de los botones */
.prev {
    left: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.6);
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 20px;
    color: #16697A;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    display: none;
}

.next {
    display: none;
    right: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.6);
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 20px;
    color: #16697A;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

/* Efecto hover */
button:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

/* Elimina el contorno al hacer clic */
button:focus {
    outline: none;
}
footer{
    margin-bottom: 0px;
    margin: 0px;
    border-radius: 30px 30px 0 0 !important;
    color: #fff;
    text-align: center;
    padding: 0px;
    bottom: 0;
    left: 0;
    color: black;
    background-color: #fff;
    

}
footer h1{
    bottom: 15px
}
.footer-a{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Espacio entre los elementos */
    padding: 10px;
}

footer a {
    display: flex;
    align-items: center; /* Alinea imagen y texto en la misma línea */
    text-decoration: none;
    color: black;
    font-size: 16px;
    gap: 8px; 
    color:black;

}
footer img{
    width: 20px;
    border-radius: 50%;
}
#whatsapp{
    width: 18px;
    background: linear-gradient(to right, purple, blue) !important, url('admin/img/whatsapp.jpg');
    background-size: cover;
    background-position: center;
    mix-blend-mode: multiply; 
    
}
#instagram{
    width: 20px;
}
.register {
       display: flex;
    align-items: center; /* Alinea verticalmente */
    justify-content: center; /* Centra horizontalmente */
    gap: 5px; /* Espacio entre el texto y el enlace */
    font-size: 1.2rem; /* Ajusta el tamaño de la fuente */
}
.register p {
    margin: 0; /* Elimina márgenes innecesarios */
    display: flex; /* Asegura que el texto y el enlace estén en línea */
    align-items: center;
    gap: 5px; /* Espacio entre el texto y el enlace */
}

.register a {
    text-decoration: none;
    color: blue;
    font-weight: bold;
    transition: color 0.3s ease;
}

.body-box{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
.box{
    position: relative;
    width: 200px;
    height: 200px;
    transform-style: preserve-3d;
    animation: animate 20s linear infinite;
}
@keyframes animate{
    0%{
        transform: perspective(1000px) rotateY(0deg);
    }
    100%{
        transform: perspective(1000px) rotateY(360deg);
    }
}
.box span{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: center;
    transform-style: preserve-3d;
    transform: rotateY(calc(var(--i)*45deg))translateZ(400px);
    -webkit-box-reflect:below 0px linear-gradient(transparent,transparent,#0004)
    
}
.image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    width: 100%;
    height: 100%;
}

.image-container img {
    width: 90%;
    border: 2px solid white;
    border-radius: 18px;
    height: 80%;
    object-fit: cover;
}

.descripcion {
    color: white;
    font-size: 14px;
    text-align: center;
    margin-top: 5px;
}



