/* gt-ulke-bilgi.css — Keşfet Aşama 2: en alttaki soru + yer panelindeki ülke bilgi sekmeleri (gt-ulke-bilgi.js) */

/* en alttaki soru: #view-routes'un son çocuğu, listelerin arasına girmez */
.gt-ub-soru { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin: 18px 12px 24px; padding: 12px 40px 12px 14px; border-radius: 14px;
  background: color-mix(in srgb, var(--primary) 9%, var(--surface, #fff)); border: 1px solid color-mix(in srgb, var(--primary) 22%, transparent); color: var(--text); position: relative; box-sizing: border-box; }
.gt-ub-soru .gt-ub-bay { font-size: 20px; line-height: 1; }
.gt-ub-soru .gt-ub-soru-m { flex: 1 1 140px; min-width: 0; font-size: 14px; font-weight: 700; line-height: 1.35; }
.gt-ub-soru .gt-ub-dg { display: flex; gap: 8px; flex: 0 0 auto; }
.gt-ub-soru button { font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.gt-ub-evet, .gt-ub-hayir { min-height: 36px; padding: 0 16px; border-radius: 18px; font-size: 13px !important; font-weight: 700 !important; }
.gt-ub-evet { border: none; background: var(--primary); color: #fff; }
.gt-ub-hayir { border: 1px solid var(--border); background: var(--surface, #fff); color: var(--text); }
.gt-ub-x { position: absolute; top: 50%; transform: translateY(-50%); right: 4px; width: 32px; height: 32px; border: none; background: none; color: var(--text-muted); font-size: 14px; border-radius: 16px; }
.gt-ub-soru button:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* panel: sekme çubuğu ("Tüm <ülke>" altında ve sekme görünümünün üstünde) */
.gt-ub-sekmeler { display: flex; gap: 6px; margin: 4px 0 10px; overflow-x: auto; scrollbar-width: none; }
.gt-ub-sekmeler::-webkit-scrollbar { display: none; }
.gt-ub-sekme { flex: 0 0 auto; min-height: 34px; padding: 0 12px; border: 1px solid var(--border); border-radius: 17px; background: var(--surface, #fff); color: var(--text);
  font: inherit; font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.gt-ub-sekme.sec { background: var(--primary); border-color: var(--primary); color: #fff; }
.gt-ky-panel.ub .gt-ky-liste { padding-bottom: 8px; }
/* sekme değişince boy oynamaz: sabit yükseklik (gt-ky-panel'in en büyük boyu); sekmelerin durduğu ülke görünümü de aynı boyda. :has bilmeyen eski WebView'da yalnız sekmeler */
.gt-ky-panel.ub { height: 88vh; height: 88dvh; }
.gt-ky-panel:has(.gt-ub-sekmeler) { height: 88vh; height: 88dvh; }
.gt-ub-ic { font-size: 14px; line-height: 1.5; }
.gt-ub-ic p { margin: 0 0 8px; }

/* akordeon */
.gt-ub-ac { border-bottom: 1px solid var(--border); }
.gt-ub-ac > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 44px; font-weight: 700; cursor: pointer; }
.gt-ub-ac > summary::-webkit-details-marker { display: none; }
.gt-ub-ac > summary::after { content: '▾'; color: var(--text-muted); transition: transform .15s; }
.gt-ub-ac[open] > summary::after { transform: rotate(180deg); }
.gt-ub-acg { padding: 0 0 10px; }
.gt-ub-bag, .gt-ub-kay a { color: var(--primary); word-break: break-word; }
.gt-ub-kay { margin: 0; padding-left: 18px; font-size: 12px; }
.gt-ub-not { font-size: 12px; color: var(--text-muted); margin-top: 10px !important; }
.gt-ub-acil b { font-size: 15px; }

/* sözlük */
.gt-ub-sz { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid color-mix(in srgb, var(--border) 60%, transparent); }
.gt-ub-sz:first-child { border-top: none; }
.gt-ub-sz-m { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.gt-ub-sz-m b { font-size: 15px; }
.gt-ub-sz-m span { font-size: 13px; color: var(--text-muted); }
.gt-ub-oynat { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 18px; border: none; background: color-mix(in srgb, var(--primary) 14%, var(--surface, #fff)); color: var(--primary); font-size: 13px; cursor: pointer; }

button.gt-ub-sz-m { border: none; background: none; padding: 0; margin: 0; color: var(--text); font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.gt-ub-ara { margin: 0 0 8px; }

/* 1.1.20 varış kartı özeti, pratik, alışveriş */
.gt-ub-ozet { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 6px; }
.gt-ub-kt { display: flex; flex-direction: column; min-width: 0; padding: 8px 10px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg, #F7FAFC); line-height: 1.35; overflow-wrap: anywhere; }
.gt-ub-kt span, .gt-ub-kt em { font-style: normal; font-size: 12px; color: var(--text-muted); }
.gt-ub-kt b { font-size: 16px; color: var(--text); }
.gt-ub-ic .gt-ub-kur-k { font-size: 11px; color: var(--text-muted); margin: 0 0 6px; }
.gt-ub-kur-k:empty, .gt-ub-kt em:empty { display: none; }
.gt-ub-b { margin: 8px 0 4px; font-size: 14px; }
.gt-ub-acil a { color: var(--primary); display: inline-block; padding: 8px 2px; }
.gt-ub-kis { margin: 0 0 10px !important; }
.gt-ub-yor { width: 100%; min-height: 44px; margin: 4px 0 0; border: 1px solid var(--border); border-radius: 12px; background: var(--surface, #fff); color: var(--text); font: inherit; font-weight: 700; cursor: pointer; }
.gt-ub-buyuk { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px 20px; box-sizing: border-box; overflow-y: auto; text-align: center; background: var(--surface, #fff); color: var(--text); }
.gt-ub-buyuk > span, .gt-ub-buyuk > em { font-style: normal; font-size: 14px; color: var(--text-muted); }
.gt-ub-buyuk > b { font-size: 34px; line-height: 1.2; overflow-wrap: anywhere; }
.gt-ub-buyuk > div { display: flex; align-items: center; gap: 12px; }
.gt-ub-buyuk .gt-ub-oynat { width: 46px; height: 46px; border-radius: 23px; }
.gt-ub-bkapat { min-height: 46px; padding: 0 24px; border: 1px solid var(--border); border-radius: 23px; background: none; color: var(--text); font: inherit; font-weight: 700; cursor: pointer; }

/* indirme */
.gt-ub-top { display: flex; justify-content: space-between; padding: 10px 4px 2px; }
.gt-ub-hazir { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px; font-size: 13px; }
.gt-ub-sil { flex: 0 0 auto; min-height: 40px; padding: 0 16px; border: 1px solid var(--border); border-radius: 20px; background: none; color: #C53030; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
body.dark-mode .gt-ub-sil, body.dark-mode .gt-ub-uyari { color: #FC8181; }
.gt-ub-ck { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 8px 4px; border: none; border-bottom: 1px solid var(--border); background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; box-sizing: border-box; }
.gt-ub-ck.soluk { opacity: .5; cursor: default; }
.gt-ub-kutu { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 13px; color: #fff; box-sizing: border-box; }
.gt-ub-ck.sec .gt-ub-kutu { background: var(--primary); border-color: var(--primary); }
.gt-ub-ck-m { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.gt-ub-ck-m em { font-style: normal; font-size: 12px; color: var(--text-muted); }
.gt-ub-bo { flex: 0 0 auto; font-size: 12px; color: var(--text-muted); }
.gt-ub-wifi { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; padding: 0 4px; border: none; background: none; color: var(--text); font: inherit; cursor: pointer; }
.gt-ub-anah { width: 40px; height: 24px; border-radius: 12px; background: var(--border); position: relative; transition: background .15s; }
.gt-ub-anah::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 9px; background: #fff; transition: left .15s; }
.gt-ub-wifi[aria-checked="true"] .gt-ub-anah { background: var(--primary); }
.gt-ub-wifi[aria-checked="true"] .gt-ub-anah::after { left: 19px; }
.gt-ub-uyari { color: #C53030; font-size: 13px; }
.gt-ub-indir { width: 100%; min-height: 46px; margin-top: 10px; border: none; border-radius: 23px; background: var(--primary); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.gt-ub-indir[aria-disabled="true"] { opacity: .6; cursor: default; }
