/* Modal specific styles to fix admin login modal issue */
.modal {
    z-index: 1055 !important;
}

/* Remove the modal backdrop completely for admin modal */
body.modal-open {
    overflow: auto !important;
    padding-right: 0 !important;
}

/* Hide any modal backdrops */
.modal-backdrop {
    display: none !important;
    opacity: 0 !important;
    z-index: -1 !important;
}

/* Ensure modal content is above backdrop */
.modal-dialog {
    z-index: 1070 !important;
    position: relative;
    margin: 1.75rem auto !important;
}

/* Fix for pointer events to ensure form is clickable */
.modal-content {
    position: relative;
    z-index: 1075 !important;
    pointer-events: auto;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Ensure form inputs are accessible */
.modal-body {
    position: relative;
    z-index: 1080 !important;
}

/* Ensure form inputs receive clicks */
.modal-body input,
.modal-body button {
    position: relative;
    z-index: 1085 !important;
}
