/* Yönetim paneli */
:root {
  --bg: #f1f4f3; --paper: #fff; --ink: #0f2b27; --ink-2: #405753; --muted: #75877f; --line: #e2e9e6;
  --accent: #1f8a73; --sun: #f4c152; --danger: #d0493b;
  --mint: #dcf2e9; --peach: #fde5da; --lilac: #e9e3fb; --sky: #dfeefa; --sand: #f4ebd8;
  --wait: #f4a93b; --ok: #1f8a73; --done: #5b6cd9; --miss: #b8577a; --cancel: #a4afab;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --r: 20px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 400 15px/1.5 Inter, system-ui, sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
body.noscroll { overflow: hidden; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; margin: 0; line-height: 1.15; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
.muted { color: var(--muted); font-size: 14px; }
.mt { margin-top: 26px !important; }

/* butonlar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1.5px solid transparent; border-radius: 999px; padding: 11px 20px; font-weight: 600; font-size: 14px; text-decoration: none; transition: .2s; white-space: nowrap; background: none; }
.btn-sm { padding: 7px 13px; font-size: 13px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1a463f; }
.btn-dark:disabled { opacity: .6; }
.btn-ghost { border-color: var(--line); background: var(--paper); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ok { background: var(--ok); color: #fff; }
.btn-wa { background: #25d366; color: #fff; }
.btn-danger { background: #fdecea; color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-block { width: 100%; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); font-size: 20px; line-height: 1; display: inline-grid; place-items: center; flex: none; }
.icon-btn:hover { border-color: var(--ink); }
.link { font-weight: 600; font-size: 14px; color: var(--accent); text-decoration: none; }

/* giriş */
.login { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: radial-gradient(circle at 20% 10%, #cdeee2, transparent 40%), radial-gradient(circle at 90% 90%, #fbe7c3, transparent 40%), var(--bg); }
.login-card { width: min(400px, 100%); background: var(--paper); border-radius: 28px; padding: 40px 32px; box-shadow: 0 30px 60px -30px rgba(15,43,39,.35); text-align: center; }
.login-logo { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 20px; background: var(--ink); color: var(--sun); display: grid; place-items: center; font-size: 30px; }
.login h1 { font-size: 28px; }
.login p { color: var(--muted); margin: 6px 0 26px; }
.login label { display: block; text-align: left; font-weight: 600; font-size: 13px; margin-bottom: 16px; }
.login input { width: 100%; margin-top: 6px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; font: inherit; background: var(--bg); }
.login input:focus { outline: none; border-color: var(--accent); background: #fff; }
.login-err { background: #fdecea; color: var(--danger); padding: 10px; border-radius: 12px; margin-bottom: 14px; font-size: 14px; }
.login-back { display: inline-block; margin-top: 18px; color: var(--muted); font-size: 14px; text-decoration: none; }

/* yerleşim */
.app { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.side { background: var(--ink); color: #fff; padding: 24px 16px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; }
.side-logo { display: flex; gap: 12px; align-items: center; padding: 0 8px 26px; }
.side-logo > span { width: 44px; height: 44px; border-radius: 14px; background: var(--sun); color: var(--ink); display: grid; place-items: center; font-size: 22px; }
.side-logo strong { display: block; font-family: var(--display); font-size: 17px; }
.side-logo small { color: rgba(255,255,255,.55); font-size: 12px; }
.side nav { display: flex; flex-direction: column; gap: 4px; }
.side nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; text-decoration: none; color: rgba(255,255,255,.72); font-weight: 500; transition: .2s; }
.side nav a i { font-style: normal; width: 22px; text-align: center; opacity: .8; }
.side nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.side nav a.on { background: rgba(255,255,255,.12); color: #fff; }
.side nav a.on i { color: var(--sun); opacity: 1; }
.badge { margin-left: auto; background: var(--sun); color: var(--ink); font-size: 11px; font-weight: 700; min-width: 22px; height: 22px; border-radius: 11px; display: inline-grid; place-items: center; padding: 0 6px; }
.side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 4px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 14px; }
.side-foot a { color: rgba(255,255,255,.6); text-decoration: none; padding: 9px 14px; border-radius: 12px; font-size: 14px; }
.side-foot a:hover { color: #fff; background: rgba(255,255,255,.07); }
.main { min-width: 0; padding: 0 32px 40px; }
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; padding: 20px 0; background: linear-gradient(var(--bg) 80%, transparent); }
.top h1 { font-size: 28px; flex: 1; }
.menu-btn { display: none; }
.scrim, .tabbar { display: none; }
.loading, .empty { padding: 40px; text-align: center; color: var(--muted); }
.empty.sm { padding: 22px; background: var(--bg); border-radius: 14px; font-size: 14px; }

/* kartlar */
.card { background: var(--paper); border-radius: var(--r); padding: 24px; border: 1px solid var(--line); margin-bottom: 20px; min-width: 0; }
.card h3 { font-size: 19px; margin-bottom: 14px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.card-head h3 { margin: 0; }
.card.narrow { max-width: 520px; }
.pill { background: var(--sun); color: var(--ink); border-radius: 999px; padding: 2px 10px; font-weight: 700; font-size: 13px; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.cols > .card { margin-bottom: 0; }
.cols + .card, .cols + .cols { margin-top: 20px; }
.hello { margin-bottom: 20px; }
.hello h2 { font-size: 26px; }
.hello p { color: var(--muted); margin: 4px 0 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.stat { border-radius: var(--r); padding: 20px; text-decoration: none; display: flex; flex-direction: column; }
.stat small { font-weight: 600; font-size: 13px; opacity: .75; }
.stat b { font-family: var(--display); font-size: 44px; line-height: 1.1; letter-spacing: -.04em; margin-top: 8px; }
.stat span { font-size: 13px; opacity: .7; }
.s1 { background: var(--ink); color: #fff; } .s2 { background: var(--sun); } .s3 { background: var(--mint); } .s4 { background: var(--lilac); }
a.stat { transition: transform .2s; } a.stat:hover { transform: translateY(-3px); }

/* durumlar */
.st { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.st.st-wait { background: #fff1db; color: #a8680c; } .st.st-ok { background: #dcf2e9; color: #146352; } .st.st-done { background: #e5e8fb; color: #3b48a8; } .st.st-miss { background: #f8e1ea; color: #8d3558; } .st.st-cancel { background: #eef1f0; color: #6f7b77; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 14px; font-size: 12.5px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 12px; height: 12px; border-radius: 4px; }
.legend .st-wait i { background: var(--wait); } .legend .st-ok i { background: var(--ok); } .legend .st-done i { background: var(--done); } .legend .st-miss i { background: var(--miss); } .legend .st-cancel i { background: var(--cancel); }
.legend .lg-block i { background: repeating-linear-gradient(45deg, #e6d9d6, #e6d9d6 3px, #f6efee 3px, #f6efee 6px); }

/* randevu kartı */
.alist { display: flex; flex-direction: column; gap: 10px; }
.acard { display: flex; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line); border-left: 4px solid var(--c, var(--ok)); border-radius: 16px; background: var(--paper); cursor: pointer; transition: .2s; }
.acard:hover { box-shadow: 0 10px 24px -14px rgba(15,43,39,.4); }
.acard.st-wait { --c: var(--wait); } .acard.st-ok { --c: var(--ok); } .acard.st-done { --c: var(--done); } .acard.st-miss { --c: var(--miss); } .acard.st-cancel { --c: var(--cancel); opacity: .65; }
.acard-time { text-align: center; min-width: 76px; }
.acard-time b { display: block; font-family: var(--display); font-size: 21px; }
.acard-time small { color: var(--muted); font-size: 11.5px; }
.acard-main { flex: 1; min-width: 0; }
.acard-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.acard-top strong { font-size: 15.5px; }
.acard-sub { color: var(--muted); font-size: 13px; margin-top: 2px; }
.acard-sub a { color: var(--accent); text-decoration: none; }
.acard-note { font-size: 13px; color: var(--ink-2); margin-top: 4px; font-style: italic; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acard-act { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }

/* takvim çubuğu */
.cal-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.cal-nav { display: flex; align-items: center; gap: 8px; }
.cal-nav h2 { font-size: 21px; margin-left: 8px; }
.cal-tools { display: flex; align-items: center; gap: 14px; }
.seg { display: inline-flex; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.seg button { border: 0; background: none; padding: 7px 16px; border-radius: 999px; font-weight: 600; font-size: 13.5px; color: var(--muted); }
.seg button.on { background: var(--ink); color: #fff; }
.chk { display: inline-flex !important; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500 !important; cursor: pointer; }
.chk input { width: 17px; height: 17px; accent-color: var(--accent); margin: 0 !important; }

/* hafta / gün */
.wk { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.wk-head, .wk-body { display: grid; grid-template-columns: 58px repeat(var(--cols), minmax(0, 1fr)); }
.wk-head { border-bottom: 1px solid var(--line); }
.wk-day { padding: 10px 4px; text-align: center; cursor: pointer; position: relative; border-left: 1px solid var(--line); }
.wk-day small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; }
.wk-day b { font-family: var(--display); font-size: 22px; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; }
.wk-day.today b { background: var(--ink); color: #fff; }
.wk-day i { position: absolute; top: 8px; right: 8px; font-style: normal; font-size: 10.5px; font-weight: 700; background: var(--mint); color: var(--accent); border-radius: 8px; padding: 1px 6px; }
.wk-body { max-height: calc(100vh - 250px); overflow-y: auto; position: relative; }
.wk-hours div { position: relative; border-top: 1px solid transparent; }
.wk-hours span { position: absolute; top: -8px; right: 8px; font-size: 11.5px; color: var(--muted); background: var(--paper); }
.wk-hours div:first-child span { display: none; }
.wk-col { position: relative; border-left: 1px solid var(--line); background-image: repeating-linear-gradient(to bottom, var(--line) 0 1px, transparent 1px 66px), repeating-linear-gradient(to bottom, transparent 0 33px, #f3f6f5 33px 34px, transparent 34px 66px); cursor: copy; }
.off { position: absolute; left: 0; right: 0; background: rgba(15,43,39,.045); pointer-events: none; }
.blk { position: absolute; left: 0; right: 0; background: repeating-linear-gradient(45deg, rgba(208,73,59,.09), rgba(208,73,59,.09) 6px, rgba(208,73,59,.02) 6px, rgba(208,73,59,.02) 12px); border-top: 2px solid rgba(208,73,59,.3); pointer-events: none; }
.blk span { font-size: 11px; font-weight: 600; color: #a2463b; padding: 2px 6px; display: block; }
.ev { position: absolute; border-radius: 10px; padding: 5px 8px; overflow: hidden; cursor: grab; font-size: 12px; line-height: 1.3; background: var(--bg-c); border-left: 3px solid var(--c); color: var(--ink); z-index: 2; box-shadow: 0 2px 6px -3px rgba(0,0,0,.2); transition: box-shadow .15s; }
.ev:hover { box-shadow: 0 8px 18px -8px rgba(0,0,0,.35); z-index: 3; }
.ev b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev span { display: block; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .8; }
.ev.st-wait, .m-ev.st-wait { --c: var(--wait); --bg-c: #fff3df; } .ev.st-ok, .m-ev.st-ok { --c: var(--ok); --bg-c: #dcf2e9; } .ev.st-done, .m-ev.st-done { --c: var(--done); --bg-c: #e7eafc; } .ev.st-miss, .m-ev.st-miss { --c: var(--miss); --bg-c: #f9e4ec; } .ev.st-cancel, .m-ev.st-cancel { --c: var(--cancel); --bg-c: #f0f2f1; text-decoration: line-through; opacity: .7; }
.now { position: absolute; left: 0; right: 0; height: 2px; background: var(--danger); z-index: 4; pointer-events: none; }
.now::before { content: ""; position: absolute; left: -5px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--danger); }
.ghost { position: absolute; left: 4px; right: 4px; height: 26px; border: 2px dashed var(--accent); border-radius: 8px; font-size: 12px; font-weight: 700; color: var(--accent); padding: 2px 6px; pointer-events: none; z-index: 5; background: rgba(31,138,115,.06); }

/* ay */
.month { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.m-dow, .m-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.m-dow span { padding: 10px; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; text-align: center; border-bottom: 1px solid var(--line); }
.m-cell { min-height: 118px; padding: 6px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); cursor: pointer; transition: background .15s; }
.m-cell:nth-child(7n) { border-right: 0; }
.m-cell:hover { background: #f8faf9; }
.m-cell.out { background: #fafbfb; } .m-cell.out .m-num { opacity: .35; }
.m-cell.closed { background: repeating-linear-gradient(45deg, #fafbfb, #fafbfb 6px, #f3f5f4 6px, #f3f5f4 12px); }
.m-num { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 14px; padding: 2px 4px 6px; }
.m-cell.today .m-num { color: var(--accent); }
.m-cell.today .m-num::first-letter { }
.m-count { background: var(--ink); color: #fff; font-size: 11px; border-radius: 8px; padding: 0 7px; display: none; }
.m-ev { font-size: 11.5px; padding: 3px 6px; border-radius: 6px; margin-bottom: 3px; background: var(--bg-c); border-left: 3px solid var(--c); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-more { font-size: 11.5px; color: var(--muted); font-weight: 600; padding-left: 4px; }

/* liste */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.filters input, .filters select { padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; background: var(--paper); }
.filters input { flex: 1; min-width: 200px; }
.chips-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.chips-row button { border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: 13px; }
.chips-row button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.count { color: var(--muted); font-size: 13px; margin: 6px 0 10px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar p { margin: 0; }

/* formlar */
.form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 14px; color: var(--ink-2); }
.form input:not([type=checkbox]):not([type=file]), .form select, .form textarea { display: block; width: 100%; margin-top: 5px; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; color: var(--ink); background: #fbfcfc; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(31,138,115,.1); }
.form input[type=file] { margin-top: 6px; font-size: 13px; }
.form.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.chk.pad { padding-top: 26px; }
.err { color: var(--danger); font-size: 13.5px; min-height: 1em; margin: 0 0 10px; }
.slot-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 16px; align-items: center; }
.slot-chips small { color: var(--muted); font-size: 12.5px; margin-right: 4px; }
.slot-chips button { border: 1.5px solid var(--line); background: #fff; border-radius: 9px; padding: 4px 9px; font-size: 12.5px; font-weight: 600; }
.slot-chips button:hover, .slot-chips button.on { border-color: var(--accent); color: var(--accent); background: var(--mint); }
.save-bar { position: sticky; bottom: 0; background: linear-gradient(transparent, var(--bg) 30%); padding: 20px 0 10px; display: flex; justify-content: flex-end; align-items: center; gap: 14px; z-index: 5; }
.save-bar .err { margin: 0; }
.hours { display: flex; flex-direction: column; gap: 8px; }
.hrow { display: grid; grid-template-columns: 1fr 110px 12px 110px; gap: 8px; align-items: center; }
.hrow input[type=time] { margin: 0 !important; padding: 8px 10px !important; }
.faq-row { display: grid; grid-template-columns: 1fr 1.6fr auto; gap: 10px; align-items: start; padding: 12px 0; border-top: 1px dashed var(--line); }
.faq-row input, .faq-row textarea { margin: 0 !important; }

/* kapalı saatler */
.blist { display: flex; flex-direction: column; gap: 8px; }
.brow { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #fdf3f1; }
.brow b { display: block; font-size: 14.5px; }
.brow span { color: var(--muted); font-size: 13px; }

/* hizmetler */
.svc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.svc-row { display: flex; align-items: center; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 12px; cursor: pointer; transition: .2s; }
.svc-row:hover { border-color: var(--ink); }
.svc-row.off { opacity: .55; }
.svc-thumb { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; overflow: hidden; flex: none; font-size: 20px; }
.svc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.svc-info { flex: 1; min-width: 0; }
.svc-info b { display: block; }
.svc-info span { color: var(--muted); font-size: 13px; }
.c-mint { background: var(--mint); } .c-peach { background: var(--peach); } .c-lilac { background: var(--lilac); } .c-sky { background: var(--sky); } .c-sand { background: var(--sand); }
.img-prev { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.img-prev img { width: 90px; height: 70px; object-fit: cover; border-radius: 10px; }

/* galeri */
.drop { display: grid !important; place-items: center; position: relative; border: 2px dashed var(--line); border-radius: 16px; padding: 30px 16px; text-align: center; color: var(--muted); background: #fbfcfc; transition: .2s; }
.drop:hover { border-color: var(--accent); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0 !important; }
.portrait-box { aspect-ratio: 5/4; max-width: 320px; border-radius: 16px; overflow: hidden; background: var(--bg); }
.portrait-box img { width: 100%; height: 100%; object-fit: cover; }
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.gal-item { border: 1px solid var(--line); border-radius: 16px; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.gal-item img { aspect-ratio: 1; object-fit: cover; border-radius: 10px; width: 100%; }
.gal-item input:not([type=checkbox]) { width: 100%; padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 13px; }
.gal-row { display: flex; gap: 6px; align-items: center; justify-content: space-between; }
.gal-row input[type=number] { width: 64px !important; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(8,22,19,.5); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 20px; animation: fadeIn .2s; }
.modal[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
.modal-box { position: relative; background: var(--paper); border-radius: 26px; width: min(640px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 30px; animation: up .25s cubic-bezier(.2,.8,.3,1); }
@keyframes up { from { transform: translateY(20px); opacity: 0; } }
.modal-box h2 { font-size: 24px; margin-bottom: 6px; padding-right: 40px; }
.modal-sub { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 13px; margin: 0 0 14px; flex-wrap: wrap; }
.modal-x { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--bg); font-size: 22px; }
.quick { display: flex; gap: 6px; flex-wrap: wrap; padding: 12px; background: var(--bg); border-radius: 16px; margin-bottom: 18px; }
.st-btn { background: var(--paper); border-color: var(--line); }
.st-btn.st-ok:hover { background: var(--ok); color: #fff; } .st-btn.st-done:hover { background: var(--done); color: #fff; } .st-btn.st-miss:hover { background: var(--miss); color: #fff; } .st-btn.st-cancel:hover { background: var(--cancel); color: #fff; } .st-btn.st-wait:hover { background: var(--wait); color: #fff; }
.modal-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 6px; }

/* bildirim */
.toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 30px); background: var(--ink); color: #fff; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 14px; opacity: 0; pointer-events: none; transition: .3s; z-index: 200; box-shadow: 0 16px 30px -10px rgba(0,0,0,.4); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: var(--danger); }
.toast.info { background: var(--sun); color: var(--ink); }

/* ---------------- duyarlı ---------------- */
@media (max-width: 1100px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .cols { grid-template-columns: 1fr; }
  .cols > .card + .card { margin-top: 0; }
}
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .side { position: fixed; left: 0; top: 0; bottom: 0; width: 270px; z-index: 90; transform: translateX(-100%); transition: transform .3s; }
  .app.side-open .side { transform: none; }
  .app.side-open .scrim { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 80; }
  .menu-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); font-size: 18px; }
}
@media (max-width: 760px) {
  body { font-size: 14.5px; }
  .main { padding: 0 14px calc(90px + env(safe-area-inset-bottom)); }
  .top { padding: 12px 0; }
  .top h1 { font-size: 22px; }
  .top .btn span { display: none; }
  .top .btn { width: 42px; height: 42px; padding: 0; font-size: 20px; }
  .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; color: var(--muted); font-size: 11px; font-weight: 600; padding: 6px 0; position: relative; }
  .tabbar a i { font-style: normal; font-size: 19px; }
  .tabbar a.on { color: var(--ink); }
  .tabbar a.on i { color: var(--accent); }
  .tabbar .badge { position: absolute; top: 0; left: 55%; margin: 0; min-width: 18px; height: 18px; font-size: 10px; }
  .card { padding: 18px; border-radius: 18px; }
  .stat { padding: 16px; } .stat b { font-size: 34px; }
  .acard { flex-wrap: wrap; gap: 10px; padding: 12px; }
  .acard-time { min-width: 60px; }
  .acard-act { width: 100%; justify-content: flex-start; }
  .acard-act .btn { flex: 1; }
  .cal-nav h2 { font-size: 17px; width: 100%; margin: 6px 0 0; order: 5; }
  .cal-nav { flex-wrap: wrap; }
  .cal-bar { align-items: flex-start; }
  .cal-tools { width: 100%; justify-content: space-between; }
  .wk-head, .wk-body { grid-template-columns: 44px repeat(var(--cols), minmax(0, 1fr)); }
  .wk-day b { font-size: 16px; width: 30px; height: 30px; }
  .wk-day i { display: none; }
  .wk-body { max-height: calc(100vh - 290px); }
  .ev { padding: 3px 5px; font-size: 11px; }
  .m-cell { min-height: 64px; padding: 3px; }
  .m-ev, .m-more { display: none; }
  .m-count { display: inline-block; }
  .m-num { flex-direction: column; gap: 4px; padding: 2px; }
  .grid2, .grid3 { grid-template-columns: 1fr; gap: 0; }
  .chk.pad { padding-top: 0; margin-bottom: 14px; }
  .modal { padding: 0; place-items: end center; }
  .modal-box { border-radius: 24px 24px 0 0; max-height: 92vh; padding: 24px 18px calc(24px + env(safe-area-inset-bottom)); }
  .hrow { grid-template-columns: 1fr 1fr; }
  .hrow .chk { grid-column: 1 / -1; }
  .hrow span { display: none; }
  .faq-row { grid-template-columns: 1fr auto; }
  .faq-row textarea { grid-column: 1 / 2; }
  .svc-list { grid-template-columns: 1fr; }
  .toast { bottom: 90px; }
  .save-bar { bottom: 70px; }
}

/* ================= v2 eklemeleri ================= */
.side-logo svg { flex: none; }
.login-logo { width: 72px; height: 72px; margin: 0 auto 18px; background: none; }
.login-credit { margin: 18px 0 0 !important; font-size: 12px; color: var(--muted); }
.credit { color: rgba(255,255,255,.4); font-size: 11.5px; padding: 10px 14px 0; line-height: 1.5; }
.credit a { color: var(--sun); text-decoration: none; }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: #f7cf72; }
.btn-glass { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.25); }
.btn-glass:hover { background: #fff; color: var(--ink); }
.hero-panel { position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: 26px; padding: 30px 32px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; isolation: isolate; }
.hero-panel::before { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -120px; top: -200px; background: radial-gradient(circle, rgba(143,224,198,.3), transparent 65%); }
.hero-panel::after { content: ""; position: absolute; z-index: -1; width: 300px; height: 300px; left: 30%; bottom: -220px; background: radial-gradient(circle, rgba(244,193,82,.25), transparent 65%); }
.hero-panel h2 { font-size: 30px; margin: 2px 0 6px; }
.hp-date { color: var(--sun); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin: 0; }
.hp-sub { color: rgba(255,255,255,.72); margin: 0; }
.hp-sub b { color: #fff; }
.hp-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.banner { display: flex; align-items: center; gap: 14px; background: #fff7e3; border: 1px solid #f6e0a8; border-radius: 18px; padding: 14px 16px; margin-bottom: 14px; }
.banner.soft { background: var(--paper); border-color: var(--line); }
.banner > span { font-size: 22px; }
.banner div { flex: 1; min-width: 0; }
.banner b { display: block; font-size: 14.5px; }
.banner small { color: var(--muted); font-size: 13px; }

/* grafikler */
.bars { display: grid; grid-template-columns: repeat(14, 1fr); gap: 6px; height: 190px; align-items: end; }
.bar { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; }
.bar i { width: 100%; max-width: 26px; min-height: 4px; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, #8fe0c6, var(--accent)); }
.bar.past i { background: #cfdcd7; }
.bar.today i { background: linear-gradient(180deg, #ffd978, var(--sun)); }
.bar em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--ink-2); min-height: 14px; }
.bar small { font-size: 10.5px; color: var(--muted); text-align: center; line-height: 1.2; }
.bar.today small { color: var(--ink); font-weight: 700; }
.ring-wrap { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.ring { --p: 0; width: 150px; height: 150px; border-radius: 50%; background: conic-gradient(var(--accent) calc(var(--p) * 1%), #e8efec 0); display: grid; place-items: center; align-content: center; position: relative; flex: none; }
.ring::before { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: var(--paper); }
.ring b, .ring small { position: relative; }
.ring b { font-family: var(--display); font-size: 32px; line-height: 1; }
.ring small { color: var(--muted); font-size: 12px; }
.legend-list { list-style: none; padding: 0; margin: 0; flex: 1; min-width: 180px; display: grid; gap: 8px; }
.legend-list.two { grid-template-columns: 1fr 1fr; margin-top: 14px; }
.legend-list li { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; }
.legend-list span { display: inline-flex; align-items: center; gap: 8px; }
.legend-list i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.legend-list .st-wait i { background: var(--wait); } .legend-list .st-ok i { background: var(--ok); } .legend-list .st-done i { background: var(--done); } .legend-list .st-miss i { background: var(--miss); } .legend-list .st-cancel i { background: var(--cancel); }
.hbars { display: grid; gap: 10px; }
.hbar { display: grid; grid-template-columns: 150px 1fr 34px; align-items: center; gap: 10px; font-size: 13px; }
.hbar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-2); }
.hbar div { height: 10px; background: #eef3f1; border-radius: 6px; overflow: hidden; }
.hbar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--accent), #8fe0c6); }
.hbar b { text-align: right; }
.stack { display: flex; height: 16px; border-radius: 10px; overflow: hidden; gap: 3px; }
.stack i { display: block; min-width: 6px; }

/* randevu kartı etiketleri */
.acard-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 6px; }
.src { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: #eef3f1; color: var(--ink-2); }
.src.s-web { background: #dcf2e9; color: #146352; } .src.s-telefon { background: #fff1db; color: #a8680c; } .src.s-yuzyuze { background: #e5e8fb; color: #3b48a8; } .src.s-whatsapp { background: #dcf8e7; color: #128c4a; } .src.s-instagram { background: #fbe3f0; color: #a3326f; }
.src.warn { background: #fdecea; color: var(--danger); }
.code { font-family: ui-monospace, Consolas, monospace; font-size: 12px; background: var(--ink); color: var(--sun); padding: 2px 8px; border-radius: 6px; }

/* modal başlığı + planlama */
.modal.wide .modal-box { width: min(760px, 100%); }
.m-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; padding-right: 40px; }
.m-head h2 { margin: 0 0 4px; padding: 0; }
.m-head .modal-sub { margin: 0; }
.m-ic { width: 52px; height: 52px; border-radius: 16px; background: var(--mint); color: var(--accent); display: grid; place-items: center; font-family: var(--display); font-size: 24px; font-weight: 800; flex: none; }
.q-sep { flex: 1; }
.plan-box { background: linear-gradient(135deg, #f3fbf8, #fbf7ea); border: 1.5px dashed #bfe3d5; border-radius: 16px; padding: 14px 16px; margin-bottom: 14px; }
.plan-box .chk small { color: var(--muted); font-weight: 400; }
.plan-box .grid2 { margin-top: 12px; }
.series-prev { grid-column: 1 / -1; margin: -4px 0 0; font-size: 13px; }
.mail-chk { margin-bottom: 14px !important; }
.mail-chk small { color: var(--muted); }

/* liste */
.search { flex: 1; min-width: 220px; position: relative; }
.search span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 18px; }
.search input { width: 100%; padding-left: 40px !important; }
.count-row { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 6px 0 12px; font-size: 13px; color: var(--muted); }
.count-row > span:first-child { margin-right: 6px; font-weight: 600; color: var(--ink-2); }

/* danışanlar */
.plist { display: grid; gap: 10px; }
.pcard { display: grid; grid-template-columns: auto 1fr auto auto; gap: 16px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 14px 18px; cursor: pointer; transition: .2s; }
.pcard:hover { border-color: var(--ink); box-shadow: 0 12px 26px -18px rgba(15,43,39,.5); }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--mint), #c9ecdf); color: var(--accent); display: grid; place-items: center; font-weight: 800; font-family: var(--display); }
.p-main { min-width: 0; }
.p-main b { display: block; }
.p-main small { color: var(--muted); font-size: 13px; }
.p-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 5px; }
.p-tags span { font-size: 11px; background: var(--bg); padding: 2px 8px; border-radius: 6px; color: var(--ink-2); }
.p-stats { display: flex; gap: 14px; }
.p-stats div { text-align: center; }
.p-stats b { display: block; font-family: var(--display); font-size: 20px; line-height: 1.1; }
.p-stats small { font-size: 11px; color: var(--muted); }
.p-stats .miss b { color: var(--miss); }
.p-next { text-align: right; min-width: 120px; }
.p-next small { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.p-next b { font-size: 14px; }
.mini-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mini-stats div { background: var(--bg); border-radius: 14px; padding: 12px; text-align: center; }
.mini-stats b { display: block; font-family: var(--display); font-size: 24px; }
.mini-stats small { color: var(--muted); font-size: 12px; }

/* ayar sekmeleri */
.tabs { display: flex; gap: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 4px; margin-bottom: 16px; overflow-x: auto; }
.tabs button { flex: none; border: 0; background: none; padding: 10px 16px; border-radius: 12px; font-weight: 600; color: var(--muted); font-size: 14px; }
.tabs button.on { background: var(--ink); color: #fff; }
.tab-pane { display: none; }
.tab-pane.on { display: block; animation: up .25s; }
.switch { position: relative; width: 50px; height: 28px; flex: none; margin: 0 !important; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: #d5ded9; border-radius: 28px; cursor: pointer; transition: .25s; }
.switch span::before { content: ""; position: absolute; width: 22px; height: 22px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .25s; box-shadow: 0 2px 4px rgba(0,0,0,.2); }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::before { transform: translateX(22px); }
.row-inline { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.row-inline input { flex: 1; min-width: 200px; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; }
.mt-s { margin-top: 12px; }
.cnt { float: right; font-weight: 500; color: var(--muted); }
.cnt.over { color: var(--danger); }
.serp { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; font-family: Arial, sans-serif; }
.serp small { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; font-family: Inter, sans-serif; }
.serp b { display: block; color: #1a0dab; font-size: 19px; font-weight: 400; line-height: 1.3; }
.serp span { color: #006621; font-size: 13px; }
.serp p { margin: 4px 0 0; color: #4d5156; font-size: 13.5px; line-height: 1.5; }
.tag-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.tag-card { border: 1.5px solid var(--line); border-radius: 16px; padding: 14px; margin: 0 !important; }
.tag-card b { display: block; margin: 8px 0 0; font-size: 13.5px; color: var(--ink); }
.tg { display: inline-block; font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 6px; color: #fff; }
.tg.meta { background: #0866ff; } .tg.ga { background: #e37400; } .tg.ads { background: #34a853; } .tg.gtm { background: #4285f4; } .tg.gsc { background: #5f6368; }
textarea.code { font-family: ui-monospace, Consolas, monospace !important; font-size: 13px !important; background: #0f2b27 !important; color: #d6f5ea !important; border-color: #0f2b27 !important; }

/* kartvizit */
.card-studio { display: grid; grid-template-columns: 360px 1fr; gap: 20px; align-items: start; }
.card-studio > .card { margin: 0; }
.themes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: -6px 0 16px; }
.themes button { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-size: 13px; font-weight: 600; }
.themes button i { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, var(--a) 55%, var(--b) 55%); border: 1px solid rgba(0,0,0,.1); }
.themes button.on { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(31,138,115,.15); }
.preview { position: sticky; top: 90px; background: linear-gradient(135deg, #e9efec, #f7f3ea); border-radius: 24px; padding: 22px; }
.pv-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.pv-head h3 { font-size: 19px; }
.pv-cards { display: grid; gap: 18px; justify-items: center; }
.pv-card { width: min(520px, 100%); aspect-ratio: 85 / 55; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 50px -25px rgba(0,0,0,.45), 0 2px 6px rgba(0,0,0,.08); transition: transform .4s; }
.pv-card:hover { transform: translateY(-4px) rotate(-.5deg); }
.pv-card svg { width: 100%; height: 100%; display: block; }
.pv-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 10px; justify-content: center; }
.preview > .muted { text-align: center; font-size: 12.5px; }

/* fotoğraf düzenleyici */
.editor { position: fixed; inset: 0; z-index: 300; background: rgba(6,18,16,.8); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; animation: fadeIn .2s; }
.ed-box { background: var(--paper); border-radius: 24px; width: min(1100px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column; overflow: hidden; }
.ed-top { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.ed-top .modal-x { position: static; }
.ed-main { display: grid; grid-template-columns: 1fr 270px; min-height: 0; flex: 1; }
.ed-stage { background: #1d2322; min-height: 360px; height: min(64vh, 620px); }
.ed-stage img { display: block; max-width: 100%; }
.ed-side { padding: 16px 18px; overflow-y: auto; border-left: 1px solid var(--line); }
.ed-lbl { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 14px 0 8px; }
.ed-lbl:first-child { margin-top: 0; }
.ed-lbl b { float: right; color: var(--ink); }
.ed-lbl input, .ed-sl input { width: 100%; accent-color: var(--accent); margin-top: 6px; }
.ed-ratios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ed-ratios button, .ed-tools button { border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 8px 0; font-weight: 600; font-size: 13px; }
.ed-ratios button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.ed-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ed-tools button { font-size: 18px; padding: 6px 0; }
.ed-tools button:hover, .ed-ratios button:hover { border-color: var(--ink); }
.ed-sl { display: block; font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.ed-sl b { float: right; color: var(--muted); font-weight: 500; }
.ed-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.queue { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.q-item { position: relative; width: 74px; height: 74px; border-radius: 12px; overflow: hidden; background: var(--bg); }
.q-item img { width: 100%; height: 100%; object-fit: cover; }
.q-vid { display: grid; place-items: center; height: 100%; font-size: 22px; }
.q-item button { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 14px; line-height: 1; }
.file-btn { cursor: pointer; }
.gal-media { position: relative; }
.gal-media img, .gal-media video { aspect-ratio: 1; object-fit: cover; border-radius: 10px; width: 100%; display: block; }
.gm-badge { position: absolute; left: 6px; top: 6px; font-size: 10.5px; font-weight: 700; background: rgba(255,255,255,.92); padding: 2px 7px; border-radius: 6px; }
.gm-badge.ig { top: auto; bottom: 6px; background: #fbe3f0; color: #a3326f; }
.gm-badge.hero { left: auto; right: 6px; background: var(--sun); }
.gm-edit { position: absolute; right: 6px; bottom: 6px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 15px; opacity: .9; transition: .2s; }
.gm-edit:hover { transform: scale(1.1); background: var(--accent); }
.tabbar button { display: flex; flex-direction: column; align-items: center; gap: 2px; border: 0; background: none; color: var(--muted); font-size: 11px; font-weight: 600; padding: 6px 0; }
.tabbar button i { font-style: normal; font-size: 19px; }

@media (max-width: 1100px) {
  .card-studio { grid-template-columns: 1fr; }
  .preview { position: static; }
}
@media (max-width: 760px) {
  .tabbar { grid-template-columns: repeat(5, 1fr); }
  .hero-panel { padding: 22px; border-radius: 22px; }
  .hero-panel h2 { font-size: 24px; }
  .hp-actions { width: 100%; }
  .hp-actions .btn { flex: 1; }
  .banner { flex-wrap: wrap; }
  .banner .btn { width: 100%; }
  .bars { gap: 3px; height: 160px; }
  .hbar { grid-template-columns: 110px 1fr 28px; }
  .pcard { grid-template-columns: auto 1fr; }
  .p-stats, .p-next { grid-column: 2; text-align: left; }
  .mini-stats { grid-template-columns: repeat(2, 1fr); }
  .legend-list.two { grid-template-columns: 1fr; }
  .ed-main { grid-template-columns: 1fr; overflow-y: auto; }
  .ed-stage { height: 46vh; min-height: 260px; }
  .ed-side { border-left: 0; border-top: 1px solid var(--line); }
  .editor { padding: 0; }
  .ed-box { border-radius: 0; max-height: 100vh; height: 100%; }
}

/* SEO & Reklam */
.seo-top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; margin-bottom: 20px; }
.seo-top .card { margin: 0; }
.seo-score { display: flex; gap: 26px; align-items: flex-start; }
.seo-score h3 { margin-bottom: 10px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; }
.checklist i { font-style: normal; width: 20px; height: 20px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.checklist .ok i { background: var(--mint); color: var(--accent); }
.checklist .no i { background: #fff1db; color: #a8680c; }
.checklist .no span { color: var(--ink-2); }
.checklist small { display: block; color: var(--muted); font-size: 12px; }
.seo-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.og-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; margin-bottom: 14px; }
.og-opt { position: relative; margin: 0 !important; cursor: pointer; }
.og-opt input { position: absolute; opacity: 0; }
.og-opt img, .og-auto { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; border: 3px solid transparent; display: grid; place-items: center; text-align: center; font-size: 12px; background: var(--bg); line-height: 1.3; }
.og-auto small { font-weight: 400; color: var(--muted); font-size: 10.5px; }
.og-opt input:checked + img, .og-opt input:checked + .og-auto { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(31,138,115,.2); }
.og-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; max-width: 460px; }
.og-img { aspect-ratio: 1.91 / 1; background: var(--bg) center / cover no-repeat; }
.og-txt { padding: 10px 14px; background: #f0f2f5; font-family: Arial, sans-serif; }
.og-txt small { color: #65676b; font-size: 11.5px; }
.og-txt b { display: block; font-size: 15px; color: #050505; margin: 2px 0; }
.og-txt p { margin: 0; font-size: 13px; color: #65676b; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1100px) { .seo-top { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .seo-score { flex-direction: column; align-items: center; } }

/* marka logosu */
.side-logo strong { font-family: "Great Vibes", cursive !important; font-weight: 400; font-size: 20px !important; line-height: 1.05; white-space: nowrap; }
.side-logo { gap: 10px !important; padding-left: 4px !important; }
.side-logo .sl-top { display: block; font-family: Cinzel, serif; font-weight: 700; font-size: 9.5px !important; letter-spacing: .2em; text-transform: uppercase; color: #e0bb72 !important; }
.login-logo { width: 110px !important; height: 106px !important; margin: 0 auto 6px !important; }
.login-brand { margin-bottom: 18px; }
.login-brand small { display: block; font-family: Cinzel, serif; font-weight: 700; letter-spacing: .18em; font-size: 13px; color: #8a5a2b; }
.login-brand b { font-family: "Great Vibes", cursive; font-weight: 400; font-size: 34px; line-height: 1.1; }

/* duyurular + randevu durumu */
.closed-card { border: 2px solid #cfe9df; background: linear-gradient(135deg, #f5fcf9, #fff); }
.closed-card.is-closed { border-color: #f3d19a; background: linear-gradient(135deg, #fff8ea, #fff); }
.closed-card .card-head { align-items: flex-start; }
.cc-state { margin: 4px 0 0; }
.closed-card.is-closed .cc-state b { color: #b8741a; }
.closed-card:not(.is-closed) .cc-state b { color: var(--accent); }
.switch.big { width: 62px; height: 34px; }
.switch.big span::before { width: 28px; height: 28px; }
.switch.big input:checked + span::before { transform: translateX(28px); }
.switch.big span { background: #e7a43f; }
.switch.big input:checked + span { background: var(--accent); }
.cc-save { display: flex; justify-content: flex-end; margin: -10px 0 20px; }
.banner.closed { background: #fff3dc; border-color: #f0cf8e; }
.ann-h { font-size: 22px; margin-bottom: 4px; }
.ann-list { display: grid; gap: 10px; }
.ann-row { display: flex; gap: 14px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: 16px; padding: 14px 16px; cursor: pointer; transition: .2s; }
.ann-row:hover { box-shadow: 0 12px 24px -18px rgba(15,43,39,.5); }
.ann-row.a-warn { border-left-color: #e7a43f; } .ann-row.a-success { border-left-color: #2ec27e; } .ann-row.a-promo { border-left-color: var(--sun); }
.ar-ic { width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--mint); display: grid; place-items: center; font-size: 18px; }
.ar-main { flex: 1; min-width: 0; }
.ar-main p { margin: 2px 0 6px; color: var(--muted); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ar-meta { display: flex; gap: 5px; flex-wrap: wrap; }
.pv-bar { display: flex; align-items: center; gap: 10px; background: #0f2b27; color: #fff; padding: 10px 14px; border-radius: 12px; font-size: 13.5px; margin-bottom: 12px; }
.pv-bar.a-warn { background: #7a3d12; } .pv-bar.a-promo { background: linear-gradient(90deg, #135a4b, #1f8a73); }
.pv-bar p { flex: 1; margin: 0; }
.pv-bar b { color: var(--sun); }
.pv-ic { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; font-size: 11px; flex: none; }
.pv-link { background: rgba(255,255,255,.15); padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pv-x { opacity: .6; }
.pv-pop { max-width: 320px; margin: 0 auto 10px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.3); }
.pv-pic { width: 50px; height: 50px; margin: 0 auto 8px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; font-size: 22px; }
.pv-pop small { color: var(--accent); font-weight: 700; letter-spacing: .15em; font-size: 10.5px; }
.pv-pop b { display: block; font-family: var(--display); font-size: 20px; margin: 4px 0; }
.pv-pop p { font-size: 13px; color: var(--ink-2); margin: 0 0 12px; }
.pv-btn { display: inline-block; background: var(--ink); color: #fff; padding: 8px 18px; border-radius: 999px; font-size: 13px; font-weight: 600; }

/* onay penceresi */
.confirm-ov { position: fixed; inset: 0; z-index: 500; background: rgba(6,18,16,.55); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 20px; animation: fadeIn .15s; }
.confirm-box { width: min(400px, 100%); background: var(--paper); border-radius: 24px; padding: 28px 24px 22px; text-align: center; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); animation: up .2s cubic-bezier(.2,.8,.3,1); }
.cf-ic { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 26px; font-weight: 800; background: var(--mint); color: var(--accent); }
.cf-ic.danger { background: #fdecea; color: var(--danger); }
.confirm-box p { margin: 0 0 20px; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.cf-actions { display: flex; gap: 10px; }
.cf-actions .btn { flex: 1; padding: 13px; }
.btn-danger-solid { background: var(--danger); color: #fff; }
.btn-danger-solid:hover { background: #b23a2e; }
