/* Ülke seçimi stilleri bölümü başlangıcı */
.country-select {
  position: relative;
  flex: none;
  direction: ltr;
}
.country-select-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  padding: 12px 8px 12px 10px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.country-select-flag {
  display: block;
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 3px;
  flex: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.07);
}
.country-select-code {
  direction: ltr;
}
.country-select-chevron {
  width: 13px;
  height: 13px;
  flex: none;
  color: var(--muted);
  transition: transform 0.15s ease;
}
.country-select.is-open .country-select-chevron {
  transform: rotate(180deg);
}

.country-select-panel {
  position: fixed;
  z-index: 30;
  width: 270px;
  max-width: calc(100vw - 16px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease,
    visibility 0.15s;
  overflow: hidden;
}
.country-select.is-open .country-select-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.country-select-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  flex: none;
}
.country-select-search svg {
  width: 15px;
  color: var(--muted);
  flex: none;
}
.country-select-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  direction: rtl;
  text-align: right;
}
.country-select-search input::placeholder {
  color: #adb8b6;
}
.country-select-list {
  max-height: 280px;
  overflow-y: auto;
  padding: 6px;
}
.country-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 9px;
  font-size: 0.82rem;
  color: var(--ink);
  text-align: start;
  transition: background 0.15s ease;
}
.country-option:hover {
  background: var(--ivory);
}
.country-option.is-active {
  background: #eaf6f2;
  color: var(--teal);
  font-weight: 700;
}
.country-option-flag {
  display: block;
  width: 24px;
  height: 18px;
  object-fit: cover;
  border-radius: 3px;
  flex: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.07);
}
.country-option-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  direction: ltr;
  text-align: left;
}
.country-option-code {
  flex: none;
  color: var(--muted);
  font-size: 0.76rem;
  direction: ltr;
}
.country-option.is-active .country-option-code {
  color: var(--teal);
}
.country-select-empty {
  padding: 18px 12px;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
}

.country-select-btn:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .country-select-panel,
  .country-select-chevron {
    transition: none !important;
  }
}
/* Ülke seçimi stilleri bölümü bitişi */

/* 2026-10-01 (revizeler-1-10 md.8: "ülke select animasyonu TR/EN/FR'de ters ve
   fazla bold; altındaki ülke isimleri ve anahtarları da bold" — bağış modalı,
   hesap oluşturma, footer, ödeme): arama kutusu varsayılan LTR, yalnız Arapça
   sayfada RTL (JS .country-select--rtl ekliyor). Kalınlık formun label'ından
   (bootstrap 700) miras geliyordu — açıkça normal ağırlık veriliyor. */
.country-select-search input {
  direction: ltr;
  text-align: left;
  font-weight: 400;
}
.country-select--rtl .country-select-search input {
  direction: rtl;
  text-align: right;
}
.country-select-search input::placeholder {
  font-weight: 400;
}
.country-select-btn {
  font-weight: 500;
}
.country-option,
.country-option-name,
.country-option-code {
  font-weight: 400;
}
.country-option.is-active,
.country-option.is-active .country-option-name {
  font-weight: 600;
}
/* md.8 bitişi */
