/* Colorido Events – katalog sayfaları (sürüm 4.0): ana sayfa, “Etkinlik düzenleyin”, gösteri sayfası, talep formu, etkinlik talebi, Yönetim → Gösteriler.
   Ortak parçalar (düğme, kart, alan, hero, ızgara) style.css'ten gelir; burada yalnız yeni parçalar var. */

/* ---- talep formu */
.req-form { display: flex; flex-direction: column; gap: 2px; }
.req-form select, .req-form input[type="date"] { width: 100%; }
.qty-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: end; }
.qty-field { margin-bottom: 14px; }
.qty-field label { display: block; line-height: 1.25; margin-bottom: 6px; }
.qty-field input { text-align: center; }
.addon-set { border: 1px solid var(--border); border-radius: var(--radius, 12px); padding: 10px 14px 4px; margin: 4px 0 12px; }
.addon-set legend { font-size: .85rem; font-weight: 600; padding: 0 6px; color: var(--text-muted); }
.addon { margin-bottom: 10px; }
.addon small { display: block; color: var(--text-muted); font-size: .8rem; font-weight: 400; line-height: 1.4; margin-top: 2px; }
.estimate { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--primary-50); color: var(--primary); font-weight: 600; }
.estimate b { font-size: 1.35rem; white-space: nowrap; }
.estimate-note { margin: 6px 0 14px; }

/* ---- gösteri sayfası */
.hl-list, .tk-list, .next-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.hl-list li { display: flex; gap: 10px; align-items: flex-start; }
.hl-list .ic { color: var(--success); margin-top: .2em; }
.tk-list li { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--border); }
.tk-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.tk-list small { display: block; color: var(--text-muted); font-size: .85rem; line-height: 1.45; margin-top: 2px; }
.tk-price { font-weight: 700; color: var(--primary); white-space: nowrap; text-align: right; }
.tk-price small { font-weight: 400; margin: 0; }
.sub-h { margin: 22px 0 4px; font-size: 1rem; }

