/* Add custom styles here */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.card {
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

/* Fix modal z-index conflicts */
.modal {
    z-index: 9999 !important;
}

.modal-backdrop {
    z-index: 9998 !important;
}

.modal-dialog {
    z-index: 10000 !important;
}

/* Ensure sidebar stays below modals */
.sidebar {
    z-index: 100 !important;
}

/* Additional modal fixes */
.modal.show {
    display: block !important;
}

.modal-backdrop.show {
    opacity: 0.5 !important;
}

/* Ensure modal content is clickable */
.modal-content {
    position: relative;
    z-index: 10001 !important;
    pointer-events: auto !important;
}

.modal-footer button {
    position: relative;
    z-index: 10002 !important;
    pointer-events: auto !important;
}

/* Fix any overlay issues */
.modal-open {
    overflow: hidden !important;
}

/* Ensure modal is not behind anything */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5) !important;
}

/* Remove any potential pointer-events issues */
.modal * {
    pointer-events: auto !important;
}