/*Estilo de fuentes*/
/* latin-ext */
@font-face {
    font-family: 'Roboto Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(assets/fonts/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_ROW4.woff2) format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Roboto Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(assets/fonts/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_SuW4Ep0.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
    font-family: 'Righteous';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(assets/fonts/1cXxaUPXBpj2rGoU7C9WhnGFucE.woff2) format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Righteous';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/assets/fonts/1cXxaUPXBpj2rGoU7C9WiHGF.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/*Fin estilo de fuentes*/
body {
    margin: 2px;
    background: url("../img/fondo.jpg") repeat;
}

header {
    border-radius: 10px;
}

h1 {
    color: rgb(255, 255, 255);
    text-shadow: 5px 5px 5px #d1adad86;
    font-family: 'Inter', sans-serif;
    font-size: 2em;
}

h2 {
    color: bisque;
    text-shadow: 2px 3px 3px #d64f0b;
    font-family: 'Inter', sans-serif;
    font-size: 3em;
}

hh {
    color: rgb(156, 48, 48);
    text-shadow: 3px 3px 6px #814545;
    font-family: 'Roboto Mono';
    font-size: 1.3em;
}

hz {
    color: rgb(11, 11, 11);
    text-shadow: 1px 1px 0px #000000;
    font-family: 'Roboto Mono';
    font-size: 1.2em;
}

hzz {
    color: rgb(11, 11, 11);
    text-shadow: 1px 1px 0px #000000;
    font-family: 'Roboto Mono';
    font-size: 0.9em;
}

hf {
    color: rgb(11, 11, 11);
    text-shadow: 1px 1px 0px #000000;
    font-family: 'Roboto Mono';
    font-size: 4.0em;
}

hff {
    color: rgb(11, 11, 11);
    text-shadow: 1px 1px 0px #000000;
    font-family: 'Roboto Mono';
    font-size: 1.8sem;
}

h5 {
    color: rgb(252, 249, 249);
    text-shadow: 1.5px 2px 3px #a53737;
    font-family: 'Inter', sans-serif;
    font-size: 2vw;
}

h6 {
    color: rgb(252, 249, 249);
    font-family: 'Inter', sans-serif;
    font-size: 1em;
}

p {
    font-family: 'Inter', sans-serif;
    font-size: 1em;
}

.linea {
    border-top: 2px solid black;
    height: 2px;
    padding: 0;
    margin: 20px auto 0 auto;
}

/* The navbar container */
.conteiner-nav {
    background-color: #046333;
    box-shadow: 1px 1px 5px 0 rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

.conteiner-nav .nav-item a {
    /*Maneja el menu contorno y bordes color etc.*/
    display: block;
    color: #f2f2f2;
    text-align: left;
    padding: 8px 6px;
    text-decoration: none;
    border-radius: 5px;
}

.conteiner-nav .dropdown-menu {
    background-color: #212F3C;
    border-radius: 5px;
}

/* Items cambio de color al pasar el mouse */
.nav-item a:hover {
    background-color: #212F3C;
    color: rgb(135, 222, 142);
    border-radius: 5px;
}

.navbar form a {
    font-size: 1.02em;
    color: black;
}

/* Estilos adicionales para el menú */
.navbar-nav .nav-item .nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-item .nav-link::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #fff;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.navbar-nav .nav-item .nav-link:hover::before {
    visibility: visible;
    width: 100%;
}

.navbar-nav .nav-item .nav-link:hover {
    color: #00aaff;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.1);
}

.btn-primary {
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.boton1 {
    display: inline-block;
    padding: 10px 10px;
    font-size: 15px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    outline: none;
    background-color: lightcoral;
    border: none;
    border-radius: 15px;
    box-shadow: 0 9px #999;
}

.boton1:hover {
    color: #fff;
    background-color: #a74128;
}

.button:active {
    background-color: #a74128;
    box-shadow: 0 5px #666;
    transform: translateY(4px);
}

.boton1 .a {
    color: #fff;
    font-family: 'Roboto';
}

.boton2 {
    background: transparent;
    border: none;
    cursor: pointer;
}

.boton2:hover {
    color: #fff;

}

.boton2 .a {
    color: black;
    font-family: 'Roboto';
}

.card {
    display: block;
    background-color: rgb(238, 228, 190);
    border-radius: 15px;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.card-catalogo {
    display: block;
    background-color: rgba(238, 228, 190, 0.514);
    border-radius: 15px;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.card2 {
    background-color: rgba(255, 255, 255, 0.0) !important;
    border: none;
    box-shadow: none;
    border-radius: 15px;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.card-politica {
    display: block;
    background-color: cornsilk;
}

.card-header {
    background-color: rgba(95, 89, 133, 0.301);
    border-radius: 15px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.514);
    box-shadow: 2px 2px 10px rgba(161, 56, 56, 0.2);
}

.card-header2 {
    background-color: rgba(95, 89, 133, 0.171);
    border-radius: 15px;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.card-producto:hover {
    background-color: rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.card-producto img {
    max-width: 200px;
}

.card-body {
    text-align: center;
}

.main-container-quienes {
    width: 100%;
    height: 200vh;
    background: rgba(255, 255, 255, 0.096);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .main-container-quienes {
        height: auto;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .main-container-quienes {
        padding: 5px;
    }
}

.main-container-terminos {
    width: 100%;
    height: 350vh;
    background: rgba(255, 255, 255, 0.096);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .main-container-terminos {
        height: auto;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .main-container-terminos {
        padding: 5px;
    }
}

.main-container-consultas {
    width: 100%;
    background: rgba(255, 255, 255, 0.096);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .main-container-consultas {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .main-container-consultas {
        padding: 5px;
    }
}

.contact-item {
    position: relative;
    padding-left: 30px;
    list-style: none;
}

footer {
    justify-content: space-evenly;
    border-radius: 10px;
    background-color: #252525;
}

.partFooter {
    margin: 20px;
    width: 25%;
    margin-bottom: 30px;
    text-align: center;
}

.partFooter h4 {
    color: #fefeff;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 10px;
}

.partFooter a {
    display: block;
    text-decoration: underline;
    color: #000000;
}

/*Estilos de registro y login*/
main {
    width: 100%;
    padding: 20px;
    margin: auto;
    margin-bottom: 50px;
    margin-top: 20px;
}

/* -----------------------Caja de Busqueda------------------- */
.busqueda {
    position: relative;
    height: 50px;
    width: 300px;
}

.busqueda .form-search {
    position: absolute;
    right: 0;
    top: 0;
}

.busqueda .form-search input[type="text"] {
    appearance: textfield;
    font-family: Arial, sans-serif;
    font-size: 100%;
    border: solid 2px #ccc;
    padding: 9px 8px;
    width: 150px;
    transition: width 0.5s, border-color 0.5s;
}

.busqueda .form-search input[type="text"]:focus {
    width: 250px;
    border-color: #000;
    background-color: #fff;
}

.busqueda .form-search button.btn {
    padding: 9px 10px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    cursor: pointer;
}

#carouselExampleControls {
    border-radius: 15px;
    overflow: hidden;
}

#carouselExampleControls img {
    border-radius: 15px;
}

/* Banner */
.banner {
    position: relative;
    width: 100%;
    height: 172px;
    background: url('<?php echo base_url(); ?>/assets/images/banner.jpg') no-repeat center center;
    background-size: cover;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    margin-top: 6.3vh;
}

/* Capa de superposición */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    color: #fff;
    border-radius: 20px;
}

/* Contenedor de texto */
.text-container {
    margin-right: 20px;
}

/* Texto principal */
.banner-title {
    font-size: 3.6rem;
    font-weight: bold;
    font-family: "Times New Roman", serif;
    color: black;
    text-shadow: 3px 3px 6px white, 0 0 5px white;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s ease-in-out forwards;
    line-height: 1;
}

/* Efecto brillo en "InforPOWER" */
.highlight {
    display: inline-block;
}

/* Subtítulo mejorado con movimiento */
.banner-subtitle {
    font-size: 2.5rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(30%);
    animation: slideInFromLeft 1.5s ease-out forwards, glowText 2s ease-in-out infinite;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2), -1px -1px 5px rgba(255, 255, 255, 0.5);
    line-height: 0.8;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes glow {
    from {
        text-shadow: 3px 3px 6px white;
    }

    to {
        text-shadow: 5px 5px 12px white;
    }
}

@keyframes glowText {
    0% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.6), 0 0 20px rgba(255, 255, 255, 0.8);
    }

    100% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 1), 0 0 30px rgba(255, 255, 255, 1);
    }
}

/* Estilos para los iconos sociales */
.social-icons-inline {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    margin: 0 10px;
    padding: 8px 12px;
    background-color: transparent;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s, transform 0.3s;
}

.social-icon:hover {
    background-color: #00aaff;
    transform: scale(1.2);
}

.social-icon i {
    font-size: 1.2rem;
    margin-right: 8px;
    color: #fff;
}

.social-text {
    font-size: 1.05rem;
    color: #fff;
}

/* Iconos personalizados */
.social-icon .fab.fa-instagram {
    color: #E4405F;
}

.social-icon .fab.fa-whatsapp {
    color: #25D366;
}

.social-icon .fas.fa-phone-alt {
    color: #4CAF50;
}

.social-icon .fas.fa-envelope {
    color: #FF5722;
}

.social-icon .fab.fa-linkedin {
    color: #0077B5;
}

.social-icon .fab.fa-twitter {
    color: #1DA1F2;
}

/* Responsive */
@media (max-width: 768px) {
    .banner {
        height: 140px;
    }

    .banner-title {
        font-size: 2.5rem;
    }

    .banner-subtitle {
        font-size: 1.4rem;
    }
}

.header .navbar {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}

.navbar-brand img {
    height: 64px;
    width: 80px;
}

/*Trabajando en el responsive desinge*/
@media screen and (max-width: 850px) {
    main {
        margin-top: 50px;
    }

    .caja_trasera {
        max-width: 350px;
        height: 300px;
        flex-direction: column;
        margin: auto;
    }

    .caja_trasera div {
        margin: 0;
        position: absolute;
    }

    /*Formularios*/
    .contenedor_login-registro {
        top: -10px;
        left: -5px;
        margin: auto;
    }

    .contenedor_login-registro form {
        position: relative;
    }
}

@media (min-width: 992px) {
    .dropdown-menu .dropdown-toggle:after {
        border-top: .3em solid transparent;
        border-right: 0;
        border-bottom: .3em solid transparent;
        border-left: .3em solid;
    }

    .dropdown-menu .dropdown-menu {
        margin-left: 0;
        margin-right: 0;

    }

    .dropdown-menu li {
        position: relative;
        border-radius: 5px;
        display: block;
        text-align: left;
        padding: 4px 4px;
    }

    .nav-item .submenu {
        display: none;
        position: absolute;
        left: 100%;
        top: -7px;
    }

    .nav-item .submenu-left {
        right: 100%;
        right: auto;
    }

    .dropdown-menu>li:hover {
        background-color: #615e5e
    }

    .dropdown-menu>li:hover>.submenu {
        display: block;
    }
}

/*************************Tarjetas de Index***************************/
/* Contenedor principal con efecto glassmorphism */
.services-container {
    background: rgba(255, 255, 255, 0.096);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Tarjeta de servicio base */
.service-card {
    background: linear-gradient(135deg, rgba(233, 100, 238, 0.31), rgba(100, 238, 233, 0.164));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.384);
    position: relative;
    height: 100%;
    font-family: 'Inter', sans-serif;
    padding: 1.0em;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    backdrop-filter: blur(10px);
}

/* Efecto hover para las tarjetas */
.service-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(211, 9, 9, 0.2);
    background: linear-gradient(135deg, rgba(233, 100, 238, 0.5), rgba(100, 238, 233, 0.5));
}

/* Contenedor de imagen con padding */
.image-container {
    padding: 0px 0;
    height: 120%;
    display: flex;
    align-items: center;
}

/* Estilos de la imagen */
.service-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Contenedor del contenido textual */
.service-content {
    padding: 1.25rem;
}

/* Estilos del título del servicio */
.service-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.50rem;
    color: #ffffff;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

/* Estilos de la descripción */
.service-description {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Efecto de gradiente en hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
            rgba(255, 255, 255, 0.1),
            rgba(255, 255, 255, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-price {
    color: #7cff01;
    font-size: 1.1rem;
    text-decoration: underline;
    font-family: Arial, sans-serif;
}

/*************************Tarjetas de Index expansiva***************************/
/* Ajustes responsivos */
@media (max-width: 768px) {
    .service-card {
        margin: 0.5rem 0;
    }

    .image-container {
        padding: 12px 12px 0 12px;
    }

    .service-title {
        font-size: 1.1rem;
    }

    .service-description {
        font-size: 0.9rem;
    }
}

.services-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

.services-overlay.active {
    opacity: 1;
    visibility: visible;
}

.expanded-card {
    background: rgb(20, 20, 20);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.6s ease-in-out;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 64%;
    max-width: 619px;
    max-height: 90vh;
    height: auto;
    z-index: 1050;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
}

@media (max-width: 768px) {
    .expanded-card {
        width: 95%;
        padding: 15px;
    }

    .expanded-content {
        flex-direction: column;
    }

    .expanded-image-container {
        margin-bottom: 20px;
    }

    .expanded-image {
        width: 100%;
        height: auto;
    }

    .expanded-text {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .expanded-card {
        padding: 10px;
        width: 95%;
    }

    .expanded-details h3 {
        font-size: 20px;
    }

    .button-container {
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
    }

    .volver-button {
        width: 100%;
        margin: 5px 0;
    }
}

.expanded-card .expanded-image {
    width: 50%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

.expanded-details h3 {
    font-weight: bold;
    font-family: sans-serif;
}

.expanded-card.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.close-button {
    display: none;
}

.expanded-content {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.expanded-details {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: rgb(255, 255, 255);
    margin-bottom: 1rem;
    line-height: 1.5;
    text-align: left;
}

.expanded-details h3 {
    font-size: 25px;
    margin: 0 0 5px 0;
}

.expanded-details ul {
    margin: 0;
    padding-left: 40px;
}

.expanded-details li {
    margin-bottom: 4px;
    line-height: 1.0;
}

/* Animación para las tarjetas originales */
.service-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.volver-button {
    margin-top: -38px;
    padding: 9px 9px;
    background-color: #007bff;
    color: #fff;
    font-size: 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: static;
    width: auto;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: block;
    margin-bottom: 15px;
}

.volver-button:hover {
    background-color: #0056b3;
}

.volver-button:focus {
    outline: none;
}

.button-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

/****************************Quienes Somos**********************************/
/* Estilos para las imágenes de la página "quienesSomos" */
.card-img-top {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.479);
}

/* Imagenes de todas las tarjetas interactivo */
.card-img-top:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.479);
    cursor: default;
}

/* Imagenes de quienes Somos interactivo */
.quienesSomos .card-img-top {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.479);
    width: 80%;
    cursor: default;
}

.quienesSomos .card-img-top:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/****************************Inicio de sesion y Login**********************************/
.main-container {
    width: 100%;
    max-width: 700px;
    background: rgba(255, 255, 255, 0.096);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-container2 {
    width: 100%;
    height: 120vh;
    background: rgba(255, 255, 255, 0.096);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.main-container3 {
    width: 100%;
    height: 120vh;
    background: rgba(255, 255, 255, 0.096);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.form-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.form-toggle {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
}

.toggle-btn {
    width: 45%;
    padding: 15px;
    border: none;
    background: rgb(66, 79, 255);
    border-radius: 15px;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-btn i {
    margin-right: 10px;
}

.toggle-btn:hover {
    background: rgb(165, 158, 255);
}

.form-content {
    width: 100%;
    display: flex;
    justify-content: center;
}

.formularioLogin,
.formularioRegistro {
    width: 100%;
    max-width: 400px;
    display: none;
    flex-direction: column;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.btn i {
    margin-right: 10px;
}

.alert {
    padding: 10px;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .main-container {
        padding: 10px;
    }

    .form-toggle {
        flex-direction: column;
    }

    .toggle-btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .formularioLogin,
    .formularioRegistro {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .form-group input {
        padding: 8px;
    }

    .toggle-btn {
        padding: 10px;
    }

    .btn {
        padding: 10px;
    }
}