/* Custom Login Page Enhancements */

/* Input focus effects */
.login-form input.form-control:focus {
    border-color: #3498db !important;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25) !important;
    outline: none;
}

/* Button hover effect */
.login-form .btn.blue:hover {
    background-color: #2980b9 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(52, 152, 219, 0.4) !important;
}

.login-form .btn.blue:active {
    transform: translateY(0);
}

/* Forgot password link hover */
.forget-password:hover {
    color: #2980b9 !important;
    text-decoration: underline !important;
}

/* Checkbox styling enhancement */
.mt-checkbox-outline input[type=checkbox]:checked + span:after {
    border-color: #3498db !important;
}

/* Login content container */
.login-content {
    background: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .login-content {
        padding: 30px 20px;
    }
    
    .login-content h1 {
        font-size: 26px !important;
    }
}

/* Smooth transitions for all interactive elements */
input, button, a {
    transition: all 0.3s ease;
}

/* Alert styling improvement */
.alert-danger {
    animation: slideInDown 0.4s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fix for background shading preventing button click */
.user-login-5 .login-bg,
.user-login-5 .login-bg::before,
.user-login-5 .login-bg::after {
    pointer-events: none !important;  /* Disable click blocking */
    z-index: 1 !important;
}

/* Ensure login form sits ABOVE the shading */
.login-container,
.login-content,
.login-form,
.login-submit-btn {
    position: relative !important;
    z-index: 10 !important;
}

