body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
}

.principal {
    display: flex;
    width: 100%;
    height: 100%;
    padding: 0;
}

#dv1, #dv2 {
    height: 100%;
}

#dv1 {
    width: 70%;
    position: relative; /* Posiciona elementos internos absolutamente */
    overflow: hidden; /* Para que la imagen no se desborde */
}

#dv1 img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

#dv2 {
    width: 30%;
    background-color: white;
    display: flex;
    justify-content: center; /* Centra horizontalmente el contenido */
    align-items: center; /* Centra verticalmente el contenido */
}

#imgUser {
    width: 45%;
    height: auto;
    display: block;
    /* width: 200px; */
    /* height: 200px;  */
    border-radius: 50%;
    object-fit: cover;
}

@media (max-width: 1000px) {
    #dv1, #dv2 {
        width: 50%;
    }
}

@media (max-width: 600px) {
    #dv1 {
        display: none;
    }
    #dv2 {
        width: 100%;
    }
}

.user {
    margin: 0 auto;
    display: block;
    margin-bottom: 20px
}

h3 {
    margin: 0;
    padding: 0 0 20px;
    color: #59238F;
    text-align: center
}

.loginBox {
    width: 350px;
    min-height: 200px;
    border-radius: 10px;
    padding: 40px;
    box-sizing: border-box;
}

.loginBox input, #btnLogin {
    width: 100%;
    margin-bottom: 20px
}

.loginBox input[type="text"],
.loginBox input[type="password"]{
    border: 1px solid #d9dbf4;
    border-bottom: 2px solid #1e2081;
    outline: none;
    height: 40px;
    color: #000000;
    background: rgb(232, 240, 254);
    font-size: 16px;
    box-sizing: border-box;
    text-align: center;
}

.loginBox input[type="text"]:not([disabled]):hover,
.loginBox input[type="password"]:not([disabled]):hover {
    color: #1d1d1d;
    border: 1px solid #9aa1ff;
    box-shadow: 0 0 5px rgba(15, 19, 235, 0.3), 0 0 10px rgba(0, 255, 0, .2), 0 0 15px rgba(0, 255, 0, .1), 0 2px 0 black;
}

.loginBox input[type="text"].filled,
.loginBox input[type="password"].filled {
    background-color: rgb(98, 47, 192); /* Color cuando tiene datos */
}

.loginBox input[type="text"].empty,
.loginBox input[type="password"].empty {
    background-color: lightpink; /* Color cuando está vacío */
}

.loginBox input[type="text"]:focus,
.loginBox input[type="password"]:focus {
    border-bottom: 2px solid #42F3FA
}

#btnChangeUser {
    margin: 0 auto;
    margin-bottom: 3%;
    display: block;
    height: 30px;
    width: 30px; 
    cursor: pointer; 
    transition: transform 0.3s ease; 
}

#btnChangeUser:hover {
    transform: scale(1.1);
}

.inputBox {
    position: relative
}

.inputBox span {
    position: absolute;
    top: 10px;
    color: #262626
}

#btnLogin {
    border: none;
    outline: none;
    height: 40px;
    font-size: 16px;
    background: #59238F;
    color: #fff;
    border-radius: 20px;
    cursor: pointer
}

#btnLogin:hover {
    background: #6c35b9; 
}

.loginBox a {
    color: #262626;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    display: block
}

a:hover {
    color: #003cff
}

p {
    color: #0000ff
}

.LoaderModal p {
    color: #000;
}

.alert-warning {
    position: relative;
    overflow: hidden;
}

/****************************
*   Borde inferior animado  * 
*****************************/
.auto-close::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80%;
    height: 4px;
    background-color: #f3121d; 
    transform: scaleX(1);  
    transform-origin: left;  
    transition: transform 5s ease-out; 
}

.auto-close.fade-out::after {
    transform: scaleX(0); 
}

.auto-close.hide {
    opacity: 0;
    transition: opacity 1s ease-out;
    display: none;
}
/********************************
*   fin borde inferior animado  * 
*********************************/