.ribbon1 {
    width: 100%;
    min-height: 40px;
    background: #fffefbe7;
    border-top: 2px solid #f59e0b;
    border-bottom: 2px solid #f59e0b;
    margin-bottom: 8px;
    padding: 8px 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.dark-mode .ribbon1 {
    background: #1f2631;
    border-color: #374151;
} 
.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 4px 4px 8px;
    background: #f8f9fa;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.filter-chip-button {
    cursor: pointer;
    padding: 4px 8px;
    background: #f8f9fa;
    color: #6b7280;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.filter-chip-button:hover {
    background: #dbeafe;
    color: #1e40af;
    border-color: #93c5fd;
}

.filter-placeholder {
    color: #6c757d;
    font-style: italic;
}

.filter-action-btn {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    color: #9ca3af;
    padding: -1px 2px;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    z-index: 1;
    line-height: 1;
}

.filter-action-btn i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
    font-size: 12px;
    transition: all 0.2s ease;
}

.filter-action-btn:hover i {
    filter: brightness(0.7);
    transform: translate(-50%, -50%) scale(1.1);
}

.filter-chip::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent);
    transition: left 0.5s;
}

.filter-chip:hover::after {
    left: 100%;
}

.dark-mode .filter-chip {
    background: #374151;
    color: #9ca3af;
    border-color: #4b5563;
}

.dark-mode .filter-chip-button {
    background: #374151;
    color: #9ca3af;
    border-color: #4b5563;
}

.dark-mode .filter-chip-button:hover {
    background: #1e3a8a;
    color: #93c5fd;
    border-color: #3b82f6;
}

.dark-mode .filter-chip:hover {
    background: #4b5563;
    border-color: #6b7280;
}

.dark-mode .filter-action-btn {
    background: #4b5563;
    border-color: #6b7280;
    color: #9ca3af;
}

.dark-mode .filter-action-btn:hover i {
    filter: brightness(0.7);
    transform: translate(-50%, -50%) scale(1.1);
} 