/***** Select2 Modern Lumajang Tulen Theme *****/
/* Ensure native select element cannot be touched or focused directly by mobile webview */
select.select2-hidden-accessible {
    pointer-events: none !important;
    touch-action: none !important;
    position: absolute !important;
    left: -99999px !important;
    top: -99999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    -webkit-clip-path: inset(50%) !important;
    clip-path: inset(50%) !important;
    -webkit-user-select: none !important;
    user-select: none !important;
}

.select2-container {
    width: 100% !important;
}

.select2-container .select2-selection {
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation !important;
    cursor: pointer !important;
}

.select2-container--default .select2-selection--single {
    height: 48px !important;
    border-radius: 12px !important;
    border: 1.5px solid #e2e8f0 !important;
    background-color: #f8fafc !important;
    padding: 0.65rem 1rem !important;
    display: flex !important;
    align-items: center !important;
    font-size: 0.92rem !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: normal !important;
    color: #1e293b !important;
    padding-left: 0 !important;
    padding-right: 20px !important;
    font-weight: 500 !important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #94a3b8 !important;
    font-weight: 400 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px !important;
    right: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #64748b transparent transparent transparent !important;
    border-width: 5px 4px 0 4px !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #133e27 transparent !important;
    border-width: 0 4px 5px 4px !important;
}

.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default .select2-selection--single:focus {
    background-color: #ffffff !important;
    border-color: #133e27 !important;
    box-shadow: 0 0 0 3px rgba(19, 62, 39, 0.12) !important;
}

.select2-container--default.select2-container--disabled .select2-selection--single {
    background-color: #f1f5f9 !important;
    border-color: #e2e8f0 !important;
    color: #94a3b8 !important;
    cursor: not-allowed !important;
}

/* Dropdown Container */
.select2-dropdown {
    border-radius: 14px !important;
    border: 1.5px solid #e2e8f0 !important;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.1) !important;
    overflow: hidden !important;
    background: #ffffff !important;
    padding: 6px !important;
    z-index: 999999 !important;
}

.select2-container--open {
    z-index: 999999 !important;
}

/* Search input inside dropdown */
.select2-search--dropdown {
    padding: 6px !important;
}

.select2-search--dropdown .select2-search__field {
    height: 40px !important;
    border-radius: 8px !important;
    border: 1.5px solid #e2e8f0 !important;
    padding: 0 12px !important;
    background: #f8fafc !important;
    outline: none !important;
    font-size: 0.9rem !important;
    color: #1e293b !important;
}

.select2-search--dropdown .select2-search__field:focus {
    border-color: #133e27 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 2px rgba(19, 62, 39, 0.1) !important;
}

/* Options */
.select2-results__option {
    border-radius: 8px !important;
    padding: 9px 14px !important;
    font-size: 0.9rem !important;
    margin-bottom: 2px !important;
    transition: all 0.15s ease !important;
    color: #1e293b !important;
    font-weight: 500 !important;
}

.select2-results__option--highlighted[aria-selected] {
    background-color: #ebf3ee !important;
    color: #133e27 !important;
    font-weight: 600 !important;
}

.select2-results__option[aria-selected="true"] {
    background-color: #133e27 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}
/***** End Select2 Modern *****/
