@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Sora:wght@100..800&display=swap');


*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat';
    font-style: normal;    
}

body{
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    -webkit-overflow-scrolling: auto;
    overscroll-behavior: none;
}




.container{
    background: url(assets/fondo.webp);
    min-height: auto; 
    flex: 1;
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    
}
.text-mobile{
    display: none;
}
.panel-left{
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;

}
.form-panel{
    width: 50%;
    /* border: 2px solid wheat; */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.container-welcome{
    width: 387px;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.container-welcome img{
    max-width: 225px;
}
.text-left svg{
    transform: translateX(-20px);
}
.text-white{
    padding-top: 10px;
    font-weight: 700;
    font-size: 56px;
    line-height: 48px;
    color: #FFFFFF;
}
.text-sesion{
    padding-top: 20px;
    font-weight: 500;
    font-size: 32px;
    line-height: 40px;

    color: rgba(255, 255, 255, 0.74);
}



.form-container{
    width: 557px;
    height: 659px;
    background: #FFFFFF;
    border-radius: 20px;
    padding: 80px 56px ;
}

.title-form{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 445px;
    border-bottom: 1px solid #5B5772 ;
}
.title-form span{
    width: 380px;
    padding-bottom: 16px;
    font-family: 'Sora';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    color: #5B5772;
}


/* ====== CAMPOS DE FORMULARIO ====== */
.form-content{
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-top: 32px;
}
.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 445px;
    position: relative;
}

/* Label */
.input-group label {
    font-family: "Sora";
    font-weight: 400;
    font-size: 16px;
    color: #16151A;
}

/* Input base */
.input-group input {
    width: 100%;
    height: 40px;
    padding: 0 14px;
    background: #F8F7FC;
    border: none;
    border-radius: 6px;
    font-family: "Sora";
    font-size: 14px;
    font-weight: 300;
    color: #16151A;
}

/* Placeholder */
.input-group input::placeholder {
    color: #706D8A;
    font-weight: 300;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 445px;
}

.input-wrapper {
    display: flex;
    align-items: center;
    background: #F8F7FC;
    border-radius: 6px;
    height: 40px;
    padding-right: 12px;
}
.input-wrapper input:focus {
    outline: none;
}
.input-wrapper:has(input:focus) {
    outline: 2px solid black;   /* tu color de foco */
    outline-offset: 0;            /* recomendado */
}

.input-wrapper input {
    flex: 1;
    height: 100%;
    border: none;
    background: transparent;
    padding: 0 14px;
    font-family: "Sora";
    font-size: 14px;
    font-weight: 300;
}

.toggle-eye {
    height: 100%;
    width: 40px;                /* gran área de toque en móvil */
    border: none;
    background: transparent;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-eye img {
    width: 20px;
    height: 20px;
}



/* ====== CHECKBOX ====== */

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 252px;
    margin-top: 8px;
}

.checkbox-row input {
    width: 16px;
    height: 16px;
    background: #EEECF3;
    border-radius: 3px;
}

.checkbox-row label {
    font-family: "Sora";
    font-style: normal;
    font-weight: 00;
    font-size: 12px;
    color: #706D8A;
}


/* ====== BOTÓN ====== */

.btn-login {
    width: 445px;
    height: 45px;
    margin-top: 16px;
    background: #DBCF8A;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: none;
    font-family: "Sora";
    font-weight: 700;
    font-size: 16px;
    color: #1E1E2F;
}
.footer-panel{
    display: none;
    color: #FFFFFF;
    text-align: center;
    background: #545E6A;
    width: 100%;
    padding: 15px;
}
.ingenium-logo-mobile{
    display: none;
    align-items: center;
}

/* Laptops */
@media (min-width: 900px)and (max-width: 1440px) {
    .container{
        background: url(assets/fondo-laptop.webp);
        background-size: cover;
        background-repeat: no-repeat;
    }
    .form-container{
        background: transparent;
    }
    .form-panel{
        background: url(./assets/gradiente.webp);
        background-size: cover;
        background-repeat: no-repeat;
        color: #FFFFFF;
    }
    .container-welcome {
        width: 360px;
    }
    .checkbox-row label{
        color: #FFFFFF;
    }
    .title-form span {
        color: #FFFFFF;
        font-size: 12px;
        width: 445px;
    }
    .title-form svg {
        filter: brightness(0) invert(1);
        height: 32px;    
    }
    .input-group label{
        color: #FFFFFF;
    }
    .text-left svg{
        width: 271px;
        height: 58px;
        transform: translateX(-16px);
    }
    .text-white{
        font-size: 40px;
        padding-top: 0px;
    }
    .text-sesion{
        font-size: 32px;
    }
    .btn-login {
        height: 62px;
    }
}

@media(min-width: 600px) and (max-width: 899px) {
    .container{
        background: url(assets/moviles.webp);
        flex-direction: column;
        height: 100dvh;
        background-size: cover;
        background-repeat: no-repeat;

    }
    .panel-left{
        width: 100%;
    }
    .form-panel{
        width: 100%;
        height: 100%;
    }
    .title-form svg{
        width: 259px;
        height: 30px;
    }
    .text-mobile{
        display: flex;
        /* padding: 5px 16px; */
        text-align: center;
        justify-content: center;
        align-items: center;
        width: 425px;
        height: 58px;
        background: linear-gradient(90deg, #1B1040 0%, #99014C 84.13%);
        border-radius: 10px;

    }
    .container-welcome{
        width: 100%;
        height: 226px;
        align-items: center;
        justify-content: space-around;

    }
    .container-welcome img{
        width: 180px;
    }
    .text-mobile span{
        font-family: 'Montserrat';
        font-style: normal;
        font-weight: 700;
        font-size: 36px;
        line-height: 48px;
        text-align: center;
        color: #FFFFFF;
    }
    .text-left svg{
        display: none;
    }

    .text-left{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .text-white{
        display: none;
    }
    .text-sesion{
        font-size: 20px;
        color: #FFFFFF;
        padding-top: 0px;
    }
    .form-container{
        width: 440px;
        height: auto;
        padding: 40px;
    }
    .input-group{
        width: auto;
    }
    .btn-login{
        width: auto;
    }
    .footer-panel{
        display: block;
        font-size: 15px;
    }
}   


@media(max-width: 599px) {
    .container{
        background: url(assets/moviles-xs.webp) ;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        width: 100%;
        /* height: 100%; */
        justify-content: center;
        padding-block: 2rem;
        flex-direction: column;
    }
    .panel-left{
        display: none;
    }
    .title-form svg{
        width: 259px;
        height: 30px;
    }
    .title-form span{
        width: 259px;
        font-size: 11px;
        line-height: 13px;
    }
    .form-container{
        width: 90%;
        height: auto;
        padding: 40px;
    }
    .form-content{
        padding-top: 16px;
        gap: 16px;
    }
    .form-panel{
        width: 100%;
        height: 100%;
    }
    .input-group{
        width: auto;
    }
    .input-group label{
        font-size: 12px;
    }
    .btn-login{
        width: auto;
    }
    .footer-panel{
        display: block;
        font-size: 12px;
    }
    .ingenium-logo-mobile{
        display: flex;
        align-items: center;
        justify-content: center;
        padding-bottom: 32px;

    }
}


/*faqs*/

.floating-faq-btn {
    position: fixed;
    bottom: 2.5rem;
    right: 1.5rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background-color: #ffffff; /* FONDO BLANCO */
    color: #333333;           /* ICONO OSCURO */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    border: 2px solid #cccccc; /* Un pequeño borde para visibilidad */
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 9999;
}

.floating-faq-btn:hover,
.floating-faq-btn:focus {
    text-decoration: none;
    transform: scale(1.05);
    background-color: #f7f7f7; /* ligero gris en hover */
}

/* Ajustes para móviles */
@media (max-width: 767px) {
    .floating-faq-btn {
        bottom: 4rem;
        right: 1rem;
        width: 3rem;
        height: 3rem;
        font-size: 1.5rem;
    }
}

/* Texto encima del botón FAQ */
.faq-tooltip {
    position: fixed;
    bottom: 6rem; /* encima del botón */
    right: 1.5rem;
    background-color: #ffffff;
    color: #333333;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    font-size: 0.95rem;
    font-weight: 600;
    z-index: 10000;
}

/* Móviles */
@media (max-width: 767px) {
    .faq-tooltip {
        bottom: 4.5rem;
    right: 4rem;
        font-size: 0.8rem;
    }
}
