.background-wrapper {
    height: 100vh;
}
.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 120%; /* Ocupa el 55% del ancho de la pantalla */
    height: 100%; /* Ocupa toda la altura de la pantalla */
    object-fit: cover; /* Asegura que la imagen no se deforme */
    z-index: 0; /* Coloca la imagen detrás del contenido */
}

body.login .login-sidebar:after {
    z-index: -1;
}

body.login .login-sidebar {
    background: #f2f5f8;
    color: #213140;
    border-top: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.login-wrapper {
    margin: 0 auto !important;
    box-shadow: none !important;
}
body.login .login-sidebar,
.login-wrapper {
    border-top-left-radius: 60px !important;
    border-bottom-left-radius: 60px !important;
}

.login-wrapper {
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 40px;
    text-align: center;
}

h2 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

body.login .logo,
.logo {
    width: 200px;
    max-width: 200px;
    margin: 0 auto 40px;
    padding: 0;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 0 auto;
    align-items: center;
}

.form-group {
    text-align: left;
}

label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
}

input {
    width: 100%;
    width: 200px;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #213140;
    border-radius: 4px;
    box-sizing: border-box;
}

input:focus {
    outline: none;
}

.btn {
    width: 100%;
    width: 200px;
    max-width: 200px;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #112c47;
    border: none;
    border-radius: 42px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-transform: uppercase;
}

.btn:hover {
    background-color: #0f243b;
}

.forgot-password {
    display: block;
    margin-top: 10px;
    font-size: 9px;
    letter-spacing: 1px;
    color: #213140;
    font-weight: 600;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.error-messages {
    margin-top: -10px;
    margin-bottom: 10px;
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    text-align: left;
    font-size: 14px;
}

.error-messages ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.error-messages li {
    margin-bottom: 5px;
}
