

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #11182766;
    z-index: 0;
}

.container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex: 1;
    position: relative;
    z-index: 1;
    padding-left: 20px; /* Espacio a la izquierda */
}

.login-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    text-align: center;
    width: 350px;
    border-top: 5px solid #b5e61d;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInUp 1.0s forwards;
    margin-left: 10%; /* Espacio adicional para que no quede tan pegado */
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo img {
    max-width: 45%;
    margin-bottom: 15px;
}

.input-group {
    margin-bottom: 15px;
}

button {
    width: 100%;
    font-weight: bold;
}

footer {
    /*background-color: rgba(44, 41, 40, 0.9);*/
    background-color: rgba(44, 41, 40, 0.7);
    color: white;
    text-align: center;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 13px;
    position: relative;
    z-index: 2;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 900px;
    width: 100%;
}

.footer-section {
    margin: 10px;
    flex: 1;
    min-width: 250px;
    text-align: left;
}

/* Añadir el estilo para los enlaces y el icono de ayuda */
.links {
    margin-top: 15px;
}

.link {
    color: #78c12e !important;
    text-decoration: none !important;;
    transition: color 0.3s !important;;
    font-size: 14px !important;
}

.link:hover{
    color: #669933 !important;;
}

.help-icon {
    display: flex;
    align-items: center;
    margin-left: 10px;
    cursor: pointer;
}

.help-icon img {
    width: 40px;
    height: 40px;
}

.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Responsividad para pantallas pequeñas */
@media (max-width: 768px) {
    .container {
        justify-content: center; /* Centrar el formulario en pantallas pequeñas */
        padding-left: 0;
    }

    .login-box {
        width: 280px;
        margin-left: 0; /* Eliminar el margen a la izquierda */
    }
}

@media (max-width: 480px) {
    .login-box {
        width: 75%; /* Aumentar el ancho en pantallas aún más pequeñas */
        margin-left: 0;
    }
}

/*custom boton primefaces*/
body .ui-button.ui-button-seed, body .ui-splitbutton.ui-button-seed > .ui-button {
    background: #78c12e;
    color: #ffffff;
    border: 1px solid #78c12e;
}

body .ui-button.ui-button-seed.ui-state-hover, body .ui-splitbutton.ui-button-seed > .ui-button.ui-state-hover {
    background: #669933;
    color: #ffffff;
    border-color: #669933;
}

body .ui-button.ui-button-seed.ui-state-focus, body .ui-splitbutton.ui-button-seed > .ui-button.ui-state-focus, body .ui-menubutton.ui-button-seed > .ui-button.ui-state-focus {
    box-shadow: 0 0 0 .2rem rgba(131, 216, 47, 0.9)
}

/*custom inputfiled primefaces*/
body .ui-inputfield.ui-inputfield-seed.ui-state-hover {
    border-color: #b5e61d
}

body .ui-inputfield.ui-inputfield-seed.ui-state-focus {
    border-color: #0a582a;
    outline: 0 none;
    box-shadow: 0 0 0 .2em rgba(14, 88, 10, 0.29)
}

a {
    color: rgb(0, 153, 204);
    text-decoration: none;
}