/* Container and header styling */
.filter-container {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    font-family: Arial, sans-serif;
    margin-bottom: 0.5rem;
}

.filter-header {
    background-color: #F5F5F5;
    color: #000;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px 10px 0 0;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 19px;
}

.filter-header .toggle-button {
    background: none;
    border: none;
    color: #0687D6;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    margin: 0;
    display: inline-block;
    width: 18px;
    height: 18px;
    fill: #0687D6;
}

/* Content and checkboxes */
.filter-content {
    padding: 10px;
    background-color: #fff;
    max-height: 300px; /* Initial max-height large enough for content */
    overflow-y: scroll;
    transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
}

.filter-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.filter-item input[type="checkbox"] {
    margin-right: 10px;
}

.filter-item span {
    font-size: 14px;
}

/* Optional: hover and focus effects */
.filter-item input[type="checkbox"]:hover {
    cursor: pointer;
}

.filter-item input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 3px 2px #0687D6;
}

.filter-content.hidden {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
}
.filter-button-container {
    text-align: right;
}

.filter-button {
    border-radius: 6px;
    border: 1px solid #FFA500;
    background: #FFA500;
    display: flex;
    height: 44px;
    padding: 0px 30px;
    justify-content: center;
    align-items: center;
    color: #00182C;
    text-align: center;
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    cursor: pointer;
    margin-left: auto;
    transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
}

.filter-button:hover {
    background-color: #0687d5;
    color: #fff;
    border: 1px solid #0687d5;
}