/**
 * Apply Here your Custom CSS
 */

:root {
    color-scheme: light !important;
}

select:not(.select2-offscreen),
select.form-control:not(.select2-offscreen),
.form-control select:not(.select2-offscreen) {
    color: #111827 !important;
    background-color: #ffffff !important;
    font-size: 14px !important;
    min-height: 38px !important;
    height: auto !important;
    padding: 6px 12px !important;
    line-height: 1.5 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-sizing: border-box !important;
}

select:focus,
select.form-control:focus {
    border-color: #e50914 !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(229, 9, 20, 0.2) !important;
}

select option,
select optgroup,
select.form-control option,
select.form-control optgroup {
    background-color: #ffffff !important;
    color: #111827 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    padding: 8px 12px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.modal select:not(.select2-offscreen),
.modal select.form-control:not(.select2-offscreen) {
    background-color: #ffffff !important;
    color: #111827 !important;
    z-index: 1055 !important;
}

.modal select option {
    background-color: #ffffff !important;
    color: #111827 !important;
}

/* Select2 Container & Dropdown Styling */
.select2-container {
    width: 100% !important;
    max-width: 100%;
    vertical-align: middle;
}
.form-inline .select2-container {
    width: auto !important;
    min-width: 140px;
}
.select2-container .select2-choice {
    height: 38px !important;
    line-height: 36px !important;
    border-radius: 6px !important;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
    color: #0f172a !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    padding: 0 12px !important;
    box-shadow: none !important;
    background-image: none !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.select2-container .select2-choice .select2-arrow {
    background: transparent !important;
    border-left: none !important;
    width: 26px;
}
.select2-container .select2-choice .select2-arrow b {
    background-position: 0 5px !important;
}
.select2-container.select2-dropdown-open .select2-choice {
    border-color: #e50914 !important;
    box-shadow: 0 0 0 2px rgba(229, 9, 20, 0.2) !important;
    background: #ffffff !important;
}
.select2-drop {
    border: 1px solid #cbd5e1 !important;
    border-radius: 0 0 8px 8px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
    z-index: 100060 !important;
    background: #ffffff !important;
    color: #0f172a !important;
    padding-top: 4px;
}
.select2-drop.select2-drop-above {
    border-radius: 8px 8px 0 0 !important;
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.15) !important;
}
.select2-search {
    padding: 4px 8px !important;
}
.select2-search input {
    border: 1px solid #cbd5e1 !important;
    border-radius: 4px !important;
    padding: 6px 8px !important;
    font-size: 13px !important;
    outline: none !important;
}
.select2-search input:focus {
    border-color: #e50914 !important;
}
.select2-results {
    max-height: 240px !important;
    padding: 4px !important;
    margin: 0 !important;
}
.select2-results .select2-result-label {
    padding: 8px 12px !important;
    font-size: 13px !important;
    color: #1e293b !important;
    border-radius: 4px !important;
    line-height: 1.4 !important;
}
.select2-results .select2-highlighted {
    background: #e50914 !important;
    color: #ffffff !important;
}
.select2-results .select2-highlighted .select2-result-label {
    color: #ffffff !important;
}
.select2-results .select2-no-results,
.select2-results .select2-searching {
    padding: 8px 12px !important;
    font-size: 12.5px !important;
    color: #64748b !important;
}
select.select2-offscreen,
.select2-offscreen {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    height: 1px !important;
    width: 1px !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
