.navbar {
    background-color: var(--color-card);
    color: var(--color-fg);
    padding: 25px;
    position: sticky;
    height: auto;
    max-height: 27rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    width: 18rem;
    display: none;
    overflow-y: auto;
    overflow-x: hidden;
    transition: all 0.3s ease;
    justify-content: space-between;
    flex-direction: column;
    margin-top: 1.5rem;
}

.filter-section {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 15px;
}

.filter-section:last-child {
    border-bottom: none;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.filter-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--color-fg);
}

.arrow {
    transition: transform 0.3s ease;
    color: var(--color-main);
    font-size: 2rem;
}

.filter-section ul {
    list-style-type: none;
    padding: 10px 0 0 0;
    margin: 0;
}

.filter-section li {
    margin-bottom: 8px;
}

.filter-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding-left: 30px;
    user-select: none;
    transition: all 0.2s ease;
    border-radius: 8px;
    padding: 8px 8px 8px 30px;
}

.filter-option:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.filter-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    left: 8px;
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 2px solid var(--color-main);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.filter-option:hover .checkmark {
    border-color: var(--color-main-hover);
}

.filter-option input:checked ~ .checkmark {
    background-color: var(--color-main);
    border-color: var(--color-main);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-option input:checked ~ .checkmark:after {
    display: block;
}

.modern-btn {
    width: 100%;
    background-color: var(--color-main);
    color: white;
    border: none;
    border-radius: 12px;
    height: 2.8rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
}

.modern-btn:hover {
    background-color: var(--color-main-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.hidden {
    display: none;
}