/* Custom Login Styles for Bootstrap Redesign */
html, body {
    height: 100%;
}

body.login-bg {
    background-color: #3f403f; /* Fallback color */
    background-image: url('https://exxuz.e-integracion.com/imagenes/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: 'Inter', Helvetica, Verdana, Geneva, Arial, sans-serif;
    position: relative;
    z-index: 1;
}

body.login-bg::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.55); /* Dark overlay for better contrast and modern look */
    z-index: -1;
}

.form-signin {
    max-width: 350px;
    padding: 15px;
    margin: 0 auto;
}

/* Glassmorphism Card Effect */
.login-card {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
}

/* Custom Input Styles */
.form-floating > .form-control:focus {
    border-color: #0B6121;
    box-shadow: 0 0 0 0.25rem rgba(11, 97, 33, 0.25);
}

.form-control {
    font-size: 15px;
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}

/* Submit Button */
.login-btn {
    background-color: #0B6121 !important;
    border-color: #0B6121 !important;
    color: #F4FBE9 !important;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
    margin-top: 10px;
}

.login-btn:hover, .login-btn:focus {
    background-color: #084718 !important;
    border-color: #084718 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(11, 97, 33, 0.3);
}

.login-btn:active {
    transform: translateY(0);
}

/* Footer Container inside login layout */
.footer-text {
    width: 100%;
}

.footer-text p, .footer-text div {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 13px !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    margin-bottom: 0;
}

.footer-text a {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-text a:hover {
    color: #EAF2DC;
    text-decoration: underline;
}