:root {
    --font-family: 'Public Sans', sans-serif;
    --color-primary: #4B465C;
}

html, body {
  
    overflow: hidden; /* Quita el scroll */
  
}
.containerFormLogin {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 10px;
    width: 100%;
    background-color: #f5f5f5;
    /* width: 80%;
    height: auto;
   
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    padding-left: 0px !important;
    padding-right: 0px !important; */

}
#content_form_login {
  
    border-radius: 16px;
  
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);


}

.left-section {
    background-color: #f5f5f5;
    position: relative;

  

    /* Esquinas redondeadas solo a la izquierda */
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    
    /* Si estás usando flexbox o grid y quieres que ocupe altura completa */
    height: 100vh;
    overflow: hidden; 
}

.image-container {
    height: 100%;
    width: 100%;
    background-color: #f5f5f5;
    position: relative;
    
}

.image-container img {
    width: 90%;
    height: 90%;
    /* object-fit: cover; */
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    position: absolute; /* se usa en caso de este div, donde tiene la altura y el ancho definido, sin esto top, right y left no funcionarían */
    margin: 5% 5%; 
}


.right-section {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

.login-box {
    text-align: center;
    width: 50%;      
}

.logo {
    width: 80%;
    margin-bottom: 20px;
}
.help-block{
    text-align: left;
}
.titleLogin {
    font-family:  var(--font-family);
    font-weight: 500; /* Medium */
    font-size: 26px;
    color:  var(--color-primary);
}

.subTitleLogin{
    font-family:  var(--font-family); 
    font-weight: 400; /* Regular */
    font-size: 15px;
    color:  var(--color-primary);
}

#formLogin {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btnPassword {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    width: 100%;
}
.form-control-position {
    position: absolute;
  
    top: 50% !important;
    transform: translateY(-50%) !important;
    cursor: pointer !important;
}
.redirectButtom {
    text-align: left;
    font-family: var(--font-family);
    font-weight: 400; /* Regular */
    font-size: 13px;
    color: var(--color-primary);
    text-decoration: dashed;
}

.redirectButtom:hover {
    color: var(--color-primary) !important;
    text-decoration: underline;
}

.redirectButtom:hover {
    text-decoration: underline;
}

.btnSubmitLogin {
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 400; /* Regular */
    color: #FFFFFF;
    background-color: #7367F0;
    padding: 10px 20px; /* Ajusta el tamaño del botón */
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}


/* Media Queries para la responsividad */
/* @media (max-width: 1200px) {
    .containerFormLogin {
        width: 90%;
        height: auto;
    }
} */

@media (max-width: 768px) {
    .containerFormLogin {
        grid-template-columns: 1fr;
        
         height: 100vh;
    width: 100%;
    }
    .left-section {
        display: none; /* Ocultar la imagen en pantallas pequeñas */
    }
    .right-section {
        padding: 40px 20px;
        ;
    }

    .login-box {
        width: 100%;
    }

    /* .logo {
        width: 80px;
    } */

    .titleLogin {
        font-size: 20px;
    }

    .subTitleLogin {
        font-size: 14px;
    }

    .btnPassword {
        font-size: 14px;
        padding: 8px;
    }

    .btnSubmitLogin {
        padding: 10px;
        font-size: 14px;
    }

    .image-container img {
        object-fit: contain;
    }
}

@media (max-width: 480px) {
    body {
        justify-content: flex-start;
    }

    /* .containerFormLogin {
        width: 100%;
        grid-template-columns: 1fr;
        border-radius: 0;
        box-shadow: none;
    } */

    .left-section {
        display: none; /* Ocultar la imagen en pantallas pequeñas */
    }

    .right-section {
        padding: 20px;
        text-align: center;
    }

    .login-box {
        width: 100%;
    }

    /* .logo {
        width: 70px;
    } */

    .titleLogin {
        font-size: 18px;
    }

    .subTitleLogin {
        font-size: 12px;
    }

    .btnPassword {
        font-size: 12px;
    }

    .btnSubmitLogin {
        padding: 8px;
        font-size: 12px;
    }
}
.labelRole {
    font-family:  var(--font-family);
    font-weight: 400; /* Regular */
    font-size: 13px;
    color: var(--color-primary);
}
.titleProfile{
    text-align: center;
}


/* Estilos de los selectores */
#system_section .input-group {
    margin-bottom: 15px;
}

#system_section select {
    width: 100%;
    border-radius: 5px;
    border: 1px solid #ccc;
}


/* Estilo de los botones */
.backButton:hover {
    background-color: #7367F0 !important; 
    color: #FFFFFF !important;
}
.fg-actions {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 20px;
}

.fg-actions .btn {
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

.fg-actions .btn-outline-primary {
    border: 1px solid #7367F0;
    color: #7367F0;
    background: transparent;
}

.fg-actions .btn-primary {
    background-color: #7367F0;
    color: white;
    border: none;
}

.fg-actions .btn-primary:hover,
.fg-actions .btn-outline-primary:hover {
    opacity: 0.9;
}

/* Mensajes */
.message-login {
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
}

.input-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}
.input-box {
    width: 46px;
    height: 46px;
    text-align: center;
    font-size: 18px;
    border: 1.5px solid #814b9e;
    border-radius: 4px;
    outline: none;
}
.input-box:focus {
    border-color: #5e3182;
    box-shadow: 0 0 5px #5e3182;
}
.validateButton {
    background-color: #814b9e;
    color: #fff;
}
.validateButton:hover {
    background-color: #5e3182;
}
:where([autocomplete=one-time-code]) {
    --otp-digits: 6;
    --otp-ls: 2ch;
    --otp-gap: 1.25;
  
    /* private consts */
    --_otp-bgsz: calc(var(--otp-ls) + 1ch);
    --_otp-digit: 0;
  
    all: unset;
    background: 
    linear-gradient(90deg, 
      var(--otp-bg, #BBB) calc(var(--otp-gap) * var(--otp-ls)),
      transparent 0),
      linear-gradient(90deg, 
      var(--otp-bg, #EEE) calc(var(--otp-gap) * var(--otp-ls)),
      transparent 0
    );
    background-position: calc(var(--_otp-digit) * var(--_otp-bgsz)) 0, 0 0;
    background-repeat: no-repeat, repeat-x;
    background-size: var(--_otp-bgsz) 100%;
    caret-color: var(--otp-cc, #222);
    caret-shape: block;
    clip-path: inset(0% calc(var(--otp-ls) / 2) 0% 0%);
    font-family: ui-monospace, monospace;
    font-size: var(--otp-fz, 2.5em);
    inline-size: calc(var(--otp-digits) * var(--_otp-bgsz));
    letter-spacing: var(--otp-ls);
    padding-block: var(--otp-pb, 1ch);
    padding-inline-start: calc(((var(--otp-ls) - 1ch) / 2) * var(--otp-gap));
  }
  
  /* For this demo */
  label span {
    display: block;
    font-family: ui-sans-serif, system-ui, sans-serif;
    font-weight: 500;
    margin-block-end: 1ch;
  }

  .form-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.form-checkbox .text {
    position: relative;
    flex: 1;
    margin-top: -1.00px;
    font-family: "Public Sans-Regular", Helvetica;
    font-weight: 400;
    color: var(--lightsolid-colordangerdanger-500-base);  /* Rojo para el mensaje de error */
    font-size: 11px;
    letter-spacing: 0;
    line-height: 1.2;
}
#footer{   
    text-align: right;
    bottom: 0;   
    margin-top: auto;
    width: 80%;
    vertical-align: -webkit-baseline-middle;
    padding: 10px 0;
    font-size: 14px;
    color: #aaa;
}