:root {
  --orange: #f7931e; --orange-d: #e07f0a; --orange-l: #fff3e4;
  --pink: #e91e78; --pink-l: #fde7f1;
  --sky: #7cc8ec; --sky-l: #e6f5fc;
  --ink: #111111; --ink-2: #2a2a2a; --muted: #6f6f6f; --muted-2: #9a9a9a;
  --line: #ececec; --line-2: #e2e2e2;
  --bg: #f7f6f3; --card: #ffffff; --side: #141414;
  --green: #1f9d55; --green-l: #e5f6ec; --red: #d93a3a; --red-l: #fdecec; --blue: #2b7fc1; --blue-l: #e7f2fb;
  --r: 14px; --r-sm: 9px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 4px 18px rgba(0,0,0,.04);
  --font: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
.ic { width: 18px; height: 18px; flex: none; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.hide { display: none !important; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.mt { margin-top: 18px; } .mt-s { margin-top: 10px; } .mb { margin-bottom: 18px; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid transparent; border-radius: 10px; padding: 8px 14px; font-weight: 600; font-size: 14px; cursor: pointer; background: #fff; transition: .15s; white-space: nowrap; line-height: 1.2; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--orange); color: #111; box-shadow: 0 2px 0 rgba(0,0,0,.08); }
.btn-primary:hover:not(:disabled) { background: var(--orange-d); }
.btn-dark { background: #111; color: #fff; }
.btn-dark:hover { background: #333; }
.btn-ghost { background: #fff; border-color: var(--line-2); }
.btn-ghost:hover { border-color: #bbb; }
.btn-outline { background: transparent; border: 1.5px solid #111; border-radius: 999px; }
.btn-outline:hover { background: #111; color: #fff; }
.btn-pill { border-radius: 999px; }
.btn-danger { background: var(--red-l); color: var(--red); }
.btn-danger:hover { background: #fbd5d5; }
.btn-green { background: #25d366; color: #fff; }
.btn-sm { padding: 5px 10px; font-size: 12.5px; border-radius: 8px; }
.btn-lg { padding: 12px 22px; font-size: 16px; }
.btn-block { width: 100%; }
.icon-btn { width: 38px; height: 38px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; position: relative; }
.icon-btn:hover { border-color: #ccc; }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.plain::before { display: none; }
.b-green { background: var(--green-l); color: var(--green); }
.b-red { background: var(--red-l); color: var(--red); }
.b-orange { background: var(--orange-l); color: #c66a00; }
.b-blue { background: var(--blue-l); color: var(--blue); }
.b-gray { background: #f1f1f1; color: #666; }
.b-pink { background: var(--pink-l); color: var(--pink); }
.chip { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--orange); font-weight: 600; font-size: 13px; }

/* Forms */
label.f { display: block; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
label.f > span { display: block; margin-bottom: 5px; }
.inp, select.inp, textarea.inp { width: 100%; border: 1px solid var(--line-2); border-radius: 9px; padding: 9px 11px; background: #fff; font-weight: 400; font-size: 14.5px; outline: none; transition: .15s; }
.inp:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(247,147,30,.18); }
textarea.inp { min-height: 90px; resize: vertical; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 14px; }
.check { display: flex; gap: 8px; align-items: center; font-size: 14px; margin-bottom: 12px; cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--orange); }
.err-box { background: var(--red-l); color: var(--red); padding: 10px 12px; border-radius: 9px; font-size: 14px; margin-bottom: 12px; }
.ok-box { background: var(--green-l); color: var(--green); padding: 10px 12px; border-radius: 9px; font-size: 14px; margin-bottom: 12px; }
.info-box { background: var(--sky-l); padding: 12px 14px; border-radius: 10px; font-size: 14px; }

/* Cards & tables */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.card-h h3 { font-size: 18px; font-weight: 700; }
.tbl-wrap { border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; background: #fff; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 11.5px; font-weight: 700; color: #555; letter-spacing: .04em; text-transform: uppercase; padding: 11px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; background: #fff; }
.tbl td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: #fcfcfb; }
.tbl .sub { font-size: 12.5px; color: var(--muted); }
.empty { text-align: center; color: var(--muted); padding: 34px 10px !important; }
.tbl-foot { text-align: right; font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.progress { height: 6px; background: #eee; border-radius: 9px; overflow: hidden; width: 100px; }
.progress > i { display: block; height: 100%; background: var(--pink); border-radius: 9px; }
.progress.big { width: 100%; height: 8px; }
.progress.big > i { background: var(--orange); }

/* Toast & modal */
#toast-root { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { background: #111; color: #fff; padding: 10px 18px; border-radius: 10px; font-size: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.2); transition: .3s; max-width: 90vw; }
.toast-err { background: var(--red); }
.toast.out { opacity: 0; transform: translateY(8px); }
.modal-back { position: fixed; inset: 0; background: rgba(15,15,15,.45); z-index: 90; display: flex; align-items: flex-start; justify-content: center; padding: 5vh 16px; overflow-y: auto; }
.modal { background: #fff; border-radius: 16px; width: 100%; max-width: 520px; box-shadow: 0 20px 60px rgba(0,0,0,.25); animation: pop .18s ease-out; }
.modal-wide { max-width: 860px; }
@keyframes pop { from { transform: translateY(10px); opacity: 0; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.modal-head h3 { font-size: 18px; }
.modal-head .icon-btn { width: 32px; height: 32px; }
.modal-body { padding: 18px 20px 20px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }

/* Bus seat map */
.bus { --s: 34px; display: inline-block; border: 2px solid #222; border-radius: 22px 22px 12px 12px; padding: 10px; background: #fff; }
.bus-sm { --s: 22px; border-radius: 16px 16px 8px 8px; padding: 7px; }
.bus-front { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); margin-bottom: 8px; }
.bus-front span { background: #f2f2f2; padding: 3px 7px; border-radius: 6px; }
.bus-sm .bus-front { font-size: 7px; margin-bottom: 6px; }
.bus-sm .bus-front span { padding: 2px 4px; }
.bus-grid { display: grid; grid-template-columns: repeat(var(--cols), var(--s)); gap: 6px; }
.bus-sm .bus-grid { gap: 4px; }
.seat, .seat-gap { width: var(--s); height: var(--s); }
.seat { display: grid; place-items: center; border: 1.5px solid #cfcfcf; border-radius: 8px 8px 5px 5px; font-size: 12px; font-weight: 600; background: #fff; padding: 0; }
.bus-sm .seat { font-size: 8px; border-radius: 5px 5px 3px 3px; border-width: 1px; }
button.seat { cursor: pointer; }
button.seat:hover { border-color: var(--orange); background: var(--orange-l); }
.seat.taken { background: #e6e6e6; color: #aaa; border-color: #e0e0e0; }
.seat.sel { background: var(--orange); border-color: var(--orange-d); color: #111; }
.seat.in { background: var(--green-l); border-color: var(--green); color: var(--green); }
.seat.occ { background: var(--pink-l); border-color: var(--pink); color: var(--pink); }
.seat-ico { width: var(--s); height: var(--s); display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #777; background: #f4f4f4; border-radius: 6px; }
.bus-sm .seat-ico { font-size: 7px; }

/* Dekont */
.rc-box { border-color: #f6c88e; background: #fffaf3; }
.rc-drop { display: block; border: 2px dashed #e7b878; border-radius: 12px; background: #fff; padding: 16px; text-align: center; cursor: pointer; position: relative; transition: .15s; }
.rc-drop:hover { border-color: var(--orange); background: var(--orange-l); }
.rc-drop.on { border-style: solid; border-color: var(--green); background: var(--green-l); }
.rc-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.rc-drop-t { display: flex; flex-direction: column; align-items: center; gap: 3px; pointer-events: none; }
.rc-drop-t .ic { width: 22px; height: 22px; color: var(--orange-d); }
.rc-drop-t small { color: var(--muted); }
.rc-view { background: #f4f4f4; border-radius: 12px; overflow: auto; max-height: 62vh; display: grid; place-items: center; }
.rc-view img { max-width: 100%; height: auto; }
.rc-view iframe { width: 100%; height: 60vh; border: 0; }
.rc-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 8px; background: var(--orange-l); color: #a35a00; border: 1px solid #f6c88e; cursor: pointer; white-space: nowrap; }
.rc-chip:hover { background: #ffe6c7; }

/* Otobüs düzenleyici */
.pe-wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 14px; align-items: start; }
.pe-tools { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.pe-tool { display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--line-2); background: #fff; border-radius: 10px; padding: 7px 12px; font-weight: 600; font-size: 13.5px; cursor: pointer; }
.pe-tool.on { border-color: #111; background: #111; color: #fff; }
.pe-tool i { width: 16px; height: 16px; border-radius: 4px; display: inline-block; border: 1.5px solid #bbb; background: #fff; }
.pe-tool i.t-K { background: repeating-linear-gradient(45deg, #eef6fb, #eef6fb 3px, #d7ebf6 3px, #d7ebf6 6px); border-color: #b9d9ea; }
.pe-tool i.t-D { background: #fff3e4; border-color: var(--orange); }
.pe-tool i.t-W { background: #ede7fb; border-color: #a58be0; }
.pe-tool i.t-0 { border-style: dashed; }
.pe-scroll { overflow-x: auto; padding-bottom: 6px; }
.pe-grid { display: grid; gap: 5px; width: max-content; user-select: none; }
.pe-colh { display: flex; flex-direction: column; gap: 2px; align-items: stretch; }
.pe-colh button, .pe-rowh button { border: 1px solid var(--line-2); background: #fff; border-radius: 5px; font-size: 11px; line-height: 1; padding: 3px 0; cursor: pointer; color: #555; }
.pe-colh button:hover, .pe-rowh button:hover { border-color: #111; color: #111; }
.pe-colh button.on { background: #d7ebf6; border-color: #9cc9e2; color: #1d5f85; }
.pe-colh button.del:hover, .pe-rowh button.del:hover { border-color: var(--red); color: var(--red); }
.pe-rowh { display: flex; align-items: center; gap: 3px; font-size: 11px; color: var(--muted); }
.pe-rowh span { width: 16px; text-align: right; }
.pe-rowh button { width: 18px; }
.pe-cell { width: 40px; height: 40px; border: 1.5px dashed #d5d5d5; background: #fafafa; border-radius: 8px; font-size: 12px; font-weight: 700; padding: 0; cursor: crosshair; touch-action: none; color: #111; }
.pe-cell.t-1 { border: 1.5px solid #555; background: #fff; border-radius: 9px 9px 5px 5px; }
.pe-cell.t-K { border: 1.5px solid #c9e2f0; background: repeating-linear-gradient(45deg, #eef6fb, #eef6fb 4px, #dcedf7 4px, #dcedf7 8px); }
.pe-cell.t-D { border: 1.5px solid var(--orange); background: #fff3e4; font-size: 15px; }
.pe-cell.t-W { border: 1.5px solid #a58be0; background: #ede7fb; color: #6b4fbb; font-size: 10px; }
.pe-cell:hover { outline: 2px solid var(--orange); outline-offset: 1px; }
.pe-front { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-bottom: 6px; }
.pe-stats { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 14px; }
.seat-gap.aisle { background: repeating-linear-gradient(90deg, transparent, transparent 45%, #eee 45%, #eee 55%, transparent 55%); }

.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid #cfcfcf; vertical-align: -2px; margin-right: 5px; }
.legend i.t { background: #e6e6e6; border-color: #e0e0e0; }
.legend i.s { background: var(--orange); border-color: var(--orange-d); }
.legend i.o { background: var(--pink-l); border-color: var(--pink); }
.legend i.g { background: var(--green-l); border-color: var(--green); }

.ph { background: #cfe9f7; overflow: hidden; }
.ph svg { width: 100%; height: 100%; display: block; }
.qr-box { display: inline-block; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.qr-box img, .qr-box canvas { display: block; }
.qr-fallback { font-weight: 700; padding: 30px; }

/* ================= PUBLIC SITE ================= */
.pub-head { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.wrap-n { max-width: 700px; margin: 0 auto; padding: 0 20px; }
.pub-head .wrap { display: flex; align-items: center; height: 64px; gap: 8px; }
.pub-logo img { height: 40px; width: auto; }
.pub-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.pub-nav a.nl { padding: 8px 10px; font-weight: 500; border-radius: 8px; }
.pub-nav a.nl:hover, .pub-nav a.nl.on { background: #f4f4f2; }
.pub-nav .btn { margin-left: 8px; }
.burger { display: none; margin-left: auto; }
.pub-main { min-height: calc(100vh - 64px - 260px); padding-bottom: 50px; }

.hero { background: linear-gradient(180deg, #8fd0ef 0%, #b8e2f6 100%); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 30px; padding-top: 56px; padding-bottom: 64px; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--pink); }
.hero p.lead { font-size: 18px; margin: 14px 0 24px; color: #1f3644; max-width: 520px; }
.hero .logo-big { filter: drop-shadow(0 18px 30px rgba(0,0,0,.18)); transform: rotate(-3deg); }
.hero-stats { display: flex; gap: 22px; margin-top: 26px; flex-wrap: wrap; }
.hero-stats b { display: block; font-size: 22px; }
.hero-stats span { font-size: 13px; color: #2e4a5a; }

.sec { padding: 46px 0 0; }
.sec-h { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.sec-h h2 { font-size: 30px; font-weight: 700; }
.tour-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: .2s; }
.tcard:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.07); }
.tcard .timg { aspect-ratio: 16/10; width: 100%; object-fit: cover; }
.tcard .tbody { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tcard h3 { font-size: 19px; }
.tmeta { display: flex; gap: 6px; align-items: center; font-size: 13.5px; color: var(--muted); }
.tmeta .ic { width: 15px; height: 15px; }
.tfoot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; }
.price b { font-size: 22px; }
.price small { display: block; font-size: 12px; color: var(--pink); font-weight: 600; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.step .num { width: 38px; height: 38px; border-radius: 12px; background: var(--orange); display: grid; place-items: center; font-weight: 800; margin-bottom: 12px; }
.step:nth-child(2) .num { background: var(--pink); color: #fff; }
.step:nth-child(3) .num { background: var(--sky); }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.cta-band { background: #111; color: #fff; border-radius: 20px; padding: 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-band h3 { font-size: 24px; }
.cta-band h3 em { font-style: normal; color: var(--orange); }

.page-h { padding: 36px 0 20px; }
.page-h h1 { font-size: 40px; font-weight: 800; margin-top: 10px; }
.page-h p { color: var(--muted); margin-top: 6px; }

.tour-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 26px; padding-top: 28px; }
.tour-hero .himg { border-radius: 18px; aspect-ratio: 16/10; width: 100%; object-fit: cover; }
.tour-hero h1 { font-size: 34px; font-weight: 800; margin: 8px 0 10px; }
.facts { display: grid; gap: 10px; margin: 16px 0; }
.facts div { display: flex; gap: 10px; align-items: center; }
.facts .ic { color: var(--orange); }
.program { white-space: pre-line; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; font-size: 14.5px; }
.book { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: start; }
.book > div:first-child { position: sticky; top: 80px; }
.sumline { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14.5px; }
.sumline.total { border-top: 1px dashed var(--line-2); margin-top: 6px; padding-top: 10px; font-size: 18px; font-weight: 700; }
.pay-opts { display: grid; gap: 8px; margin-bottom: 12px; }
.pay-opt { display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid var(--line-2); border-radius: 11px; padding: 11px 12px; cursor: pointer; }
.pay-opt input { margin-top: 3px; accent-color: var(--orange); }
.pay-opt:has(input:checked) { border-color: var(--orange); background: var(--orange-l); }
.pay-opt.off { opacity: .55; cursor: not-allowed; }
.pay-opt b { display: block; font-size: 14.5px; }
.pay-opt span { font-size: 12.5px; color: var(--muted); }
.pax { border: 1px solid var(--line); border-radius: 12px; padding: 12px 12px 0; margin-bottom: 10px; }
.pax-h { font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.pax-h b { background: var(--orange); padding: 1px 8px; border-radius: 6px; margin-right: 6px; }

.ticket { background: #fff; border-radius: 20px; border: 1px solid var(--line); overflow: hidden; }
.ticket-top { background: #111; color: #fff; padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ticket-top img { height: 38px; }
.ticket-code { font-size: 26px; font-weight: 800; letter-spacing: .06em; color: var(--orange); }
.ticket-body { padding: 22px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.ticket dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: 14.5px; }
.ticket dt { color: var(--muted); }
.ticket dd { margin: 0; font-weight: 600; }
.ticket-cut { border-top: 2px dashed var(--line-2); margin: 0 22px; }
.ticket-foot { padding: 14px 22px 20px; font-size: 13px; color: var(--muted); }

.acct-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.res-item { display: flex; gap: 16px; align-items: center; }
.res-item .rimg { width: 76px; height: 56px; border-radius: 10px; object-fit: cover; flex: none; }
.res-item h4 { font-size: 16px; }
.auth-box { max-width: 420px; margin: 40px auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.auth-box h1 { font-size: 28px; margin-bottom: 4px; }

.pub-foot { background: #111; color: #fff; padding: 40px 0 26px; }
.pub-foot .wrap { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 24px; }
.foot-logo { background: #fff; border-radius: 10px; padding: 4px 8px; display: inline-block; }
.foot-logo img { height: 30px; }
.pub-foot h4 { color: var(--orange); font-size: 15px; margin-bottom: 10px; }
.pub-foot a, .pub-foot .fl { display: block; margin-bottom: 8px; font-size: 15px; }
.pub-foot a:hover { color: var(--orange); }
.pub-foot .slogan { color: #8a8a8a; margin-top: 14px; }
.copy { color: #6a6a6a; font-size: 12.5px; border-top: 1px solid #262626; margin-top: 26px; padding-top: 16px; }
.legal { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px 26px; }
.legal h3 { margin: 18px 0 6px; font-size: 17px; }
.legal p, .legal li { color: #333; font-size: 15px; }

/* ================= ADMIN ================= */
.adm { display: flex; min-height: 100vh; background: #fff; }
.adm-side { width: 196px; background: var(--side); color: #eaeaea; display: flex; flex-direction: column; position: fixed; inset: 0 auto 0 0; z-index: 40; transition: transform .2s; }
.adm-brand { display: flex; align-items: center; gap: 10px; padding: 16px 16px 18px; font-weight: 700; font-size: 17px; }
.adm-brand .k { width: 26px; height: 26px; background: var(--orange); color: #111; border-radius: 6px; display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.adm-brand em { font-style: normal; color: var(--orange); }
.adm-nav { flex: 1; padding: 0 10px; overflow-y: auto; }
.adm-nav a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 8px; font-size: 14.5px; font-weight: 500; margin-bottom: 3px; color: #e8e8e8; }
.adm-nav a:hover { background: #222; }
.adm-nav a.on { background: var(--orange); color: #111; font-weight: 600; }
.adm-nav .cnt { margin-left: auto; background: var(--pink); color: #fff; font-size: 11px; border-radius: 999px; padding: 0 6px; font-weight: 700; }
.adm-side-foot { border-top: 1px solid #2a2a2a; padding: 14px 16px; font-size: 13px; color: #aaa; }
.adm-side-foot a:hover { color: #fff; }
.adm-main { flex: 1; margin-left: 196px; min-width: 0; display: flex; flex-direction: column; background: #fff; }
.adm-top { height: 62px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; padding: 0 16px; position: sticky; top: 0; background: rgba(255,255,255,.95); backdrop-filter: blur(6px); z-index: 20; }
.adm-top h2 { font-size: 16px; font-weight: 700; }
.dot-count { position: absolute; top: -6px; right: -6px; background: var(--pink); color: #fff; font-size: 10.5px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; border: 2px solid #fff; }
.user-chip { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 5px 12px 5px 5px; cursor: pointer; background: #fff; position: relative; }
.user-chip .av { width: 26px; height: 26px; border-radius: 7px; background: #111; color: var(--orange); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.user-chip b { display: block; font-size: 13.5px; line-height: 1.15; }
.user-chip small { color: var(--muted-2); font-size: 11px; }
.dropdown { position: absolute; top: calc(100% + 6px); right: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.12); min-width: 220px; padding: 6px; z-index: 50; text-align: left; }
.dropdown a, .dropdown button { display: flex; gap: 8px; align-items: center; width: 100%; padding: 8px 10px; border-radius: 8px; border: 0; background: none; cursor: pointer; font-size: 14px; text-align: left; }
.dropdown a:hover, .dropdown button:hover { background: #f5f5f5; }
.notif-dd { width: 320px; right: -60px; }
.notif-dd .ni { display: block; padding: 9px 10px; border-radius: 8px; font-size: 13.5px; }
.notif-dd .ni small { display: block; color: var(--muted); }
.adm-content { padding: 26px 22px 40px; max-width: 1090px; width: 100%; }
.adm-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.adm-h h1 { font-size: 22px; font-weight: 700; }
.adm-h p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.stats { display: grid; gap: 14px; margin-bottom: 14px; }
.stat { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--orange); border-radius: 12px; padding: 14px 14px 12px; min-width: 0; }
.stat .l { font-size: 12.5px; color: var(--muted); }
.stat .v { font-size: 23px; font-weight: 800; margin: 4px 0 2px; }
.stat .s { font-size: 11.5px; color: var(--muted); }
.stat.pink { border-left-color: var(--pink); }
.stat.sky { border-left-color: var(--sky); }
.stat.ink { border-left-color: #111; }
.stat.peach { border-left-color: var(--pink); background: #fff7ef; }
.dash-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 14px; margin-bottom: 14px; }
.seg { display: inline-flex; background: #f3f3f3; border-radius: 9px; padding: 3px; }
.seg button { border: 0; background: none; padding: 5px 11px; border-radius: 7px; font-size: 13px; cursor: pointer; color: #555; }
.seg button.on { background: #fff; color: #111; font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.chart { width: 100%; height: auto; display: block; }
.chart-legend { display: flex; gap: 14px; justify-content: center; font-size: 11.5px; color: var(--muted); }
.chart-legend i { display: inline-block; width: 30px; height: 10px; vertical-align: -1px; margin-right: 4px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 14px; overflow-x: auto; }
.tabs a { padding: 9px 11px; font-size: 14px; font-weight: 500; color: #555; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a.on { color: #111; font-weight: 700; border-bottom-color: var(--orange); }
.filter { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: flex; gap: 8px; align-items: flex-end; margin-bottom: 14px; flex-wrap: wrap; }
.filter label { flex: 1; min-width: 160px; font-size: 12.5px; font-weight: 600; }
.filter label > span { display: block; margin-bottom: 4px; }
.acts { display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.acts .btn { font-size: 12px; padding: 5px 9px; }
.acts-note { font-size: 12px; color: var(--muted); text-align: right; margin-top: 4px; }
.plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.plan-card { display: flex; flex-direction: column; }
.plan-prev { max-height: 230px; overflow-y: auto; margin-bottom: 14px; }
.plan-card .row { margin-top: auto; }
.ed-grid { display: grid; gap: 5px; }
.ed-cell { width: 34px; height: 34px; border: 1.5px dashed #ccc; border-radius: 7px; background: #fafafa; cursor: pointer; font-size: 11px; font-weight: 600; padding: 0; }
.ed-cell.on { border-style: solid; border-color: #555; background: #fff; }
.mini-list .mi { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.mini-list .mi:last-child { border-bottom: 0; }
.mini-list b { font-size: 14.5px; }
.fill-item { margin-bottom: 14px; }
.fill-item .row { justify-content: space-between; font-size: 14px; margin-bottom: 5px; }
.login-wrap { min-height: 100vh; display: grid; place-items: center; background: var(--side); padding: 20px; }
.login-card { background: #fff; border-radius: 18px; padding: 28px; width: 100%; max-width: 380px; }
.login-card .adm-brand { padding: 0 0 18px; color: #111; }
.scan-box { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
video.scan { width: 100%; border-radius: 12px; background: #000; max-height: 260px; object-fit: cover; }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 6px 12px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.side-back { display: none; }

/* ========= RESPONSIVE ========= */
@media (max-width: 1100px) {
  .stats.five { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 900px) {
  .hero .wrap, .tour-hero, .book { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 34px; }
  .hero .logo-big { max-width: 420px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; }
  .pub-foot .wrap { grid-template-columns: 1fr 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
  .adm-side { transform: translateX(-100%); }
  .adm.open .adm-side { transform: none; }
  .adm.open .side-back { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 35; }
  .adm-main { margin-left: 0; }
  .scan-box { grid-template-columns: 1fr; }
  .pe-wrap { grid-template-columns: 1fr; }
  .rc-grid { grid-template-columns: 1fr !important; }
  .book .bus { justify-self: center; }
  .book > div:first-child { position: static; }
}
@media (max-width: 700px) {
  body { font-size: 14.5px; }
  .wrap, .wrap-n { padding: 0 16px; }
  .pub-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 16px 16px; border-bottom: 1px solid var(--line); box-shadow: 0 10px 20px rgba(0,0,0,.06); }
  .pub-nav.open { display: flex; }
  .pub-nav .btn { margin: 6px 0 0; }
  .burger { display: inline-grid; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr !important; }
  .page-h h1 { font-size: 32px; }
  .ticket-body { grid-template-columns: 1fr; justify-items: start; }
  .res-item { flex-wrap: wrap; }
  .adm-content { padding: 18px 16px 34px; }
  .user-chip .nm { display: none; }
  .user-chip { padding: 5px; }
  .notif-dd { width: 290px; right: -50px; }
  .kv { grid-template-columns: 1fr; }
  .kv dd { margin-bottom: 6px; }
  .bus { --s: 30px; }
}
@media print {
  .pub-head, .pub-foot, .no-print { display: none !important; }
  body { background: #fff; }
}

/* Kapora */
.dep-box { border-top: 1px dashed var(--line-2); margin-top: 10px; padding-top: 12px; }
.inp.inp-err { border-color: var(--red); box-shadow: 0 0 0 3px rgba(217,58,58,.15); }

/* Havale / EFT kartı */
.bank { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.bank-h { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: linear-gradient(135deg, #111 0%, #2a2a2a 100%); color: #fff; }
.bank-ic { width: 38px; height: 38px; border-radius: 11px; background: var(--orange); color: #111; display: grid; place-items: center; flex: none; }
.bank-ic .ic { width: 20px; height: 20px; }
.bank-t { flex: 1; min-width: 0; }
.bank-t b { display: block; font-size: 15.5px; }
.bank-t small { color: #aaa; font-size: 12.5px; }
.bank-amt { text-align: right; }
.bank-amt small { display: block; color: #aaa; font-size: 11.5px; }
.bank-amt b { font-size: 20px; color: var(--orange); white-space: nowrap; }
.bank-rows { padding: 4px 16px; }
.bank-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line-2); }
.bank-row:last-child { border-bottom: 0; }
.bank-v { flex: 1; min-width: 0; }
.bank-v small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.bank-v span { display: block; font-size: 15.5px; font-weight: 600; overflow-wrap: anywhere; }
.bank-v .mono { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 15px; letter-spacing: .02em; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; flex: none; border: 1.5px solid var(--line-2); background: #fff; border-radius: 10px; padding: 7px 12px; font-weight: 600; font-size: 13px; cursor: pointer; transition: .15s; }
.copy-btn .ic { width: 15px; height: 15px; }
.copy-btn:hover { border-color: var(--orange); background: var(--orange-l); }
.copy-btn.ok { border-color: var(--green); background: var(--green-l); color: var(--green); }
.bank-note { margin: 0; padding: 10px 16px; background: var(--orange-l); color: #8a4b00; font-size: 13.5px; }
.cash-note { display: flex; gap: 12px; align-items: flex-start; background: var(--green-l); border: 1px solid #bfe6cd; border-radius: 14px; padding: 14px 16px; }
.cash-note .ic { color: var(--green); margin-top: 2px; }
.cash-note b { display: block; }
.cash-note span { font-size: 14px; color: #2c5a3c; }
@media (max-width: 520px) {
  .bank-h { flex-wrap: wrap; }
  .bank-amt { text-align: left; width: 100%; padding-left: 50px; }
  .copy-btn span { display: none; }
  .copy-btn { padding: 8px; }
}

/* Üniversite seçimi */
.uni-field { margin-bottom: 14px; }
.uni-lbl { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.uni-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 7px; }
.uni-opt { position: relative; cursor: pointer; }
.uni-opt input { position: absolute; opacity: 0; inset: 0; pointer-events: none; }
.uni-opt span { display: flex; flex-direction: column; justify-content: center; min-height: 52px; padding: 8px 12px; border: 1.5px solid var(--line-2); border-radius: 11px; font-weight: 600; font-size: 14px; line-height: 1.2; transition: .15s; background: #fff; }
.uni-opt span small { font-weight: 400; color: var(--muted); font-size: 12px; }
.uni-opt:hover span { border-color: #bbb; }
.uni-opt input:checked + span { border-color: var(--orange); background: var(--orange-l); box-shadow: 0 0 0 3px rgba(247,147,30,.15); }
.uni-opt input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.uni-tag { display: inline-flex; align-items: center; gap: 6px; background: var(--sky-l); color: #1d5f85; border-radius: 999px; padding: 4px 11px; font-size: 13px; font-weight: 600; }
.members-only { display: flex; gap: 10px; align-items: center; background: var(--pink-l); color: #9b1452; border-radius: 11px; padding: 10px 12px; font-size: 13.5px; margin-bottom: 10px; }
.members-only a { text-decoration: underline; font-weight: 700; }
.req { color: var(--red); font-weight: 700; }
select.inp:invalid { color: var(--muted-2); }
select.inp option { color: var(--ink); }

/* Üniversite istatistikleri */
.uni-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 14px; }
.hbar { display: grid; gap: 10px; }
.hbar-row { display: grid; grid-template-columns: 190px 1fr 78px; align-items: center; gap: 10px; padding: 3px 4px; border-radius: 8px; cursor: default; }
.hbar-row:hover { background: #faf7f2; }
.hbar-l { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbar-track { height: 20px; background: #f3f3f3; border-radius: 4px; overflow: hidden; }
.hbar-track i { display: block; height: 100%; background: var(--orange-d); border-radius: 0 4px 4px 0; transition: width .4s; }
.hbar-row:hover .hbar-track i { background: #c96e05; }
.hbar-v { text-align: right; font-size: 14px; white-space: nowrap; }
.hbar-v small { color: var(--muted); font-size: 12px; }
.uni-counts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.uni-count { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.uni-count b { display: block; font-size: 26px; font-weight: 800; line-height: 1.1; }
.uni-count span { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .uni-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .hbar-row { grid-template-columns: 1fr 70px; } .hbar-l { grid-column: 1 / -1; } }
.reset-code { display: inline-block; font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 34px; font-weight: 800; letter-spacing: .25em; padding: 10px 18px 10px 26px; border: 2px dashed var(--orange); border-radius: 14px; background: var(--orange-l); }

/* Tur programı: panel düzenleyici */
.sch-ed { border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-bottom: 14px; background: #fcfcfb; }
.sch-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.sch-chip { border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: 4px 10px; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.sch-chip:hover { border-color: var(--orange); background: var(--orange-l); }
.sch-row { display: grid; grid-template-columns: 96px 150px 1fr 1fr 36px; gap: 6px; margin-bottom: 6px; align-items: center; }
.sch-row .inp { padding: 7px 9px; font-size: 13.5px; }
.sch-del { width: 36px; height: 36px; color: var(--red); }
@media (max-width: 700px) { .sch-row { grid-template-columns: 90px 1fr 36px; } .sch-title, .sch-place { grid-column: 1 / -1; } .sch-row { border-bottom: 1px dashed var(--line-2); padding-bottom: 8px; } }

/* Tur programı: ziyaretçi zaman çizelgesi */
.tl { list-style: none; margin: 0; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.tl-i { display: grid; grid-template-columns: 56px 34px 1fr; gap: 12px; align-items: start; position: relative; padding-bottom: 18px; }
.tl-i:last-child { padding-bottom: 0; }
.tl-i::before { content: ''; position: absolute; left: 84px; top: 32px; bottom: 2px; width: 2px; background: var(--line-2); }
.tl-i:last-child::before { display: none; }
.tl-time { font-weight: 800; font-size: 15px; padding-top: 6px; text-align: right; font-variant-numeric: tabular-nums; }
.tl-dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #f4f4f2; font-size: 16px; position: relative; z-index: 1; }
.tl-i.key .tl-dot { background: var(--orange); }
.tl-i.key .tl-time { color: var(--orange-d); }
.tl-body { padding-top: 5px; }
.tl-body b { display: block; font-size: 15.5px; }
.tl-body small { color: var(--muted); font-size: 12px; }
.tl-place { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 13px; margin-right: 8px; }
.tl-place .ic { width: 13px; height: 13px; }

/* Bildirimler */
.bell-nl { position: relative; display: inline-flex; align-items: center; gap: 6px; }
.bell-nl .nb { background: var(--pink); color: #fff; font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: inline-grid; place-items: center; padding: 0 5px; }
.note { display: flex; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; }
.note.unread { border-color: #f6c88e; background: #fffaf3; }
.note-ic { font-size: 20px; line-height: 1.2; }
.note-b { flex: 1; min-width: 0; }
.note-b p { margin-top: 4px; font-size: 14.5px; color: #333; }
.note-err { border-left: 3px solid var(--red); }
.note-ok { border-left: 3px solid var(--green); }
.note-banner { display: flex; align-items: center; gap: 12px; border-color: #f6c88e; background: #fffaf3; }
.note-banner .ic { color: var(--orange-d); width: 22px; height: 22px; }
.note-banner div { flex: 1; }
.note-banner b { display: block; }
.note-banner span:not(.btn) { font-size: 13.5px; color: var(--muted); }
.iban-cell { display: flex; flex-direction: column; font-size: 13px; }
.iban-cell .mono { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 12.5px; white-space: nowrap; }
.iban-cell .copy-btn { padding: 3px 7px; font-size: 11.5px; }
.iban-inp { font-family: ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: .03em; }
@media (max-width: 700px) { .bell-t { display: inline; } }
.rf-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.rf-sum > div { background: #f7f7f5; border-radius: 10px; padding: 9px 11px; min-width: 0; }
.rf-sum small { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.rf-sum b { display: block; font-size: 14.5px; }
.rf-sum span { display: block; font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.rf-reason { font-size: 12.5px; color: var(--red); margin-top: 6px; }
@media (max-width: 600px) { .rf-sum { grid-template-columns: 1fr; } }
.rf-reason { background: var(--red-l); color: #9b1c1c; border-radius: 9px; padding: 7px 10px; font-size: 13px; margin-top: 8px; }
.rf-reason.ok { background: var(--green-l); color: #17663b; }
#upd-bar { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 120; background: #111; color: #fff; padding: 10px 12px 10px 16px; border-radius: 12px; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25); display: flex; gap: 10px; align-items: center; }
#upd-bar button { background: var(--orange); border: 0; border-radius: 8px; padding: 6px 10px; font-weight: 700; cursor: pointer; }

/* Gelir / Gider */
.fin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.fin-lines > div { display: flex; justify-content: space-between; padding: 7px 0; font-size: 14.5px; }
.fin-lines > div span { color: var(--muted); }
.fin-lines .sep { border-top: 1px solid var(--line); margin-top: 2px; padding-top: 9px; }
.fin-lines .sep span { color: var(--ink); font-weight: 600; }
.fin-lines .total { font-size: 17px; border-top: 2px solid #111; }
.money.pos, .fin-lines .pos { color: var(--green); }
.money.neg, .neg { color: var(--red); }
.fin-tbl th.r, .fin-tbl td.r { text-align: right; white-space: nowrap; }
.fin-tbl tfoot td { border-top: 2px solid var(--line-2); background: #fafaf8; padding: 12px; }
@media (max-width: 900px) { .fin-grid { grid-template-columns: 1fr; } }

/* Aksiyon butonları: her zaman tek satır, aynı yükseklik, ortalı */
.acts { flex-wrap: nowrap; align-items: center; }
.acts .btn, .acts a.btn { height: 30px; padding: 0 10px; font-size: 12.5px; border-radius: 8px; flex: none; }
.acts .btn .ic { width: 15px; height: 15px; }
.tbl td:has(> .acts) { white-space: nowrap; }
.btn.ico { width: 30px; padding: 0 !important; }
.btn-group { display: inline-flex; flex: none; }
.btn-group .btn { border-radius: 0; margin-left: -1px; }
.btn-group .btn:first-child { border-radius: 8px 0 0 8px; margin-left: 0; }
.btn-group .btn:last-child { border-radius: 0 8px 8px 0; }
.btn-group .btn:hover { position: relative; z-index: 1; }
.row > .btn, .row > a.btn, .modal-foot > .btn { flex: none; }
.adm-h > .row { flex-wrap: nowrap; }
.adm-h > .row > select.inp { width: auto; }
@media (max-width: 700px) { .adm-h > .row { flex-wrap: wrap; } }
.fin-lines > div span.money { color: inherit; }
.fin-lines > div span.money.pos { color: var(--green); }
.fin-lines > div span.money.neg { color: var(--red); }
.tbl td:first-child { min-width: 150px; }

/* Destek sohbeti */
.chat-fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 10px; background: #111; color: #fff; border: 0; border-radius: 999px; padding: 8px 18px 8px 8px; font-weight: 600; font-size: 14.5px; cursor: pointer; box-shadow: 0 10px 28px rgba(0,0,0,.25); transition: transform .15s; animation: chatIn .4s ease-out; }
.chat-fab:hover { transform: translateY(-2px); }
.chat-fab-ic { width: 38px; height: 38px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; font-size: 19px; }
@keyframes chatIn { from { opacity: 0; transform: translateY(14px); } }
.chat-box { position: fixed; right: 20px; bottom: 20px; z-index: 61; width: 360px; max-width: calc(100vw - 32px); height: min(560px, calc(100vh - 110px)); background: #fff; border-radius: 18px; box-shadow: 0 20px 60px rgba(0,0,0,.25); display: flex; flex-direction: column; overflow: hidden; animation: chatIn .2s ease-out; }
.chat-h { display: flex; align-items: center; gap: 10px; padding: 14px 14px 14px 16px; background: #111; color: #fff; }
.chat-h div { flex: 1; min-width: 0; }
.chat-h b { display: block; font-size: 15px; }
.chat-h small { color: #bbb; font-size: 12px; display: flex; align-items: center; gap: 6px; }
.chat-dot { width: 7px; height: 7px; border-radius: 50%; background: #25d366; display: inline-block; }
.chat-av { width: 34px; height: 34px; border-radius: 10px; background: var(--orange); color: #111; font-weight: 800; display: grid; place-items: center; flex: none; }
.chat-x { width: 32px; height: 32px; border-radius: 9px; border: 0; background: #2a2a2a; color: #fff; display: grid; place-items: center; cursor: pointer; }
.chat-body { flex: 1; overflow-y: auto; padding: 14px; background: #f7f6f3; display: flex; flex-direction: column; gap: 8px; }
.chat-msg { max-width: 85%; padding: 9px 12px; border-radius: 14px; font-size: 14px; line-height: 1.45; }
.chat-msg.bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.chat-msg.me { background: var(--orange); border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-msg a { color: #128c4b; font-weight: 700; text-decoration: underline; }
.chat-msg small { display: block; color: var(--muted); font-size: 12px; margin-top: 6px; }
.chat-wa-in { display: inline-flex !important; align-items: center; gap: 6px; margin-top: 8px; background: #25d366; color: #fff !important; text-decoration: none !important; padding: 7px 12px; border-radius: 10px; }
.chat-wa-in .ic { width: 16px; height: 16px; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.chat-quick button { border: 1.5px solid var(--line-2); background: #fff; border-radius: 999px; padding: 6px 11px; font-size: 13px; font-weight: 600; cursor: pointer; }
.chat-quick button:hover { border-color: var(--orange); background: var(--orange-l); }
.chat-wa { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 10px 12px 0; background: #25d366; color: #fff; border-radius: 12px; padding: 10px; font-weight: 700; font-size: 14px; }
.chat-wa:hover { background: #1ebe5b; }
.chat-wa .ic { width: 18px; height: 18px; }
.chat-in { display: flex; gap: 8px; padding: 10px 12px 12px; }
.chat-in input { flex: 1; border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; outline: none; font-size: 14px; }
.chat-in input:focus { border-color: var(--orange); }
.chat-in button { width: 42px; border: 0; border-radius: 12px; background: #111; color: #fff; font-size: 16px; cursor: pointer; }
@media (max-width: 600px) {
  .chat-fab { right: 14px; bottom: 14px; padding: 6px; }
  .chat-fab-t { display: none; }
  .chat-box { right: 0; bottom: 0; width: 100vw; max-width: 100vw; height: 85vh; border-radius: 18px 18px 0 0; }
}
@media print { .chat-fab, .chat-box { display: none !important; } }
.chat-wa-in { display: flex !important; width: fit-content; }

/* Sohbet: sekmeler, hizalı hazır sorular, ekip konuşması */
.chat-tabs { display: grid; grid-template-columns: 1fr 1fr; background: #1c1c1c; padding: 0 10px 10px; gap: 6px; }
.chat-tabs button { border: 0; background: #2a2a2a; color: #ccc; border-radius: 9px; padding: 8px; font-weight: 600; font-size: 13.5px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.chat-tabs button.on { background: #fff; color: #111; }
.chat-tabs .nb, .chat-fab-nb { background: var(--pink); color: #fff; font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: inline-grid; place-items: center; padding: 0 5px; }
.chat-fab { position: fixed; }
.chat-fab-nb { position: absolute; top: -4px; right: -4px; border: 2px solid #fff; }
.chat-h { background: #1c1c1c; }
.chat-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 6px; }
.chat-quick button { display: flex; align-items: center; justify-content: space-between; gap: 6px; width: 100%; min-height: 44px; padding: 8px 10px; border-radius: 11px; text-align: left; line-height: 1.25; font-size: 12.5px; }
.chat-quick button .ic { width: 13px; height: 13px; flex: none; color: var(--muted-2); }
.chat-cta { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 10px 12px 0; }
.chat-cta .chat-wa { margin: 0; padding: 10px 14px; }
.chat-team-btn { display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; background: #111; color: #fff; border-radius: 12px; padding: 10px; font-weight: 700; font-size: 14px; cursor: pointer; }
.chat-team-btn .ic { width: 17px; height: 17px; }
.chat-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.chat-choice button, .chat-choice a { display: flex !important; align-items: center; justify-content: center; gap: 5px; border-radius: 10px; padding: 8px 6px; font-size: 12.5px; font-weight: 700; text-decoration: none !important; cursor: pointer; border: 0; }
.chat-choice button { background: #111; color: #fff; }
.chat-choice a { background: #25d366; color: #fff !important; }
.chat-choice .ic { width: 14px; height: 14px; }
.chat-new .f { margin-bottom: 8px; }
.chat-new .inp { padding: 8px 10px; font-size: 14px; }
.chat-ticket-h { display: flex; gap: 6px; justify-content: center; margin-bottom: 4px; }
.chat-from { display: block; font-weight: 700; color: var(--orange-d) !important; margin: 0 0 3px !important; font-size: 11.5px !important; }
.chat-time { display: block; font-size: 10.5px !important; opacity: .65; margin-top: 4px !important; text-align: right; }
.chat-closed { margin: 10px 12px 12px; background: #f1f1f1; border-radius: 12px; padding: 10px 12px; font-size: 13.5px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.chat-closed button { border: 0; background: #111; color: #fff; border-radius: 9px; padding: 7px 10px; font-weight: 600; cursor: pointer; }

/* Panel: destek gelen kutusu */
.tk-cats { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.tk-cats a { border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 600; background: #fff; display: inline-flex; gap: 6px; align-items: center; }
.tk-cats a b { background: #f1f1f1; border-radius: 999px; padding: 0 7px; font-size: 11.5px; }
.tk-cats a.on { background: #111; color: #fff; border-color: #111; }
.tk-cats a.on b { background: var(--orange); color: #111; }
.tk-cats a.zero { opacity: .55; }
.tk-wrap { display: grid; grid-template-columns: 330px 1fr; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; height: calc(100vh - 290px); min-height: 460px; background: #fff; }
.tk-list { border-right: 1px solid var(--line); overflow-y: auto; }
.tk-search { padding: 10px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 1; }
.tk-search .inp { padding: 8px 10px; font-size: 13.5px; }
.tk-item { display: block; padding: 11px 14px; border-bottom: 1px solid var(--line); border-left: 3px solid transparent; }
.tk-item:hover { background: #fafaf8; }
.tk-item.on { background: var(--orange-l); border-left-color: var(--orange); }
.tk-item.unread b { font-weight: 800; }
.tk-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.tk-top small { color: var(--muted); font-size: 11.5px; white-space: nowrap; }
.tk-meta { display: flex; gap: 5px; align-items: center; margin: 4px 0; }
.tk-meta .badge { font-size: 11px; padding: 2px 7px; }
.tk-nb { margin-left: auto; background: var(--pink); color: #fff; font-size: 11px; font-weight: 700; border-radius: 9px; min-width: 18px; height: 18px; display: grid; place-items: center; padding: 0 5px; }
.tk-item p { font-size: 13px; color: #555; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-view { display: flex; flex-direction: column; min-width: 0; }
.tk-empty { margin: auto; text-align: center; color: var(--muted); }
.tk-empty .ic { width: 40px; height: 40px; opacity: .4; }
.tk-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.tk-head .acts { flex: none; }
.tk-cat { height: 30px; padding: 0 8px; font-size: 12.5px; width: auto; }
.tk-thread { flex: 1; overflow-y: auto; padding: 16px; background: #f7f6f3; display: flex; flex-direction: column; gap: 10px; }
.tk-msg { display: flex; flex-direction: column; max-width: 72%; }
.tk-msg.user { align-self: flex-start; }
.tk-msg.admin { align-self: flex-end; align-items: flex-end; }
.tk-bubble { padding: 9px 13px; border-radius: 14px; font-size: 14px; line-height: 1.45; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.tk-msg.admin .tk-bubble { background: #111; color: #fff; border-color: #111; border-radius: 14px 14px 4px 14px; }
.tk-msg small { font-size: 11px; color: var(--muted); margin-top: 3px; }
.tk-reply { border-top: 1px solid var(--line); padding: 10px 14px 12px; }
.tk-quick { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px; }
.tk-quick button { flex: none; border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: 5px 10px; font-size: 12px; cursor: pointer; white-space: nowrap; }
.tk-quick button:hover { border-color: var(--orange); background: var(--orange-l); }
.tk-send { display: flex; gap: 8px; align-items: stretch; }
.tk-send textarea { min-height: 60px; height: 60px; resize: vertical; }
.tk-send .btn { flex: none; }
@media (max-width: 900px) { .tk-wrap { grid-template-columns: 1fr; height: auto; } .tk-list { max-height: 300px; border-right: 0; border-bottom: 1px solid var(--line); } .tk-thread { min-height: 300px; } .tk-head { flex-wrap: wrap; } .tk-head .acts { flex-wrap: wrap; } }
.acts select.tk-cat { height: 30px; min-width: 140px; padding: 0 24px 0 9px; line-height: 28px; font-size: 12.5px; border-radius: 8px; }
.tk-head > div:first-child { min-width: 0; }

/* Ana sayfa: dünya haritası ve rota animasyonu (zemin mavi kalır) */
.hero .wrap { position: relative; z-index: 1; }
.hero-map { position: absolute; inset: 0; pointer-events: none; }
.hero-map svg { width: 100%; height: 100%; display: block; }
.wm-grid { fill: none; stroke: #fff; stroke-opacity: .12; stroke-width: .6; }
.wm-land { fill: #fff; fill-opacity: .07; stroke: #fff; stroke-opacity: .55; stroke-width: .7; stroke-linejoin: round; }
.wm-route { transition: opacity .8s; }
.wm-route.fade { opacity: 0; }
.wm-seg { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; filter: drop-shadow(0 0 3px rgba(255,255,255,.6)); }
.wm-seg.done { stroke-opacity: .75; stroke-dasharray: 5 6 !important; stroke-dashoffset: 0 !important; filter: none; }
.wm-pin { opacity: 0; transition: opacity .4s; }
.wm-pin.on { opacity: 1; }
.wm-dot { fill: #fff; stroke: var(--orange-d); stroke-width: 1.6; }
.wm-pulse { fill: #fff; opacity: 0; }
.wm-pin.here .wm-pulse { animation: wmPulse 1.4s ease-out infinite; }
@keyframes wmPulse { 0% { opacity: .55; transform: scale(.4); } 100% { opacity: 0; transform: scale(2.2); } }
.wm-label { font: 700 12px var(--font); fill: #fff; paint-order: stroke; stroke: rgba(30,90,130,.55); stroke-width: 3px; opacity: 0; transition: opacity .4s; }
.wm-pin.here .wm-label { opacity: 1; }
.wm-mover { transition: opacity .5s; }
.wm-mover-ring { fill: var(--orange); fill-opacity: .35; }
.wm-mover-dot { fill: var(--orange); stroke: #fff; stroke-width: 1.8; }
@media (max-width: 900px) { .hero-map { opacity: .7; } .wm-label { font-size: 15px; } }
.hero-map { inset: 8px 0; }
.wm-land { stroke-opacity: .7; fill-opacity: .1; stroke-width: .8; }
.wm-seg { stroke-width: 3; filter: drop-shadow(0 0 4px rgba(255,255,255,.9)); }
.wm-seg.done { stroke-width: 2; stroke-opacity: .9; }
.wm-dot { r: 4.5; }
.wm-label { font-size: 14px; stroke: rgba(20,70,110,.7); stroke-width: 4px; }
.wm-seg { stroke-width: 3.4; filter: drop-shadow(0 1px 1.5px rgba(10,60,100,.6)) drop-shadow(0 0 5px rgba(255,255,255,.8)); }
.wm-seg.done { stroke-width: 2.6; stroke-opacity: 1; stroke-dasharray: none !important; filter: drop-shadow(0 1px 1.2px rgba(10,60,100,.5)); }
.wm-mover-ring { fill-opacity: .45; }
.wm-mover-dot { stroke-width: 2.2; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero .logo-big { width: 100%; max-width: 420px; height: auto; }
  .hero h1 { overflow-wrap: anywhere; }
}

/* Kayseri'den açılan dünya haritası */
.hero-map svg { overflow: hidden; }
.wm-cam { stroke-linejoin: round; }
.wm-c { fill: #fff; fill-opacity: 0; stroke: #fff; stroke-opacity: .75; stroke-dasharray: 1; stroke-dashoffset: 1; }
.wm-c.tr { stroke-opacity: 1; }
.wm-grid { stroke-width: inherit; }
.wm-k { opacity: 0; transition: opacity .5s; }
.wm-k.on { opacity: 1; }
.wm-k-dot { fill: var(--orange); stroke: #fff; stroke-width: 2.5; transform: scale(0); transform-box: fill-box; transform-origin: center; transition: transform .5s cubic-bezier(.3,1.6,.5,1); }
.wm-k.on .wm-k-dot { transform: scale(1); }
.wm-k-pulse { fill: #fff; opacity: 0; transform-box: fill-box; transform-origin: center; }
.wm-k.on .wm-k-pulse { animation: wmK 2s ease-out infinite; }
.wm-k.on .wm-k-pulse.two { animation-delay: 1s; }
@keyframes wmK { 0% { opacity: .6; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.8); } }
.wm-k-label { font: 800 16px var(--font); fill: #fff; paint-order: stroke; stroke: rgba(20,70,110,.65); stroke-width: 4px; opacity: 0; transition: opacity .6s; }
.wm-k.lbl .wm-k-label { opacity: 1; }
@media (max-width: 900px) { .wm-k-label { font-size: 22px; } }

/* Cinsiyete göre oturma */
.seat.taken.g-f { background: #fbd3e5; border-color: #f29ac2; color: #b0135e; }
.seat.taken.g-m { background: #cfe6fa; border-color: #8ec3ee; color: #1d5f99; }
.seat.only-f:not(.sel) { border: 2px dashed #e86aa6; color: #b0135e; }
.seat.only-m:not(.sel) { border: 2px dashed #5aa6e6; color: #1d5f99; }
.seat.only-x { background: repeating-linear-gradient(45deg, #f3f3f3, #f3f3f3 3px, #e6e6e6 3px, #e6e6e6 6px); color: #aaa; border-color: #ddd; cursor: not-allowed; }
.legend i.gf { background: #fbd3e5; border-color: #f29ac2; }
.legend i.gm { background: #cfe6fa; border-color: #8ec3ee; }
.g-note { display: block; color: var(--muted); font-size: 11.5px; margin-top: 3px; font-weight: 500; }
.pax .grid3 { grid-template-columns: 1.3fr 1fr .8fr; }
@media (max-width: 700px) { .pax .grid3 { grid-template-columns: 1fr; } }
.seat.occ-f { background: #fbd3e5; border-color: #f29ac2; color: #b0135e; }
.seat.occ-m { background: #cfe6fa; border-color: #8ec3ee; color: #1d5f99; }
.mr-g { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; }
.mr-g .inp { padding: 4px 6px; font-size: 12.5px; width: auto; }
.facts > div { align-items: flex-start; }
.facts > div > .ic { margin-top: 2px; }

/* Hizalama: özet kart etiketleri tek satır; telefonda çoklu butonlar düzgün ızgara */
.stat .l, .stat .s { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 700px) {
  .btn-row { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px; }
  .btn-row > .spacer { display: none; }
  .btn-row > .btn, .btn-row > a.btn, .btn-row > label.btn { width: 100%; justify-content: center; }
}
@media (max-width: 700px) {
  .stat { padding: 12px 10px 10px; }
  .stat .l { font-size: 11.5px; letter-spacing: -.01em; }
  .btn-row > * { justify-self: stretch; min-width: 0; }
  .btn-row > label.btn { display: flex; }
}
@media (max-width: 700px) { .stats.five { grid-template-columns: 1fr 1fr !important; } }

/* Tur tarihi / kalkış */
.date-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.td-note { font-size: 13px; color: var(--muted); background: #f7f6f3; border-radius: 9px; padding: 8px 11px; margin: -4px 0 14px; }
.td-note:empty { display: none; }
.night { display: inline-block; background: #20325a; color: #fff; font-size: 11.5px; font-weight: 600; border-radius: 999px; padding: 1px 8px; margin-left: 4px; vertical-align: 1px; white-space: nowrap; }
.tmeta span b { font-weight: 600; color: var(--ink); }
.tl-day { list-style: none; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 4px 0 10px 102px; }
.tl-day:not(:first-child) { margin-top: 2px; padding-top: 8px; border-top: 1px dashed var(--line-2); }
@media (max-width: 700px) { .date-pair { grid-template-columns: 1fr; } .tl-day { margin-left: 0; } }
.tbl tr.tour-main td { border-bottom: 0; padding-bottom: 6px; }
.tbl tr.tour-acts td { padding-top: 0; padding-bottom: 14px; }
.tbl tr.tour-acts .acts-note { margin: 0 0 0 6px; white-space: nowrap; }
.tbl tbody tr.tour-main:hover td, .tbl tbody tr.tour-main:hover + tr.tour-acts td { background: #fcfcfb; }
