/*
 * mav-select.css
 * Dark-theme styles for dbc.Select (native HTML <select class="form-select">).
 * Pure CSS — no JS, no React Select, no Emotion CSS conflicts.
 * Applies to all converted dbc.Select components across the app.
 */

/* ── Base: teal accent (filter/account dropdowns) ── */
select.form-select {
    appearance: none !important;
    -webkit-appearance: none !important;
    background-color: rgba(10, 15, 30, 0.92) !important;
    color: #00e5a0 !important;
    border: 1px solid rgba(0, 229, 160, 0.25) !important;
    border-radius: 6px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.875rem !important;
    padding: 7px 32px 7px 12px !important;
    cursor: pointer !important;
    width: 100% !important;
    min-height: 38px !important;
    /* Teal SVG chevron arrow */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300e5a0' d='M6 8L1 3h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 12px !important;
    transition: border-color 0.15s ease !important;
}

select.form-select:hover {
    border-color: rgba(0, 229, 160, 0.5) !important;
}

select.form-select:focus {
    border-color: rgba(0, 229, 160, 0.6) !important;
    box-shadow: 0 0 0 2px rgba(0, 229, 160, 0.15) !important;
    outline: none !important;
}

/* Option items (styling support varies by OS/browser, best effort) */
select.form-select option {
    background-color: rgb(8, 12, 25) !important;
    color: #00e5a0 !important;
}

/* ── Blue variant: threshold/settings dropdowns ── */
select.form-select.threshold-weeks-select {
    color: #5fa4ff !important;
    border-color: rgba(95, 164, 255, 0.25) !important;
    width: auto !important;
    min-width: 120px !important;
    /* Blue SVG chevron */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235fa4ff' d='M6 8L1 3h10z'/%3E%3C/svg%3E") !important;
}

select.form-select.threshold-weeks-select:hover {
    border-color: rgba(95, 164, 255, 0.5) !important;
}

select.form-select.threshold-weeks-select:focus {
    border-color: rgba(95, 164, 255, 0.6) !important;
    box-shadow: 0 0 0 2px rgba(95, 164, 255, 0.15) !important;
}

select.form-select.threshold-weeks-select option {
    background-color: rgb(8, 12, 25) !important;
    color: #5fa4ff !important;
}
