/* TORUS FORM UX 1.1.0 - 22.09.2026
   Kapsam: #iletisim anchor boslugu, kvkk onay kutusu hizasi, ulke secimi, telefon alani.
   Dis kaynak yok. Alan adlari ve zorunluluklar degismez. */

:root { --torus-header-h: 72px; }

/* A - sabit header altinda anchor boslugu (yalniz scroll-padding; cift ofset olmaz) */
html { scroll-padding-top: calc(var(--torus-header-h) + 32px); }

/* B - aydinlatma metni onay kutusu */
label.kvkk {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
}
label.kvkk > input[type="checkbox"] {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--gold, #CBA35C);
}
label.kvkk > span { display: block; }

/* C - ulke secimi */
select.torus-country { width: 100%; }

/* D - uluslararasi telefon alani */
.iti { width: 100%; display: block; }
.iti input.torus-phone { width: 100%; }

/* D1 - ulke secici zemini: formun diger alanlariyla ayni, ayri altin blok degil */
.iti .iti__country-container { background: transparent !important; }
.iti .iti__selected-country,
.iti .iti__selected-country-primary {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: inherit !important;
  font: inherit;
  letter-spacing: inherit;
  text-transform: none;
  min-height: 44px;
}
.iti--allow-dropdown .iti__country-container:hover .iti__selected-country-primary {
  background-color: rgba(255, 255, 255, 0.06) !important;
}
.iti .iti__selected-country:focus-visible {
  outline: 2px solid var(--gold, #CBA35C);
  outline-offset: -2px;
}
.iti .iti__arrow { border-top-color: currentColor; opacity: 0.65; }

/* D2 - acilir liste: koyu zemin, okunakli metin, altin vurgu */
.iti .iti__dropdown-content {
  background: #141414;
  color: #f0f0f0;
  border-color: rgba(255, 255, 255, 0.14);
}
.iti .iti__country { color: #f0f0f0; }
.iti .iti__country.iti__highlight { background-color: rgba(203, 163, 92, 0.20); }
.iti .iti__dial-code { color: rgba(255, 255, 255, 0.55); }
.iti .iti__search-input { background: #101010; color: #f0f0f0; }

/* D3 - hata */
.torus-tel-hata {
  display: none;
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.4;
  color: #e06a5a;
}
.torus-tel-hata.gorunur { display: block; }
input.torus-phone.torus-gecersiz { border-color: #e06a5a; }
