/* ============================================================
   ridi v4 — Tasarım Sistemi
   Font: Outfit | Ana renk: #1F65F4
   ============================================================ */
:root{
  --blue:#1F65F4; --blue-600:#1a56d4; --blue-50:#eef3ff; --blue-100:#dce7ff;
  --ink:#161a2e; --ink-2:#3d4260; --muted:#7a80a0; --line:#e6eaf6;
  --bg:#f4f6fb; --card:#ffffff; --ok:#16a34a; --ok-bg:#e8f7ee;
  --warn:#d97706; --warn-bg:#fdf3e2; --err:#dc2626; --err-bg:#fdecec;
  --info:#0284c7; --info-bg:#e5f4fd;
  --r:14px; --r-sm:10px; --shadow:0 1px 2px rgba(22,26,46,.05),0 8px 24px rgba(22,26,46,.06);
  --shadow-lg:0 20px 50px rgba(22,26,46,.14);
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;overflow-x:hidden}
body{overflow-x:hidden}
/* İnce kaydırma çubukları */
*{scrollbar-width:thin;scrollbar-color:#c3cddd transparent}
*::-webkit-scrollbar{width:9px;height:9px}
*::-webkit-scrollbar-track{background:transparent}
*::-webkit-scrollbar-thumb{background:#c3cddd;border-radius:99px;border:2px solid transparent;background-clip:content-box}
*::-webkit-scrollbar-thumb:hover{background:#9dabcc}
.sidebar .nav{scrollbar-color:#3d4675 transparent}
.sidebar .nav::-webkit-scrollbar-thumb{background:#3d4675}
.sidebar .nav::-webkit-scrollbar-thumb:hover{background:#4d5899}
body{font-family:'Outfit',-apple-system,'Segoe UI',sans-serif;background:var(--bg);color:var(--ink);font-size:15px;line-height:1.6}
a{color:var(--blue);text-decoration:none}
a:hover{color:var(--blue-600)}
img{max-width:100%}
h1,h2,h3,h4{line-height:1.25;font-weight:700;letter-spacing:-.01em}
h1{font-size:1.7rem}h2{font-size:1.35rem}h3{font-size:1.12rem}h4{font-size:1rem}
.ic{width:1.15em;height:1.15em;vertical-align:-0.22em;flex:none}
.muted{color:var(--muted)}.small{font-size:.85rem}.nowrap{white-space:nowrap}
.text-ok{color:var(--ok)}.text-err{color:var(--err)}.text-warn{color:var(--warn)}.text-blue{color:var(--blue)}
.mt-0{margin-top:0}.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}
.mb-1{margin-bottom:.5rem}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}
.flex{display:flex;align-items:center;gap:.6rem}.flex-between{display:flex;align-items:center;justify-content:space-between;gap:.6rem}
.grow{flex:1;min-width:0}.wrap{flex-wrap:wrap}.center{text-align:center}
.grid{display:grid;gap:1rem}
.grid > *{min-width:0}
@media(min-width:900px){.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.gc2{grid-column:span 2}}
.prod-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1100px){.prod-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.prod-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.prod-grid{grid-template-columns:1fr}}

/* ---------- Butonlar ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;
  padding:.6rem 1.15rem;border-radius:var(--r-sm);border:1px solid transparent;
  font-family:inherit;font-size:.92rem;font-weight:600;cursor:pointer;
  transition:.16s ease;white-space:nowrap;background:transparent;color:var(--ink-2)}
.btn-primary{background:var(--blue);color:#fff}
.btn-primary:hover{background:var(--blue-600);color:#fff;transform:translateY(-1px);box-shadow:0 6px 16px rgba(31,101,244,.3)}
.btn-outline{border-color:var(--line);background:#fff;color:var(--ink-2)}
.btn-outline:hover{border-color:var(--blue);color:var(--blue)}
.btn-ghost{color:var(--muted)}.btn-ghost:hover{background:var(--bg);color:var(--ink)}
.btn-danger{background:var(--err);color:#fff}.btn-danger:hover{filter:brightness(.92);color:#fff}
.btn-danger-o{border-color:#f3c5c5;color:var(--err);background:#fff}.btn-danger-o:hover{background:var(--err-bg)}
.btn-ok{background:var(--ok);color:#fff}
.btn-sm{padding:.35rem .7rem;font-size:.82rem;border-radius:8px}
.btn-lg{padding:.85rem 1.7rem;font-size:1.02rem;border-radius:12px}
.btn-block{width:100%}
.btn[disabled]{opacity:.55;pointer-events:none}

/* Google OAuth butonu + ayraç */
.btn-google{background:#fff;border:1.5px solid var(--line);color:var(--ink);text-decoration:none}
.btn-google:hover{border-color:#c8cede;box-shadow:0 4px 14px rgba(15,23,42,.1);transform:translateY(-1px)}
.oauth-sep{display:flex;align-items:center;gap:.8rem;margin:1.1rem 0;color:var(--muted);font-size:.8rem}
.oauth-sep::before,.oauth-sep::after{content:"";flex:1;height:1px;background:var(--line)}

/* ---------- Form ---------- */
.field{margin-bottom:1.05rem;min-width:0}
.label{display:block;font-weight:600;font-size:.86rem;margin-bottom:.4rem;color:var(--ink-2)}
.input,.select,.textarea{width:100%;padding:.65rem .85rem;border:1.5px solid var(--line);border-radius:var(--r-sm);
  font-family:inherit;font-size:.94rem;background:#fff;color:var(--ink);transition:border-color .15s, box-shadow .15s}
.input:focus,.select:focus,.textarea:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-50)}
.textarea{min-height:110px;resize:vertical}
.hint{font-size:.78rem;color:var(--muted);margin-top:.3rem}
/* Fiyat ızgarası (süre → tutar) */
.price-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.9rem;margin-bottom:.4rem}
.pf{background:var(--bg);border:1px solid var(--line);border-radius:var(--r-sm);padding:.7rem .8rem .8rem}
.pf-l{display:flex;align-items:baseline;gap:.3rem;font-size:.95rem;font-weight:800;color:var(--ink);margin-bottom:.45rem}
.pf-l span{font-size:.72rem;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.pf-in{position:relative}
.pf-in .input{padding-right:1.9rem;font-weight:600}
.pf-cur{position:absolute;right:.7rem;top:50%;transform:translateY(-50%);color:var(--muted);font-weight:700;font-size:.85rem;pointer-events:none}
@media(max-width:900px){.price-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){.price-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.check{display:flex;align-items:center;gap:.55rem;font-size:.9rem;color:var(--ink-2);cursor:pointer}
.check input{flex:none}
.check:has(input:disabled){opacity:.55;cursor:not-allowed}
.check input[type=checkbox],.check input[type=radio]{
  appearance:none;-webkit-appearance:none;width:20px;height:20px;margin:0;cursor:pointer;
  border:1.5px solid #c9d0e4;background:#fff;border-radius:6px;transition:.15s;position:relative;flex:none}
.check input[type=checkbox]:hover,.check input[type=radio]:hover{border-color:var(--blue)}
.check input[type=checkbox]:checked{
  background:var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/68% no-repeat;
  border-color:var(--blue);box-shadow:0 2px 6px rgba(31,101,244,.35)}
.check input[type=radio]{border-radius:50%}
.check input[type=radio]:checked{
  border:2px solid var(--blue);
  background:#fff radial-gradient(circle,var(--blue) 0 42%,transparent 46%) center no-repeat;
  box-shadow:0 2px 6px rgba(31,101,244,.28)}
.check input[type=checkbox]:focus-visible,.check input[type=radio]:focus-visible{box-shadow:0 0 0 3px var(--blue-50)}
.check input[type=checkbox]:disabled,.check input[type=radio]:disabled{background-color:var(--bg);cursor:not-allowed}
.check input[type=checkbox]:disabled:checked{background-color:#b8c6ee;border-color:#b8c6ee}
/* Kart gorunumlu secenek satiri (feat-box tarzi) */
.check.chk-row{padding:.68rem .95rem;border:1.5px solid var(--line);border-radius:var(--r-sm);background:#fff;transition:.15s}
.check.chk-row:hover{border-color:var(--blue-100)}
.check.chk-row:has(input:checked){border-color:var(--blue);background:var(--blue-50)}
.check.chk-row:has(input:disabled){opacity:.6;background:var(--bg)}
.check.chk-row .grow{min-width:0}
/* Fatura tipi seçim kutuları */
.kind-row{display:flex;gap:.8rem;flex-wrap:wrap;margin-bottom:1.15rem}
.kind-tile{position:relative;flex:1 1 210px;display:flex;align-items:center;gap:.75rem;
  padding:.85rem 1rem;border:1.5px solid var(--line);border-radius:var(--r-sm);
  background:#fff;cursor:pointer;transition:border-color .16s,box-shadow .16s}
.kind-tile:hover{border-color:var(--blue-100)}
.kind-tile input{position:absolute;opacity:0;pointer-events:none}
.kind-ic{width:38px;height:38px;flex:none;border-radius:10px;background:var(--bg);
  display:flex;align-items:center;justify-content:center;color:var(--muted);transition:.16s}
.kind-ic svg{width:19px;height:19px}
.kind-t{display:flex;flex-direction:column;line-height:1.3}
.kind-t b{font-size:.92rem;color:var(--ink)}
.kind-t small{font-size:.74rem;color:var(--muted)}
.kind-tile.on{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-50)}
.kind-tile.on .kind-ic{background:var(--blue);color:#fff}
.form-foot{margin-top:1.35rem;display:flex;gap:.6rem;align-items:center}
.form-row{display:grid;gap:1rem}
@media(min-width:700px){.form-row.cols-2{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.form-row.cols-3{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr)}}
/* Tür + ikon satırı — ikon dar sütunda türün yanında */
.form-row.fti{grid-template-columns:10fr 2fr;gap:.6rem}
.input-group{display:flex;gap:0}
.input-group .input{border-radius:var(--r-sm) 0 0 var(--r-sm)}
.input-group .btn{border-radius:0 var(--r-sm) var(--r-sm) 0;border:1.5px solid var(--line);border-left:0}
/* Adres çubuğu görünümlü URL alanı (kart slug) */
.urlbar{display:flex;align-items:center;border:1.5px solid var(--line);border-radius:var(--r-sm);background:#fff;overflow:hidden;transition:border-color .15s,box-shadow .15s}
.urlbar:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-50)}
.urlbar-pre{padding-left:.85rem;color:var(--muted);white-space:nowrap;font-size:.92rem;user-select:none;flex:none;max-width:60%;overflow:hidden;text-overflow:ellipsis}
.urlbar-scheme{color:var(--ok);font-weight:600}
.urlbar-in{flex:1;min-width:40px;border:0;outline:0;background:transparent;font:inherit;font-size:.94rem;font-weight:600;color:var(--ink);padding:.65rem .3rem .65rem 0}
.urlbar-in[readonly]{color:var(--ink-2)}
.urlbar-btn{margin:.3rem;flex:none}
/* Select - ozel ok */
.select{appearance:none;-webkit-appearance:none;padding-right:2.1rem;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237a80a0' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right .65rem center}
/* Dosya secici - modern buton */
.input[type=file]{padding:.45rem .8rem;color:var(--muted)}
.input[type=file]::file-selector-button{font-family:inherit;font-size:.82rem;font-weight:600;color:var(--blue);
  background:var(--blue-50);border:0;border-radius:8px;padding:.42rem .9rem;margin-right:.8rem;cursor:pointer;transition:.15s}
.input[type=file]::-webkit-file-upload-button{font-family:inherit;font-size:.82rem;font-weight:600;color:var(--blue);
  background:var(--blue-50);border:0;border-radius:8px;padding:.42rem .9rem;margin-right:.8rem;cursor:pointer;transition:.15s}
.input[type=file]::file-selector-button:hover,.input[type=file]::-webkit-file-upload-button:hover{background:var(--blue-100)}
/* Aramali combobox */
.combo{position:relative}
.combo-in{padding-right:2.2rem}
.combo .combo-ic{position:absolute;right:.75rem;top:50%;transform:translateY(-50%);pointer-events:none;
  color:var(--muted);width:15px;height:15px;transition:.15s}
.combo.open .combo-ic{transform:translateY(-50%) rotate(180deg);color:var(--blue)}
.combo-list{position:absolute;left:0;right:0;top:calc(100% + 6px);background:#fff;border:1.5px solid var(--line);
  border-radius:var(--r-sm);box-shadow:var(--shadow-lg);max-height:264px;overflow:auto;z-index:40;padding:.3rem}
.combo-item{padding:.52rem .7rem;font-size:.9rem;cursor:pointer;display:flex;align-items:center;
  justify-content:space-between;gap:.5rem;color:var(--ink-2);border-radius:8px}
.combo-item:hover,.combo-item.act{background:var(--blue-50);color:var(--blue)}
.combo-item.sel{color:var(--blue);font-weight:600}
.combo-item .ic{width:15px;height:15px;vertical-align:-3px}
.combo-empty{padding:.6rem .7rem;font-size:.85rem;color:var(--muted)}

/* ---------- Kart / Panel ---------- */
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow)}
.card-p{padding:1.4rem}
.card-h{padding:1.05rem 1.4rem;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:.8rem;flex-wrap:wrap}
.card-h h3{margin:0}
.card-h form{flex-wrap:wrap;min-width:0}
@media(max-width:700px){.card-h form{flex:1}.card-h form .input{flex:1;min-width:0;width:auto}}
/* Filtre çubuğu — arama tek satır + filtreler ayrı satır */
.fbar{display:flex;align-items:center;flex-wrap:wrap;gap:.7rem;padding:1rem 1.4rem;border-bottom:1px solid var(--line)}
.fbar-search{display:flex;align-items:center;gap:.45rem;border:1px solid var(--line);border-radius:11px;background:var(--card);padding:.3rem .3rem .3rem .85rem;max-width:480px;flex:1;min-width:0}
.fbar-search>.ic{color:var(--muted);width:1.05em;height:1.05em}
.fbar-in{flex:1;min-width:0;border:0;outline:none;background:transparent;font:inherit;color:var(--ink);padding:.35rem .2rem}
.fbar-filters{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}
.fbar-filters .select{width:auto}
/* Filtre popup - card-h iindeki dgmeyle alr */
.fpop-wrap{position:relative;flex:none}
.fbar>.fpop-wrap{margin-left:auto}
.fpop{position:absolute;top:calc(100% + .55rem);right:0;z-index:70;display:none;flex-direction:column;gap:.7rem;
  min-width:min(240px,calc(100vw - 2rem));background:var(--card);border:1px solid var(--line);border-radius:var(--r);
  box-shadow:0 14px 38px rgba(15,23,42,.18);padding:.95rem}
.fpop.open{display:flex}
.fpop-l{display:flex;flex-direction:column;gap:.32rem;font-size:.78rem;font-weight:600;color:var(--muted)}
.fpop .select{width:100%}
.fpop-act{display:flex;justify-content:flex-end;gap:.45rem;border-top:1px solid var(--line);padding-top:.7rem}
.fpop-count{display:inline-flex;align-items:center;justify-content:center;min-width:1.15rem;height:1.15rem;padding:0 .3rem;
  border-radius:99px;background:var(--blue);color:#fff;font-size:.68rem;font-weight:700}
.card-b{padding:1.4rem}
.card + .card{margin-top:1.2rem}
.grid > .card{margin-top:0}

/* ---------- Rozet / etiket ---------- */
.badge{display:inline-flex;align-items:center;gap:.3rem;padding:.2rem .65rem;border-radius:99px;font-size:.75rem;font-weight:600;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.badge-ok{background:var(--ok-bg);color:var(--ok)}
.badge-warn{background:var(--warn-bg);color:var(--warn)}
.badge-err{background:var(--err-bg);color:var(--err)}
.badge-info{background:var(--info-bg);color:var(--info)}
.badge-grey{background:#eef0f7;color:var(--muted)}
.badge-blue{background:var(--blue-50);color:var(--blue)}
.badge-violet{background:#ede9fe;color:#6d28d9}
.dot{width:8px;height:8px;border-radius:50%;background:currentColor;display:inline-block}

/* ---------- Tablo ---------- */
.tbl-wrap{overflow-x:auto;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.tbl-wrap::-webkit-scrollbar{height:8px}
.tbl-wrap::-webkit-scrollbar-thumb{background:#cdd3e8;border-radius:4px}
@media(max-width:1280px){.tbl .hide-l{display:none}}
.tbl{width:100%;border-collapse:collapse;font-size:.9rem}
.tbl th{text-align:left;font-size:.76rem;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);
  padding:.7rem 1rem;border-bottom:1.5px solid var(--line);font-weight:700}
.tbl th a{color:inherit;text-decoration:none;white-space:nowrap}
.tbl th a:hover{color:var(--blue)}
.tbl td{padding:.8rem 1rem;border-bottom:1px solid var(--line);vertical-align:middle}
.tbl tr:last-child td{border-bottom:0}
.tbl tr:hover td{background:#fafbfe}
.tbl .num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.tbl-sm{font-size:.85rem}
.tbl-sm th{padding:.55rem .7rem}
.tbl-sm td{padding:.6rem .7rem}
.tbl td,.tbl th{max-width:260px;overflow:hidden;text-overflow:ellipsis}
.tbl td .flex{min-width:0}
.tbl td .grow,.tbl td span{min-width:0}
/* Aksiyon hücresi içeriği kesilmesin: flex-end taşması soldan overflow:hidden'a yakalanıyordu */
.tbl-cards td:last-child{max-width:none;overflow:visible}
.vbadge{width:18px;height:18px;vertical-align:-4px;display:inline-block}

/* ---------- Uyarı ---------- */
.alert{padding:.85rem 1.1rem;border-radius:var(--r-sm);font-size:.9rem;margin-bottom:1.1rem;border:1px solid;display:flex;gap:.5rem;align-items:flex-start;flex-wrap:wrap}
.alert .alert-txt{flex:1;min-width:200px}
.alert .alert-acts{display:flex;gap:.5rem;margin-left:auto;flex-wrap:wrap;flex:none}
.alert .alert-acts .btn{white-space:nowrap}
.alert-ok{background:var(--ok-bg);border-color:#bfe6cd;color:#146c36}
.alert-err{background:var(--err-bg);border-color:#f3c5c5;color:#a11d1d}
.alert-info{background:var(--info-bg);border-color:#bbe3f7;color:#0b5d8a}
.alert-warn{background:var(--warn-bg);border-color:#f2ddb3;color:#8a5200}

/* ---------- Canlı önizleme çekmecesi ---------- */
.pv-btn{position:fixed;right:0;top:42%;z-index:75;background:var(--blue);color:#fff;border:0;
  padding:.65rem .55rem;border-radius:12px 0 0 12px;cursor:pointer;writing-mode:vertical-rl;
  display:flex;align-items:center;gap:.45rem;font-weight:600;font-size:.78rem;letter-spacing:.03em;
  box-shadow:-3px 4px 18px rgba(15,20,45,.25);transition:right .28s ease}
.pv-btn svg{width:15px;height:15px}
.pv-btn.open{right:min(430px,100vw)}
.pv-panel{position:fixed;top:0;right:0;height:100vh;height:100dvh;width:min(430px,100vw);
  background:var(--card);border-left:1px solid var(--line);z-index:80;
  box-shadow:-10px 0 34px rgba(15,20,45,.18);display:none;flex-direction:column}
.pv-panel.open{display:flex;animation:pvIn .28s ease}
@keyframes pvIn{from{transform:translateX(100%)}to{transform:translateX(0)}}
.pv-head{display:flex;align-items:center;justify-content:space-between;padding:.7rem .9rem;
  border-bottom:1px solid var(--line)}
.pv-head b{display:flex;align-items:center;gap:.45rem;font-size:.9rem}
.pv-head svg{width:16px;height:16px}
.pv-acts{display:flex;gap:.35rem}
.pv-acts a,.pv-acts button{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;
  background:var(--bg);border:1px solid var(--line);border-radius:8px;cursor:pointer;color:var(--ink-2);
  font-size:1rem;text-decoration:none;line-height:1}
.pv-acts a:hover,.pv-acts button:hover{color:var(--blue);border-color:var(--blue)}
#pvFrame{flex:1;border:0;width:100%;background:#f4f6fb;transition:opacity .2s}
#pvFrame.pv-load{opacity:.35}

/* ---------- Panel düzeni ---------- */
.layout{display:flex;min-height:100vh;min-width:0}
.main>*{min-width:0}
.sidebar{width:250px;background:#0e1330;color:#c9d0ea;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;z-index:90;transition:transform .25s ease}
.sidebar .brand{padding:1.35rem 1.4rem;display:flex;align-items:center;gap:.6rem;border-bottom:1px solid rgba(255,255,255,.07)}
.sidebar .brand b{font-size:1.4rem;font-weight:800;color:#fff;letter-spacing:-.02em}
.sidebar .brand b span{color:#6f93ff}
.sidebar .brand .tag{font-size:.6rem;background:#1F65F4;color:#fff;padding:.1rem .4rem;border-radius:5px;font-weight:700}
.nav{flex:1;overflow-y:auto;padding:1rem .8rem}
.nav-group{font-size:.68rem;text-transform:uppercase;letter-spacing:.12em;color:#5c6494;padding:1rem .7rem .4rem;font-weight:700}
.nav a,.nav-link-btn{display:flex;align-items:center;gap:.7rem;padding:.6rem .75rem;border-radius:9px;color:#c9d0ea;font-size:.9rem;font-weight:500;margin-bottom:2px;transition:.15s}
.nav-link-btn{background:none;border:0;cursor:pointer;width:100%;text-align:left;font-family:inherit}
.nav a:hover,.nav-link-btn:hover{background:rgba(255,255,255,.06);color:#fff}
.nav a.on{background:var(--blue);color:#fff;box-shadow:0 4px 14px rgba(31,101,244,.4)}
.sidebar .side-foot{padding:1rem 1.2rem;border-top:1px solid rgba(255,255,255,.07);font-size:.75rem;color:#5c6494}
.main{flex:1;margin-left:250px;min-width:0;display:flex;flex-direction:column}
.topbar{position:sticky;top:0;z-index:50;background:rgba(244,246,251,.85);backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);padding:.75rem 1.6rem;display:flex;align-items:center;gap:1rem}
.topbar .page-title{font-weight:700;font-size:1.05rem}
.content{padding:1.8rem;max-width:1400px;width:100%;margin:0 auto;flex:1}
.burger{display:none;background:none;border:0;cursor:pointer;color:var(--ink);padding:.3rem}
.avatar{width:36px;height:36px;border-radius:50%;object-fit:cover}
.avatar-txt{width:36px;height:36px;border-radius:50%;background:var(--blue-100);color:var(--blue);
  display:inline-flex;align-items:center;justify-content:center;font-weight:700}
.user-chip{display:flex;align-items:center;gap:.6rem;font-size:.88rem;font-weight:600}
@media(max-width:960px){
  .sidebar{transform:translateX(-100%)}.sidebar.open{transform:none;box-shadow:var(--shadow-lg)}
  .main{margin-left:0}.burger{display:block}
  .content{padding:1.1rem}
  .side-overlay{position:fixed;inset:0;background:rgba(10,14,40,.45);z-index:85;opacity:0;pointer-events:none;transition:.2s}
  .side-overlay.show{opacity:1;pointer-events:auto}
}

/* ---------- İstatistik kartı ---------- */
.stat{display:flex;gap:1rem;align-items:center;padding:1.2rem 1.35rem;min-height:104px}
.stat .s-ic{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex:none}
.stat .s-ic .ic{width:24px;height:24px}
.stat .s-num{font-size:1.5rem;font-weight:800;line-height:1.1}
.stat .s-lbl{font-size:.8rem;color:var(--muted)}
/* İstatistik kartları mobilde 2'li sütun */
@media(max-width:899px){
  .grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
  .stat{padding:.85rem .95rem;gap:.7rem;min-height:0}
  .stat .s-ic{width:38px;height:38px;border-radius:10px}
  .stat .s-ic .ic{width:19px;height:19px}
  .stat .s-num{font-size:1.15rem}
  .stat .s-lbl{font-size:.72rem}
}
.s-blue{background:var(--blue-50);color:var(--blue)}.s-green{background:var(--ok-bg);color:var(--ok)}
.s-amber{background:var(--warn-bg);color:var(--warn)}.s-violet{background:#efeaff;color:#7c3aed}
.s-red{background:var(--err-bg);color:var(--err)}.s-cyan{background:var(--info-bg);color:var(--info)}

/* ---------- Liste / satır öğeleri ---------- */
.item-row{display:flex;align-items:center;gap:.9rem;padding:.85rem .6rem;margin:0 -.6rem;border-bottom:1px solid var(--line);flex-wrap:wrap;border-radius:10px;transition:background .12s}
.item-row .grow{min-width:220px}
.item-row .muted{overflow-wrap:anywhere}
.item-row:last-child{border-bottom:0}
.thumb{width:52px;height:52px;border-radius:10px;object-fit:cover;background:var(--bg);flex:none}
.dcard-act{display:contents}
@media(max-width:700px){
  .dcard{display:grid;grid-template-columns:44px 1fr auto;column-gap:.6rem;padding:.55rem 0;align-items:center;border-radius:0}
  .dcard .thumb{width:44px;height:44px;border-radius:8px;grid-column:1}
  .dcard .grow{min-width:0;grid-column:2}
  .dcard-act{grid-column:3;display:grid;grid-template-columns:repeat(2,auto);gap:.35rem}
  .dcard-t{display:flex;align-items:center;gap:.3rem;min-width:0}
  .dcard .grow b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
  .dcard-url{display:none}
}
.thumb-lg{width:86px;height:86px;border-radius:14px;object-fit:cover;background:var(--bg)}

/* ---------- Sekmeler ---------- */
.tabs{display:flex;gap:.35rem;flex-wrap:wrap;margin-bottom:1.3rem;border-bottom:1.5px solid var(--line);padding-bottom:0}
.tabs a{padding:.6rem .95rem;font-size:.9rem;font-weight:600;color:var(--muted);border-bottom:2.5px solid transparent;margin-bottom:-1.5px}
.tabs a:hover{color:var(--ink)}
.tabs a.on{color:var(--blue);border-color:var(--blue)}

/* ---------- Tema seçici ---------- */
.theme-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:1rem}
.theme-opt{border:2px solid var(--line);border-radius:var(--r);overflow:hidden;cursor:pointer;transition:.15s;background:#fff}
.theme-opt:hover{border-color:var(--blue-100)}
.theme-opt.sel{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-50)}
.theme-opt .tp{height:110px;position:relative}
.theme-opt .tn{padding:.6rem .8rem;font-size:.85rem;font-weight:600;display:flex;flex-direction:column;gap:.1rem;align-items:flex-start}.theme-opt .tn span{font-weight:400}

/* ---------- Boş durum ---------- */
.empty{padding:3rem 1.5rem;text-align:center;color:var(--muted)}
.empty .ic{width:44px;height:44px;opacity:.4;margin-bottom:.8rem}

/* ---------- Auth ---------- */
.auth-wrap{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr}
.auth-hero{background:linear-gradient(150deg,#0e1330 0%,#14235e 55%,#1F65F4 130%);color:#fff;display:flex;flex-direction:column;justify-content:center;padding:4rem;position:relative;overflow:hidden}
.auth-hero::after{content:'';position:absolute;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle,rgba(111,147,255,.35),transparent 65%);top:-140px;right:-140px}
.auth-hero::before{content:'';position:absolute;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(90,140,255,.22),transparent 65%);bottom:-150px;left:-110px}
.auth-hero>*{position:relative;z-index:1}
.auth-hero h1{font-size:2.4rem;font-weight:800;letter-spacing:-.02em;margin:1.4rem 0 .8rem}
.auth-hero p{color:#b9c4ef;max-width:400px}
/* hero: tilted kart mock */
.ah-float{margin-top:2.2rem;position:relative;display:inline-block;align-self:flex-start}
.ah-mock{width:270px;aspect-ratio:1.586;border-radius:16px;padding:.95rem 1.05rem;color:#fff;
  background:linear-gradient(135deg,rgba(255,255,255,.17),rgba(255,255,255,.05));border:1px solid rgba(255,255,255,.28);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);box-shadow:0 22px 44px rgba(4,10,40,.4);
  transform:rotate(-5deg);display:flex;flex-direction:column;justify-content:space-between;
  will-change:transform;animation:ah-float 6s ease-in-out infinite}
.ah-shadow{position:absolute;bottom:-22px;left:6%;width:78%;height:15px;border-radius:50%;
  background:radial-gradient(ellipse,rgba(4,10,40,.55),transparent 70%);filter:blur(3px);
  transform-origin:center;animation:ah-shadow 6s ease-in-out infinite}
@keyframes ah-float{0%,100%{transform:rotate(-5deg) translateY(0)}50%{transform:rotate(-4deg) translateY(-12px)}}
@keyframes ah-shadow{0%,100%{transform:scaleX(1);opacity:.6}50%{transform:scaleX(.8);opacity:.35}}
@media(prefers-reduced-motion:reduce){.ah-mock,.ah-shadow{animation:none}}
.ah-top{display:flex;justify-content:space-between;align-items:flex-start}
.ah-logo{font-weight:800;font-size:.95rem;letter-spacing:.02em}
.ah-ic{opacity:.9;transform:rotate(90deg)}.ah-ic svg{width:16px;height:16px;display:block}
.ah-no{font-size:.62rem;letter-spacing:.16em;opacity:.72;margin-bottom:.28rem}
.ah-name{font-size:.8rem;font-weight:700}
.ah-sub{font-size:.6rem;opacity:.65;margin-top:.15rem}
/* hero: özellik listesi */
.af{list-style:none;margin:1.9rem 0 0;padding:0;display:grid;gap:.65rem}
.af li{display:flex;gap:.55rem;align-items:center;font-size:.9rem;color:#d7e1ff}
.af .ck{flex:none;width:19px;height:19px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.3)}
.af .ck svg{width:10px;height:10px;stroke-width:3}
/* form tarafı */
.auth-form{background:#f4f7fe;display:flex;align-items:center;justify-content:center;padding:2rem}
.auth-card{width:100%;max-width:430px;background:var(--card);border:1px solid var(--line);border-radius:18px;
  box-shadow:var(--shadow);padding:2rem}
.auth-card h2{font-size:1.6rem;margin-bottom:.4rem}
/* şifre göster/gizle */
.pw-in{position:relative}
.pw-in .input{padding-right:2.7rem}
.pw-eye{position:absolute;right:.45rem;top:50%;transform:translateY(-50%);width:32px;height:32px;border:0;
  background:transparent;color:var(--muted);border-radius:8px;display:flex;align-items:center;justify-content:center;
  cursor:pointer;transition:.15s}
.pw-eye:hover{color:var(--blue);background:var(--blue-50)}
.pw-eye:focus-visible{outline:none;box-shadow:0 0 0 3px var(--blue-50)}
.pw-eye svg{width:19px;height:19px}
.pw-eye .ic-off{display:none}
.pw-eye[aria-pressed="true"] .ic-off{display:block}
.pw-eye[aria-pressed="true"] .ic-on{display:none}
@media(max-width:880px){.auth-wrap{grid-template-columns:1fr}.auth-hero{display:none}
  .auth-form{background:#fff;align-items:flex-start;padding-top:3rem}
  .auth-card{border:0;box-shadow:none;padding:0}}

/* ---------- Toast ---------- */
#toasts{position:fixed;top:1.1rem;right:1.1rem;z-index:999;display:flex;flex-direction:column;gap:.6rem}
.toast{background:#161a2e;color:#fff;padding:.8rem 1.15rem;border-radius:11px;font-size:.9rem;font-weight:500;
  box-shadow:var(--shadow-lg);display:flex;gap:.6rem;align-items:center;animation:tin .25s ease;max-width:360px}
.toast.ok{background:var(--ok)}.toast.err{background:var(--err)}.toast.info{background:var(--info)}
@keyframes tin{from{transform:translateX(30px);opacity:0}}

/* ---------- Modal ---------- */
.modal-bg{position:fixed;inset:0;background:rgba(10,14,40,.55);z-index:200;display:none;align-items:center;justify-content:center;padding:1rem}
.modal-bg.show{display:flex}
.modal{background:#fff;border-radius:16px;max-width:480px;width:100%;max-height:90vh;overflow:auto;box-shadow:var(--shadow-lg);animation:tin .2s ease}
.modal-h{padding:1.1rem 1.4rem;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;font-weight:700}
.modal-b{padding:1.4rem}
.modal-x{background:none;border:0;font-size:1.3rem;cursor:pointer;color:var(--muted);line-height:1}

/* ---------- Çerez ---------- */
.cookie-bar{position:fixed;left:1rem;bottom:1rem;z-index:300;max-width:430px;background:#161a2e;color:#e3e7f5;
  border-radius:14px;padding:1.1rem 1.25rem;box-shadow:var(--shadow-lg);font-size:.86rem}
.cookie-bar a{color:#8fabff}
.cookie-bar .btns{display:flex;gap:.5rem;margin-top:.8rem}
.cookie-bar .btn{padding:.45rem 1rem;font-size:.82rem}

/* ---------- Landing ---------- */
.lp-nav{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.88);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.lp-nav .in{max-width:1140px;margin:0 auto;padding:.85rem 1.5rem;display:flex;align-items:center;gap:1.4rem}
.lp-nav .logo{font-size:1.5rem;font-weight:800;letter-spacing:-.02em;color:var(--ink)}
.lp-nav .logo span{color:var(--blue)}
.lp-nav .links{display:flex;gap:1.3rem;flex:1}
.lp-nav .links a{color:var(--ink-2);font-weight:500;font-size:.94rem}
.lp-nav .links a:hover{color:var(--blue)}
.hero{padding:5.5rem 1.5rem 4.5rem;text-align:center;background:
  radial-gradient(700px 340px at 50% -80px,var(--blue-100),transparent 70%)}
.hero h1{font-size:clamp(2.2rem,5.4vw,3.6rem);font-weight:800;letter-spacing:-.03em;line-height:1.08;white-space:pre-line}
.hero h1 em{font-style:normal;color:var(--blue)}
.hero p{max-width:560px;margin:1.2rem auto 2rem;color:var(--ink-2);font-size:1.12rem}
.section{max-width:1140px;margin:0 auto;padding:4rem 1.5rem}
.sec-title{text-align:center;margin-bottom:2.6rem}
.sec-title h2{font-size:1.9rem;font-weight:800;letter-spacing:-.02em}
.sec-title p{color:var(--muted);margin-top:.4rem}
.feat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.2rem}
.feat{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:1.5rem;transition:.2s}
.feat:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg)}
.feat .f-ic{width:44px;height:44px;border-radius:11px;background:var(--blue-50);color:var(--blue);display:flex;align-items:center;justify-content:center;margin-bottom:.9rem}
.feat .f-ic .ic{width:22px;height:22px}
.feat h3{font-size:1.02rem;margin-bottom:.35rem}
.feat p{font-size:.88rem;color:var(--muted)}
.plan-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.3rem;max-width:900px;margin:0 auto}
.plan{display:flex;flex-direction:column;background:#fff;border:1.5px solid var(--line);border-radius:18px;position:relative;transition:.2s}
.plan:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.plan.pop{border-color:var(--blue);box-shadow:0 10px 40px rgba(31,101,244,.15)}
.plan .pop-tag{position:absolute;top:-12px;left:50%;transform:translateX(-50%);background:var(--blue);color:#fff;font-size:.72rem;font-weight:700;padding:.25rem .9rem;border-radius:99px;z-index:3;box-shadow:0 4px 12px rgba(31,101,244,.35)}
.plan-top{position:relative;margin:-1.5px -1.5px 0;padding:1.9rem 1.5rem 1.35rem;color:#fff;text-align:center;
  border-radius:18px 18px 0 0;overflow:hidden;
  background:linear-gradient(135deg,#1F65F4 0%,#123a9e 60%,#0b2a7d 100%)}
.plan-top::after{content:'';position:absolute;right:-60px;top:-75px;width:200px;height:200px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,.16),transparent 70%)}
.plan-top::before{content:'';position:absolute;left:-40px;bottom:-85px;width:170px;height:170px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,.09),transparent 70%)}
.plan--amber .plan-top{background:linear-gradient(135deg,#f59e0b 0%,#d97706 55%,#92400e 100%)}
.plan--green .plan-top{background:linear-gradient(135deg,#22c55e 0%,#15803d 55%,#14532d 100%)}
.plan .p-name{position:relative;font-weight:700;font-size:1rem;opacity:.92}
.plan .p-price{position:relative;font-size:2.5rem;font-weight:800;margin:.6rem 0 .15rem;letter-spacing:-.01em}
.plan .p-per{position:relative;opacity:.78;font-size:.82rem;font-weight:600}
.plan ul{list-style:none;margin:0;padding:1.25rem 1.6rem .4rem;flex:1}
.plan li{display:flex;gap:.5rem;align-items:flex-start;font-size:.9rem;padding:.35rem 0;color:var(--ink-2)}
.plan li .ic{color:var(--ok);margin-top:.2em}
.plan--amber li .ic{color:#d97706}
.plan--green li .ic{color:#15803d}
.plan--blue li .ic{color:var(--blue)}
.plan li.off{color:#b8bcd0;text-decoration:line-through}.plan li.off .ic{color:#d5d8e6}
.plan-act{margin-top:auto;padding:1.1rem 1.6rem 1.5rem}
.plan--amber .plan-act .btn-primary{background:linear-gradient(135deg,#f59e0b,#d97706);border-color:transparent}
.plan--green .plan-act .btn-primary{background:linear-gradient(135deg,#22c55e,#15803d);border-color:transparent}
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.2rem;counter-reset:s}
.step{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:1.5rem;position:relative}
.step::before{counter-increment:s;content:counter(s);position:absolute;top:-14px;left:1.3rem;width:30px;height:30px;border-radius:50%;background:var(--blue);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800}
.step h3{margin-top:.4rem}
.step p{font-size:.88rem;color:var(--muted)}
.cta-band{background:linear-gradient(135deg,#14235e,#1F65F4);border-radius:22px;color:#fff;text-align:center;padding:3.4rem 1.5rem;margin:2rem 0}
.cta-band h2{font-size:1.9rem;margin-bottom:.6rem}
.cta-band p{color:#c3d2ff;margin-bottom:1.6rem}
.btn-white{background:#fff;color:var(--blue)}
.btn-white:hover{color:var(--blue-600);transform:translateY(-1px)}
.lp-foot{margin-top:3rem;color:#a8afd6;background:
  radial-gradient(700px 260px at 88% -20%,rgba(31,101,244,.30),transparent 60%),
  linear-gradient(165deg,#151c44 0%,#0d1233 55%,#0a0e28 100%)}
.lp-foot .in{max-width:1140px;margin:0 auto;padding:3.2rem 1.5rem 0}
.f-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.25fr;gap:2.6rem;padding-bottom:2.4rem}
.f-logo{display:inline-block}
.f-logo img{height:36px;width:auto;display:block}
.f-desc{margin-top:1rem;font-size:.88rem;line-height:1.7;max-width:34ch;color:#9aa2cd}
.f-cta{display:inline-flex;align-items:center;gap:.4rem;margin-top:1.1rem;font-size:.87rem;font-weight:600;color:#8fb0ff}
.f-cta:hover{color:#fff}
.f-cta .ic{width:1em;height:1em}
.f-col{display:flex;flex-direction:column;min-width:0}
.f-col h5{color:#fff;font-size:.78rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;margin-bottom:.9rem}
.f-col>a{color:#a8afd6;font-size:.9rem;padding:.32rem 0;transition:color .15s}
.f-col>a:hover{color:#fff}
.f-line{display:flex;align-items:flex-start;gap:.6rem;color:#a8afd6;font-size:.9rem;padding:.32rem 0}
a.f-line{transition:color .15s}
a.f-line:hover{color:#fff}
.f-line .ic{width:16px;height:16px;margin-top:.28em;color:#5d84f8;flex:none}
.f-line b{color:#e6e9f8;font-weight:600}
.f-bar{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;
  border-top:1px solid rgba(255,255,255,.09);padding:1.15rem 0 1.3rem;font-size:.8rem;color:#7981ac}
.f-tag{font-weight:700;letter-spacing:.06em;color:#5d84f8}
@media(max-width:900px){.f-grid{grid-template-columns:1fr 1fr;gap:2rem}}
@media(max-width:680px){.f-grid{grid-template-columns:1fr}.lp-foot .in{padding:2.4rem 1.25rem 0}.f-desc{max-width:none}}

/* Panel içi footer: içerik genişliğiyle hizala, alta yasla */
.main .lp-foot{margin-top:0}
.main .lp-foot .in{max-width:1200px;padding:2.4rem 1.8rem 0}
@media(max-width:900px){.main .lp-foot .in{padding-left:1.1rem;padding-right:1.1rem}}

/* ---------- Vitrin ---------- */
.vcard-mini{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:1.4rem;text-align:center;transition:.2s}
.vcard-mini:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg)}
.vcard-mini img{width:76px;height:76px;border-radius:50%;object-fit:cover;margin:0 auto .7rem;display:block;background:var(--bg)}
.vcard-mini .vn{font-weight:700}
.vcard-mini .vs{font-size:.82rem;color:var(--muted)}

/* ---------- Sayfa (CMS) ---------- */
.page-body{max-width:800px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:2.4rem}
.page-body h1{font-size:1.8rem;margin-bottom:1.2rem;padding-bottom:1rem;border-bottom:1px solid var(--line)}
.page-body h2{font-size:1.2rem;margin:1.4rem 0 .5rem}
.page-body p,.page-body li{color:var(--ink-2)}
.page-body ul,.page-body ol{padding-left:1.3rem;margin:.6rem 0}

/* ---------- Yardımcı ---------- */
.pagination{display:flex;gap:.35rem;justify-content:center;margin-top:1.4rem}
.pagination a,.pagination span{padding:.42rem .8rem;border-radius:8px;border:1px solid var(--line);font-size:.87rem;background:#fff;color:var(--ink-2)}
.pagination .on{background:var(--blue);color:#fff;border-color:var(--blue)}
.divider{height:1px;background:var(--line);margin:1.4rem 0}
.kv{display:flex;justify-content:space-between;align-items:baseline;gap:.7rem;padding:.5rem 0;border-bottom:1px dashed var(--line);font-size:.9rem}
.kv:last-child{border-bottom:0}
.kv b{font-weight:600}
.kv>*:first-child{min-width:0;overflow-wrap:anywhere}
.kv>*:last-child{flex:none;text-align:right}
@media(max-width:560px){.kv{flex-wrap:wrap}.kv>*:last-child{margin-left:auto}}
.iban-chip{display:flex;align-items:center;justify-content:space-between;background:var(--bg);border-radius:9px;padding:.55rem .8rem;font-family:ui-monospace,monospace;font-size:.84rem}
.draggable{cursor:grab}
.drag-ghost{opacity:.4}
.drag-handle{color:var(--mut);display:flex;align-items:center;cursor:grab;flex-shrink:0;padding:.2rem;-webkit-user-select:none;user-select:none}
.drag-handle:hover{color:var(--blue)}
.progress{height:8px;border-radius:99px;background:var(--bg);overflow:hidden}
.progress>i{display:block;height:100%;background:var(--blue);border-radius:99px}
.chart-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:thin;max-width:100%}
.chart-scroll::-webkit-scrollbar{height:8px}
.chart-scroll::-webkit-scrollbar-thumb{background:#cdd3e8;border-radius:4px}
.chart-bars{display:flex;align-items:flex-end;gap:4px;height:170px;padding-top:18px;padding-bottom:22px;position:relative;min-width:640px;border-bottom:1.5px solid var(--line)}
.chart-bars .cbc{flex:1 1 0;min-width:18px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;position:relative;cursor:default}
.chart-bars .cb{width:100%;background:linear-gradient(180deg,#4d83ff,#1F65F4);border-radius:4px 4px 0 0;min-height:3px;position:relative;transition:filter .15s ease}
.chart-bars .cbc:hover .cb{filter:brightness(1.12)}
.chart-bars .cb.top{background:linear-gradient(180deg,#8fb0ff,#1F65F4)}
.chart-bars .cb.top b{color:var(--blue);font-weight:800}
.chart-bars .cb b{position:absolute;bottom:calc(100% + .18rem);left:50%;transform:translateX(-50%);font-size:.62rem;font-weight:600;color:var(--muted);pointer-events:none;white-space:nowrap}
.chart-bars .cd{position:absolute;top:100%;margin-top:.3rem;font-size:.58rem;color:var(--muted);white-space:nowrap;letter-spacing:-.02em}
.chart-bars .cb.zero{background:#dfe4f1;height:2px!important;min-height:2px;border-radius:1px}
.inline-edit{display:flex;gap:.5rem;flex-wrap:wrap}
@media(max-width:900px){.chart-bars .cbc:nth-child(even) .cd{display:none}}
@media(max-width:640px){.chart-bars{min-width:520px}}
@media(max-width:700px){.tbl .hide-m{display:none}.btn .b-txt{display:none}
.tbl td,.tbl th{white-space:nowrap}
.card-b>.tbl-wrap{margin:0 -1.4rem;padding:0 1.4rem}
.card>.tbl-wrap .tbl tr>*:first-child{padding-left:1.4rem}
.card>.tbl-wrap .tbl tr>*:last-child{padding-right:1.4rem}}

/* ---- kart düzenleme: dikey sol menü ---- */
.ce-flex{display:flex;gap:1.2rem;align-items:flex-start}
.ce-nav{width:200px;flex-shrink:0;padding:.5rem;display:flex;flex-direction:column;gap:2px;position:sticky;top:1rem}
.ce-nav a{display:flex;align-items:center;gap:.6rem;padding:.55rem .8rem;border-radius:9px;
  font-size:.86rem;font-weight:500;color:var(--muted);transition:.13s}
.ce-nav a:hover{background:var(--blue-50);color:var(--blue)}
.ce-nav a.on{background:var(--blue);color:#fff}
.ce-main{flex:1;min-width:0}
/* Kart üst bandı (avatar + ad + url + kart geçişi) */
.cnav-head{display:flex;flex-wrap:wrap;gap:.8rem;align-items:center;padding:1rem 1.4rem}
.cnav-info{flex:1 1 200px;min-width:0}
.cnav-name{display:flex;align-items:center;gap:.4rem;min-width:0;font-weight:700}
.cnav-name b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.cnav-name .vbadge,.cnav-name .badge{flex:none}
.cnav-url{display:inline-flex;align-items:center;gap:.25rem;color:var(--muted);font-size:.82rem;max-width:100%}
.cnav-url span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.cnav-url .ic{width:13px;height:13px;flex:none}
.cnav-acts{display:flex;gap:.5rem;align-items:center;margin-left:auto;flex:none}
.cnav-acts .select{width:auto;max-width:220px}
@media(max-width:640px){
  .cnav-head{gap:.7rem .8rem;padding:.9rem 1rem}
  .cnav-acts{flex-basis:100%;margin-left:0}
  .cnav-acts .select{flex:1;max-width:none;min-width:0}
}
@media(max-width:900px){.ce-flex{flex-direction:column;align-items:stretch}.ce-main{width:100%}
.ce-nav{width:100%;flex-direction:row;overflow-x:auto;position:static}
  .ce-nav a{white-space:nowrap}}

/* ---- ikon seçici ---- */
.ipick-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(52px,1fr));gap:.4rem;max-height:320px;overflow:auto}
.ipick-it{display:flex;align-items:center;justify-content:center;height:46px;border:1.5px solid var(--line);
  border-radius:10px;background:#fff;color:var(--ink);cursor:pointer;transition:.12s}
.ipick-it:hover{border-color:var(--blue);color:var(--blue)}
.ipick-it.sel{border-color:var(--blue);background:var(--blue-50);color:var(--blue)}
.ipick-it .ic{width:20px;height:20px}
.fic-btn{width:40px;height:40px;flex-shrink:0;display:flex;align-items:center;justify-content:center;
  border:1.5px solid var(--line);border-radius:10px;background:#fff;color:var(--blue);cursor:pointer;transition:.12s}
.fic-btn:hover{border-color:var(--blue)}
.fic-btn .ic,.fic-btn-i .ic{width:19px;height:19px}
.fic-btn-i{display:inline-flex}
/* ---- erişim seçenekleri ---- */
.acc-opt{border:1.5px solid var(--line);border-radius:12px;padding:.7rem .9rem;cursor:pointer;transition:.13s}
.acc-opt input{display:none}
.acc-opt:hover{border-color:var(--blue)}
.acc-opt.sel{border-color:var(--blue);background:var(--blue-50)}
.acc-opt b{display:block;font-size:.85rem}
/* ---- tema önizlemeleri (gerçek tema görünümü) ---- */
.tp{height:130px;border-radius:12px;overflow:hidden;position:relative}
.tp-card{position:absolute;inset:10px;border-radius:10px;overflow:hidden;background:#fff;
  border:1px solid #e7ebf5;box-shadow:0 4px 14px rgba(20,30,70,.08)}
.tp-banner{height:34px;background:linear-gradient(135deg,#1F65F4,#6f93ff)}
.tp-ava{width:26px;height:26px;border-radius:50%;background:#1F65F4;margin:-13px auto 0;border:3px solid #fff;position:relative}
.tp-lines{display:flex;flex-direction:column;align-items:center;gap:5px;margin-top:8px}
.tp-lines i{display:block;height:5px;border-radius:3px;background:#dfe4f2}
.tp-lines i:first-child{width:58%}.tp-lines i:last-child{width:38%}
.tp-fields{display:flex;gap:5px;justify-content:center;margin-top:9px;padding:0 10px}
.tp-fields i{flex:1;height:12px;border-radius:5px;background:#eef1f9;border:1px solid #e2e7f5}

.tp-minimal .tp-card{border:0;box-shadow:none;background:transparent}
.tp-minimal .tp-card::after{content:'';position:absolute;left:4px;right:4px;top:62px;border-bottom:2px solid #1a1d29}
.tp-minimal .tp-banner{display:none}
.tp-minimal .tp-ava{margin:10px 0 0 4px;border:0;width:20px;height:20px;border-radius:6px}
.tp-minimal .tp-lines{align-items:flex-start;margin:8px 4px 0}
.tp-minimal .tp-lines i:first-child{background:#1a1d29;height:6px}
.tp-minimal .tp-lines i:nth-child(2){background:#1F65F4;height:4px;width:30%}
.tp-minimal .tp-fields{position:absolute;left:4px;right:4px;top:76px;margin:0;padding:0;flex-direction:column;gap:6px}
.tp-minimal .tp-fields i{border:0;border-bottom:2px solid #dfe4f2;border-radius:0;background:transparent;height:6px;flex:none}

.tp-corporate .tp-card{border-radius:4px;border-top:3px solid #1F65F4}
.tp-corporate .tp-banner{height:34px;background:#1F65F4}
.tp-corporate .tp-ava{border-radius:50%;border-color:#fff;margin:-12px 0 0 10px}
.tp-corporate .tp-lines{align-items:flex-start;margin:6px 10px 0}
.tp-corporate .tp-fields{justify-content:flex-start;padding:0 10px}
.tp-corporate .tp-fields i{border-radius:2px;background:#f2f5fc;border:1px solid #d9e1f2;height:14px}

.tp-classic .tp-card{border:2px solid #1a1d29;border-radius:2px}
.tp-classic .tp-banner{display:none}
.tp-classic .tp-ava{margin:14px auto 0;border:3px double #1a1d29;background:#fff}
.tp-classic .tp-lines{position:relative;padding-bottom:8px;margin-top:7px}
.tp-classic .tp-lines::after{content:'';position:absolute;left:50%;transform:translateX(-50%);bottom:2px;width:22px;height:2px;background:#1F65F4}
.tp-classic .tp-fields i{border:1.5px solid #1a1d29;background:transparent;border-radius:99px;height:10px}

.tp-split .tp-card{display:flex}
.tp-split .tp-banner{width:38%;height:100%;background:linear-gradient(160deg,#1F65F4,#6f93ff)}
.tp-split .tp-ava{position:absolute;left:14px;top:30px;margin:0;border-color:rgba(255,255,255,.6)}
.tp-split .tp-lines{position:absolute;left:44%;right:10%;top:38%;align-items:flex-start}
.tp-split .tp-fields{position:absolute;left:44%;right:10%;top:66%;padding:0;margin:0}

.tp-editorial .tp-card{border-radius:3px;border-top:3px solid #111827}
.tp-editorial .tp-banner{display:none}
.tp-editorial .tp-ava{border-radius:3px;background:#111827;margin-top:12px;width:22px;height:22px}
.tp-editorial .tp-lines i{background:#d1d5db}
.tp-editorial .tp-lines i:first-child{background:#111827;height:7px;width:64%}
.tp-editorial .tp-fields i{border-radius:0;background:transparent;border:0;border-bottom:2px solid #d1d5db;height:8px}

.tp-band .tp-card{overflow:hidden}
.tp-band .tp-banner{height:54px;background:linear-gradient(160deg,#1F65F4,#6f93ff)}
.tp-band .tp-lines{position:absolute;top:10px;left:0;right:0;margin:0}
.tp-band .tp-lines i{background:rgba(255,255,255,.85)}
.tp-band .tp-ava{margin:-13px auto 0;z-index:1}
.tp-band .tp-fields{display:grid;grid-template-columns:repeat(3,1fr)}
.tp-band .tp-fields i{border:1px solid #dfe4f2;border-radius:5px;background:#f4f6fb;height:15px}

.tp-hero .tp-card{background:transparent;border:0;box-shadow:none;overflow:visible}
.tp-hero .tp-banner{position:absolute;inset:6px 8px auto;height:50px;border-radius:8px;
  background:linear-gradient(160deg,#1F65F4,#6f93ff);display:flex;align-items:center;justify-content:center}
.tp-hero .tp-banner::after{content:'r';color:rgba(255,255,255,.9);font-weight:800;font-size:15px}
.tp-hero .tp-card::after{content:'';position:absolute;left:14px;right:14px;top:36px;bottom:4px;
  background:#fff;border:1px solid #e7ebf5;border-radius:10px;box-shadow:0 8px 18px rgba(20,30,70,.14)}
.tp-hero .tp-ava,.tp-hero .tp-lines,.tp-hero .tp-fields{position:relative;z-index:1}
.tp-hero .tp-ava{margin:28px auto 0}
.tp-hero .tp-lines i{background:#dfe4f2}
.tp-hero .tp-fields{padding:0 22px}
.tp-hero .tp-fields i{background:#1F65F4;border:0;border-radius:6px;height:11px}

.tp-float{background:#eef1f8}
.tp-float .tp-card{inset:18px 14px 8px;box-shadow:0 12px 26px rgba(20,30,70,.2)}
.tp-float .tp-ava{margin-top:8px}
.tp-float .tp-fields{flex-direction:column;gap:5px}
.tp-float .tp-fields i{position:relative;background:#fff;border:1px solid #e2e7f5;height:9px}
.tp-float .tp-fields i::after{content:'›';position:absolute;right:4px;top:0;color:#9aa3b8;font-size:7px;line-height:9px}

.tp-grid .tp-banner{height:40px}
.tp-grid .tp-ava{margin-top:-12px}
.tp-grid .tp-lines i:first-child{background:#4a4f6e;height:6px}
.tp-grid .tp-fields{display:grid;grid-template-columns:repeat(3,1fr);justify-items:center;padding:0 18px}
.tp-grid .tp-fields i{height:14px;width:14px;border-radius:50%;border:2px solid #4a4f6e;background:transparent}

.tp-blob{background:#f4f0ff}
.tp-blob::before{content:'';position:absolute;top:-16px;left:-14px;width:52px;height:52px;border-radius:55% 45% 60% 40%;background:#1F65F4;opacity:.16}
.tp-blob::after{content:'';position:absolute;bottom:-14px;right:-12px;width:44px;height:44px;border-radius:40% 60% 45% 55%;background:#1F65F4;opacity:.12}
.tp-blob .tp-card{background:transparent;border:0;box-shadow:none}
.tp-blob .tp-banner{display:none}
.tp-blob .tp-ava{margin:12px auto 0;width:32px;height:32px;border-radius:46% 54% 52% 48%;border:3px solid #1F65F4;background:#fff}
.tp-blob .tp-lines i{background:#dcd6f2}
.tp-blob .tp-fields i{background:#fff;border:1px solid #e6e0f8;border-radius:6px}

.tp-elite .tp-card{background:transparent;border:0;box-shadow:none}
.tp-elite .tp-banner{display:none}
.tp-elite .tp-ava{margin:12px auto 0;width:30px;height:30px;border:0;
  box-shadow:0 0 0 3px #fff,0 0 0 5px #1F65F4}
.tp-elite .tp-lines{position:relative}
.tp-elite .tp-lines::before,.tp-elite .tp-lines::after{content:'';position:absolute;top:50%;width:22%;height:1px;background:#dfe4f2}
.tp-elite .tp-lines::before{left:6px}.tp-elite .tp-lines::after{right:6px}
.tp-elite .tp-lines i{background:#dfe4f2}
.tp-elite .tp-fields i{background:#fff;border:1px solid #e2e7f5;border-radius:99px;height:11px}

.tp-wave .tp-banner{height:46px;background:linear-gradient(160deg,#1F65F4,#6f93ff);
  border-radius:10px 10px 46% 46%/10px 10px 16px 16px}
.tp-wave .tp-ava{margin:-14px auto 0}

/* İşlem kolonu */
.t-act{display:flex;gap:.45rem;justify-content:flex-end;align-items:center;flex-wrap:nowrap}
/* Aksiyon menüsü (popover) — ikincil + yıkıcı işlemler */
.act-menu{inset:auto;margin:0;padding:.35rem;min-width:175px;background:#fff;border:1px solid var(--line);
  border-radius:10px;box-shadow:0 14px 38px rgba(20,30,70,.18)}
@supports (position-area: block-end){
  .act-menu{position-area:block-end span-inline-end;
    position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline}
}
.act-menu [focusgroup]{display:flex;flex-direction:column;gap:2px}
.act-menu .mi{display:flex;align-items:center;gap:.55rem;width:100%;padding:.5rem .6rem;border:0;border-radius:7px;
  background:transparent;font:inherit;font-size:.84rem;font-weight:500;color:var(--ink);cursor:pointer;text-align:left;white-space:nowrap}
.act-menu .mi:hover,.act-menu .mi:focus-visible{background:var(--bg);outline:none}
.act-menu .mi-danger{color:var(--err)}
.act-menu .mi-danger:hover,.act-menu .mi-danger:focus-visible{background:var(--err-bg)}
.act-menu .mi svg{flex:none}
.act-menu hr{border:0;border-top:1px solid var(--line);margin:.3rem .2rem}
.act-menu form{margin:0}
@media (prefers-reduced-motion:no-preference){
  .act-menu{opacity:0;translate:0 -4px;transition:opacity .12s,translate .12s,display .12s,overlay .12s;transition-behavior:allow-discrete}
  .act-menu:popover-open{opacity:1;translate:0 0;@starting-style{opacity:0;translate:0 -4px}}
}
/* Bildirim satırı bağlantısı + gün grupları */
.notif-day{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;
  color:var(--muted);padding:.9rem .6rem .35rem;border-bottom:1px solid var(--line);margin-bottom:.3rem}
a.item-row.nrow{color:inherit}
a.item-row.nrow:hover{background:var(--blue-50)}
/* Erişim kutuları eşit yükseklik */
.acc-opt{height:100%;display:flex;align-items:center}
.acc-opt>span{display:flex;flex-direction:column;gap:.1rem}
/* Reklam hesaplayıcı */
.ad-calc{background:var(--blue-50);border:1px solid var(--blue-100);border-radius:12px;padding:.9rem 1rem;margin-bottom:1rem}
.ad-calc-row{display:flex;justify-content:space-between;align-items:center;padding:.2rem 0;font-size:.92rem}
.ad-calc-row span{color:var(--muted)}
.ad-calc-total{border-top:1px dashed var(--blue-100);margin-top:.4rem;padding-top:.5rem;font-size:1.05rem}
.ad-calc-total b{color:var(--blue)}
/* ---- bildirim dropdown ---- */
.notif-wrap{position:relative}
.notif-drop{display:none;position:absolute;top:calc(100% + .5rem);right:0;width:340px;max-width:90vw;max-height:70vh;overflow:auto;
  background:var(--card);border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 12px 40px rgba(0,0,0,.35);z-index:60}
.notif-head{display:flex;justify-content:space-between;align-items:center;padding:.7rem .9rem;border-bottom:1px solid var(--border);font-size:.85rem}
.notif-item{display:block;padding:.6rem .9rem;border-bottom:1px solid var(--border);color:inherit}
.notif-item:last-child{border-bottom:0}
.notif-item:hover{background:var(--bg)}
.notif-item.unread{background:rgba(31,101,244,.07)}
.notif-item .ni-msg{display:block;font-size:.82rem;line-height:1.35;margin-bottom:.15rem}
.notif-empty{padding:1rem;text-align:center;color:var(--mut);font-size:.82rem}
.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:currentColor;vertical-align:top;margin-left:.15rem}
@media(max-width:640px){
  .topbar{padding:.6rem .9rem;gap:.55rem}
  .topbar .page-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.95rem}
  .user-chip{gap:.45rem;flex:none}
  .user-chip .nowrap{display:none}
  .notif-drop{position:fixed;top:56px;left:.6rem;right:.6rem;width:auto;max-width:none;max-height:65vh;z-index:120}
}

/* ---- sidebar dış bağlantılar ---- */
.side-link{display:flex;align-items:center;gap:.6rem;padding:.55rem .8rem;border-radius:.5rem;color:var(--mut);font-size:.85rem}
.side-link:hover{color:var(--txt);background:var(--bg)}
.side-link.on{color:var(--pri);background:rgba(31,101,244,.09);font-weight:600}
.side-link .ic{width:18px;height:18px;flex:none}

.alert code{word-break:break-all}

/* ---- site ayarları yerleşimi ---- */
.set-wrap{display:grid;grid-template-columns:220px minmax(0,1fr);gap:1.2rem;align-items:start}
.set-wrap>*{min-width:0}
.set-nav{position:sticky;top:84px}
@media(max-width:900px){
  .set-wrap{grid-template-columns:minmax(0,1fr)}
  .set-nav{position:static}
  .set-nav .card-b{display:flex;gap:.3rem;overflow-x:auto;padding:.55rem .7rem!important}
  .set-nav .side-link{white-space:nowrap;flex:none}
}

/* ---- eşit yükseklikli dashboard kartları ---- */
.grid-eq{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem;margin-bottom:1rem;align-items:stretch}
.grid-eq>.card{margin-bottom:0}

/* ---- yatay reklam görseli ---- */
.ad-thumb{width:120px;height:24px;object-fit:contain;border-radius:.3rem;background:var(--bg);display:block}

/* ---- banka kartı ---- */
.bank-card{background:var(--bg);border:1px solid var(--border);border-radius:.7rem;padding:.8rem;display:flex;flex-direction:column;gap:.6rem}
.bank-head{display:flex;gap:.7rem;align-items:center}
.bank-logo{width:40px;height:40px;border-radius:.5rem;object-fit:contain;background:var(--card);border:1px solid var(--border);flex:none}
.bank-cur{margin-left:auto}
.bank-cur-chip,.bank-chip{display:inline-block;padding:.15rem .5rem;border-radius:.4rem;background:var(--card);border:1px solid var(--border);font-size:.72rem;font-weight:600}
.bank-iban{font-family:ui-monospace,monospace;letter-spacing:.04em}
.bank-foot{display:flex;justify-content:space-between;align-items:center;gap:.6rem}
.bank-chip{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:70%}
.btn-copy{flex:none;padding:.3rem .7rem}

/* ---- banka listesi sıralama ---- */
.banks-list .item-row{margin-bottom:.5rem;border:1px solid var(--border);border-radius:.6rem;background:var(--card)}
.notif-drop.show{display:block}
.c-bank-logo{height:34px;max-width:120px;object-fit:contain;object-position:left center;flex:none}

/* ---- mağaza ürün seçim kartı ---- */
.pick{position:relative;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;outline:none;border:1.5px solid transparent}
.pick:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg)}
.pick:focus-visible{border-color:var(--blue-100)}
.pick.is-sel{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-100),var(--shadow-lg)}
.pick.is-busy{opacity:.65;pointer-events:none}
.pick .pick-mark{position:absolute;top:.6rem;right:.6rem;width:24px;height:24px;border-radius:50%;background:var(--blue);color:#fff;display:flex;align-items:center;justify-content:center;opacity:0;transform:scale(.5);transition:all .18s ease;z-index:2}
.pick.is-sel .pick-mark{opacity:1;transform:scale(1)}
.pick .pick-cta{font-size:.75rem;font-weight:600;color:var(--blue);border:1.5px solid var(--blue-100);border-radius:8px;padding:.3rem .6rem;background:var(--blue-50);transition:all .18s ease;white-space:nowrap}
.pick.is-sel .pick-cta{background:var(--blue);border-color:var(--blue);color:#fff}

/* ---- mağaza sabit alt bar ---- */
.shop-bar{position:fixed;left:0;right:0;bottom:0;z-index:60;background:#fff;border-top:1px solid var(--line);box-shadow:0 -8px 30px rgba(22,26,46,.12);transform:translateY(110%);transition:transform .25s ease}
.shop-bar.show{transform:translateY(0)}
.shop-bar-in{max-width:840px;margin:0 auto;padding:.8rem 1.2rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}
.shop-bar-sum{font-size:.92rem;color:var(--ink-2)}
.shop-bar-sum b{color:var(--ink)}
.shop-bar-gap{height:0;transition:height .25s ease}
.shop-bar-gap.show{height:70px}
.bar-items{display:flex;gap:.7rem;overflow-x:auto;flex:1;min-width:0;padding:.15rem 0}
.bar-item{display:flex;align-items:center;gap:.5rem;flex:none;background:var(--blue-50);border:1px solid var(--blue-100);border-radius:10px;padding:.25rem .6rem .25rem .3rem}
.bar-item img{width:34px;height:34px;object-fit:cover;border-radius:7px}
.bar-item span{display:flex;flex-direction:column;line-height:1.15}
.bar-item b{font-size:.78rem;max-width:160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bar-item small{font-size:.7rem;color:var(--muted)}
.bar-right{display:flex;align-items:center;gap:.8rem;flex:none}
.bar-total{font-size:1.05rem;color:var(--ink)}
@media(max-width:640px){.bar-item b{max-width:90px}}

/* ---- sihirbaz paket seçimi ---- */
.plan-pick{cursor:pointer}
.plan-pick.is-sel{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-100),var(--shadow-lg)}
.plan-pick.is-busy{opacity:.65;pointer-events:none}
.plan-pick .pick-mark{position:absolute;top:.8rem;right:.8rem;width:24px;height:24px;border-radius:50%;background:var(--blue);color:#fff;display:flex;align-items:center;justify-content:center;opacity:0;transform:scale(.5);transition:all .18s ease;z-index:2}
.plan-pick.is-sel .pick-mark{opacity:1;transform:scale(1)}
.plan.is-gift{border-color:var(--ok);box-shadow:0 0 0 3px var(--ok-bg),var(--shadow-lg)}
.plan .gift-tag{background:var(--ok)}

/* Dosya yukleme dropzone */
.fup-wrap{position:relative}
.fup{display:flex;align-items:center;gap:.8rem;padding:.65rem .9rem;min-height:66px;
  border:1.5px dashed #c9d0e4;border-radius:var(--r-sm);background:#fafbfe;cursor:pointer;transition:.15s}
.fup:hover,.fup.drag{border-color:var(--blue);background:var(--blue-50)}
.fup input[type=file]{position:absolute;width:0;height:0;opacity:0;overflow:hidden}
.fup-img{width:44px;height:44px;border-radius:10px;object-fit:cover;flex:none;background:#fff}
.fup-ic{width:44px;height:44px;border-radius:10px;background:var(--blue-50);color:var(--blue);
  display:flex;align-items:center;justify-content:center;flex:none}
.fup-ic .ic{width:20px;height:20px}
.fup-txt{display:flex;flex-direction:column;font-size:.86rem;color:var(--muted);min-width:0;line-height:1.35}
.fup-txt b{color:var(--ink-2);font-weight:600;font-size:.9rem}
.fup-name{margin-left:auto;font-size:.78rem;font-weight:600;color:var(--blue);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:45%;flex:none}
.fup-del{position:absolute;top:-10px;right:10px;z-index:2;background:#fff;border:1px solid var(--line);
  border-radius:99px;padding:.12rem .55rem .12rem .35rem;font-size:.72rem;color:var(--muted)}
.fup-del input[type=checkbox]{width:15px;height:15px}
/* Görsel kırpma modalı */
.icv{position:relative;display:inline-block;max-width:100%;border-radius:12px;overflow:hidden;background:#0f172a;
  background-image:repeating-conic-gradient(#1e293b 0 25%,#0f172a 0 50%);background-size:16px 16px}
.icv canvas{display:block;max-width:100%;cursor:grab;touch-action:none}
.icv canvas:active{cursor:grabbing}
.icz{margin-top:.7rem}
.icz .input-range{width:100%;accent-color:var(--blue)}

/* Siparis listesi satirlari (panel + admin orders) */
.o-list{display:flex;flex-direction:column}
.o-row{display:flex;align-items:center;gap:.9rem;padding:.85rem 1.25rem;border-bottom:1px solid var(--line)}
.o-row:last-child{border-bottom:0}
.o-ic{width:40px;height:40px;flex:none;border-radius:11px;display:flex;align-items:center;justify-content:center}
.o-ic svg{width:19px;height:19px}
.o-main{flex:1;min-width:170px}
.o-main>b{display:block;font-size:.93rem;line-height:1.35}
.o-meta{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap;font-size:.78rem;color:var(--muted);margin-top:.15rem}
.o-meta a{color:var(--blue)}
.o-meta svg{width:12px;height:12px;vertical-align:-2px}
.o-dot{width:3px;height:3px;flex:none;border-radius:50%;background:var(--line-2,#d5dae3)}
.o-side{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;justify-content:flex-end}
.o-amt{font-size:.95rem;font-weight:700;white-space:nowrap}
.o-row .thumb{width:40px;height:40px;border-radius:9px;object-fit:cover;flex:none}
@media (max-width:680px){
  .o-row{flex-wrap:wrap;padding:.85rem .95rem}
  .o-main{min-width:0;flex:1 1 calc(100% - 52px)}
  .o-side{flex:1 1 100%;justify-content:flex-start;padding-left:52px}
}

/* Odeme sayfasi destek kutusu */
.pay-help{margin-top:1rem;display:flex;align-items:center;gap:.9rem;flex-wrap:wrap;
  background:var(--card,#fff);border:1px solid var(--line);border-radius:var(--r,14px);padding:1rem 1.25rem}
.pay-help .ph-ic{width:40px;height:40px;flex:none;border-radius:11px;display:flex;align-items:center;justify-content:center;
  background:var(--info-bg,#e8f4fd);color:var(--info,#0b7bc0)}
.pay-help .ph-ic svg{width:19px;height:19px}
.pay-help>div{flex:1;min-width:220px}

/* ---------- Genel UX dokunuşları ---------- */
/* Marka seçim rengi */
::selection{background:var(--blue);color:#fff}
/* Klavye odağı — sadece :focus-visible (fare tıklamasında çıkmaz) */
a:focus-visible,button:focus-visible,.btn:focus-visible,[role=button]:focus-visible,summary:focus-visible,
.nav a:focus-visible,.tabs a:focus-visible{outline:2px solid var(--blue);outline-offset:2px;border-radius:6px}
/* Yumuşak sayfa kaydırma */
html{scroll-behavior:smooth}
/* Liste satırları — tarama kolaylığı */
.o-list .o-row,.nitem{transition:background .12s}
.o-list .o-row:hover{background:#fafbfe}
.tbl td{transition:background .12s}
/* Tıklanabilir istatistik kartları */
a.card.stat{transition:transform .18s,box-shadow .18s}
a.card.stat:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg);color:inherit}
a.card.stat:hover .s-num{color:var(--blue)}
/* Buton basma hissi + gönderim spinner'ı */
.btn:active{transform:translateY(0) scale(.98)}
.btn.is-busy{opacity:.72;pointer-events:none}
.btn.is-busy::after{content:"";width:13px;height:13px;margin-left:.5rem;border-radius:50%;
  border:2px solid currentColor;border-top-color:transparent;display:inline-block;vertical-align:-2px;
  animation:spin .7s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
/* Modal arkaplanı yumuşak giriş */
.modal-bg.show{animation:bgIn .18s ease}
@keyframes bgIn{from{opacity:0}}
/* Uyarı kutuları hafif giriş */
.alert{animation:alIn .25s ease}
@keyframes alIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
/* Hareket hassasiyeti — tüm animasyon/geçişleri kapat */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  html{scroll-behavior:auto}
}

/* ---------- Panel/Admin zenginleştirme ---------- */
/* Sayfa içeriği girişi — hafif yükselme (fixed konumlu öğe içeren kartlar hariç) */
.content>*:not(:has(.shop-bar,.pv-panel,.pv-btn,.modal-bg)){animation:pgIn .32s ease both}
.content>*:nth-child(2){animation-delay:.04s}
.content>*:nth-child(3){animation-delay:.07s}
.content>*:nth-child(4){animation-delay:.1s}
.content>*:nth-child(n+5){animation-delay:.13s}
@keyframes pgIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
/* Topbar kaydırma gölgesi */
.topbar{transition:box-shadow .25s}
.topbar.sc{box-shadow:0 8px 22px rgba(22,26,46,.09)}
/* Sidebar ikon tonları — aktif/hover'da beyazlaşır */
.nav a .ic,.nav-link-btn .ic{color:#8b93c4;transition:color .15s}
.nav a:hover .ic,.nav a.on .ic,.nav-link-btn:hover .ic{color:#fff}
/* Bildirim dropdown girişi */
.notif-drop.show{animation:dropIn .16s ease}
@keyframes dropIn{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}
/* Liste satırı hover (bildirim .nrow kendi mavisini kullanır) */
.item-row:not(.nrow):hover{background:#f7f9fd}
/* Kullanıcı çipi artık link */
a.user-chip{color:inherit;border-radius:10px;padding:.25rem .55rem;margin:-.25rem -.55rem;transition:background .15s}
a.user-chip:hover{background:#e9edf8;color:inherit}

/* ---------- Tema önizlemeleri (yeni temalar) ---------- */
/* prizma — degrade çerçeveli kart + degrade halkalı avatar + degrade ikonlar */
.tp-prism .tp-card{border:2px solid transparent;border-radius:10px;
  background:linear-gradient(#fff,#fff) padding-box,linear-gradient(135deg,#1F65F4,#6f93ff) border-box}
.tp-prism .tp-banner{height:26px;background:linear-gradient(135deg,#1F65F4,#6f93ff);opacity:.85}
.tp-prism .tp-ava{width:28px;height:28px;border:3px solid transparent;margin-top:-14px;
  background:linear-gradient(#1F65F4,#1F65F4) padding-box,linear-gradient(135deg,#1F65F4,#6f93ff) border-box}
.tp-prism .tp-fields i{background:linear-gradient(135deg,#1F65F4,#6f93ff);border:0;border-radius:8px}
/* cam — degrade zemin, buzlu kart, arkada renk küreleri */
.tp-glass{background:linear-gradient(135deg,#7c3aed,#1F65F4)}
.tp-glass::before{content:'';position:absolute;top:-14px;left:-10px;width:56px;height:56px;border-radius:50%;background:#f59e0b;opacity:.5}
.tp-glass::after{content:'';position:absolute;bottom:-18px;right:-8px;width:60px;height:60px;border-radius:50%;background:#22d3ee;opacity:.45}
.tp-glass .tp-card{background:rgba(255,255,255,.55);border:1px solid rgba(255,255,255,.75);border-radius:12px;
  backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);z-index:1}
.tp-glass .tp-banner{display:none}
.tp-glass .tp-ava{margin-top:12px;border-color:rgba(255,255,255,.7)}
.tp-glass .tp-lines i{background:rgba(15,25,60,.3)}
.tp-glass .tp-fields i{background:rgba(255,255,255,.55);border:1px solid rgba(255,255,255,.75);border-radius:8px}
/* yumuşak — neumorfik: kart zeminle bütün, çift gölge, gömülü alanlar */
.tp-soft{background:#e9edf5}
.tp-soft .tp-card{background:#e9edf5;border:0;border-radius:14px;
  box-shadow:5px 5px 11px #d3d8e6,-5px -5px 11px #fff}
.tp-soft .tp-banner{display:none}
.tp-soft .tp-ava{margin-top:12px;border:3px solid #e9edf5;
  box-shadow:3px 3px 6px #d3d8e6,-3px -3px 6px #fff}
.tp-soft .tp-lines i{background:#cfd6e6}
.tp-soft .tp-fields i{background:#e9edf5;border:0;border-radius:8px;
  box-shadow:inset 2px 2px 4px #d3d8e6,inset -2px -2px 4px #fff}
/* neo — neo-brutalist: kalın mürekkep çerçeve + sert ofset gölge */
.tp-neo{background:#fdf6ec}
.tp-neo .tp-card{border:2.5px solid #1a1d29;border-radius:7px;box-shadow:5px 5px 0 #1a1d29;background:#fff}
.tp-neo .tp-banner{height:24px;background:#1F65F4;border-bottom:2.5px solid #1a1d29}
.tp-neo .tp-ava{border:2.5px solid #1a1d29;border-radius:6px;margin-top:-13px;box-shadow:2px 2px 0 #1a1d29}
.tp-neo .tp-lines i:first-child{background:#1a1d29;height:6px}
.tp-neo .tp-fields i{border:2px solid #1a1d29;background:#fff;border-radius:5px;box-shadow:2px 2px 0 #1a1d29}
/* konsol — terminal: $ prompt, yanıp sönen imleç hissi, köşeli kutu */
.tp-mono{background:#f7f8fa}
.tp-mono .tp-card{border:1.5px solid #1a1d29;border-radius:5px;box-shadow:none;background:#fff}
.tp-mono .tp-banner{height:16px;border-bottom:1.5px solid #1a1d29;background:#eef0f4;
  display:flex;align-items:center;gap:4px;padding:0 8px}
.tp-mono .tp-banner::before{content:'';width:5px;height:5px;border-radius:50%;background:#ff5f57;
  box-shadow:9px 0 0 #febc2e,18px 0 0 #28c840}
.tp-mono .tp-ava{border-radius:4px;border:1.5px solid #1a1d29;margin:8px auto 0;width:24px;height:24px}
.tp-mono .tp-lines{position:relative}
.tp-mono .tp-lines::before{content:'$';position:absolute;left:24%;top:-1px;color:#1F65F4;
  font:700 9px 'Courier Prime',ui-monospace,monospace}
.tp-mono .tp-lines::after{content:'_';position:absolute;right:26%;top:-1px;color:#1F65F4;
  font:700 9px 'Courier Prime',ui-monospace,monospace;animation:blink 1.2s steps(1) infinite}
.tp-mono .tp-lines i{background:#c9d0e4}
.tp-mono .tp-fields i{position:relative;background:transparent;border:1px solid #d7dce9;border-radius:3px}
.tp-mono .tp-fields i::after{content:'↵';position:absolute;right:3px;top:-1px;color:#b4bccf;font-size:8px}
@keyframes blink{50%{opacity:0}}
@media (prefers-reduced-motion:reduce){.tp-mono .tp-lines::after{animation:none}}

/* ---------- Admin ürün kartları ---------- */
.prod-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:1rem;padding:1.1rem 1.4rem 1.3rem}
.pcard{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff;display:flex;flex-direction:column;
  transition:box-shadow .18s ease,transform .18s ease}
.pcard:hover{box-shadow:0 10px 26px rgba(20,30,70,.1);transform:translateY(-2px)}
.pcard-img{position:relative;aspect-ratio:4/3;background:#eef1f7;overflow:hidden}
.pcard-img img{width:100%;height:100%;object-fit:cover;display:block}
.pcard-ph{position:absolute;inset:0;display:grid;place-items:center;color:#b9c1d8}
.pcard-ph svg{width:34px;height:34px}
.pcard-off{position:absolute;top:.55rem;left:.55rem}
.pcard-b{padding:.75rem .85rem .8rem;display:flex;flex-direction:column;gap:.4rem;flex:1}
.pcard-t{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap}
.pcard-d{line-height:1.4}
.pcard-f{display:flex;align-items:center;gap:.5rem;margin-top:auto;padding-top:.3rem}
.pcard-p{font-size:.98rem}
.pcard-act{margin-left:auto;display:flex;gap:.15rem}
.pcard-act .btn{padding:.3rem .45rem}
.pcard-act form{margin:0}
.pedit-thumb{display:block;width:72px;height:54px;object-fit:cover;border-radius:8px;border:1px solid var(--line);margin-bottom:.5rem}

/* ---------- Panel dashboard ---------- */
/* Paket kartı — görsel hero panel */
.plan-card{overflow:hidden;border:0}
.plan-hero{position:relative;display:flex;flex-direction:column;height:100%;padding:1.45rem 1.5rem;color:#fff;
  background:linear-gradient(135deg,#1F65F4 0%,#123a9e 60%,#0b2a7d 100%)}
.plan-hero::after{content:'';position:absolute;right:-70px;top:-80px;width:250px;height:250px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,.16),transparent 70%)}
.plan-hero::before{content:'';position:absolute;left:-45px;bottom:-95px;width:210px;height:210px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,.09),transparent 70%)}
.plan-hero.ph-amber{background:linear-gradient(135deg,#f59e0b 0%,#d97706 55%,#92400e 100%)}
.plan-hero.ph-green{background:linear-gradient(135deg,#22c55e 0%,#15803d 55%,#14532d 100%)}
.ph-top{position:relative;display:flex;align-items:flex-start;justify-content:center}
.ph-crown{width:52px;height:52px;border-radius:14px;display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.16)}
.ph-crown svg{width:25px;height:25px}
.ph-head{position:relative;margin-top:.95rem;text-align:center}
.ph-label{font-size:.66rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;opacity:.72}
.ph-name{display:block;font-size:2.55rem;font-weight:800;line-height:1.15;margin-top:.15rem}
.ph-up{position:absolute;right:0;top:3px;font-size:.76rem;font-weight:700;color:#123a9e;text-decoration:none;
  background:#fff;padding:.48rem .95rem;border-radius:9px;transition:.15s}
.ph-up:hover{transform:translateY(-1px);box-shadow:0 6px 14px rgba(0,0,0,.28)}
.ph-meta{position:relative;margin-top:.85rem;font-size:.79rem;opacity:.85;display:flex;align-items:center;justify-content:center;gap:.4rem}
.ph-meta svg{width:13px;height:13px}
.ph-mods{position:relative;display:flex;flex-wrap:wrap;justify-content:center;gap:.4rem;margin-top:1.05rem}
.ph-mod{display:inline-flex;align-items:center;gap:.35rem;font-size:.7rem;font-weight:600;
  padding:.32rem .65rem;border-radius:8px;background:rgba(255,255,255,.15)}
.ph-mod svg{width:12px;height:12px}
.ph-quota{position:relative;margin-top:auto;padding-top:1.1rem}
.ph-qh{display:flex;justify-content:space-between;font-size:.76rem;margin-bottom:.45rem;opacity:.9}
.ph-bar{height:7px;border-radius:99px;background:rgba(255,255,255,.22);overflow:hidden}
.ph-bar i{display:block;height:100%;border-radius:99px;background:#fff;box-shadow:0 0 10px rgba(255,255,255,.55)}
/* Bildirim listesi */
.nitem{display:flex;align-items:center;gap:.8rem;padding:.68rem 1.35rem;border-bottom:1px solid var(--line);color:inherit}
.nlist .nitem:last-child{border-bottom:0}
.nitem:hover{background:#f7f9fd}
.nitem.read{color:var(--muted)}
.nic{width:34px;height:34px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex:none}
.nic svg{width:16px;height:16px}
.nmsg{display:block;font-size:.86rem;line-height:1.35}
.ndot{width:7px;height:7px;border-radius:50%;background:var(--blue);flex:none}
.nitem.read .ndot{visibility:hidden}
.nfoot{display:flex;align-items:center;justify-content:center;gap:.35rem;padding:.65rem;border-top:1px solid var(--line);
  font-size:.8rem;font-weight:600;color:var(--blue);text-decoration:none;transition:background .12s}
.nfoot:hover{background:#f7f9fd}
.nfoot svg{width:13px;height:13px}
