/* Styling for hashtag row under posts */
.sdfh-hashtag-row {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #1a73e8; /* can refine later */
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sdfh-filter-banner {
    background: #fff9c4;
    border: 1px solid #f1e28c;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

/* ============================================================
   SDFH Tag Picker — matches SureProducts design language
   ============================================================ */

.sdfh-picker {
    margin: 0 0 12px;
    padding: 12px 16px;
    border-top: 1px solid #e8e8e8;
    position: relative;
}

.sdfh-picker__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.sdfh-picker__label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
}

.sdfh-picker__count {
    font-size: 11px;
    color: #9ca3af;
    font-variant-numeric: tabular-nums;
}

/* Chips area */
.sdfh-picker__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    min-height: 32px;
}

/* Selected tag chip */
.sdfh-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px 4px 10px;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 100px;
    font-size: 13px;
    color: #374151;
    font-weight: 500;
    line-height: 1;
}

.sdfh-chip__remove {
    background: none;
    border: none;
    padding: 0;
    margin-left: 3px;
    cursor: pointer;
    color: #9ca3af;
    font-size: 16px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    transition: color 0.15s;
}

.sdfh-chip__remove:hover {
    color: #374151;
}

/* Add tag button */
.sdfh-picker__add-btn {
    background: none;
    border: 1px dashed #d1d5db;
    border-radius: 100px;
    padding: 4px 12px;
    font-size: 12px;
    color: #6b7280;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s;
    font-weight: 500;
    line-height: 1.5;
}

.sdfh-picker__add-btn:hover {
    border-color: #9ca3af;
    color: #374151;
}

/* Dropdown */
.sdfh-picker__dropdown {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    max-height: 220px;
    overflow-y: auto;
    margin-top: 4px;
}

.sdfh-picker__list {
    list-style: none;
    margin: 0;
    padding: 4px 0;
}

.sdfh-picker__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 14px;
    font-size: 13px;
    color: #374151;
    cursor: pointer;
    transition: background 0.1s;
    gap: 6px;
}

.sdfh-picker__option:hover:not(.is-disabled) {
    background: #f9fafb;
}

.sdfh-picker__option.is-selected {
    color: #111827;
    font-weight: 600;
}

.sdfh-picker__option.is-disabled {
    opacity: 0.38;
    cursor: default;
    pointer-events: none;
}

.sdfh-picker__option-hash {
    color: #FFCC00;
    font-weight: 700;
    margin-right: 2px;
}

.sdfh-picker__option-check {
    color: #111827;
    font-size: 12px;
    margin-left: auto;
}

.sdfh-picker__empty {
    padding: 12px 14px;
    font-size: 13px;
    color: #9ca3af;
}

.sdfh-picker__option-left {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 3px;
    flex: 1;
}

.sdfh-picker__option-desc {
    color: #9ca3af;
    font-size: 11px;
    font-weight: 400;
}