.tag {
    display: inline-block;
    background: #e0f2fe;
    color: #0284c7;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-right: 0.5rem;
    margin-top: 0.5rem;
    font-weight: 600;
}

/* Tag Button Styling (Shared) */
.tag-option {
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.875rem;
    cursor: pointer;
    background-color: #f8fafc;
    color: var(--text-color);
    transition: all 0.2s;
    user-select: none;
}

.tag-option:hover {
    border-color: #0284c7;
    background-color: #e0f2fe;
}

/* Active State (Selected) */
.tag-option.active {
    background-color: #0284c7;
    color: var(--white);
    border-color: #0284c7;
}

/* Dropdown Styling */
.tag-filter {
    padding: 1rem 2.5rem 1rem 1.5rem; /* Extra right padding for the arrow */
    font-size: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    outline: none;
    background-color: #f8fafc;
    color: var(--text-color);
    cursor: pointer;
    appearance: none; /* Remove default browser arrow */
    
    /* Custom Arrow Icon */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    transition: all 0.2s ease;
}

.tag-filter:hover, .tag-filter:focus {
    border-color: #0284c7;
    background-color: var(--white);
}