/* ---- dil bağlantıları (üst şerit) */
.lang-links { display: inline-flex; gap: 12px; padding-left: 14px; margin-left: 2px; border-left: 1px solid rgba(255, 255, 255, .25); }
.lang-links a { color: #fff; opacity: .85; }
.lang-links a:hover { opacity: 1; }

/* ---- ana sayfa: "Etkinlik düzenleyin" bandı, geçmiş etkinlikler */
.org-band { display: flex; gap: 24px 40px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 36px 40px; border-radius: 20px; background: var(--primary); color: #fff; }
.org-band > div { flex: 1 1 420px; min-width: 0; }
.org-band h2 { margin: 0 0 8px; color: #fff; }
.org-band p { margin: 0; color: rgba(255, 255, 255, .88); max-width: 62ch; }
.org-points { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.org-points li { display: flex; gap: 10px; align-items: flex-start; }
.org-points .ic { color: var(--yellow); margin-top: .2em; flex: none; }
.missing-line { margin: 26px 0 0; text-align: center; color: var(--text-muted); }
.missing-line a { font-weight: 600; white-space: nowrap; }
.ev-hero .back-link { margin-bottom: 26px; }

/* ---- "Etkinlik düzenleyin" sayfası */
.hero-sm .btn { margin-top: 22px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.org-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.org-two > .card:only-child { grid-column: 1 / -1; }
.org-two h2 { margin-top: 0; }
.case-card { display: grid; gap: 18px; }
.case-img { display: block; aspect-ratio: 16 / 9; border-radius: 12px; background: var(--bg-light) center 30% / cover no-repeat; }
.case-card p { margin: 0 0 10px; }

/* ---- geçmiş etkinlik sayfası (biletli etkinlik tamamlandıktan sonra) */
.past-summary h2 { margin: 12px 0 6px; font-size: 1.25rem; }
.past-summary p { margin: 0 0 12px; }
.past-actions { display: grid; gap: 10px; margin-top: 18px; }
.past-actions .btn { justify-content: center; text-align: center; }
.video-grid { display: grid; gap: 16px; }
.video-grid.many { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.past-card .ev-visual.has-img { filter: saturate(.9); }
.hero-sm .hero-in { padding-top: 48px; padding-bottom: 52px; }

/* ---- "aldık" sayfası */
.thanks-card { text-align: left; padding: 32px; }
.thanks-card h1 { margin: 8px 0 8px; font-size: clamp(1.5rem, 3vw, 2rem); }
.thanks-card h2 { font-size: 1.05rem; margin: 26px 0 8px; }
.thanks-card .lead { color: var(--text-muted); font-size: 1.05rem; margin: 0; }
.thanks-ic { display: inline-flex; width: 56px; height: 56px; border-radius: 50%; align-items: center; justify-content: center; background: var(--success-50); color: var(--success); font-size: 1.6rem; }
.sum-list { margin: 0 0 8px; display: grid; gap: 0; }
.sum-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.sum-list dt { color: var(--text-muted); }
.sum-list dd { margin: 0; font-weight: 600; text-align: right; }
.next-list { list-style: decimal; padding-left: 1.3em; gap: 6px; }
.thanks-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }

/* ---- etkinlik talebi formu */
.kind-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 8px; }
.kind-opt { position: relative; display: block; cursor: pointer; }
.kind-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.kind-opt span { display: block; height: 100%; padding: 16px 18px; border: 1.5px solid var(--border); border-radius: 14px; background: #fff; transition: border-color .12s, box-shadow .12s; }
.kind-opt small { display: block; color: var(--text-muted); font-size: .86rem; line-height: 1.45; margin-top: 4px; font-weight: 400; }
.kind-opt input:checked + span { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-50); }
.kind-opt input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 16px; }

/* ---- yönetim: gösteriler (gösteri bazlı: bir kart = bir gösteri, altında dil satırları) */
.site-links { margin: 0 0 16px; }
.show-admin .ev-admin-top > div:last-child { min-width: 0; }
.lang-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.lang-rows li { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.lang-rows .lang-title { flex: 1 1 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; }
.lang-rows .muted { flex: 1 1 0; }
.lang-code { display: inline-flex; align-items: center; justify-content: center; min-width: 2.3em; padding: 2px 6px; border-radius: 6px; background: var(--primary); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .04em; flex: none; }
.lang-code.off { background: var(--border); color: var(--text-muted); }
.show-form h2 { margin: 18px 0 2px; font-size: 1.1rem; }
.price-rows { width: 100%; border-collapse: collapse; min-width: 820px; }
.price-rows th { text-align: left; font-size: .78rem; font-weight: 600; color: var(--text-muted); padding: 0 6px 6px 0; white-space: nowrap; }
.price-rows td { padding: 0 6px 10px 0; vertical-align: top; }
.price-rows td.pcol, .price-rows th.pcol { width: 92px; }
.price-rows input, .price-rows select { width: 100%; min-width: 0; }
.price-rows input.sub { margin-top: 4px; font-size: .85rem; padding-top: .35em; padding-bottom: .35em; }
.lang-block { border: 1px solid var(--border); border-radius: 12px; padding: 0 18px; background: #fff; }
.lang-block > summary { cursor: pointer; padding: 14px 0; font-weight: 600; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lang-block[open] > summary { border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.lang-block[open] { padding-bottom: 10px; }
.day-row { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.day-row .day { margin: 0; }
.field .label { font-weight: 600; font-size: .9rem; }
.form-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 8px; }

/* ---- anket: müşterinin değerlendirme sayfası + Yönetim → Etkinlik → Anket */
.sv-card { padding: 30px 32px; margin-top: 14px; }
.sv-card h1 { margin: 0 0 4px; font-size: clamp(1.4rem, 3vw, 1.8rem); }
.sv-form { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; }
.sv-q { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.sv-q legend { font-weight: 600; padding: 0; margin-bottom: 10px; }
.sv-scale { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.sv-again { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sv-opt { position: relative; display: block; cursor: pointer; }
.sv-opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.sv-opt span { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1.5px solid var(--border); border-radius: 12px; background: #fff; font-weight: 700; font-size: 1.05rem; transition: border-color .12s, background .12s, color .12s; }
.sv-opt.wide span { font-size: .95rem; font-weight: 600; }
.sv-opt:hover span { border-color: var(--primary); }
.sv-opt input:checked + span { border-color: var(--primary); background: var(--primary); color: #fff; }
.sv-opt input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.sv-ends { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; font-size: .8rem; color: var(--text-muted); }
.sv-form .check { margin: 2px 0 14px; }
.sv-dist td { padding: 6px 10px 6px 0; border: 0; white-space: nowrap; }
.sv-dist td:nth-child(2) { width: 100%; }
.sv-dist td.r { text-align: right; font-weight: 600; }
.sv-bar { display: block; height: 10px; border-radius: 6px; background: var(--border); overflow: hidden; }
.sv-bar i { display: block; height: 100%; border-radius: 6px; background: var(--primary); }
.sv-preview { margin: 12px 0 16px; border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; }
.sv-preview summary { cursor: pointer; font-weight: 600; }
.sv-mail { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-size: .92rem; line-height: 1.55; margin: 8px 0 0; padding: 14px 16px; border-radius: 10px; background: var(--primary-50); color: var(--text, #1e293b); }
.sv-block { margin-bottom: 18px; }
.sv-list > h3 { margin: 0; padding: 18px 20px 10px; }
.sv-list > p { margin: 0; padding: 0 20px 18px; }
.sv-list td:first-child { white-space: nowrap; }
.sv-list td:nth-child(6) { min-width: 240px; }
.inline-form { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 8px 0; }
.inline-form .check { margin: 0; }

@media (max-width: 720px) {
  .sv-card { padding: 22px 18px; }
  .sv-scale { gap: 6px; }
  .org-band { padding: 26px 22px; }
  .org-band .btn { width: 100%; justify-content: center; }
  .kind-grid, .grid-3, .svc-grid, .org-two, .video-grid.many { grid-template-columns: 1fr; }
  .lang-rows li { flex-wrap: wrap; }
  .lang-rows .lang-title { flex-basis: 60%; }
  .thanks-card { padding: 22px 18px; }
  .lang-links { padding-left: 10px; gap: 10px; }
  .tk-list li { gap: 10px; }
}
@media (min-width: 721px) and (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 400px) {
  .qty-grid { gap: 6px; }
  .qty-field label { font-size: .8rem; }
}

/* ---- yönetim: gösteri formu ve listesi (ince ayar) */
.show-form.form-card { max-width: 1120px; }
.show-admin > *, .lang-rows li > * { min-width: 0; }
.lang-rows li > form, .lang-rows li > .btn, .lang-rows li > .badge { flex: none; }
.price-rows td.pcol input { text-align: right; }
