.btn-read-more {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    min-width: auto !important;
    width: auto !important;
}

.btn-read-more i {
    flex-shrink: 0;
}

.btn-read-more span {
    flex-shrink: 0;
    display: inline-block;
}

/* Select2 focus border color to match input focus */
.select2-container--bootstrap-5.select2-container--focus .select2-selection,
.select2-container--bootstrap-5.select2-container--open .select2-selection,
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #F5C97A !important;
    box-shadow: 0 0 0 0.25rem rgba(253, 172, 83, 0.25) !important;
    outline: 0 !important;
}

/* Also target the selection element directly */
.select2-container.select2-container--focus .select2-selection,
.select2-container.select2-container--open .select2-selection {
    border-color: #F5C97A !important;
    box-shadow: 0 0 0 0.25rem rgba(253, 172, 83, 0.25) !important;
    outline: 0 !important;
}

/* Ensure Select2 matches form-control height and alignment */
.select2-container {
    width: 100% !important;
}

.select2-container .select2-selection--single {
    height: 55px !important;
    border: 0 !important;
    border-radius: 0.375rem !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: normal !important;
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    width: 100% !important;
    margin-left: 0.75rem !important;
    margin-right: 2.5rem !important;
}

.select2-container .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    top: 0 !important;
    right: 0.75rem !important;
    display: flex !important;
    align-items: center !important;
}

.select2-container .select2-selection--single .select2-selection__arrow b {
    margin-top: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

/* Match placeholder color with input */
.select2-container .select2-selection--single .select2-selection__placeholder {
    color: #6c757d !important;
}

/* Select2 search input border color to match input focus - All themes */
.select2-container--bootstrap-5 .select2-search--dropdown .select2-search__field,
.select2-container--default .select2-search--dropdown .select2-search__field,
.select2-container--bootstrap .select2-search--dropdown .select2-search__field,
.select2-search--dropdown .select2-search__field {
    border-color: #F5C97A !important;
    box-shadow: 0 0 0 0.25rem rgba(253, 172, 83, 0.25) !important;
    outline: 0 !important;
}

.select2-container--bootstrap-5 .select2-search--dropdown .select2-search__field:focus,
.select2-container--default .select2-search--dropdown .select2-search__field:focus,
.select2-container--bootstrap .select2-search--dropdown .select2-search__field:focus,
.select2-search--dropdown .select2-search__field:focus {
    border-color: #F5C97A !important;
    box-shadow: 0 0 0 0.25rem rgba(253, 172, 83, 0.25) !important;
    outline: 0 !important;
}

/* Selected option background color - DTech yellow - All themes */
.select2-container--bootstrap-5 .select2-results__option--highlighted[aria-selected],
.select2-container--bootstrap-5 .select2-results__option[aria-selected="true"],
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option[aria-selected="true"],
.select2-container--bootstrap .select2-results__option--highlighted[aria-selected],
.select2-container--bootstrap .select2-results__option[aria-selected="true"],
.select2-results__option--highlighted[aria-selected],
.select2-results__option[aria-selected="true"] {
    background-color: #F5C97A !important;
    color: #000 !important;
}

/* Hover state for options */
.select2-container--bootstrap-5 .select2-results__option:hover,
.select2-container--default .select2-results__option:hover,
.select2-container--bootstrap .select2-results__option:hover,
.select2-results__option:hover {
    background-color: rgba(245, 201, 122, 0.3) !important;
}

/* Active/highlighted option when navigating with keyboard */
.select2-container--bootstrap-5 .select2-results__option--highlighted,
.select2-container--default .select2-results__option--highlighted,
.select2-container--bootstrap .select2-results__option--highlighted,
.select2-results__option--highlighted {
    background-color: rgba(245, 201, 122, 0.5) !important;
    color: #000 !important;
}
