:root {
    --color-blue: #0B2445;
    --color-lightblue: #A1BEE4;
    --color-white: #fff;
    --color-pink: #F4ABAB;
}

body {
    /* background: linear-gradient(0deg, rgba(135, 167, 210, 1) 10%, rgba(0, 37, 72, 1) 100%); */
   
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    min-height: 100vh;
    overflow-x: hidden;

    background: rgb(203, 221, 251);
    background: linear-gradient(0deg, rgba(203, 221, 251, 1) 10%, rgba(206, 223, 251, 1) 18%, rgba(227, 237, 252, 1) 27%, rgba(243, 247, 254, 1) 40%, rgba(252, 253, 254, 1) 55%, rgba(255, 255, 255, 1) 64%);
}
/* img {
    width: 400px;
} */


p {
    font-size: 1.2rem;
}

h4 {
    font-size: 1.5rem;
 
}
.btn-custom {
    background-color: #ffa8a5;
    color: white;
}
.btn-custom:hover {
    background-color: #ffbfbd;
    color: rgb(59, 59, 59);
    transition: all .2s;
}

/* .navbar-brand img {
    width: 60px;
} */

.fancybox__content {
    background: transparent;
}

.modal.show {
    backdrop-filter: blur(5px); /* Ajusta el valor de desenfoque a tu gusto */
    -webkit-backdrop-filter: blur(5px); /* Para compatibilidad con Safari */
  }
.modal-header {
    /* background-color: #ffbfbd; */
    color: white;
    background-image: linear-gradient(120deg, #f4abab 0%, #ffebeb 100%);
}
.modal-body h3 {
    font-size: 1rem;
    color: #002548;
    margin-bottom: 1.2rem;
}
.modal-body h4 {
    font-size: 1rem;
    color: #002548;
}
.modal-body p {
    font-size: .9rem;
}
.modal-body td {
    font-size: .9rem;
    padding: .8rem .5rem;
}




/********************************************************************
*
*   LOGIN
*
*********************************************************************/
.login {
    height:100vh;
    overflow-x:hidden
}
.login .sidebar {
    background-color: #efefef;
}
.login .form-group[class*=has-icon-] .form-control-icon {
    top: 12px !important;

    transform: translateY(0) !important;
    position: absolute;
    font-size: 1.4rem;
    left: 1rem;
    color: rgb(194, 194, 194);
}
.login .login-right {
    /* background: var(--color-verde);
    background: linear-gradient(0deg, rgba(135, 167, 210, 1) 10%, rgba(0, 37, 72, 1) 100%);
    background-image: url("../images/patterns/overlay6.png"); */

    /* background: 
        url("../images/patterns/overlay6.png"),
        linear-gradient(0deg, rgba(255, 202, 200, 1) 0%, rgba(218, 191, 203, 1) 9%, rgba(188, 182, 205, 1) 18%, rgba(164, 175, 207, 1) 28%, rgba(148, 170, 208, 1) 38%, rgba(138, 167, 209, 1) 50%, rgba(135, 167, 210, 1) 64%, rgba(0, 37, 72, 1) 100%);
    height:100%; */
}
.login .login-left .auth-logo {
    margin-bottom: 2.5rem
}
.login .login-left .auth-logo img {
    width: 100px;
    height: auto;
}
.login .logotipo {
    width: 45%;
}
.login .login-left {
    padding: 1rem;
}
.login .loader {
    height: 1.7rem;
    display: none;
    position: absolute;
    top: .7rem;
    width: 50px;
    left: calc(50% - 4rem);
}
.login .login-messages {
    margin-top: 2rem;
    color: #b00808;
    text-align: center;
}
.login .login-left .auth-title {
    font-size: 2.2rem;
    margin-bottom: 0;
    color: #002548;
    text-align: center;
}
.login .auth-subtitle {
    color: #ffa8a5;
    font-size:1rem;
    line-height:2.5rem;
    text-align: center;
}
.login .form-control {
    padding: 1rem 1rem 1rem 3rem;
    border-color: #ffa8a5;
}
.login .form-control::placeholder {
    color: #9c9c9c;
}
.login button {
    background-color: #002548;
    color: white;
    padding: .8rem 1rem;
    border-radius: 5px;
    font-size: 1rem;
    width: 100%;
    border: none;
}
.login button:hover {
    background-color: #002548;
}
.login button:active {
    background-color: #002548 !important;
}


/* Navbar */
.navbar {
    background: linear-gradient(315deg, rgba(255, 202, 200, 1) 0%, rgba(218, 191, 203, 1) 9%, rgba(188, 182, 205, 1) 18%, rgba(164, 175, 207, 1) 28%, rgba(148, 170, 208, 1) 38%, rgba(138, 167, 209, 1) 50%, rgba(135, 167, 210, 1) 64%, rgba(0, 37, 72, 1) 100%);
    padding: 1.5rem 0;
}
.navbar-toggler {
    border: none;
}
.navbar-toggler:focus {
    box-shadow: none;
} 
.custom-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgb(255,255,255)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}
.login_mobile {
    padding: .6rem 1rem;
    color: var(--color-white);
    background-image: linear-gradient(120deg, #f4abab 0%, #ffebeb 100%);
    display: inline-block;
    border-radius: 2.8rem;
    box-shadow: 0 5px 35px -16px #11399c;
    font-size: .8rem;
}
.nav-link:focus, .nav-link:hover {
    color: var(--color-white);
}


/* Main */
.main {
    /* background: rgb(203, 221, 251);
    background: linear-gradient(0deg, rgba(203, 221, 251, 1) 10%, rgba(206, 223, 251, 1) 18%, rgba(227, 237, 252, 1) 27%, rgba(243, 247, 254, 1) 40%, rgba(252, 253, 254, 1) 55%, rgba(255, 255, 255, 1) 64%); */
}
/* Contenio principal */
.content {
    padding: 5rem 0 9rem;
    overflow-x: hidden;
}
.content h4 {
    color: var(--color-blue);
    font-size: 1.8rem;
}
.content img {
    width: 400px;
}
.content .videos img {
    width: 100%;
    position: relative;
}
.content .videos p {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 1rem;
    background: rgba(0, 0, 0, .5);
    color: var(--color-white);
    font-size: .8rem;
    z-index: 2;
    text-align: center;
}
.content .videos a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .3);
    z-index: 1;
}
.content .fa-circle-play {
    font-size: 6rem;
    color: rgba(255, 255, 255, .7);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}
