/*!
 * Select2 v4 Tailwind CSS 3 Dark Theme
 * Compatible with Tailwind CSS 3.x and includes dark mode support
 */

/* Base container styles */
.select2-container--tailwind {
  display: block;
}

select + .select2-container--tailwind {
  z-index: 10;
}

.select2-container--tailwind *:focus {
  outline: none;
}

/* Selection styles */
.select2-container--tailwind .select2-selection {
  width: 100%;
  min-height: calc(1.5em + 1rem + 2px);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  color: #111827; /* gray-900 */
  background-color: #ffffff;
  border: 1px solid #d1d5db; /* gray-300 */
  border-radius: 0.375rem; /* rounded-md */
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Dark mode selection styles */
.dark .select2-container--tailwind .select2-selection {
  color: #f9fafb; /* gray-100 */
  background-color: #1f2937; /* gray-800 */
  border-color: #4b5563; /* gray-600 */
}

@media (prefers-reduced-motion: reduce) {
  .select2-container--tailwind .select2-selection {
    transition: none;
  }
}

/* Focus and open states */
.select2-container--tailwind.select2-container--focus .select2-selection,
.select2-container--tailwind.select2-container--open .select2-selection {
  border-color: #3b82f6; /* blue-500 */
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); /* blue-500/10 */
}

.dark .select2-container--tailwind.select2-container--focus .select2-selection,
.dark .select2-container--tailwind.select2-container--open .select2-selection {
  border-color: #60a5fa; /* blue-400 */
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1); /* blue-400/10 */
}

