/* =========================================================
   Yönetim paneli
   ========================================================= */
:root {
    --cobalt: #1F45D1;
    --cobalt-deep: #0C1A54;
    --bg: #F3F6FA;
    --surface: #FFFFFF;
    --surface-2: #EAEFF7;
    --ink: #101B3B;
    --muted: #5A6688;
    --line: #DCE3EF;
    --turq: #0E9C8F;
    --biber: #D8321F;
    --saffron: #D99000;
    --ok-bg: #DDF6F0; --ok-ink: #076B5C;
    --bad-bg: #FDE7E3; --bad-ink: #AD2414;
    --warn-bg: #FFF1CF; --warn-ink: #7A5200;
    --info-bg: #E3EAFD; --info-ink: #1A3AAE;
    --shadow: 0 1px 2px rgba(16, 27, 59, .05), 0 12px 32px -18px rgba(16, 27, 59, .25);
    --display: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
    --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --ease: cubic-bezier(.2, .8, .2, 1);
    --spring: cubic-bezier(.3, 1.3, .5, 1);
    --side-w: 264px;
    --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 56 56' fill='none' stroke='%23fff' stroke-opacity='.09' stroke-width='1'%3E%3Cpath d='M28 8 48 28 28 48 8 28z'/%3E%3Cpath d='M14 14h28v28H14z'/%3E%3Ccircle cx='28' cy='28' r='5'/%3E%3C/svg%3E");
}
[data-theme="dark"] {
    --bg: #090F20; --surface: #121A33; --surface-2: #1A2444; --ink: #EEF2FB; --muted: #97A2C4; --line: #232E54;
    --cobalt: #6D8BFF;
    --ok-bg: #0E3A36; --ok-ink: #6FE0C9; --bad-bg: #44191A; --bad-ink: #FF9C8D; --warn-bg: #43330C; --warn-ink: #FFD277; --info-bg: #1A2757; --info-ink: #A9BCFF;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 14px 34px -18px rgba(0, 0, 0, .8);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 15.5px/1.5 var(--body); color: var(--ink); background: var(--bg); }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.ic { flex: none; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--cobalt) 55%, transparent); outline-offset: 2px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; line-height: 1.1; }

/* ---------- İskelet ---------- */
.app { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); min-height: 100vh; }
.side {
    position: sticky; top: 0; height: 100vh; z-index: 40; display: flex; flex-direction: column; padding: 22px 14px 16px;
    background: var(--cobalt-deep) var(--star); color: #fff; overflow-y: auto;
}
.app--super .side { background-color: #3A0F1C; }
.side__brand { display: flex; align-items: center; gap: 12px; padding: 4px 10px 22px; text-decoration: none; font: 800 18px/1.1 var(--display); letter-spacing: -.02em; }
.side__brand small { display: block; font: 500 12.5px/1.3 var(--body); letter-spacing: 0; opacity: .65; margin-top: 3px; }
.mark { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; width: 30px; height: 30px; flex: none; }
.mark i { background: #fff; border-radius: 5px; }
.mark i:nth-child(2) { background: #12B3A4; } .mark i:nth-child(3) { background: #E2412B; } .mark i:nth-child(4) { border-radius: 50%; transform: scale(.6); }
.side__nav { display: grid; gap: 3px; }
.side__nav a, .side__foot a {
    display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 13px; text-decoration: none;
    font-weight: 600; font-size: 15px; color: rgba(255, 255, 255, .72); position: relative;
    transition: background-color .2s, color .2s, transform .2s;
}
.side__nav a:hover, .side__foot a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.side__nav a.is-active { background: #fff; color: var(--cobalt-deep); }
.app--super .side__nav a.is-active { color: #3A0F1C; }
.side__nav a:active { transform: scale(.98); }
.pill { margin-left: auto; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 99px; display: grid; place-items: center; background: #E2412B; color: #fff; font: 800 13px/1 var(--display); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(226, 65, 43, .7); } 70% { box-shadow: 0 0 0 9px rgba(226, 65, 43, 0); } 100% { box-shadow: 0 0 0 0 rgba(226, 65, 43, 0); } }
.side__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 3px; }
.scrim { display: none; }
.main { min-width: 0; display: flex; flex-direction: column; }
.banner { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: center; padding: 10px 16px; background: var(--warn-bg); color: var(--warn-ink); font-size: 14.5px; }
.banner button { border: 0; background: var(--warn-ink); color: var(--warn-bg); font-weight: 700; padding: 6px 12px; border-radius: 9px; }
.top {
    position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 12px clamp(16px, 3vw, 36px);
    background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.top .top__menu { display: none; }
.top__title { min-width: 0; margin-right: auto; }
.top__title h1 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top__title p { font-size: 13.5px; color: var(--muted); font-weight: 500; }
.top__actions { display: flex; align-items: center; gap: 8px; }
.content { padding: clamp(16px, 3vw, 36px); display: grid; gap: 20px; align-content: start; max-width: 1280px; width: 100%; animation: enter .5s var(--ease) backwards; }
@keyframes enter { from { opacity: 0; transform: translateY(10px); } }

@media (max-width: 940px) {
    .app { grid-template-columns: 1fr; }
    .side { position: fixed; left: 0; top: 0; bottom: 0; width: min(290px, 86vw); transform: translateX(-102%); transition: transform .4s var(--ease); }
    .side.is-open { transform: none; box-shadow: 30px 0 60px -20px rgba(3, 8, 36, .6); }
    .scrim { display: block; position: fixed; inset: 0; z-index: 35; background: rgba(8, 13, 32, .5); opacity: 0; pointer-events: none; transition: opacity .3s; }
    .scrim.is-on { opacity: 1; pointer-events: auto; }
    .top .top__menu { display: grid; }
    .hide-sm { display: none !important; }
}

/* ---------- Düğmeler ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 0;
    border-radius: 13px; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
    transition: transform .2s var(--spring), background-color .2s, box-shadow .2s, filter .2s;
}
.btn:active { transform: scale(.96); }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--accent { background: var(--biber); color: #fff; }
.btn--soft { background: var(--surface-2); color: var(--ink); }
.btn--danger { background: var(--bad-bg); color: var(--bad-ink); }
.btn--wide { width: 100%; }
.btn--lg { min-height: 52px; font-size: 16px; border-radius: 15px; }
.btn--sm { min-height: 36px; padding: 0 12px; font-size: 14px; border-radius: 10px; }
@media (hover: hover) { .btn:hover { filter: brightness(1.12); } .btn--soft:hover { filter: brightness(.97); } }
.iconbtn { width: 42px; height: 42px; border-radius: 12px; border: 0; display: grid; place-items: center; background: var(--surface-2); color: var(--ink); flex: none; text-decoration: none; transition: transform .2s var(--spring), background-color .2s; }
.iconbtn:active { transform: scale(.9); }
.iconbtn--sm { width: 36px; height: 36px; border-radius: 10px; }
.iconbtn--danger:hover { background: var(--bad-bg); color: var(--bad-ink); }

/* ---------- Kartlar ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(18px, 2.2vw, 26px); }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.card__head h2 { font-size: 20px; font-weight: 800; }
.card__head p { color: var(--muted); font-size: 14px; }
.card--flush { padding: 0; overflow: hidden; }
.card--flush .card__head { padding: 18px 20px 0; }
.grid { display: grid; gap: 16px; }
.grid--stats { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.grid--2 { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.grid--half { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1100px) { .grid--2, .grid--half { grid-template-columns: minmax(0, 1fr); } }

.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 18px 20px; display: grid; gap: 6px; position: relative; overflow: hidden; animation: enter .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
.stat__label { font-size: 14px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.stat__value { font: 800 38px/1 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat__value small { font-size: 18px; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.stat__note { font-size: 13.5px; color: var(--muted); }
.stat--lead { background: var(--cobalt-deep) var(--star); border-color: transparent; color: #fff; }
.stat--lead .stat__label, .stat--lead .stat__note { color: rgba(255, 255, 255, .72); }
.up { color: var(--ok-ink); font-weight: 700; } .down { color: var(--bad-ink); font-weight: 700; }
.stat--lead .up { color: #6FE0C9; } .stat--lead .down { color: #FFA79A; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.badge--ok { background: var(--ok-bg); color: var(--ok-ink); } .badge--bad { background: var(--bad-bg); color: var(--bad-ink); }
.badge--warn { background: var(--warn-bg); color: var(--warn-ink); } .badge--info { background: var(--info-bg); color: var(--info-ink); }
.badge--mute { background: var(--surface-2); color: var(--muted); }

.flash { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-radius: 14px; font-weight: 600; animation: flashin .5s var(--spring) both; }
.flash--ok { background: var(--ok-bg); color: var(--ok-ink); } .flash--err { background: var(--bad-bg); color: var(--bad-ink); }
@keyframes flashin { from { opacity: 0; transform: translateY(-10px) scale(.98); } }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--warn-bg); color: var(--warn-ink); font-weight: 500; }
.notice--info { background: var(--info-bg); color: var(--info-ink); }
.toasts { position: fixed; z-index: 90; right: 18px; bottom: 18px; display: grid; gap: 8px; }
.toast { padding: 12px 16px; border-radius: 13px; background: var(--ink); color: var(--bg); font-weight: 600; font-size: 14.5px; box-shadow: var(--shadow); animation: flashin .4s var(--spring) both; max-width: 320px; }
.toast--err { background: var(--biber); color: #fff; }

/* ---------- Form ---------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; align-items: start; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span, .field > label, .legend { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.field small, .help { font-size: 13px; color: var(--muted); font-weight: 400; }
.input, .field input[type=text], .field input[type=password], .field input[type=number], .field input[type=date], .field input[type=time], .field input[type=url], .field input[type=search], .field select, .field textarea {
    width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); outline: 0;
    transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { border-color: var(--cobalt); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--cobalt) 16%, transparent); }
.field input[type=file] { font-size: 14px; padding: 9px; border: 1.5px dashed var(--line); border-radius: 12px; width: 100%; background: var(--bg); }
.affix { position: relative; }
.affix input { padding-right: 42px !important; }
.affix b { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 700; pointer-events: none; }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; font-size: 14.5px; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch i { width: 44px; height: 26px; border-radius: 99px; background: var(--line); position: relative; flex: none; transition: background-color .25s; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(16, 27, 59, .3); transition: transform .3s var(--spring); }
.switch input:checked + i { background: var(--turq); }
.switch input:checked + i::after { transform: translateX(18px); }
.switch input:focus-visible + i { outline: 3px solid color-mix(in srgb, var(--cobalt) 55%, transparent); outline-offset: 2px; }
.switch.is-busy { opacity: .5; pointer-events: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; }
.chip span { display: inline-flex; padding: 8px 13px; border-radius: 99px; border: 1.5px solid var(--line); font-weight: 600; font-size: 14px; cursor: pointer; transition: all .2s; }
.chip input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--cobalt) 55%, transparent); outline-offset: 2px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; }
.swatch input { position: absolute; opacity: 0; inset: 0; }
.swatch span { display: grid; gap: 6px; justify-items: center; font-size: 12.5px; font-weight: 600; color: var(--muted); cursor: pointer; }
.swatch span::before { content: ""; width: 46px; height: 46px; border-radius: 15px; background: var(--c); box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px var(--line); transition: transform .25s var(--spring), box-shadow .2s; }
.swatch input:checked + span { color: var(--ink); }
.swatch input:checked + span::before { transform: scale(1.08) rotate(8deg); box-shadow: 0 0 0 3px var(--surface), 0 0 0 6px var(--c); }

/* ---------- Araç çubuğu ve listeler ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.toolbar .searchbox { flex: 1 1 220px; position: relative; }
.toolbar .searchbox .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.toolbar .searchbox input { width: 100%; min-height: 44px; padding: 0 14px 0 42px; border-radius: 13px; border: 1.5px solid var(--line); background: var(--surface); outline: 0; }
.toolbar .searchbox input:focus { border-color: var(--cobalt); }
.toolbar select { min-height: 44px; padding: 0 14px; border-radius: 13px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 600; }

.rows { display: grid; }
.row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 18px; border-top: 1px solid var(--line); transition: background-color .2s; }
.row:first-child { border-top: 0; }
.row:hover { background: color-mix(in srgb, var(--surface-2) 45%, transparent); }
.row.is-off .row__main, .row.is-off .thumb { opacity: .5; }
.thumb { width: 54px; height: 54px; border-radius: 14px; object-fit: cover; background: var(--surface-2); display: grid; place-items: center; font: 800 20px/1 var(--display); color: var(--muted); flex: none; }
.row__main { min-width: 0; }
.row__main b { display: block; font-size: 15.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row__main small { color: var(--muted); font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.row__main s { opacity: .7; }
.row__side { display: flex; align-items: center; gap: 14px; }
.row__price { font: 800 17px/1 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.row__toggles { display: flex; gap: 14px; }
.row__toggles .switch { flex-direction: column; gap: 4px; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.row__btns { display: flex; gap: 6px; align-items: center; }
.table .row__btns { flex-wrap: nowrap; }
.handle { cursor: grab; color: var(--muted); display: grid; place-items: center; width: 28px; height: 40px; border: 0; background: none; touch-action: none; }
.sortable-ghost { opacity: .35; } .sortable-chosen { background: var(--info-bg); }
@media (max-width: 760px) {
    .row { grid-template-columns: auto minmax(0, 1fr); padding: 14px; }
    .row__side { grid-column: 1 / -1; justify-content: space-between; flex-wrap: wrap; }
}
.empty { text-align: center; padding: 48px 20px; display: grid; gap: 8px; justify-items: center; }
.empty h3 { font-size: 22px; font-weight: 800; }
.empty p { color: var(--muted); max-width: 40ch; margin-bottom: 10px; }

.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: 13px; font-weight: 700; color: var(--muted); padding: 10px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background-color .2s; }
.table tbody tr:hover { background: color-mix(in srgb, var(--surface-2) 45%, transparent); }
.table-wrap { overflow-x: auto; }

/* ---------- Yan panel (ekle / düzenle) ---------- */
.drawer-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(8, 13, 32, .5); opacity: 0; transition: opacity .3s; }
.drawer-scrim.is-on { opacity: 1; }
.drawer {
    position: fixed; z-index: 70; top: 0; right: 0; bottom: 0; width: min(480px, 100%); background: var(--surface); display: flex; flex-direction: column;
    transform: translateX(104%); transition: transform .45s var(--ease); box-shadow: -30px 0 60px -30px rgba(3, 8, 36, .5);
}
.drawer.is-on { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 22px; font-weight: 800; }
.drawer__body { padding: 22px; overflow-y: auto; flex: 1; min-height: 0; align-content: start; }
.drawer__foot { padding: 16px 22px; border-top: 1px solid var(--line); display: flex; gap: 10px; }
.drawer__foot .btn { flex: 1; }
.preview { display: flex; align-items: center; gap: 12px; }
.preview img { width: 72px; height: 72px; border-radius: 16px; object-fit: cover; }

/* ---------- Grafik ---------- */
.chart { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: clamp(2px, .8vw, 10px); align-items: end; height: 220px; padding-top: 30px; }
.chart__col { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; }
.chart__col i { width: 100%; max-width: 46px; height: max(4px, var(--h)); border-radius: 9px 9px 4px 4px; background: color-mix(in srgb, var(--cobalt) 28%, var(--surface)); transform-origin: bottom; animation: grow .8s calc(var(--i) * 30ms) var(--spring) both; transition: background-color .2s; flex: none; }
.chart__col.is-now i { background: var(--biber); }
.chart__col:hover i { background: var(--cobalt); }
.chart__col em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; height: 16px; }
.chart--dense .chart__col em { visibility: hidden; }
.chart--dense .chart__col:nth-child(3n+1) em { visibility: visible; }
.chart__tip { position: absolute; bottom: calc(var(--h) + 34px); left: 50%; transform: translate(-50%, 6px); padding: 7px 10px; border-radius: 10px; background: var(--ink); color: var(--bg); font-size: 12.5px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 2; text-align: center; }
.chart__tip small { display: block; opacity: .7; }
.chart__col:hover .chart__tip { opacity: 1; transform: translate(-50%, 0); }
@keyframes grow { from { transform: scaleY(0); } }
.meter { display: grid; gap: 12px; }
.meter li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: baseline; font-weight: 600; }
.meter li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.meter li b { font-family: var(--display); font-variant-numeric: tabular-nums; }
.meter li i { grid-column: 1 / -1; height: 8px; border-radius: 8px; background: var(--surface-2); overflow: hidden; }
.meter li i::after { content: ""; display: block; height: 100%; width: var(--w); border-radius: 8px; background: var(--cobalt); transform-origin: left; animation: growx .9s var(--ease) both; }
.meter--gold li i::after { background: var(--saffron); }
@keyframes growx { from { transform: scaleX(0); } }
.stars-s { color: var(--saffron); letter-spacing: 1px; white-space: nowrap; }
.stars-s i { font-style: normal; color: var(--line); }
.review-list { display: grid; }
.review-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 14px 20px; border-top: 1px solid var(--line); }
.review-item p { grid-column: 1; }
.review-item small { color: var(--muted); }

/* ---------- Masa çağrıları ---------- */
.calls { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.callcard { background: var(--surface); border: 2px solid var(--biber); border-radius: 22px; padding: 18px; display: grid; gap: 10px; animation: flashin .5s var(--spring) both; }
.callcard--hesap { border-color: var(--turq); }
.callcard__table { font: 800 34px/1 var(--display); letter-spacing: -.03em; }
.callcard__type { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--biber); }
.callcard--hesap .callcard__type { color: var(--turq); }
.callcard small { color: var(--muted); }

/* ---------- Giriş ekranı ---------- */
.login { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: var(--surface); }
.login__art { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 20% 10%, #1C3AA8, #14277A 45%, #0C1A54) ; color: #fff; padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; justify-content: space-between; isolation: isolate; }
.login__art::before { content: ""; position: absolute; inset: -64px; z-index: -1; background: var(--star); animation: drift 50s linear infinite; }
@keyframes drift { to { transform: translate(64px, 64px); } }
.login__art h1 { font-size: clamp(34px, 4.4vw, 62px); font-weight: 800; letter-spacing: -.04em; line-height: .98; max-width: 12ch; animation: enter .8s var(--ease) both; }
.login__art p { margin-top: 16px; color: #C9D3F5; max-width: 36ch; font-size: 17px; animation: enter .8s .1s var(--ease) both; }
.login__brand { display: flex; align-items: center; gap: 12px; font: 800 19px/1 var(--display); text-decoration: none; }
.login__mosaic { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; width: min(260px, 60%); }
.login__mosaic i { aspect-ratio: 1; border-radius: 22%; background: #fff; opacity: .9; animation: mos 3.2s var(--ease) infinite; animation-delay: calc(var(--d) * 1s); }
.login__mosaic i.t { background: #12B3A4; } .login__mosaic i.r { background: #E2412B; } .login__mosaic i.o { opacity: .12; animation: none; }
@keyframes mos { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(.5) rotate(45deg); } }
.login__form { display: grid; place-items: center; padding: clamp(24px, 5vw, 64px); }
.login__box { width: min(400px, 100%); display: grid; gap: 18px; animation: enter .7s .15s var(--ease) both; }
.login__box h2 { font-size: 32px; font-weight: 800; letter-spacing: -.03em; }
.login__box > p { color: var(--muted); margin-top: -10px; }
.login__back { font-size: 14.5px; font-weight: 600; color: var(--muted); text-underline-offset: 4px; justify-self: start; }
@media (max-width: 820px) { .login { grid-template-columns: 1fr; } .login__art { min-height: 250px; gap: 28px; } .login__mosaic { display: none; } }

/* ---------- Karekod sayfası ---------- */
.qr-layout { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 980px) { .qr-layout { grid-template-columns: 1fr; } }
.tentcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.tentcard { background: #fff; color: #101B3B; border-radius: 22px; padding: 18px 16px 16px; text-align: center; border: 1px solid var(--line); display: grid; gap: 10px; justify-items: center; break-inside: avoid; }
.tentcard__name { font: 800 18px/1.1 var(--display); letter-spacing: -.02em; }
.tentcard canvas { width: 100%; max-width: 190px; height: auto; border-radius: 6px; }
.tentcard__hint { font-size: 13px; font-weight: 600; color: #57638A; }
.tentcard__table { font: 800 15px/1 var(--display); padding: 7px 16px; border-radius: 99px; background: var(--qr-color, #101B3B); color: #fff; }
.tentcard__dl { font-size: 13px; font-weight: 700; color: #1F45D1; background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; }

@media print {
    .side, .top, .banner, .no-print, .toasts, .flash { display: none !important; }
    .app { display: block; } body { background: #fff; } .content { padding: 0; max-width: none; animation: none; }
    .card { border: 0; padding: 0; }
    .tentcards { grid-template-columns: repeat(3, 1fr); gap: 10mm 8mm; }
    .tentcard { border: 1px dashed #999; border-radius: 0; }
    .tentcard__dl { display: none; }
    .tentcard__table { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
