@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

html, body {
    height: 100%;
    width: 100%;
    font-family: "Raleway", serif;
    overflow-y: auto;
}

body {
    background: url('../../images/login/fondoLogin.png') no-repeat center center;
    background-size: cover;
}

h1{
    color: #FFFFFF;
}

.main-container{
    min-height: 100vh;
    width: 100%;
}

.boxLeftLogin{
    padding-left: 0;
    padding-right: 0;
    min-height: 225px;
}

.boxRightLogin{
    min-height: 375px;
}

.box-login{
    margin-right: 0px !important;
    margin-left: 0px !important;
}

.inputGris{
    background-color: #212E36;
    color: #FFFFFF;
    font-family: "Raleway", serif;
    max-height: 80px;
    height: 9vh !important;
}

input::placeholder{
    color: #AAAAAA;
    opacity: 1;
    font-size: clamp(0.875rem, 0.8286rem + 0.1905vw, 1rem);
}

/* Aplica estos estilos a todos los inputs que puedan autocompletarse */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    /* El truco principal: rellenar el fondo con box-shadow */
    -webkit-box-shadow: 0 0 0px 1000px #212E36 inset;
    box-shadow: 0 0 0px 1000px #212E36 inset;

    /* Color del texto */
    -webkit-text-fill-color: #fff;

    /* Para evitar que el color cambie tras cierto tiempo,
       se añade una transición "eterna" en background-color */
    transition: background-color 999999s ease-in-out 0s;
}

.boxBtnRegister{
    height: 12%;
    max-height: 80px;
}

.btnLogin{
    height: 100%;
    background-color: #D9D9D9;
    border-radius: 10px;
    color: #5858EE;
}

/* 1. Oculta el checkbox nativo */
.checkbox-container input[type="checkbox"] {
    opacity: 0;       /* No se ve */
    position: absolute;
    cursor: pointer;
}

/* 2. Estilos del contenedor (texto + cajita) */
.checkbox-container {
    display: inline-block;
    position: relative;
    padding-left: 28px; /* deja espacio para la cajita a la izquierda */
    cursor: pointer;
    user-select: none;
}

/* 3. Cajita que simulará el checkbox */
.checkbox-container .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background-color: transparent;
    border: 2px solid #212E36;
    border-radius: 4px; /* opcional, esquinas redondeadas */
}

/* 3.1. Pseudo-elemento para el “check” */
.checkbox-container .checkmark::after {
    content: "";            /* inicialmente vacío */
    position: absolute;
    display: none;          /* oculto si no está marcado */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: white;           /* color del ícono */
    font-size: 16px;        /* tamaño del ícono */
    text-align: center;     /* centrar el ✔ en el medio */
    line-height: 20px;      /* alinear verticalmente con la altura del checkbox */
}

/* 4. Cuando el checkbox está marcado */
.checkbox-container input[type="checkbox"]:checked ~ .checkmark {
    background-color: #212E36; /* color de fondo cuando está marcado */
    border: none;             /* opcional */
}

/* 4.1. Muestra el ícono “✔” */
.checkbox-container input[type="checkbox"]:checked ~ .checkmark::after {
    display: block;
    content: "✔";   /* Aquí insertas el símbolo de check */
}


.btn-back{
    border-radius: 5px;
    background-color: #5858EE;
    color: #FFFFFF;
    height: 2.569vw;
    max-height: 37px;
    min-height: 25px;
    width: 7.708vw;
    max-width:111px;
    min-width: 56px;
}

.img-back{
    width: 1.528vw;
    max-height: 22px;
    min-height: 15px;
    max-width: 22px;
    min-width: 15px;
}

.boxContenido{
    min-height: 91px;
}

@media (max-height: 699.98px) {
    html, body{
        overflow-y: auto;
    }
}

/* Scrool perfect */

.boxFormRegister {
    overflow: visible;
    z-index: 999;
    /* Quitar overflow-y para no forzar doble scroll */
    /* overflow-y: auto; */
    padding-right: 0;
    position: relative; /* Para que Perfect Scrollbar se ancle dentro */
}

#myCustomScrollbar {
    /* Evita forzar el scroll nativo */
    /* overflow-y: auto; */
    overflow: hidden; /* o visible, según necesites */
    position: relative;
    height: 100%; /* o un alto fijo/relativo para que PS funcione */
}

#myCustomScrollbar2 {
    /* Evita forzar el scroll nativo */
    /* overflow-y: auto; */
    overflow: hidden; /* o visible, según necesites */
    position: absolute;
    height: 100%; /* o un alto fijo/relativo para que PS funcione */
}

/* Rail vertical */
.ps__rail-y {
    opacity: 1 !important;             /* visible siempre */
    background-color: #212E36 !important;
    border-radius: 20px !important;
    right: 0px !important; /* se “pega” al lado derecho */
    width: 5px !important;
}

/* Thumb (la parte que se desplaza) */

.ps__thumb-y {
    background-color: #5858EE !important;
    border-radius: 20px !important;
    width: 5px !important;
    right: 0 !important;
}
/* Evitar que se oculte automáticamente */
.ps--active-y > .ps__rail-y {
    opacity: 1 !important;
}

/* Fin Scrool perfect */

.select2-container{
    order: 0 !important;
}

.divPass{
    border-radius: 10px;
}

.containerModalTermsPolices{
    overflow: visible;
    z-index: 9999;
    background-color: #212E36;
    border-radius: 20px;
    height: 50vh;
    padding-right: 0;
    position: relative;
}

h2{
    color: #FFFFFF;
}

h3{
    color: #FFFFFF;
}

p{
    color: #FFFFFF;
}

li{
    color: #FFFFFF;
}

ul{
    list-style-type: disc;
}

ol {
    list-style-type: decimal;
}