/* Open dropdown positioning */
.select2-container--tailwind.select2-container--open.select2-container--below .select2-selection {
  border-bottom: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.select2-container--tailwind.select2-container--open.select2-container--above .select2-selection {
  border-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* Search field */
.select2-container--tailwind .select2-search {
  width: 100%;
}

.select2-container--tailwind .select2-search--inline .select2-search__field {
  vertical-align: top;
}

/* Clear button styles */
.select2-container--tailwind .select2-selection--single .select2-selection__clear,
.select2-container--tailwind .select2-selection--multiple .select2-selection__clear {
  position: absolute;
  top: 50%;
  right: 2.25rem;
  width: 0.75rem;
  height: 0.75rem;
  padding: 0.25rem;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236b7280'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/0.5rem auto no-repeat;
  transform: translateY(-50%);
}

.dark .select2-container--tailwind .select2-selection--single .select2-selection__clear,
.dark .select2-container--tailwind .select2-selection--multiple .select2-selection__clear {
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%239ca3af'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/0.5rem auto no-repeat;
}

.select2-container--tailwind .select2-selection--single .select2-selection__clear:hover,
.select2-container--tailwind .select2-selection--multiple .select2-selection__clear:hover {
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23374151'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/0.5rem auto no-repeat;
}

.dark .select2-container--tailwind .select2-selection--single .select2-selection__clear:hover,
.dark .select2-container--tailwind .select2-selection--multiple .select2-selection__clear:hover {
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23f3f4f6'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/0.5rem auto no-repeat;
}

.select2-container--tailwind .select2-selection--single .select2-selection__clear > span,
.select2-container--tailwind .select2-selection--multiple .select2-selection__clear > span {
  display: none;
}

/* Dropdown styles */
.select2-container--tailwind + .select2-container--tailwind {
  z-index: 1050;
}

.select2-container--tailwind .select2-dropdown {
  z-index: 1050;
  overflow: hidden;
  color: #111827; /* gray-900 */
  background-color: #ffffff;
  border: 1px solid #3b82f6; /* blue-500 */
  border-radius: 0.375rem; /* rounded-md */
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-lg */
}

.dark .select2-container--tailwind .select2-dropdown {
  color: #f9fafb; /* gray-100 */
  background-color: #1f2937; /* gray-800 */
  border-color: #60a5fa; /* blue-400 */
}

.select2-container--tailwind .select2-dropdown.select2-dropdown--below {
  border-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.select2-container--tailwind .select2-dropdown.select2-dropdown--above {
  border-bottom: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

/* Search within dropdown */
.select2-container--tailwind .select2-dropdown .select2-search {
  padding: 0.5rem 0.75rem;
}

.select2-container--tailwind .select2-dropdown .select2-search .select2-search__field {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  color: #111827; /* gray-900 */
  background-color: #ffffff;
  background-clip: padding-box;
  border: 1px solid #d1d5db; /* gray-300 */
  border-radius: 0.375rem; /* rounded-md */
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.dark .select2-container--tailwind .select2-dropdown .select2-search .select2-search__field {
  color: #f9fafb; /* gray-100 */
  background-color: #374151; /* gray-700 */
  border-color: #4b5563; /* gray-600 */
}

@media (prefers-reduced-motion: reduce) {
  .select2-container--tailwind .select2-dropdown .select2-search .select2-search__field {
    transition: none;
  }
}

.select2-container--tailwind .select2-dropdown .select2-search .select2-search__field:focus {
  border-color: #3b82f6; /* blue-500 */
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); /* blue-500/10 */
}

.dark .select2-container--tailwind .select2-dropdown .select2-search .select2-search__field:focus {
  border-color: #60a5fa; /* blue-400 */
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1); /* blue-400/10 */
}

/* Results options */
.select2-container--tailwind .select2-dropdown .select2-results__options:not(.select2-results__options--nested) {
  max-height: 15rem;
  overflow-y: auto;
}

.select2-container--tailwind .select2-dropdown .select2-results__options .select2-results__option {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
}

.select2-container--tailwind .select2-dropdown .select2-results__options .select2-results__option.select2-results__message {
  color: #6b7280; /* gray-500 */
}

.dark .select2-container--tailwind .select2-dropdown .select2-results__options .select2-results__option.select2-results__message {
  color: #9ca3af; /* gray-400 */
}

.select2-container--tailwind .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--highlighted {
  color: #111827; /* gray-900 */
  background-color: #f3f4f6; /* gray-100 */
}

.dark .select2-container--tailwind .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--highlighted {
  color: #f9fafb; /* gray-100 */
  background-color: #374151; /* gray-700 */
}

.select2-container--tailwind .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--selected,
.select2-container--tailwind .select2-dropdown .select2-results__options .select2-results__option[aria-selected=true]:not(.select2-results__option--highlighted) {
  color: #ffffff;
  background-color: #3b82f6; /* blue-500 */
}

.dark .select2-container--tailwind .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--selected,
.dark .select2-container--tailwind .select2-dropdown .select2-results__options .select2-results__option[aria-selected=true]:not(.select2-results__option--highlighted) {
  color: #ffffff;
  background-color: #60a5fa; /* blue-400 */
}

.select2-container--tailwind .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--disabled,
.select2-container--tailwind .select2-dropdown .select2-results__options .select2-results__option[aria-disabled=true] {
  color: #9ca3af; /* gray-400 */
  cursor: not-allowed;
}

.dark .select2-container--tailwind .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--disabled,
.dark .select2-container--tailwind .select2-dropdown .select2-results__options .select2-results__option[aria-disabled=true] {
  color: #6b7280; /* gray-500 */
}

.select2-container--tailwind .select2-dropdown .select2-results__options .select2-results__option[role=group] {
  padding: 0;
}

.select2-container--tailwind .select2-dropdown .select2-results__options .select2-results__option[role=group] .select2-results__group {
  padding: 0.5rem;
  font-weight: 500;
  line-height: 1.5;
  color: #6b7280; /* gray-500 */
}

.dark .select2-container--tailwind .select2-dropdown .select2-results__options .select2-results__option[role=group] .select2-results__group {
  color: #9ca3af; /* gray-400 */
}

.select2-container--tailwind .select2-dropdown .select2-results__options .select2-results__option[role=group] .select2-results__options--nested .select2-results__option {
  padding: 0.5rem 0.75rem;
}

/* Single selection styles */
.select2-container--tailwind .select2-selection--single {
  padding: 0.5rem 2.25rem 0.5rem 0.75rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
}

.dark .select2-container--tailwind .select2-selection--single {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%239ca3af' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.select2-container--tailwind .select2-selection--single .select2-selection__rendered {
  padding: 0;
  font-weight: 400;
  line-height: 1.5;
  color: #111827; /* gray-900 */
}

.dark .select2-container--tailwind .select2-selection--single .select2-selection__rendered {
  color: #f9fafb; /* gray-100 */
}

.select2-container--tailwind .select2-selection--single .select2-selection__rendered .select2-selection__placeholder {
  font-weight: 400;
  line-height: 1.5;
  color: #6b7280; /* gray-500 */
}

.dark .select2-container--tailwind .select2-selection--single .select2-selection__rendered .select2-selection__placeholder {
  color: #9ca3af; /* gray-400 */
}

.select2-container--tailwind .select2-selection--single .select2-selection__rendered .select2-selection__arrow {
  display: none;
}

/* Multiple selection styles */
.select2-container--tailwind .select2-selection--multiple .select2-selection__rendered {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding-left: 0;
  margin: 0;
  list-style: none;
}

.select2-container--tailwind .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0.25rem 0.5rem;
  margin-right: 0.375rem;
  margin-bottom: 0.375rem;
  font-size: 0.875rem;
  color: #111827; /* gray-900 */
  cursor: auto;
  background-color: #f3f4f6; /* gray-100 */
  border: 1px solid #d1d5db; /* gray-300 */
  border-radius: 0.375rem; /* rounded-md */
}

.dark .select2-container--tailwind .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
  color: #f9fafb; /* gray-100 */
  background-color: #374151; /* gray-700 */
  border-color: #4b5563; /* gray-600 */
}

.select2-container--tailwind .select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove {
  width: 0.75rem;
  height: 0.75rem;
  padding: 0.125rem;
  margin-right: 0.25rem;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236b7280'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/0.5rem auto no-repeat;
  border: 0;
  cursor: pointer;
}

.dark .select2-container--tailwind .select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove {
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%239ca3af'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/0.5rem auto no-repeat;
}

.select2-container--tailwind .select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove:hover {
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23374151'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/0.5rem auto no-repeat;
}

.dark .select2-container--tailwind .select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove:hover {
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23f3f4f6'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/0.5rem auto no-repeat;
}

.select2-container--tailwind .select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove > span {
  display: none;
}

.select2-container--tailwind .select2-selection--multiple .select2-search {
  display: block;
  width: 100%;
  height: 1.5rem;
}

.select2-container--tailwind .select2-selection--multiple .select2-search .select2-search__field {
  width: 100%;
  height: 1.5rem;
  margin-top: 0;
  margin-left: 0;
  font-family: inherit;
  line-height: 1.5;
  background-color: transparent;
  border: none;
  outline: none;
}

.select2-container--tailwind .select2-selection--multiple .select2-selection__clear {
  right: 0.75rem;
}

/* Disabled states */
.select2-container--tailwind.select2-container--disabled .select2-selection,
.select2-container--tailwind.select2-container--disabled.select2-container--focus .select2-selection {
  color: #9ca3af; /* gray-400 */
  cursor: not-allowed;
  background-color: #f9fafb; /* gray-50 */
  border-color: #d1d5db; /* gray-300 */
  box-shadow: none;
}

.dark .select2-container--tailwind.select2-container--disabled .select2-selection,
.dark .select2-container--tailwind.select2-container--disabled.select2-container--focus .select2-selection {
  color: #6b7280; /* gray-500 */
  background-color: #111827; /* gray-900 */
  border-color: #374151; /* gray-700 */
}

.select2-container--tailwind.select2-container--disabled .select2-selection--multiple .select2-selection__clear,
.select2-container--tailwind.select2-container--disabled.select2-container--focus .select2-selection--multiple .select2-selection__clear {
  display: none;
}

.select2-container--tailwind.select2-container--disabled .select2-selection--multiple .select2-selection__choice,
.select2-container--tailwind.select2-container--disabled.select2-container--focus .select2-selection--multiple .select2-selection__choice {
  cursor: not-allowed;
}

.select2-container--tailwind.select2-container--disabled .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove,
.select2-container--tailwind.select2-container--disabled.select2-container--focus .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove {
  display: none;
}

.select2-container--tailwind.select2-container--disabled .select2-selection--multiple .select2-selection__rendered:not(:empty),
.select2-container--tailwind.select2-container--disabled.select2-container--focus .select2-selection--multiple .select2-selection__rendered:not(:empty) {
  padding-bottom: 0;
}

.select2-container--tailwind.select2-container--disabled .select2-selection--multiple .select2-selection__rendered:not(:empty) + .select2-search,
.select2-container--tailwind.select2-container--disabled.select2-container--focus .select2-selection--multiple .select2-selection__rendered:not(:empty) + .select2-search {
  display: none;
}

/* Validation states */
.is-valid + .select2-container--tailwind .select2-selection,
.was-validated select:valid + .select2-container--tailwind .select2-selection {
  border-color: #10b981; /* green-500 */
}

.is-valid + .select2-container--tailwind.select2-container--focus .select2-selection,
.is-valid + .select2-container--tailwind.select2-container--open .select2-selection,
.was-validated select:valid + .select2-container--tailwind.select2-container--focus .select2-selection,
.was-validated select:valid + .select2-container--tailwind.select2-container--open .select2-selection {
  border-color: #10b981; /* green-500 */
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1); /* green-500/10 */
}

