/* Fix z-index for Select2 dropdown */
.swal2-actions {
  z-index: 0; /* Higher than SweetAlert2's z-index */
}
.select2-container--default .select2-selection--single {
  height: 38px !important;
  border-radius: 0.375rem !important; /* Matches Tailwind rounded-md */
  border: 1px solid #d1d5db !important; /* Tailwind border-gray-300 */
  padding: 0.5rem 0.75rem !important; /* Matches input padding */
  font-size: 0.875rem !important; /* Tailwind sm:text-sm */
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important; /* Tailwind shadow-sm */
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #4b5563 !important; /* Tailwind text-gray-700 */
  line-height: 1.5 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100% !important;
}

.select2-dropdown {
  border-radius: 0.375rem !important;
  border: 1px solid #d1d5db !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #3b82f6 !important; /* Tailwind blue-500 */
  color: #ffffff !important;
}

.select2-container--default .select2-results__option {
  padding: 0.5rem 0.75rem !important;
  font-size: 0.875rem !important;
}
