/* ============================================================
   v2.css — v2 ile gelen bileşenler. Tüm temalarda ortak; renkler
   temanın değişkenlerinden (--accent, --line …) gelir.
   ============================================================ */

/* Dil düğmesi */
.lang-switch {
  position: fixed; top: 14px; right: 14px; z-index: 610;
  min-width: 42px; height: 34px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  color: var(--text); font-family: var(--font-body); font-size: 12.5px; font-weight: 600;
  letter-spacing: .06em; text-decoration: none; box-shadow: 0 1px 6px rgba(0,0,0,.08);
}
.lang-switch:hover { border-color: var(--accent); color: var(--accent); }

/* Konum ayrıntıları */
.venue-when { color: var(--text); font-size: 14px; margin: 8px 0 0; }
.venue-addr { color: var(--text-soft); font-size: 14px; margin: 6px 0 16px; }
.weather-title { font-size: 17px; margin-top: 36px; }

/* Program */
.program-list { list-style: none; padding: 0; margin: 26px 0 0; position: relative; }
.program-list::before {
  content: ''; position: absolute; top: 6px; bottom: 6px; left: 64px;
  width: 1px; background: var(--line);
}
.program-list li { display: flex; gap: 26px; align-items: baseline; padding: 0 0 22px; position: relative; }
.program-list li::before {
  content: ''; position: absolute; left: 60px; top: 7px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--bg);
}
.pg-time {
  flex: 0 0 52px; text-align: right; font-family: var(--font-display);
  font-style: var(--display-style, normal); font-size: 17px; color: var(--accent);
}
.pg-body { display: flex; flex-direction: column; padding-left: 4px; }
.pg-title { font-weight: 600; font-size: 15px; }
.pg-desc { font-size: 13.5px; color: var(--text-soft); margin-top: 3px; line-height: 1.5; }

/* Yükleme kuyruğu */
.form-hint { font-size: 12.5px; color: var(--text-soft); margin: -6px 0 14px; }
.upload-queue { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 8px; }
.upload-queue li {
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
  padding: 9px 12px; font-size: 13px;
}
.uq-row { display: flex; justify-content: space-between; gap: 10px; }
.uq-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uq-status { color: var(--text-soft); flex-shrink: 0; }
.uq-bar { height: 4px; border-radius: 4px; background: var(--line); margin-top: 7px; overflow: hidden; }
.uq-bar > span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s ease; }
.upload-queue li.done .uq-status { color: var(--accent); font-weight: 600; }
.upload-queue li.fail { border-color: #E7B4AC; }
.upload-queue li.fail .uq-status { color: #8A2C22; }
.uq-msg { font-size: 12px; color: #8A2C22; margin-top: 4px; }
#upload-btn[disabled] { opacity: .6; cursor: progress; }

/* Sayfalama */
.pager { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 28px; }
.pager .btn { padding: 10px 18px; font-size: 13.5px; }
.pager-info { font-size: 13px; color: var(--text-soft); }

/* Alt bilgi */
footer .fdate { font-size: 13px; color: var(--text-soft); margin-top: 6px; }

/* Galeri: video küçük resmi yoksa video karesi */
#gallery-grid video { pointer-events: none; }

/* Ayrı sayfalar (galeri, mesajlar) üst bağlantısı */
.back-link { display: block; text-align: center; padding-top: 32px; font-size: 13px; color: var(--text-soft); text-decoration: none; }
.back-link:hover { color: var(--accent); }
.page-head { padding-top: 24px; padding-bottom: 24px; }
.page-head h1 { font-size: calc(clamp(30px, 6vw, 44px) * var(--heading-scale, 1)); }

@media (max-width: 480px) {
  .program-list::before { left: 54px; }
  .program-list li::before { left: 50px; }
  .pg-time { flex-basis: 44px; font-size: 15px; }
  .program-list li { gap: 22px; }
}
.upload-queue li.fail .uq-bar > span { background: #E7B4AC; }
/* Lightbox açıkken dil düğmesi kapat düğmesinin altında kalmasın */
.lightbox.open ~ .lang-switch, body:has(.lightbox.open) .lang-switch { display: none; }
