/* Searchable Language & Country Picker Styles (Admin & User Forms) */
.searchable-language-wrapper,
.searchable-country-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 6px 0 12px 0;
  padding: 10px 12px;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

.lang-search-bar-row,
.country-search-bar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.lang-search-input-group,
.country-search-input-group {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 180px;
}

.lang-search-icon {
  position: absolute;
  left: 10px;
  font-size: 13px;
  pointer-events: none;
  opacity: 0.7;
}

.language-live-search,
.country-live-search {
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 7px 30px 7px 30px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #0f172a !important;
  background: #ffffff !important;
  border: 1.5px solid #94a3b8 !important;
  border-radius: 7px !important;
  transition: all 0.2s ease !important;
}

.language-live-search:focus,
.country-live-search:focus {
  border-color: #0284c7 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
}

.lang-search-clear,
.country-search-clear {
  position: absolute;
  right: 8px;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 50%;
  display: none;
}

.lang-search-clear:hover,
.country-search-clear:hover {
  color: #ef4444;
  background: #fee2e2;
}

.lang-search-matches,
.country-search-matches {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
}

.lang-quick-pills-row,
.country-quick-pills-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}

.lang-quick-label {
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  margin-right: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lang-quick-pill,
.country-quick-pill {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0369a1;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.lang-quick-pill:hover,
.country-quick-pill:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  transform: translateY(-1px);
}

.lang-select-box-wrap select,
.country-select-box-wrap select {
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 8px 10px !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 7px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #001840 !important;
  background: #ffffff !important;
}

.lang-select-box-wrap .select2-container,
.country-select-box-wrap .select2-container {
  width: 100% !important;
}
