/* Estilo para el ojo de la contraseña */
.fa-eye,
.fa-eye-slash {
    font-size: 16px;
    color: rgb(246, 248, 253);
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 52px;
    transform: translateY(-50%);
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #f4f6fc;

}

.main-container {
    display: flex;
    min-height: 100vh;
    position: relative;
}

.form-container {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 20px;
    position: relative;
    z-index: 10;
}

.form-content {

    padding: 40px;
    border-radius: 8px;
    width: 100%;
    max-width: 450px;
}

.image-container {
    width: 50%;
    position: relative;
    background-color: rgb(24, 49, 96);
}

.imagen-arriba {
    width: 150px;
    margin-bottom: 5px;
}

h3.text-left {
    text-align: left;
    margin-bottom: 50px;
    font-size: 16px;
    color: #333;
}

.error-message {
    position: relative;
    top: 10px;
    color: red;
    background-color: rgb(248, 219, 219);
    padding: 8px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}
.input-error {
    color: red;
    font-size: 0.775rem; /* letra pequeña */
    margin-top: 2px;
    display: block;
}
.form-label {
    font-size: 16px;
    color: black;
    margin-bottom: 5px;
    display: block;
}

.form-contro {
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: rgb(2, 2, 77);
    color: white;
    width: 100%;
    margin-bottom: 15px;
    padding: 8px 15px;
    position: relative;
}

.form-contro::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-contro:hover,
.form-contro:focus {
    background-color: rgb(6, 4, 46);
    color: white;
    border-color: rgb(6, 4, 46);
    outline: none;
}

.password-container {
    position: relative;
}

.btn-custom {
    background-color: #f4f6fc;
    border: none;
    color: black;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-weight: bold;
    margin-top: 20px;
}

.btn-custom:hover {
    background-color: rgb(2, 2, 77);
    color: white;
}

.btn-custom:focus,
.btn-custom:active {
    background-color: rgb(6, 4, 46);
    transform: scale(0.98);
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    color: white;
}

.text-secondary {
    display: block;
    width: 160px;
    text-align: left;
    margin-top: 5px;
    font-size: 14px;
    color: #6c757d;
}

.imagen-grande {
    width: 100%;
    height: 80%;
    object-fit: cover;
    position: absolute;
    top: 54.4%;
    left: 48%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.99);
    border-radius: 7px;
    z-index: 10;
}

.decorative-bar {
    position: absolute;
    width: 50px;
    height: 100%;
    background-color: rgb(42, 69, 118);
    left: 0;
    z-index: 1;
    opacity: 0.5;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.99);
}

.decorative-bar-2 {
    position: absolute;
    width: 100%;
    height: 50px;
    background-color: rgb(42, 69, 118);
    left: 0px;
    z-index: 2;
    opacity: 0.5;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.99);
}

@media (max-width: 992px) {
    .main-container {
        flex-direction: column;
    }

    .form-container,
    .image-container {
        width: 100%;
    }

    .image-container {
        display: none;
    }

    .form-content {
        max-width: 100%;
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .imagen-arriba {
        width: 120px;
    }

    .form-content {
        padding: 20px;
    }
}
