body.modal-open {
    overflow: hidden;
}

.modalclose {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: black;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 2rem;
    font-weight: bolder;
    border-radius: 4px;
    z-index: 1051; /* Ensure it's above the modal content */
}

button:focus, .filter-button:focus {
    outline: none;
}

select:focus {
    outline: none;
    border: none;
}

#showFiltersBtn {
    background-color: #0273fc;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin: 20px;
    transition: background-color 0.3s ease;
}

    #showFiltersBtn:hover {
        background-color: #025bbd;
    }

/* Bootstrap Modal Custom Styles */
.modal-content {
    background-color: black !important;
    /*background-color: rgba(0, 0, 0, 0.8) !important;*/
    color: #fff;
}

.modal-header {
    border-bottom: none !important;
}

.modal-footer {
    border-top: 1px solid #444;
}

/* Remove filter button borders and improve styling */
.filter-button {
    /*border-color: #0273fc;*/
    border: none;
    border-width: 1px;
    background-color: black;
    color: #7a7b80;
    border-radius: 10px;
    padding: 0px 15px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    /*font-weight: bold;*/
    height: 30px; /* Set a specific height */
}

    .filter-button:hover {
        /*background-color: #0273fc;*/
        font-weight: bold;
        color: #fff;
    }

.filter-options .active {
    background-color: #0273fc;
    font-weight: bold;
    color: #fff;
}

.filter-section {
    margin-bottom: 1rem;
}

h4 {
    margin: 10px 0;
    font-size: 0.9rem !important;
    font-weight: bolder !important;
    color: #fff !important;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-left: 1rem;
}

/* Make the close button 'X' white */
.modal-header .close span {
    color: #fff;
}

.modal-lg{
    min-width: 1200px;
}

@media (max-width: 768px) {
    .modal-lg {        
        min-width: unset;
    }

    .modal-header {        
        padding: 10px !important;        
    }

    .filter-button {        
        border-width: 1px;        
        color: #7a7b80;        
        padding: 0px 10px;        
        font-size: 0.75rem;
        transition: background-color 0.3s ease;
        font-weight: bold;
        height: 20px; /* Set a specific height */
        border: none;
    }


}