.is-valid + .select2-container--tailwind.select2-container--open.select2-container--below .select2-selection,
.was-validated select:valid + .select2-container--tailwind.select2-container--open.select2-container--below .select2-selection {
  border-bottom: 0;
}

.is-valid + .select2-container--tailwind.select2-container--open.select2-container--above .select2-selection,
.was-validated select:valid + .select2-container--tailwind.select2-container--open.select2-container--above .select2-selection {
  border-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.is-invalid + .select2-container--tailwind .select2-selection,
.was-validated select:invalid + .select2-container--tailwind .select2-selection {
  border-color: #ef4444; /* red-500 */
}

.is-invalid + .select2-container--tailwind.select2-container--focus .select2-selection,
.is-invalid + .select2-container--tailwind.select2-container--open .select2-selection,
.was-validated select:invalid + .select2-container--tailwind.select2-container--focus .select2-selection,
.was-validated select:invalid + .select2-container--tailwind.select2-container--open .select2-selection {
  border-color: #ef4444; /* red-500 */
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1); /* red-500/10 */
}

.is-invalid + .select2-container--tailwind.select2-container--open.select2-container--below .select2-selection,
.was-validated select:invalid + .select2-container--tailwind.select2-container--open.select2-container--below .select2-selection {
  border-bottom: 0;
}

