.custom-select-filter {
    position: relative;
    display: inline-block;
    /* margin-right: 12px;
    margin-bottom: 12px; */
    /* font-family: system-ui, -apple-system, sans-serif; */
}

/* Trigger */
.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    padding: 10px 16px;
    background: #F8F9FA;
    border: 1px solid #EAECF0;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
    color: #252525;
    transition: all 0.2s;
    user-select: none;
    /* max-width: 146px; */
    width: 100%;
    min-width: 160px;
    height: 56px;
    border-radius: 16px;
}
/* .custom-select-trigger:hover { background: #F9FAFB; border-color: #D1D5DB; } */
/* .custom-select-filter.active .custom-select-trigger { background: #F3F4F6; border-color: #111827; } */

.custom-select-badge {
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    background: #02402D;
    color: #fff;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    border-radius: 10px;
}
.custom-select-filter.has-active .custom-select-badge { display: inline-flex; }

.custom-select-arrow { transition: transform 0.2s; color: #6B7280; }
.custom-select-filter.active .custom-select-arrow { transform: rotate(180deg); color: #111827; }

/* Dropdown */
.custom-select-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 260px;
    background: #F8F9FA;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    overflow: hidden;
}
.custom-select-filter.active .custom-select-dropdown {
    opacity: 1; visibility: visible; transform: translateY(0);
}

/* Reset Button */
.custom-select-header { padding: 12px 16px 8px; }
.custom-select-reset {
    display: flex; align-items: center; gap: 8px;
    padding: 0; background: none; border: none;
    cursor: pointer; font-size: 13px; font-weight: 500;
    color: #111827; width: 100%; text-align: left;
}
.custom-select-reset:hover { color: #EF4444; }
.custom-select-reset:hover svg path { stroke: #EF4444; }

/* Options */
.custom-select-options { padding: 4px 12px 12px; max-height: 320px; overflow-y: auto; }
.custom-select-options::-webkit-scrollbar { width: 4px; }
.custom-select-options::-webkit-scrollbar-thumb { background: #D1D5DB; border-radius: 4px; }

.custom-select-option {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 4px; cursor: pointer; user-select: none;
    border-radius: 8px; transition: background 0.15s;
}
.custom-select-option:hover { background: rgba(0,0,0,0.03); }

.custom-select-option input[type="checkbox"] {
    position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0;
}

/* Custom Checkbox */
.custom-checkbox {
    display: flex; align-items: center; justify-content: center;
    width: 18px; height: 18px; border: 1.5px solid #D1D5DB;
    border-radius: 4px; background: #fff; transition: all 0.15s;
    flex-shrink: 0; position: relative;
}
.custom-checkbox::after {
    content: ''; width: 10px; height: 6px;
    border-left: 2px solid #fff; border-bottom: 2px solid #fff;
    transform: rotate(-45deg) translate(1px, -1px);
    opacity: 0; transition: opacity 0.15s;
}

.custom-select-option input[type="checkbox"]:checked + .custom-checkbox {
    background: #111827; border-color: #111827;
}
.custom-select-option input[type="checkbox"]:checked + .custom-checkbox::after { opacity: 1; }

.custom-option-text { font-size: 14px; color: #374151; line-height: 1.4; }

