* {
    font-family: Italic;
    margin: 0%;
    padding: 0%;
    box-sizing: border-box;
    overflow: hidden;
    color: white;
}

/*-------------------- HEADER -----------------------------------------------------------------------------------------------------------------------*/
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    height: 100px;
    background-color: transparent;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    z-index: 3;
    box-sizing: border-box;
    backdrop-filter: blur(1px);
    background-color: rgba(255, 255, 255, 0.1);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 8rem;
    margin-right: 10px;
}

a {
    text-decoration: none;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    font-size: 2.5rem;
    font-weight: bold;
}

li {
    display: inline-block;
}

header i {
    color: #fff;
    padding: 15px;
    width: 70px;
    height: 70px;
    border-radius: 22%;
    margin: 0px 2px;
    cursor: pointer;
    transition: all 0.5s;
    font-size: 38px;
}

header i:hover{
    background-color: rgba(255, 255, 255, 0.1);
    color: rgb(223, 104, 7);
}

header i::before {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

/*-------------------- CONTAINER -------------------------------------------------------------------------------------------------------------------*/
.container {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: transparent;
}

input[type="radio"]{
    display: none;
}


.slider button {
    visibility: hidden;
    display: none;
}

.buttons {
    position: fixed;
    right: 0px;
    top: 58%;
    width: 250px;
    height: 90%;
    background-color: rgba(0,0,0, 0.5);
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    padding: 200px 25px;
    gap: 40px;
    z-index: 2;
}

input[type="radio"]{
    display: none;
}

.buttons label {
    width: 200px;
    height: 50px;
    opacity: 0.5;
    text-align: center;
    cursor: pointer;
    z-index: 1;
    transition: 300ms ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    position: relative;
}

.buttons label:hover {
    scale: 1.2;
    opacity: 1;
    color: rgb(223, 104, 7);
    font-weight: bold;
}

.slider input:nth-child(1):checked ~ .buttons label:nth-child(1),
.slider input:nth-child(2):checked ~ .buttons label:nth-child(2),
.slider input:nth-child(3):checked ~ .buttons label:nth-child(3),
.slider input:nth-child(4):checked ~ .buttons label:nth-child(4),
.slider input:nth-child(5):checked ~ .buttons label:nth-child(5){
    opacity: 1;
    transform: scale(1.2);
    width: 200px;
    font-weight: bold;
}

.content {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    overflow: hidden;
}

.firstslide, .secondslide, .thirdslide, .fourthslide, .fifthslide, .sixthslide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.firstslide::before, .secondslide::before, .thirdslide::before, 
.fourthslide::before, .fifthslide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 0;
    pointer-events: none;
}

.text-container {
    overflow: visible;
    position: absolute;
    width: 84%; /* Ajusta el ancho */
    left: 0; /* Alinea a la derecha */
    top: 50%; /* Centra verticalmente */
    transform: translateY(-50%);
    padding: 40px;
    text-align: center; /* Alinea el texto a la derecha */
}

/*-------------------- HOME ----------------------------------------------------------------------------------------------------------------------------*/

.firstslide {
    background-image: url('imagenes/Home/FondoHome.png');
}

.slider input:nth-child(1):checked ~ .content .firstslide {
    opacity: 1;
    z-index: 1;
}

.text-container-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 120px; /* Igual margen que los textos */
    width: 90%;
}


.text-content {
    flex: 1;
    position: relative; /* Para que el botón Descubrir funcione con absolute */
}