.is-invalid + .select2-container--tailwind.select2-container--open.select2-container--above .select2-selection,
.was-validated select:invalid + .select2-container--tailwind.select2-container--open.select2-container--above .select2-selection {
  border-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* Size variants */

/* Small size variant */
.select2-container--tailwind .select2--small.select2-selection {
  min-height: calc(1.5em + 0.5rem + 2px);
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem; /* text-xs */
  border-radius: 0.25rem; /* rounded */
}

.select2-container--tailwind .select2--small.select2-selection--single {
  padding: 0.25rem 2rem 0.25rem 0.5rem;
}

.select2-container--tailwind .select2--small.select2-dropdown {
  border-radius: 0.25rem; /* rounded */
}

.select2-container--tailwind .select2--small.select2-dropdown.select2-dropdown--below {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.select2-container--tailwind .select2--small.select2-dropdown.select2-dropdown--above {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.select2-container--tailwind .select2--small.select2-dropdown .select2-search .select2-search__field {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem; /* text-xs */
}

.select2-container--tailwind .select2--small.select2-dropdown .select2-results__options .select2-results__option {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem; /* text-xs */
}

.select2-container--tailwind .select2--small.select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
  padding: 0.125rem 0.375rem;
  font-size: 0.75rem; /* text-xs */
}

/* Large size variant */
.select2-container--tailwind .select2--large.select2-selection {
  min-height: calc(1.5em + 1.25rem + 2px);
  padding: 0.625rem 1rem;
  font-size: 1.125rem; /* text-lg */
  border-radius: 0.5rem; /* rounded-lg */
}

.select2-container--tailwind .select2--large.select2-selection--single {
  padding: 0.625rem 3rem 0.625rem 1rem;
}

.select2-container--tailwind .select2--large.select2-dropdown {
  border-radius: 0.5rem; /* rounded-lg */
}

.select2-container--tailwind .select2--large.select2-dropdown.select2-dropdown--below {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.select2-container--tailwind .select2--large.select2-dropdown.select2-dropdown--above {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.select2-container--tailwind .select2--large.select2-dropdown .select2-search .select2-search__field {
  padding: 0.625rem 1rem;
  font-size: 1.125rem; /* text-lg */
}

.select2-container--tailwind .select2--large.select2-dropdown .select2-results__options .select2-results__option {
  padding: 0.625rem 1rem;
  font-size: 1.125rem; /* text-lg */
}

.select2-container--tailwind .select2--large.select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
  padding: 0.375rem 0.75rem;
  font-size: 1.125rem; /* text-lg */
}

/* Form control size classes for compatibility */
.form-select-sm ~ .select2-container--tailwind .select2-selection {
  min-height: calc(1.5em + 0.5rem + 2px);
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  border-radius: 0.25rem;
}

.form-select-lg ~ .select2-container--tailwind .select2-selection {
  min-height: calc(1.5em + 1.25rem + 2px);
  padding: 0.625rem 1rem;
  font-size: 1.125rem;
  border-radius: 0.5rem;
}
