/* Konut — Stitch "EvBul" tasarım sistemi için küçük tamamlayıcı stiller.
   Asıl görünüm Tailwind sınıflarıyla index.html içindeki yapılandırmadan gelir. */

.material-symbols-outlined {
  display: inline-block;
  width: 1em;
  height: 1em;
  line-height: 1 !important;
  box-sizing: content-box;
  overflow: hidden;
  white-space: nowrap;
  direction: ltr;
  vertical-align: middle;
  font-variation-settings: 'FILL' 0, 'wght' 300;
}

.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }

/* Çift tutamaçlı bütçe kaydırıcısı */
.range-input {
  -webkit-appearance: none;
  appearance: none;
  pointer-events: none;
  background: transparent;
  height: 2rem;
  margin: 0;
}
.range-input:focus { outline: none; }
.range-input::-webkit-slider-runnable-track { background: transparent; }
.range-input::-moz-range-track { background: transparent; }
.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  pointer-events: auto;
  width: 24px;
  height: 24px;
  border-radius: 9999px;
  background: #012D1D;
  border: 3px solid #FFFFFF;
  box-shadow: 0 2px 6px rgba(27, 28, 26, 0.2);
  cursor: pointer;
}
.range-input::-moz-range-thumb {
  pointer-events: auto;
  width: 24px;
  height: 24px;
  border-radius: 9999px;
  background: #012D1D;
  border: 3px solid #FFFFFF;
  box-shadow: 0 2px 6px rgba(27, 28, 26, 0.2);
  cursor: pointer;
}
.range-input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(1, 45, 29, 0.2); }
.range-input:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(1, 45, 29, 0.2); }

/* Adım geçişi */
.step-enter { animation: stepEnter 220ms cubic-bezier(0.2, 0, 0, 1) both; }
@keyframes stepEnter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.modal-panel { animation: stepEnter 220ms cubic-bezier(0.2, 0, 0, 1) both; }

/* Uzun konum listelerinde ince kaydırma çubuğu */
.chip-scroll { scrollbar-width: thin; scrollbar-color: #C1C8C2 transparent; }

/* Honeypot alanı: ekran dışına itmek yerine kırpılır (yatay taşma yaratmasın) */
.hp-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }

/* Mobilde sayfa hiçbir koşulda yana kaymasın */
html { overflow-x: hidden; }
body { overflow-x: clip; }

/* iOS Safari 16px'ten küçük yazılı alanlara odaklanınca sayfayı yakınlaştırır ve yatay kaydırma açılır */
@media (max-width: 767px) {
  input, select, textarea { font-size: 16px !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* KVKK Aydınlatma Metni (js/kvkk.js) — pencere ve kvkk.html ortak */
.kvkk { display: flex; flex-direction: column; gap: 12px; color: #414844; font-size: 14px; line-height: 22px; }
.kvkk > * { flex-shrink: 0; }
.kvkk p { text-wrap: pretty; }
.kvkk strong { color: #1B1C1A; font-weight: 600; }
.kvkk-h { font-family: "Plus Jakarta Sans", sans-serif; font-size: 16px; line-height: 22px; font-weight: 600; color: #1B1C1A; margin-top: 12px; scroll-margin-top: 16px; }
.kvkk-ul { list-style: disc; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.kvkk-ul li::marker { color: #717973; }
.kvkk-dl { display: flex; flex-direction: column; border: 1px solid rgba(193, 200, 194, 0.6); border-radius: 12px; overflow: hidden; }
.kvkk-dl > div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 10px 14px; }
.kvkk-dl > div + div { border-top: 1px solid rgba(193, 200, 194, 0.4); }
.kvkk-dl dt { font-size: 13px; font-weight: 600; color: #1B1C1A; }
.kvkk-dl dd { margin: 0; overflow-wrap: anywhere; }
@media (min-width: 640px) {
  .kvkk-dl > div { grid-template-columns: 9.5rem 1fr; gap: 16px; }
}
.kvkk-summary { background: #F5F3F0; border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.kvkk-summary-title { font-weight: 600; color: #012D1D; }
.kvkk-note { background: #EFDDC2; color: #3D3426; border-radius: 12px; padding: 10px 14px; }
.kvkk-note strong { color: inherit; }
.kvkk-meta { font-size: 12px; color: #717973; padding-top: 8px; border-top: 1px solid rgba(193, 200, 194, 0.4); }
.kvkk-missing { background: #FFDAD6; color: #93000A; border-radius: 4px; padding: 0 4px; font-weight: 600; }

@media print {
  .no-print { display: none !important; }
  body { background: #fff !important; }
  .kvkk { font-size: 11pt; line-height: 1.5; }
  .kvkk-summary, .kvkk-note { border: 1px solid #ccc; }
}