h1 {
    font-size: 5rem;
    color: white;
    text-align: left;
    margin-left: 280px;
    position: relative;
    margin-bottom: 50px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

h2 {
    color: white;
    text-align: justify;
    margin-left: 120px;
    white-space: pre-line;
    font-size: 1.5rem;
    font-weight: lighter;
    position: relative;
}

h3 {
    color: white;
    text-align: left;
    margin-left: 120px;
    white-space: pre-line;
    font-size: 2rem;
    position: relative;
}

.Descubrir {
    position: absolute;
    width: auto;
    left: 30%;
    transform: translateX(-50%);
    bottom: -80px;
    padding: 15px 100px;
    border-radius: 30px;
    background: linear-gradient(144deg, rgba(0, 0, 0, 1) 0%, rgb(223, 104, 7) 100%);
    color: black;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    max-width: 90%; /* Ensure it doesn't overflow on smaller screens */
    white-space: nowrap; /* Prevent text from wrapping */
    overflow: hidden;
    text-overflow: ellipsis; /* Add ellipsis if text is too long */
}

.Descubrir:hover {
    background-color: rgba(223, 104, 7, 1);
    color: white;
    transform: translateX(-50%) scale(1.05);
}

.image-container {
    flex: 1;
    text-align: right;
}

.image-container img {
    position: relative;
    left: -5%;
    margin-top: 10%;
    max-width: 500px;  /* o el tamaño que prefieras, por ejemplo: 250px */
    height: auto;
    object-fit: contain;
    opacity: 80%
}

/*-------------------- ¿QUIENES SOMOS? --------------------------------------------------------------------------------------------------------------*/

.secondslide {
    background-image: url('imagenes/Home/FondoHome.png');
}

.slider input:nth-child(2):checked ~ .content .secondslide {
    opacity: 1;
    z-index: 1;
}

.about-title {
    font-size: 3.5rem;
    color: white;
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 1px;
}

.contenido-principal {
    overflow: visible;
    display: flex;
    gap: 30px;
    align-items: stretch;
    justify-content: center;
    margin-bottom: 60px;
}

section1 {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    margin-bottom: -40px;
    background: rgba(236, 240, 243, 0.92);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.icon-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.icon-title i {
    font-size: 2rem;
    color: rgb(223, 104, 7);
}

h4 {
    font-size: 2rem;
    color: #333;
    text-align: center;
    margin: 0;
    position: relative;
    display: inline-block;
    font-weight: 700;
}

h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgb(223, 104, 7);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

h5 {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    text-align: justify;
    font-weight: 400;
}

.equipo-container {
    position: absolute;
    width: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: -50px;
    padding: 15px 100px;
    border-radius: 30px;
    background: linear-gradient(144deg, rgba(0, 0, 0, 1) 0%, rgb(223, 104, 7) 100%);
    color: black;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    max-width: 90%; /* Ensure it doesn't overflow on smaller screens */
    white-space: nowrap; /* Prevent text from wrapping */
    overflow: hidden;
    text-overflow: ellipsis; /* Add ellipsis if text is too long */
}

.equipo-container:hover {
    background-color: rgba(223, 104, 7, 1);
    color: white;
    transform: translateX(-50%) scale(1.05);
}

h6 {
    font-size: 1.2rem;
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
}

/*-------------------- NUESTRO EQUIPO --------------------------------------------------------------------------------------------------------------------*/

section2 {
    margin: 120px 20px 20px;
    padding: 20px;
    background:  #ecf0f3de;
    border-radius: 10px;
    display: inline-block;
}

.equipo-container-1 {
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: auto;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.equipo-fila {
    overflow: visible;
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
}

.lideres {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.miembro {
    text-align: center;
    width: 200px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.miembro:hover {
    transform: scale(1.05);
    
}

.miembro img {
    width: 100%;
    border-radius: 50%;
    margin-bottom: 10px;
    min-height: 200px;
    max-height: 200px;
    object-fit: cover;
}

bodyNuestroEquipo {
    overflow: visible;
    display: block;
    font-family: Italic;
    margin: 0%;
    padding: 0%;
    text-align: center;
    background-image: url('imagenes/Home/FondoHome.png'); /* Ruta de la imagen */
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    overflow: auto;
}

h7 {
    display: block;
    color: black;
    text-align: center;
    white-space: pre-line;
    font-size: 3rem;
    font-weight: bold;
    position: relative;
}

h8 {
    display: block;
    color: black;
    margin-top: 10px;
    font-size: 2rem;
}

h9 {
    display: block;
    margin-top: 15px;
    font-size: 1.1rem;
    color: black;
    text-align: center;
    white-space: pre-line;
    position: relative;
    font-weight: lighter;
}


.boton-volver {
    overflow: visible;
    display: inline-block;
    padding: 20px 30px;
    background: linear-gradient(144deg, rgba(0, 0, 0, 1) 0%, rgb(223, 104, 7) 100%);
    color: white;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-size: 1.4rem;

    
}

.boton-volver:hover {
    background-color: rgba(223, 104, 7, 1);
    color: white;
    transform: scale(1.05);
}

/*-------------------- NUESTROS PROYECTOS --------------------------------------------------------------------------------------------------------------*/
.thirdslide {
    background-image: url('imagenes/Home/FondoHome.png');
}

.slider input:nth-child(3):checked ~ .content .thirdslide {
    opacity: 1;
    z-index: 1;
}

.text-container-NP {
    overflow: visible;
    position: absolute;
    width: 84%; /* Ajusta el ancho */
    left: 0; /* Alinea a la derecha */
    top: 50%; /* Centra verticalmente */
    transform: translateY(-50%);
    padding: 40px;
    text-align: center; /* Alinea el texto a la derecha */
}

/*-------------------- INICIAR SESION ----------------------------------------------------------------------------------------------------------------*/
.fourthslide {
    background-image: url('imagenes/Home/FondoHome.png');
}

.slider input:nth-child(4):checked ~ .content .fourthslide {
    opacity: 1;
    z-index: 1;
}

.login-container {
    margin-top: 60px;
    position: relative;
    width: 425px;
    color: rgba(223, 104, 7, 1);
    padding: 40px 25px 35px 25px; 
    border-radius: 30px;
    background: #ecf0f3de;
    overflow-y: auto; /* Por si el contenido es demasiado largo */
}

.loginForm input{
    border: none;
    outline: none;
    background: #ecf0f3de;
    font-size: 18px;
    color: #555;
    padding: 20px 10px 20px 5px;
    width: 100%;
}

.inputs-Login {
    width: 350px;
    padding: 9px;
    margin: 10px 2px;
    border-radius: 25px;
    box-shadow: inset 8px 8px 8px #cbc3d1, inset -8px -8px 8px #ffffff;
    font-size: 1rem;
    color: #555;
    margin: 11px 12px;
}

h10 {
    font-size: 2.5rem;
    font-weight: bold;
    color: black;
    text-align: center;
    white-space: pre-line;
    position: relative;
    display: block;
    
}

.checkbox-container-Login {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.checkbox-label-Login{
    color: black;
    margin-left: 5px;
}

.forgot-password {
    text-align: right;
    font-size: 0.1rem;
    margin-bottom: 10px;
    color: #000;
}

.forgot-password a:hover {
    color:  rgba(223, 104, 7, 1);
}

.login-btn {
    width: 90%;
    padding: 11px;
    background: linear-gradient(144deg, rgba(0, 0, 0, 1) 0%, rgb(223, 104, 7) 100%);
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s ease;
    margin-left: 20px
    
}

.login-btn:hover {
    background-color: rgba(223, 104, 7, 1);
    color: white;
    transform: scale(1.05);
}

.register-text {
    color: black;
    text-align: center;
    font-size: 0.9em;
    margin-top: 15px;
}

bodyLogin {
    display: flex; /* Cambiado de flex para mantener consistencia con los otros elementos */
    background-image: url('imagenes/Home/FondoHome.png');
    position: absolute;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    font-family: Italic;
    z-index: 0;
}

bodyLogin::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 0;
    pointer-events: none;
}

bodyLogin .login-container {
    position: relative;
    z-index: 1; /* Mayor que el z-index del pseudo-elemento */
}

.register-text:hover {
    color: rgba(223, 104, 7, 1);
}

.hidden {
    display: none !important;

}

.inicio_de_sesion {
    position: absolute;
    width: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: -140px;
    padding: 20px 30px;
    border-radius: 30px;
    background: linear-gradient(144deg, rgba(0, 0, 0, 1) 0%, rgb(223, 104, 7) 100%);
    color: black;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    max-width: 90%; /* Ensure it doesn't overflow on smaller screens */
    white-space: nowrap; /* Prevent text from wrapping */
    overflow: hidden;
    text-overflow: ellipsis; /* Add ellipsis if text is too long */
}

.inicio_de_sesion:hover {
    background-color: rgba(223, 104, 7, 1);
    color: white;
    transform: translateX(-50%) scale(1.05);
}

select {
    width: 10%;
    padding: 20px;
    font-size: 0.9em;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    color: black; /* Cambiado de #0e0e0e a #003366 para mantener consistencia */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    margin-top: 8px;
}

.select-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    position: relative;
}

.select-container label {
    margin-right: 10px;
    color: #0e0e0e;
}

/* Aumentamos la especificidad para asegurar que este estilo prevalezca */
.select-container select {
    width: 200px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 25px;
    box-shadow: inset 8px 8px 8px #cbc3d1, inset -8px -8px 8px #ffffff;
    font-size: 1rem;
    color: black !important; /* Añadido !important para forzar este color */
    margin: 11px 12px;
}

/* Para asegurar que la opción seleccionada y todas las opciones tengan el color azul */
.select-container select option {
    color: black;
}

.select-container::after {
    content: "▼";
    position: absolute;
    top: 50%; /* Centrado vertical */
    right: 20px; /* 10px desde el borde derecho */
    transform: translateY(-50%);
    font-size: 12px; /* Tamaño reducido para mejor apariencia */
    color: rgba(223, 104, 7, 1);
    pointer-events: none;
}

select:focus {
    border-color: black;
    outline: none;
    color: #003366; /* Aseguramos que el color se mantenga al enfocar */
}

.separar {
    font-size: 0.9em;
    color: black;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.separar-label {
    margin-left: 5px;
    color: #0e0e0e;
}

a1 {
    text-decoration: none;
    font-size: 1rem;
    color: black;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/*-------------------- TARIFAS --------------------------------------------------------------------------------------------------------------*/
.no-scroll {
    overflow: visible;
    height: 100vh;
    background-image: url('imagenes/Home/FondoHome.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.no-scroll::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.tarifas-content {
    overflow: visible;
    position: relative;
    z-index: 1;
    height: 640px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.tarifas-title {
    font-size: 3.5rem;
    color: white;
    text-align: center;
    margin-bottom: 20px;
    left: -50px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 1px;
    margin-top: 90px;
}

.plan-selector {
    display: flex;
    margin-bottom: 25px;
    background: rgba(255,255,255,0.1);
    border-radius: 30px;
    padding: 5px;
    backdrop-filter: blur(5px);
}

.plan-option {
    padding: 10px 25px;
    border: none;
    background: transparent;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.plan-option.active {
    background: rgb(223, 104, 7);
    font-weight: 500;
}

.plan-option:not(.active):hover {
    background: rgba(255,255,255,0.1);
}

.tarifa-card {
    flex: 1;
    top: 80px;
    position: relative;
    min-width: 600px;
    margin: -80px 0px;
    background: rgba(236, 240, 243, 0.92);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarifa-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}



.price-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: rgb(223, 104, 7);
}

.savings {
    font-size: 1rem;
    color: black;
    font-weight: 500;
}

.benefits-list {
    list-style: none;
    margin-bottom: 30px;
}

.benefits-list li {
    padding: 10px 0;
    color: #333;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.benefits-list i {
    color: rgb(223, 104, 7);
    margin-right: 10px;
    font-size: 1.2rem;
}

.tarifa-buttons {
    margin-bottom: 20px;
}

.btn-tarifa {
    padding: 15px 25px;
    margin-left: 30px;
    border: none;
    border-radius: 30px;
    font-size: 1.4rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 90%;
    background: linear-gradient(144deg, rgba(0, 0, 0, 1) 0%, rgb(223, 104, 7) 100%);
    color: white;
}

.btn-tarifa:hover {
    background-color: rgba(223, 104, 7, 1);
    color: white;
    transform: scale(1.05);
}

.disclaimer {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    margin-top: 20px;
}

h11 {
    color: black;
    margin-left: 10px;
    white-space: pre-line;
    font-size: 2rem;
    position: relative;
    display: block; 
    font-weight: bold;
}

.tarifa-card #plan-type {
    color: rgb(223, 104, 7);
}

/* Cambiar color de ambos textos a rojo */
#plan-type, #plan-duration {
    color: black;
    font-weight: bold;
}

/* Menú lateral de usuario */
/* Estilos para el panel fijo */
/* Estilo moderno para el panel lateral de usuario */
.user-panel {
    position: fixed;
    right: 0;
    top: 58%;
    transform: translateY(-50%);
    width: 280px;
    height: 90vh;
    background-color: rgba(0,0,0, 0.5);
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
}

/* Encabezado del panel */
.panel-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    left: 10px;
}

.panel-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-left: 5px;
    text-align: center;
    left: 10px;
    color: #fff;
    text-shadow: 0 0 10px rgba(223, 104, 7, 0.5);
}

.panel-header p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255);
}

/* Información del usuario */
.user-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 30px;
}

.info-item {
    position: relative;
    opacity: 1;
    padding-left: 15px;
}

.info-label {
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
    color: rgb(223, 104, 7);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.info-value {
    display: block;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 400;
    word-break: break-word;
}

/* Botón de cierre de sesión */
.logout-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(144deg, rgba(0, 0, 0, 1) 0%, rgb(223, 104, 7) 100%);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: auto;    
    position: relative;
    overflow: visible;
}

.logout-btn:hover {
    background-color: rgba(223, 104, 7, 1);
    transform: scale(1.05);
    
}

.logout-btn:hover::before {
    left: 100%;
}

.logout-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Adaptar el contenido principal */
.tarifas-content {
    margin-right: 300px; /* Ancho del panel + margen */
    padding: 40px 30px;
    transition: margin-right 0.4s ease-in-out;
}

/*-------------------- ESPERA --------------------------------------------------------------------------------------------------------------------*/
bodyespera {
    display: flex;
    flex-direction: column;
    background-image: url('imagenes/Home/FondoHome.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    width: 100%;
}

bodyespera::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 0;
    pointer-events: none;
}

.waiting-container {
    position: relative;
    z-index: 1;
    margin-top: 250px;
    margin-left: 400px;
    align-self: center;
    width: 425px;
    height: 400px;
    padding: 40px 25px 35px 25px;
    border-radius: 30px;
    background: #ecf0f3de;
    text-align: center;
}

.waiting-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: black;
    margin-left: 10px;
    margin-bottom: 20px;
}

