/* Dedicated Select2 skin for the five support form selects. The custom
 * classes come from the Select2 init so these rules override vendor styling
 * without affecting other Select2 instances.
 */

.support-form-wrapper .input-group .select2-container {
    width: 100% !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
}

.select2-container--default .support-ticket-select.select2-selection--single {
    height: 52px !important;
    min-height: 52px !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    filter: none !important;
    padding: 4px !important;
    position: relative !important;
}

.select2-container--default .support-ticket-select.select2-selection--single::before,
.select2-container--default .support-ticket-select.select2-selection--single::after {
    content: none !important;
}

.select2-container--default .support-ticket-select.select2-selection--single .select2-selection__rendered {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 46px 0 16px !important;
    border: none !important;
    border-radius: 10px !important;
    background: #f8fafc !important;
    background-image: none !important;
    color: #1e293b !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.05) !important;
}

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

.select2-container--default .support-ticket-select.select2-selection--single .select2-selection__clear {
    position: absolute !important;
    top: 50% !important;
    right: 38px !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    color: #94a3b8 !important;
    font-size: 18px !important;
    line-height: 1 !important;
    z-index: 2 !important;
}

.select2-container--default .support-ticket-select.select2-selection--single .select2-selection__arrow {
    top: 10px !important;
    right: 14px !important;
    width: 24px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    border-left: none !important;
    box-shadow: none !important;
    pointer-events: none !important;
}

.select2-container--default .support-ticket-select.select2-selection--single .select2-selection__arrow b {
    border-color: #64748b transparent transparent transparent !important;
    border-width: 6px 5px 0 5px !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
    position: static !important;
}

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

.support-ticket-select-dropdown.select2-dropdown {
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
    overflow: hidden !important;
    margin-top: 8px !important;
    background: #fff !important;
}

.support-ticket-select-dropdown .select2-search--dropdown {
    padding: 10px !important;
    background: #fff !important;
}

.support-ticket-select-dropdown .select2-search__field {
    min-height: 44px !important;
    margin: 0 !important;
    padding: 10px 14px !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 10px !important;
    color: #1e293b !important;
    font-size: 0.95rem !important;
    outline: none !important;
}

.support-ticket-select-dropdown .select2-search__field:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

.support-ticket-select-dropdown .select2-results__options {
    padding: 0 8px 8px !important;
}

.support-ticket-select-dropdown .select2-results__option {
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    margin: 2px 0 !important;
    padding: 10px 14px !important;
    border-radius: 10px !important;
    color: #1e293b !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
}

.select2-container--default .support-ticket-select-dropdown .select2-results__option--highlighted[aria-selected] {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
}

.select2-container--default .support-ticket-select-dropdown .select2-results__option[aria-selected="true"] {
    background: #f8fafc !important;
    color: #0f172a !important;
}
