/* Modal content: lighter background with subtle shadow */
.dark-modal .modal-content {
    background-color: #f0f2f5; /* light gray */
    color: #212529; /* dark text for contrast */
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

/* Modal header */
.dark-modal .modal-header {
    background-color: #e3e6ea; /* slightly darker than body */
    color: #000;
    border-bottom: 1px solid #ccc;
    padding-top: 0.6rem;
    padding-bottom: 0.5rem;
    min-height: auto; /* override default height if needed */
}

.dark-modal .modal-title {
    font-size: 1.2rem;
}

/* Modal body */
.dark-modal .modal-body {
    color: #333;
    background-color: #f0f2f5; /* light gray */
}

/* Modal footer */
.dark-modal .modal-footer {
    border-top: none;
    background-color: #f0f2f5; /* light gray */
}

/* Buttons */
.dark-modal .btn-primary {
    padding: 5px 10px;
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
    width: 100px;
}

.dark-modal .btn-secondary {
    padding: 5px 10px;
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
    width: 100px;
}

/* Close button (btn-close) */
.dark-modal .btn-close {
    filter: invert(1); /* makes the close icon dark on light background */
}