.waiting-message {
    font-size: 1.1rem;
    color: black;
    margin-bottom: 30px;
}

.spinner {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 30px;
}

.spinner:after {
    content: " ";
    display: block;
    border-radius: 50%;
    width: 0;
    height: 0;
    margin: 8px;
    box-sizing: border-box;
    border: 32px solid #df6807;
    border-color: #df6807 transparent #df6807 transparent;
    animation: spinner 1.2s infinite;
}

@keyframes spinner {
    0% {
        transform: rotate(0);
        animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    }
    50% {
        transform: rotate(180deg);
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }
    100% {
        transform: rotate(360deg);
    }
}

.return-btn {
    width: 90%;
    padding: 11px;
    background: linear-gradient(144deg, rgba(0, 0, 0, 1) 0%, rgb(223, 104, 7) 100%);
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.return-btn:hover {
    background-color: rgba(223, 104, 7, 1);
    color: white;
    transform: scale(1.05);
}

.status-info {
    margin-top: 20px;
    font-size: 1rem;
    color: black;
}

.status-value {
    font-weight: bold;
    color: rgb(223, 104, 7);
}

/*-------------------- RESERVA --------------------------------------------------------------------------------------------------------------------*/
bodyreserva {
    display: flex;
    flex-direction: column;
    background-image: url('imagenes/Home/FondoHome.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    width: 100%;
}

bodyreserva::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 0;
    pointer-events: none;
}

.return-btn {
    width: 90%;
    padding: 11px;
    background: linear-gradient(144deg, rgba(0, 0, 0, 1) 0%, rgb(223, 104, 7) 100%);
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.return-btn:hover {
    background-color: rgba(223, 104, 7, 1);
    color: white;
    transform: scale(1.05);
}

.status-info {
    margin-top: 20px;
    font-size: 1rem;
    color: black;
}

.status-value {
    font-weight: bold;
    color: rgb(223, 104, 7);
}

.main-container {
    overflow: visible;
    margin-top: 150px;
    margin-left: 200px;
    position: relative;
    width: 725px;
    color: rgba(223, 104, 7, 1);
    padding: 0; 
    border-radius: 30px;
    overflow-y: auto; /* Por si el contenido es demasiado largo */
}

.reservation-container {
    overflow: visible;
    flex: 1;
    max-width: 800px;
    margin: 0 auto;
    background: #ecf0f3de;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.title-section {
    text-align: center;
    margin-bottom: 30px;
}

.reservation-title {
    font-size: 2.5rem;
    color: rgba(223, 104, 7, 1);
    font-weight: bold;
    margin-bottom: 10px;
    margin-left: 140px;
}

.reservation-subtitle {
    font-size: 1.2rem;
    color: black;
}


.section-title {
    font-size: 1.5rem;
    color: #333;
    margin-left: 10px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.form-row {
    overflow: visible;
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

input, select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    color: #333;
    background-color: #fff;
}

input:focus, select:focus {
    outline: none;
    border-color: rgb(223, 104, 7);
}

.btn {
    overflow: visible;
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(144deg, rgba(0, 0, 0, 1) 0%, rgb(223, 104, 7) 100%);
    color: white;
}

.btn-primary:hover {
    background-color: rgba(223, 104, 7, 1);
    transform: scale(1.05);
}

.btn-outline {
    background: transparent;
    border: 1px solid #333;
    color: #333;
}

.btn-outline:hover {
    background-color: #f0f0f0;
}

.button-container {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
}

/* Resumen de reserva */
.reservation-summary {
    display: none;
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    margin-top: -20px;
    border: 1px solid #ddd;
}

.summary-title {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 15px;
    margin-left: 0px;
    text-align: center;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.summary-label {
    font-weight: 500;
    color: #555;
}

.summary-value {
    color: #333;
}

.summary-total {
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 15px;
    color: rgb(223, 104, 7);
}

/*-------------------- APLICACION --------------------------------------------------------------------------------------------------------------*/
.cameras-container {
    overflow: visible;
    height: 100vh;
    background-image: url('imagenes/Home/FondoHome.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.cameras-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.camera-frame {
    position: relative;
    margin-top: 120px;
    margin-right: 350px;
    background-color:  #ecf0f3de;
    padding: 15px;
    width: 950px;
    height: 590px;
    border-radius: 10px;
    text-align: center;
}

video {
    width: 900px;
    height: 470px;
    background-color: #000;
}

.info-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;    /* fila / columna aumentados */
    padding: 1.5rem 2rem;
}


.summary-label1 {
    font-size: 2rem;
    color: rgb(223, 104, 7); ;
}

.summary-value1 {
    font-size: 1.8rem;
    font-weight: lighter;
    color: black;
}






@media (max-width: 1024px) {
    header {
        flex-wrap: wrap;
        height: auto;
        padding: 10px 20px;
    }
    .logo img { height: 5rem; }
    .user-panel {
        width: 200px;
        top: 50%;
    }
}

@media (max-width: 768px) {
  /* Header en columna */
    header {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
    }
    header nav { margin-top: 10px; }
    header a { font-size: 1.8rem; }
    
    /* Cámaras apiladas */
    .cameras-container {
        flex-direction: column;
        margin-top: 140px;
    }
    .camera-frame { margin: 0 auto; }

  /* Panel de usuario como bloque inferior */
    .user-panel {
        position: static;
        width: 100%;
        max-width: none;
        margin: 20px auto;
        height: auto;
        transform: none;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2.5rem; margin-left: 1rem; }
    h2, h3 { font-size: 1rem; margin: 0 1rem; }
    .buttons { display: none; } /* si lo consideras innecesario en móvil */
}