/*
 * SIGDES 3.1 - Admin Global Native Select Contrast V2
 *
 * Problem:
 * Windows/Chrome may render native <select> popup with a white surface,
 * while the Hercules/admin theme gives <option> a light text color.
 * This produces white-on-white / very low contrast menu items.
 *
 * This stylesheet is loaded only by the detected admin layout.
 */

select {
    color-scheme: light;
}

select option,
select optgroup {
    background-color: #ffffff !important;
    color: #111827 !important;
    -webkit-text-fill-color: #111827 !important;
}

select option:disabled {
    color: #6b7280 !important;
    -webkit-text-fill-color: #6b7280 !important;
}

select option:checked {
    background-color: #2563eb !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/*
 * Keep the closed select itself under the existing Hercules theme.
 * We intentionally do NOT set the select background/text here.
 */