/* Decorativo */
.stars {
    position: relative;
    display: inline-block;
}
.stars::after {
    content: '';
    display: block;
    background-image: url(../svg/stars.svg);
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    right: -30px;
    top: -20px;
    width: 30px;
    height: 30px;
}

.card {
    border: 0;
    cursor: pointer;
    min-height: 200px;
    transition: all .3s;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
}
.poster {
    transition: all .3s;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
    text-decoration: none;
    border-radius: var(--bs-border-radius) !important;
    overflow: hidden;
}
.card:hover, .poster:hover {
    transform: scale(1.03);
}

/* .cards :nth-child(odd) .card {
    background-color: var(--color-pink);
}
.cards :nth-child(even) .card {
    background-color: var(--color-lightblue);
} */
.card img {
    width: 100px;
}
.card h5 {
    font-size: 1.1rem;
}
.card p {
    font-size: .8rem;
    margin-bottom: .5rem;
}
.card small {
    font-size: .7rem;
    font-weight: 300;
}

/* =================== Loader =================== */
#section-preloader {
   display: flex;
   justify-content: center;
   align-items: center;
   flex-direction: column;
   height: 200px; 
   text-align: center;
}
#section-preloader p {
    color: var(--color-blue);
    margin-top: 1.3rem;
}
.modal-loader {
    width: 80px;
    aspect-ratio: 1;
    color: var(--color-lightblue);
    background:
        radial-gradient(circle at 60% 65%, currentColor 62%, #0000 65%) top left,
        radial-gradient(circle at 40% 65%, currentColor 62%, #0000 65%) top right,
        linear-gradient(to bottom left, currentColor 42%,#0000 43%) bottom left ,
        linear-gradient(to bottom right,currentColor 42%,#0000 43%) bottom right;
    background-size: 50% 50%;
    background-repeat: no-repeat;
    position: relative;
}
.modal-loader:after {
    content: "";
    position: absolute;
    inset: 0;
    background: inherit;
    opacity: 0.4;
    animation: l3 1s infinite;
}
@keyframes l3 {
    to {transform:scale(1.8);opacity:0}
}
/* =================== Loader =================== */


.brand {
    display: inline-block;
}
.brand__image {
    height: 80px;
    max-width: 100%;
    display: inline-block;
}

/* Waves */
.waves {
    background-image: url('../svg/waves.svg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    height: 150px;
}
/* Legal */
.legal {
    padding-bottom: 5rem;
    color: var(--color-white);
    background-color: var(--color-lightblue);
    font-size: .9rem;
}
.legal a {
    text-decoration: none;
}
.legal i {
    font-size: 1.2rem;
    line-height: 1;
    transition: all .3s;
}
.legal i:hover {
    color: var(--color-blue) !important;
}
/* Footer */
.footer {
    background-color: var(--color-lightblue);
    padding: 3.5rem 0;
    border-top: 2px solid var(--color-white);
}

.portada {
    /* background: linear-gradient(0deg, rgba(135, 167, 210, 1) 10%, rgba(0, 37, 72, 1) 100%); */
    /* background-image: url("../images/patterns/overlay6.png"), url("../images/portada.jpg"); */
    background-image: url("../images/view_app.jpg");
    background-position: top;
    background-size: auto , cover;
    background-repeat: repeat, no-repeat;

    
}

@media screen and (min-width: 576px) {
    .waves {
        height: 150px;
    }
    .brand__image {
        height: 110px;
    }
    .brand__image--header {
        height: 80px;
    }
    .login_mobile {
        padding: .8rem 1.4rem;
        font-size: .9rem;
    }
    .login .login-left .auth-logo img {
        width: 150px;
    }
    .login .login-left .auth-logo {
        margin-bottom:5rem
    }
    .login .login-left {
        padding: 5rem 4rem;
    }
    .login .login-left .auth-title {
        font-size:3.5rem;
        margin-bottom:1rem;
        text-align: left;
    }
    .login .auth-subtitle {
        font-size:1.5rem;
        text-align: left;
    }
}
@media screen and (min-width: 768px) {
    .waves {
        height: 200px;
    }
    .brand__image--header {
        height: 100px;
    }
}
@media screen and (min-width: 991px) {
    
}
@media screen and (min-width: 1200px) {
    .waves {
        height: 300px;
    }
    .container {
        max-width: 1170px;
    }
    .brand__image--header {
        height: 120px;
    }
    .container {
        padding: 0;
    }
    .card img {
        width: 90px;
    }
    .card h5 {
        font-size: 1.2rem;
    }
    .card p {
        font-size: .9rem;
    }
    .card small {
        font-size: .8rem;
    }
    .legal {
        font-size: 1rem;
    }
}

@media screen and (min-width: 1560px) {
    .login .auth-left {
        padding: 5rem 8rem;
    }
}

/* Remover completamente los iconos de validación de Bootstrap para inputs con iconos personalizados */
.login .has-icon-left .form-control.is-valid,
.login .has-icon-left .form-control.is-invalid {
    background-image: none !important;
    padding-right: 3rem !important;
}

/* Estilos sutiles de validación - Verde claro para válido */
.login .form-control.is-valid {
    border-color: #28a745 !important;
    background-color: rgba(40, 167, 69, 0.05) !important; /* Verde muy suave */
    transition: all 0.3s ease;
}

.login .form-control.is-valid:focus {
    border-color: #28a745 !important;
    background-color: rgba(40, 167, 69, 0.08) !important; /* Un poco más intenso al hacer focus */
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.15) !important;
}

/* Estilos sutiles de validación - Rojo claro para inválido */
.login .form-control.is-invalid {
    border-color: #dc3545 !important;
    background-color: rgba(220, 53, 69, 0.05) !important; /* Rojo muy suave */
    transition: all 0.3s ease;
}

.login .form-control.is-invalid:focus {
    border-color: #dc3545 !important;
    background-color: rgba(220, 53, 69, 0.08) !important; /* Un poco más intenso al hacer focus */
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15) !important;
}

/* Asegurar que el ícono del ojo funcione correctamente */
.login .form-control-icon-right {
    position: absolute !important;
    top: 12px !important;
    right: 1rem !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    font-size: 1.4rem !important;
    color: rgb(194, 194, 194) !important;
    display: inline-block !important;
    transition: color 0.3s ease;
}

.login .form-control-icon-right:hover {
    color: #002548 !important;
}

.login .form-control-icon-right i {
    pointer-events: none !important;
    cursor: pointer !important;
}


.login .form-group.position-relative {
    position: relative;
    z-index: auto;
}

/* Opcional: Cambiar el color del ícono izquierdo según validación */
.login .is-valid ~ .form-control-icon i {
    color: #28a745 !important;
    transition: color 0.3s ease;
}

.login .is-invalid ~ .form-control-icon i {
    color: #dc3545 !important;
    transition: color 0.3s ease;
}