/* =========================
   FILTERS
========================= */

.filter-bar {
    background: #222;
    padding: 0.5rem;
    border-radius: 8px;
    align-items: center;
    overflow-x: auto;
    white-space: nowrap;
}

.filter-bar .form-check {
    display: inline-block;
    margin-right: 1rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    color: #ccc;
}

.filter-group label {
    font-size: 12px;
    margin-bottom: 4px;
}

.filter-group select,
.filter-group input {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #444;
    background: #333;
    color: white;
}


/* Sticky filter bar container */
#filterBarContent {
    position: fixed;
    z-index: 20;
    background-color: #1e1e1e; /* or your dashboard bg */
    padding: 1rem;
    border-bottom: 1px solid #444;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
}

/* Collapse behavior */
#filterBarContent.collapsed {
    max-height: 0;
    opacity: 0;
    padding: 0;
    border: none;
}

.filter-toggle-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

#filterToggleBtn {
    position: fixed;
    top: 20px;
    background-color: #333;
    border: 2px solid #555;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
    color: #fff;
    cursor: pointer;
    padding: 0px 5px 0px 5px;
    z-index: 1000;
    transition: transform 0.3s ease;
}

#filterToggleBtn:hover {
    background-color: #444;
}
/* Rotated state (collapsed) */
#filterToggleBtn.collapsed {
    transform: rotate(180deg);
}
main {
    margin-top: 15px;
}
#filterBarContent{
    font-size: small;
    border-radius: 0px 0px 20px 20px;
}
/* Mobile collapse */
@media (min-width: 768px) {
    #filterBarContent{
        width: 98.5%;
    }
}
@media (max-width: 768px) {
    #filterBarContent{
        width: 91%;
    }
}
