/* Filter Dropdown Styles */
.filter-dropdown {
    position: relative;
}

.filter-dropdown__toggle {
    width: 100%;
    padding: 0.75rem 1rem;
    background: white;
    border: 1.5px solid #d1d5db;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.95rem;
    color: #374151;
    transition: all 0.2s ease;
    cursor: pointer;
}

.filter-dropdown__toggle:hover {
    border-color: #9ca3af;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-dropdown__toggle:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.filter-dropdown__label {
    flex: 1;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.filter-dropdown__icon {
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
    color: #6b7280;
}

.filter-dropdown__toggle[aria-expanded="true"] .filter-dropdown__icon {
    transform: rotate(180deg);
}

.filter-dropdown__menu {
    width: 100%;
    min-width: 280px;
    max-width: 400px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.filter-dropdown__options {
    max-height: 320px;
    overflow-y: auto;
}

.filter-dropdown__options::-webkit-scrollbar {
    width: 6px;
}

.filter-dropdown__options::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 3px;
}

.filter-dropdown__options::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.filter-dropdown__options::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.filter-dropdown__option {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    margin: 0.25rem 0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
    text-decoration: none;
    color: #374151;
}

.filter-dropdown__option:hover {
    background-color: #f3f4f6;
    color: #1f2937;
}

.filter-dropdown__option.active {
    background-color: #eff6ff;
    color: #1e40af;
    font-weight: 500;
}

.filter-dropdown__option.active::before {
    content: '\F272';
    font-family: 'bootstrap-icons';
    margin-right: 0.5rem;
    color: #3b82f6;
}

.filter-dropdown__option span {
    flex: 1;
    font-size: 0.95rem;
}

.filter-submit {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive */
@media (max-width: 767px) {
    .filter-dropdown__menu {
        max-width: 100%;
    }
    
    .filter-submit {
        margin-top: 0.5rem;
    }
}

/* Search Styles */
.search-thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 0.75rem;
}

.search-result-content {
    flex: 1;
}

.title {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.meta {
    font-size: 0.875rem;
    color: #6b7280;
}


.badge {
    font-size: 0.675rem;
    padding: 0.25rem 0.45rem;
    border-radius: 1.125rem;
}

/*.badge {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
    border-radius: 1.125rem;
}*/

.list-group-item {
    display: flex;
    align-items: flex-start;
    padding: 0.75rem 1.25rem;
    margin: 0.25rem 0;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease;
}

.list-group-item:hover {
    background-color: #f9fafb;
}

.list-group-item:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}