/* Dark theme fix — dcc.Dropdown (react-select) text visibility */

/* Selected value text */
.Select-control {
    background-color: #0d1117 !important;
    border-color: #30363d !important;
    color: #e6edf3 !important;
}
.Select-value-label,
.Select--single > .Select-control .Select-value .Select-value-label {
    color: #e6edf3 !important;
}

/* Placeholder + input text */
.Select-placeholder {
    color: #8b949e !important;
}
.Select-input > input {
    color: #e6edf3 !important;
}

/* Open menu */
.Select-menu-outer {
    background-color: #161b22 !important;
    border-color: #30363d !important;
    color: #e6edf3 !important;
    z-index: 9999 !important;
}
.VirtualizedSelectOption {
    background-color: #161b22 !important;
    color: #e6edf3 !important;
}
.VirtualizedSelectFocusedOption {
    background-color: #2979ff33 !important;
    color: #ffffff !important;
}
.VirtualizedSelectSelectedOption {
    background-color: #2979ff22 !important;
    color: #2979ff !important;
}

/* Arrow + clear icons */
.Select-arrow {
    border-color: #8b949e transparent transparent !important;
}
.is-open > .Select-control .Select-arrow {
    border-color: transparent transparent #8b949e !important;
}
.Select-clear {
    color: #8b949e !important;
}

/* Disabled state */
.is-disabled > .Select-control {
    background-color: #161b22 !important;
}

/* Multi-select tags */
.Select--multi .Select-value {
    background-color: #2979ff22 !important;
    border-color: #2979ff !important;
    color: #2979ff !important;
}
