/* ============================================================
   Vizity — Global Stil Dosyası
   ============================================================ */

/* --- Reset & Temel ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

:root {
  --white:      #ffffff;
  --off:        #F8F7F5;
  --ink:        #0C0C0B;
  --ink2:       #2A2926;
  --mid:        #7A7872;
  --line:       #E5E3DF;
  --blue:       #0068FF;
  --blue-dark:  #0045FF;
  --gradient:   linear-gradient(135deg, #00A8FF, #0045FF);
  --green:      #00C48C;
  --orange:     #F59E0B;
  --red:        #E53E3E;
  --purple:     #7C3AED;
  --tag-bg:     #E8F4FF;
  --bg:         #F0EEE9;
}

body {
  font-family: 'Bricolage Grotesque', sans-serif;
  color: var(--ink);
  background: var(--off);
}

/* --- Yardımcılar ------------------------------------------- */
.hidden  { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* --- Alert / Flash Mesajlar --------------------------------- */
.alert {
  border-radius: 9px;
  padding: .75rem 1rem;
  font-size: .82rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.alert-err  { background: #FEF2F2; border: 1px solid #FECACA; color: var(--red); }
.alert-ok   { background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; }
.alert-warn { background: #FFFBEB; border: 1px solid #FDE68A; color: #92400E; }

/* --- Hata mesajı (alan altı) -------------------------------- */
.err-msg { font-size: .72rem; color: var(--red); margin-top: .3rem; }

/* ============================================================
   AUTH SAYFASI — Giriş / Kayıt / Şifre Sıfırlama
   ============================================================ */
.auth-body {
  display: flex;
  min-height: 100vh;
  background: var(--off);
}

/* Sol panel */
.auth-left {
  width: 460px;
  flex-shrink: 0;
  background: linear-gradient(160deg, #0C0C0B 0%, #0a1628 40%, #0045FF 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.auth-left-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(0,168,255,.2) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: .4;
  mask-image: radial-gradient(ellipse 80% 80% at 30% 70%, black 20%, transparent 80%);
}
.auth-left-glow {
  position: absolute; bottom: -120px; left: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,168,255,.15) 0%, transparent 70%);
  pointer-events: none;
}
.auth-logo {
  font-size: 1.35rem; font-weight: 800;
  color: #fff; text-decoration: none;
  letter-spacing: -.03em;
  position: relative; z-index: 1;
}
.auth-logo span { color: var(--blue); }

.auth-left-content {
  position: relative; z-index: 1; flex: 1;
  display: flex; flex-direction: column;
  justify-content: center; padding: 2rem 0;
}
.auth-left-h {
  font-family: 'DM Serif Display', serif;
  font-size: 2.4rem; font-weight: 400;
  color: #fff; line-height: 1.1;
  letter-spacing: -.02em; margin-bottom: .75rem;
}
.auth-left-h em { font-style: italic; color: rgba(0,104,255,.8); }
.auth-left-p {
  font-size: .85rem; color: rgba(255,255,255,.38);
  line-height: 1.7; font-weight: 300;
  margin-bottom: 2.5rem; max-width: 300px;
}
.auth-left-foot {
  font-size: .7rem; color: rgba(255,255,255,.2);
  position: relative; z-index: 1;
}
.auth-left-foot a { color: rgba(0,104,255,.5); text-decoration: none; }

/* Mini kart önizlemeleri (sol panel) */
.mini-cards   { display: flex; flex-direction: column; gap: .6rem; }
.mc           { display: flex; align-items: center; gap: .85rem; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 12px; padding: .8rem 1rem; transition: border-color .2s; }
.mc:hover     { border-color: rgba(0,104,255,.3); }
.mc-av        { width: 36px; height: 36px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 700; color: #fff; flex-shrink: 0; }
.mc-info      { flex: 1; }
.mc-name      { font-size: .82rem; font-weight: 600; color: #fff; }
.mc-role      { font-size: .7rem; color: rgba(255,255,255,.35); margin-top: 1px; }
.mc-stat      { font-size: .7rem; color: var(--blue); }

/* Sağ panel */
.auth-right {
  flex: 1;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  padding: 3rem 2rem;
}
.auth-form-box { width: 100%; max-width: 400px; }
.auth-mobile-head { display: none; }

.auth-header            { margin-bottom: 2rem; }
.auth-header h2         { font-family: 'DM Serif Display', serif; font-size: 1.9rem; font-weight: 400; letter-spacing: -.02em; margin-bottom: .35rem; }
.auth-header p          { font-size: .85rem; color: var(--mid); }
.auth-header a          { color: var(--blue); text-decoration: none; }
.auth-header a:hover    { text-decoration: underline; }

/* Demo bar (sadece dev) */
.demo-bar { background: #FFFBEB; border: 1.5px solid #FDE68A; border-radius: 12px; padding: .65rem .85rem; margin-bottom: 1.1rem; }
.demo-bar-lbl { display: flex; align-items: center; gap: .35rem; font-size: .65rem; font-weight: 700; color: #92400E; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .55rem; }
.demo-btns { display: flex; flex-wrap: wrap; gap: .4rem; }
.demo-btn { background: var(--db); color: var(--dc); border: 1.5px solid color-mix(in srgb, var(--dc) 20%, transparent); border-radius: 8px; padding: .3rem .65rem; font-size: .72rem; font-weight: 700; cursor: pointer; font-family: inherit; transition: opacity .15s; white-space: nowrap; }
.demo-btn:hover { opacity: .8; }

/* Tab sistemi */
.auth-tabs {
  display: flex; background: var(--white);
  border: 1.5px solid var(--line); border-radius: 10px;
  padding: 3px; margin-bottom: 1.75rem; gap: 2px;
}
.auth-tab {
  flex: 1; text-align: center; padding: .55rem;
  border-radius: 8px; font-size: .82rem; font-weight: 500;
  cursor: pointer; transition: all .15s; color: var(--mid);
  border: none; background: transparent;
  font-family: 'Bricolage Grotesque', sans-serif;
}
.auth-tab.active { background: var(--ink); color: #fff; }

/* Google / sosyal buton */
.soc-row { display: flex; gap: .6rem; margin-bottom: 1.25rem; }
.soc-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .7rem; border: 1.5px solid var(--line); border-radius: 9px;
  background: var(--white); color: var(--ink2);
  font-size: .82rem; font-weight: 500; cursor: pointer;
  transition: border-color .15s; font-family: 'Bricolage Grotesque', sans-serif;
  text-decoration: none;
}
.soc-btn:hover        { border-color: var(--ink); }
.soc-btn svg          { width: 16px; height: 16px; flex-shrink: 0; }
.soc-btn--soon        { opacity: .55; cursor: not-allowed; }
.soc-btn--soon:hover  { border-color: var(--line); }
.soon-badge           { margin-left: auto; font-size: .68rem; font-weight: 600; color: var(--mid); background: var(--line); border-radius: 4px; padding: 2px 6px; letter-spacing: .02em; }

/* Ayırıcı */
.auth-divider {
  display: flex; align-items: center; gap: .85rem;
  margin-bottom: 1.25rem; font-size: .75rem; color: var(--mid);
}
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* Form grupları */
.fg           { margin-bottom: 1rem; }
.fg label     { display: block; font-size: .78rem; font-weight: 600; color: var(--ink2); margin-bottom: .35rem; letter-spacing: .01em; }
.fi           { position: relative; }
.fi input, .fi textarea { width: 100%; background: var(--white); border: 1.5px solid var(--line); border-radius: 9px; padding: .75rem 1rem; font-family: 'Bricolage Grotesque', sans-serif; font-size: 1rem; color: var(--ink); outline: none; transition: border-color .15s; }
.fi input:focus, .fi textarea:focus { border-color: var(--blue); }
.fi input.is-err, .fi textarea.is-err { border-color: var(--red); }
.fi input::placeholder, .fi textarea::placeholder { color: rgba(122,120,114,.5); }

.fi-eye        { position: absolute; right: .85rem; top: 50%; transform: translateY(-50%); cursor: pointer; color: var(--mid); background: none; border: none; padding: 0; }
.fi-eye svg    { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; display: block; }
.fi-eye:hover svg { stroke: var(--ink); }

/* İsim satırı */
.name-row            { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: 1rem; }
.name-row input      { width: 100%; background: var(--white); border: 1.5px solid var(--line); border-radius: 9px; padding: .75rem 1rem; font-family: 'Bricolage Grotesque', sans-serif; font-size: 1rem; color: var(--ink); outline: none; transition: border-color .15s; }
.name-row input:focus { border-color: var(--blue); }
.name-row input.is-err { border-color: var(--red); }
.name-row input::placeholder { color: rgba(122,120,114,.5); }

/* Beni hatırla + şifremi unuttum */
.form-row          { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.remember          { display: flex; align-items: center; gap: .45rem; font-size: .78rem; color: var(--mid); cursor: pointer; }
.remember input    { width: auto; accent-color: var(--blue); }
.forgot            { font-size: .78rem; color: var(--blue); text-decoration: none; }
.forgot:hover      { text-decoration: underline; }

/* Şifre güç göstergesi */
.pw-bars         { display: flex; gap: 3px; margin-top: .4rem; }
.pw-bar          { height: 3px; flex: 1; border-radius: 2px; background: var(--line); transition: background .25s; }
.pw-bar.s1       { background: #E53E3E; }
.pw-bar.s2       { background: #F6993F; }
.pw-bar.s3       { background: #38A169; }
.pw-bar.s4       { background: var(--green); }
.pw-lbl          { font-size: .7rem; color: var(--mid); margin-top: .3rem; }

/* Gönder butonu */
.submit-btn {
  width: 100%; padding: .9rem;
  background: var(--gradient); color: #fff;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: .9rem; font-weight: 600;
  border: none; border-radius: 10px; cursor: pointer;
  transition: filter .15s, transform .15s;
  margin-bottom: 1.25rem;
}
.submit-btn:hover  { background: var(--blue-dark); }
.submit-btn:active { transform: scale(.99); }

/* Koşullar metni */
.auth-terms     { font-size: .72rem; color: var(--mid); text-align: center; line-height: 1.5; }
.auth-terms a   { color: var(--blue); text-decoration: none; }

/* Geri linki */
.back-link       { font-size: .82rem; color: var(--blue); text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; margin-top: .5rem; }
.back-link:hover { text-decoration: underline; }

/* Sonuç kartı (başarı / hata) */
.result-card        { background: var(--white); border: 1.5px solid var(--line); border-radius: 12px; padding: 1.75rem; text-align: center; }
.result-ic          { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.result-ic.ok       { background: rgba(0,196,140,.1);  border: 2px solid var(--green); }
.result-ic.fail     { background: rgba(229,62,62,.08); border: 2px solid var(--red); }
.result-ic svg      { width: 22px; height: 22px; fill: none; stroke-width: 2.2; stroke-linecap: round; }
.result-ic.ok   svg { stroke: var(--green); }
.result-ic.fail svg { stroke: var(--red); }
.result-card h3     { font-family: 'DM Serif Display', serif; font-size: 1.4rem; margin-bottom: .4rem; }
.result-card p      { font-size: .83rem; color: var(--mid); line-height: 1.6; margin-bottom: 1.25rem; }
.result-card .btn   { display: inline-block; background: var(--gradient); color: #fff; text-decoration: none; padding: .75rem 1.75rem; border-radius: 9px; font-size: .88rem; font-weight: 600; }

@media (max-width: 820px) {
  .auth-body { display: block; min-height: 0; }
  .auth-left  { display: none; }
  .auth-right { display: block; padding: 2rem 1.5rem; min-height: 100vh; overflow-y: auto; }
  .auth-form-box { max-width: 400px; margin: 0 auto; }
  .auth-mobile-head { display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
}

/* ============================================================
   DASHBOARD — Shell, Sidebar, Topbar, İçerik
   ============================================================ */
:root {
  --sb: 248px;
  --blue-bg:   #EEF2FF;
  --green-bg:  #E6FBF5;
  --orange-bg: #FEF3C7;
  --purple-bg: #F5F3FF;
  --bd:        #0045FF;
}

html.dash, body.dash { height: 100%; overflow: hidden; }

.shell { display: flex; height: 100vh; overflow: hidden; }

/* --- Sidebar ----------------------------------------------- */
.sidebar {
  width: var(--sb); flex-shrink: 0; background: var(--ink);
  display: flex; flex-direction: column; overflow-y: auto;
  transition: transform .28s cubic-bezier(.4,0,.2,1); z-index: 60;
}
.sb-top { padding: 1.1rem 1.1rem .9rem; border-bottom: 1px solid rgba(255,255,255,.07); display: flex; align-items: center; justify-content: space-between; }
.sb-logo { font-size: 1.2rem; font-weight: 800; color: #fff; text-decoration: none; letter-spacing: -.03em; }
.sb-logo span { color: var(--blue); }
.sb-close { display: none; width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,.08); border: none; cursor: pointer; align-items: center; justify-content: center; flex-shrink: 0; transition: background .15s; }
.sb-close:hover { background: rgba(255,255,255,.15); }
.sb-close svg { width: 14px; height: 14px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; }
.sb-user { padding: .85rem 1.1rem; border-bottom: 1px solid rgba(255,255,255,.07); display: flex; align-items: center; gap: .65rem; }
.sb-av { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(135deg,var(--blue),#00A8FF); display: flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 700; color: #fff; }
.sb-uname { font-size: .8rem; font-weight: 600; color: #fff; line-height: 1.2; }
.sb-email { font-size: .65rem; color: rgba(255,255,255,.3); }
.sb-nav { padding: .6rem 0; flex: 1; }
.sbn-sec { font-size: .58rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.22); padding: .55rem 1.1rem .3rem; }
.sbl { display: flex; align-items: center; gap: .65rem; padding: .6rem 1.1rem; font-size: .8rem; font-weight: 500; color: rgba(255,255,255,.48); cursor: pointer; transition: all .15s; border: none; background: none; width: 100%; text-align: left; text-decoration: none; }
.sbl svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.sbl:hover { color: rgba(255,255,255,.85); background: rgba(255,255,255,.05); }
.sbl.on { color: #fff; background: rgba(0,104,255,.22); }
.sbl.on svg { stroke: var(--blue); }
.sbl-badge { margin-left: auto; background: rgba(0,104,255,.4); color: #fff; font-size: .56rem; font-weight: 700; border-radius: 100px; padding: .1rem .42rem; }
.sb-bottom { padding: .9rem 1.1rem; border-top: 1px solid rgba(255,255,255,.07); }
.sb-add-profile { display: flex; align-items: center; gap: .6rem; background: rgba(0,104,255,.14); border: 1px solid rgba(0,104,255,.28); border-radius: 10px; padding: .7rem .9rem; cursor: pointer; font-size: .78rem; font-weight: 600; color: var(--blue); transition: background .15s; width: 100%; font-family: 'Bricolage Grotesque', sans-serif; }
.sb-add-profile:hover { background: rgba(0,104,255,.22); }
.sb-add-profile svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

/* --- Overlay (mobil) --------------------------------------- */
.overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 59; backdrop-filter: blur(2px); }

/* --- Main -------------------------------------------------- */
.main { flex: 1; display: flex; flex-direction: column; overflow: hidden; min-width: 0; }

/* --- Topbar ------------------------------------------------ */
.topbar { height: 54px; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 1.25rem; background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; gap: .75rem; }
.tb-l { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.ham { display: none; flex-direction: column; gap: 4px; cursor: pointer; padding: .2rem; background: none; border: none; flex-shrink: 0; }
.ham span { display: block; width: 19px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .2s; }
.tb-title { font-size: .9rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-breadcrumb { display:flex; align-items:center; gap:.5rem; font-size:.88rem; min-width:0; }
.tb-bc-link { color:var(--mid); text-decoration:none; font-weight:500; white-space:nowrap; transition:color .15s; }
.tb-bc-link:hover { color:var(--ink); }
.tb-bc-sep { color:var(--mid); font-size:.8rem; }
.tb-bc-cur { color:var(--ink); font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.tb-r { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.tb-icon-btn { width: 34px; height: 34px; background: var(--off); border: 1.5px solid var(--line); border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color .15s; position: relative; flex-shrink: 0; }
.tb-icon-btn:hover { border-color: var(--ink); }
.tb-icon-btn svg { width: 15px; height: 15px; stroke: var(--ink2); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.notif-dot { position: absolute; top: 5px; right: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); border: 1.5px solid var(--white); }
.tb-av-sm { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg,var(--blue),#00A8FF); display: flex; align-items: center; justify-content: center; font-size: .68rem; font-weight: 700; color: #fff; cursor: pointer; flex-shrink: 0; }
.btn-add-plan { display: flex; align-items: center; gap: .4rem; background: var(--blue); color: #fff; font-family: 'Bricolage Grotesque', sans-serif; font-size: .78rem; font-weight: 600; border: none; border-radius: 8px; padding: .48rem .95rem; cursor: pointer; transition: background .15s; white-space: nowrap; text-decoration: none; }
.btn-add-plan:hover { background: var(--bd); }
.btn-add-plan svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

/* --- Content body ------------------------------------------ */
.body { flex: 1; overflow-y: auto; padding: 1.25rem; }
.panel { display: none; }
.panel.on { display: block; }

/* --- Section title ----------------------------------------- */
.sec-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: .85rem; }
.sec-h { font-size: .88rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.sec-sub { font-size: .72rem; color: var(--mid); margin-top: 1px; }
.btn-sm { display: flex; align-items: center; gap: .35rem; font-family: 'Bricolage Grotesque', sans-serif; font-size: .75rem; font-weight: 600; background: var(--blue); color: #fff; border: none; border-radius: 7px; padding: .38rem .85rem; cursor: pointer; transition: background .15s; text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.btn-sm:hover { background: var(--bd); }
.btn-sm svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; }
.btn-sm-ghost { font-family: 'Bricolage Grotesque', sans-serif; font-size: .75rem; font-weight: 600; background: transparent; color: var(--mid); border: 1.5px solid var(--line); border-radius: 7px; padding: .38rem .85rem; cursor: pointer; transition: all .15s; }
.btn-sm-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-primary { display: inline-flex; align-items: center; gap: .4rem; font-family: 'Bricolage Grotesque', sans-serif; font-size: .8rem; font-weight: 700; background: var(--blue); color: #fff; border: none; border-radius: 8px; padding: .52rem 1.1rem; cursor: pointer; transition: background .15s; text-decoration: none; white-space: nowrap; }
.btn-primary:hover { background: var(--bd); }
.btn-secondary { display: inline-flex; align-items: center; gap: .4rem; font-family: 'Bricolage Grotesque', sans-serif; font-size: .8rem; font-weight: 700; background: var(--off); color: var(--ink); border: 1.5px solid var(--line); border-radius: 8px; padding: .52rem 1.1rem; cursor: pointer; transition: all .15s; text-decoration: none; white-space: nowrap; }
.btn-secondary:hover { border-color: var(--ink2); color: var(--ink); }
.fg { display: flex; flex-direction: column; gap: .35rem; margin-bottom: .75rem; }
.fg label { font-size: .75rem; font-weight: 700; color: var(--ink); }
.fg input, .fg select, .fg textarea { font-family: 'Bricolage Grotesque', sans-serif; font-size: .82rem; border: 1.5px solid var(--line); border-radius: 8px; padding: .55rem .75rem; outline: none; transition: border-color .15s; width: 100%; box-sizing: border-box; }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--blue); }

/* --- Stats kartları ---------------------------------------- */
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: .65rem; margin-bottom: 1.1rem; }
.sc { background: var(--white); border: 1.5px solid var(--line); border-radius: 12px; padding: .95rem; transition: border-color .15s; }
.sc:hover { border-color: rgba(0,104,255,.2); }
.sc-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: .5rem; }
.sc-ico { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.sc-ico svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sc-chg { font-size: .68rem; font-weight: 600; border-radius: 5px; padding: .12rem .45rem; }
.up { background: var(--green-bg); color: var(--green); }
.dn { background: #FEF2F2; color: var(--red); }
.sc-val { font-family: 'DM Serif Display', serif; font-size: 1.6rem; color: var(--ink); line-height: 1; margin-bottom: .15rem; }
.sc-lbl { font-size: .68rem; color: var(--mid); font-weight: 500; }

/* --- Genel kartlar ----------------------------------------- */
.dcard { background: var(--white); border: 1.5px solid var(--line); border-radius: 14px; padding: 1.1rem; margin-bottom: .75rem; }
.dc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .9rem; }
details.srv-edit-item[open] .srv-chev { transform: rotate(180deg); }
.srv-chev { width: 14px !important; height: 14px !important; flex-shrink: 0; }
details > summary { list-style: none !important; display: block; padding: 0 !important; }
details > summary::-webkit-details-marker { display: none !important; }
details > summary::marker { content: none !important; display: none !important; }
details > summary::before { display: none !important; content: none !important; }
.srv-sum-inner { display: flex; align-items: center; gap: .65rem; padding: .7rem .9rem; cursor: pointer; user-select: none; }
.srv-sum-add { display: flex; align-items: center; gap: .35rem; padding: .65rem 0; cursor: pointer; font-size: .78rem; font-weight: 600; color: var(--blue); }
.dc-title { font-size: .85rem; font-weight: 700; letter-spacing: -.01em; }
.dc-link { font-size: .73rem; font-weight: 600; color: var(--blue); background: none; border: none; cursor: pointer; padding: 0; text-decoration: none; }
.dc-link:hover { text-decoration: underline; }
.g2  { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: .75rem; }
.g13 { display: grid; grid-template-columns: 1.6fr 1fr; gap: .75rem; margin-bottom: .75rem; }

/* --- Profil kartları --------------------------------------- */
.profiles-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(230px,1fr)); gap: .75rem; margin-bottom: 1.1rem; }
.pcard { background: var(--white); border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .18s, box-shadow .18s; cursor: pointer; }
.pcard:hover { border-color: rgba(0,104,255,.3); box-shadow: 0 6px 20px rgba(0,104,255,.08); }
.pcard.active-card { border-color: var(--blue); }
.pc-cover { height: 64px; position: relative; flex-shrink: 0; }
.pc-av { position: absolute; bottom: -20px; left: 1rem; width: 44px; height: 44px; border-radius: 50%; border: 2.5px solid var(--white); display: flex; align-items: center; justify-content: center; font-family: 'DM Serif Display', serif; font-size: 1rem; color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.pc-body { padding: .85rem .9rem .9rem 1rem; margin-top: .65rem; }
.pc-name { font-size: .88rem; font-weight: 700; margin-bottom: 1px; letter-spacing: -.01em; }
.pc-role { font-size: .72rem; color: var(--mid); margin-bottom: .5rem; }
.pc-meta { display: flex; align-items: center; justify-content: space-between; }
.pc-plan { display: inline-flex; align-items: center; gap: .3rem; font-size: .65rem; font-weight: 700; border-radius: 100px; padding: .18rem .6rem; }
.pc-stats { font-size: .68rem; color: var(--mid); }
.pc-actions { display: flex; gap: .4rem; padding: .65rem .85rem; border-top: 1px solid var(--line); background: var(--off); }
.pca { flex: 1; text-align: center; font-family: 'Bricolage Grotesque', sans-serif; font-size: .68rem; font-weight: 600; color: var(--mid); background: none; border: none; cursor: pointer; padding: .3rem .2rem; border-radius: 6px; transition: all .15s; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: .3rem; min-width: 0; }
.pca svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.pca:hover { background: var(--line); color: var(--ink); }
.pca.primary { color: var(--blue); }
.pca.primary:hover { background: var(--blue-bg); }
.pcard-add { background: transparent; border: 1.5px dashed var(--line); border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; padding: 1.75rem 1rem; cursor: pointer; transition: border-color .18s, background .18s; min-height: 160px; }
.pcard-add:hover { border-color: rgba(0,104,255,.4); background: rgba(0,104,255,.03); }
.pcard-add-ico { width: 36px; height: 36px; border-radius: 50%; background: var(--blue-bg); display: flex; align-items: center; justify-content: center; }
.pcard-add-ico svg { width: 16px; height: 16px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; }
.pcard-add span { font-size: .78rem; font-weight: 600; color: var(--mid); }

/* Plan pilleri */
.plan-free { background: var(--off); border: 1px solid var(--line); color: var(--mid); }
.plan-pro  { background: var(--blue-bg); border: 1px solid rgba(0,104,255,.2); color: var(--blue); }

/* --- Abonelik satırları ------------------------------------ */
.plan-row { background: var(--white); border: 1.5px solid var(--line); border-radius: 12px; padding: .95rem 1.1rem; display: flex; align-items: center; gap: 1rem; transition: border-color .15s; margin-bottom: .6rem; }
.plan-row:hover { border-color: rgba(0,104,255,.2); }
.plan-row-ico { width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.plan-row-ico svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.plan-row-info { flex: 1; min-width: 0; }
.plan-row-name { font-size: .88rem; font-weight: 700; }
.plan-row-desc { font-size: .72rem; color: var(--mid); margin-top: 1px; }
.plan-row-meta { display: flex; align-items: center; gap: .5rem; margin-top: .35rem; flex-wrap: wrap; }
.plan-tag { display: inline-flex; align-items: center; gap: .3rem; font-size: .65rem; font-weight: 700; border-radius: 100px; padding: .18rem .6rem; }
.plan-row-price { text-align: right; flex-shrink: 0; }
.prp-val { font-family: 'DM Serif Display', serif; font-size: 1.3rem; color: var(--ink); line-height: 1; }
.prp-period { font-size: .65rem; color: var(--mid); }

/* --- Modal ------------------------------------------------- */
.modal-bg { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 200; backdrop-filter: blur(4px); align-items: center; justify-content: center; padding: 1rem; }
.modal-bg.on { display: flex; }
.modal { background: var(--white); border-radius: 20px; width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,.2); animation: mIn .22s ease; }
@keyframes mIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.25rem .9rem; border-bottom: 1px solid var(--line); }
.modal-title { font-size: 1rem; font-weight: 700; letter-spacing: -.01em; }
.modal-close { width: 30px; height: 30px; border-radius: 7px; display: flex; align-items: center; justify-content: center; background: var(--off); border: none; cursor: pointer; transition: background .15s; }
.modal-close:hover { background: var(--line); }
.modal-close svg { width: 13px; height: 13px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; }
.modal-body { padding: 1.1rem 1.25rem 1.25rem; }
.modal-sec-lbl { font-size: .72rem; font-weight: 700; color: var(--ink2); margin-bottom: .5rem; letter-spacing: .02em; }
.modal-plan-opts { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.25rem; }
.mpo { display: flex; align-items: center; gap: .9rem; border: 1.5px solid var(--line); border-radius: 12px; padding: .9rem 1rem; cursor: pointer; transition: all .15s; position: relative; }
.mpo:hover { border-color: rgba(0,104,255,.3); }
.mpo.sel { border-color: var(--blue); background: rgba(0,104,255,.03); }
.mpo-radio { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line); flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: all .15s; }
.mpo.sel .mpo-radio { background: var(--blue); border-color: var(--blue); }
.mpo.sel .mpo-radio::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.mpo-info { flex: 1; }
.mpo-name { font-size: .88rem; font-weight: 700; }
.mpo-desc { font-size: .73rem; color: var(--mid); margin-top: 2px; line-height: 1.4; }
.mpo-price { font-size: .9rem; font-weight: 700; color: var(--ink); }
.mpo.sel .mpo-price { color: var(--blue); }
.mpo-badge { position: absolute; top: -9px; right: .9rem; background: var(--blue); color: #fff; font-size: .58rem; font-weight: 700; border-radius: 100px; padding: .14rem .55rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.modal-fg { margin-bottom: .85rem; }
.modal-fg label { display: block; font-size: .75rem; font-weight: 600; color: var(--ink2); margin-bottom: .3rem; }
.modal-fg input, .modal-fg select { width: 100%; background: var(--off); border: 1.5px solid var(--line); border-radius: 9px; padding: .7rem .9rem; font-family: 'Bricolage Grotesque', sans-serif; font-size: .85rem; color: var(--ink); outline: none; transition: border-color .15s; -webkit-appearance: none; }
.modal-fg input:focus, .modal-fg select:focus { border-color: var(--blue); background: var(--white); }
.modal-fg input::placeholder { color: rgba(122,120,114,.4); }
.btn-modal-submit { width: 100%; padding: .88rem; background: var(--blue); color: #fff; font-family: 'Bricolage Grotesque', sans-serif; font-size: .9rem; font-weight: 600; border: none; border-radius: 10px; cursor: pointer; transition: background .15s; }
.btn-modal-submit:hover { background: var(--bd); }

/* Slug satırı (modal içi) */
.slug-row { display: flex; align-items: center; background: var(--off); border: 1.5px solid var(--line); border-radius: 9px; overflow: hidden; transition: border-color .15s; position: relative; }
.slug-row:focus-within { border-color: var(--blue); }
.slug-prefix { padding: .7rem .85rem; font-size: .78rem; color: var(--mid); border-right: 1px solid var(--line); white-space: nowrap; background: rgba(229,227,223,.6); font-weight: 500; }
.slug-row input { flex: 1; padding: .7rem 2rem .7rem .75rem; border: none; background: transparent; font-family: 'Bricolage Grotesque', sans-serif; font-size: .85rem; color: var(--ink); outline: none; }
.slug-row input::placeholder { color: rgba(122,120,114,.4); }

/* --- Grafik ---------------------------------------------- */
.chart-bars { display: flex; align-items: flex-end; gap: 4px; height: 72px; }
.cb-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; }
.cb-bar { width: 100%; border-radius: 4px 4px 0 0; background: var(--blue); transition: opacity .2s; }
.chart-lbl-row { display: flex; justify-content: space-between; margin-top: .3rem; }
.chart-lbl-row span { font-size: .58rem; color: var(--mid); text-align: center; flex: 1; }

/* --- Profile edit — form helpers ------------------------- */
.fg { margin-bottom: .85rem; }
.fg label { display: block; font-size: .75rem; font-weight: 600; color: var(--ink2); margin-bottom: .3rem; }
.fg input, .fg select, .fg textarea { width: 100%; background: var(--off); border: 1.5px solid var(--line); border-radius: 9px; padding: .7rem .9rem; font-family: 'Bricolage Grotesque', sans-serif; font-size: .85rem; color: var(--ink); outline: none; transition: border-color .15s; -webkit-appearance: none; }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--blue); background: var(--white); }
.fg input::placeholder, .fg textarea::placeholder { color: rgba(122,120,114,.4); }
.fg textarea { resize: none; height: 80px; line-height: 1.55; }
.hint { font-size: .7rem; color: var(--mid); margin-top: .3rem; display: block; }

/* save bar */
.save-bar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: 1rem 1.1rem; border-top: 1px solid var(--line); background: var(--white); margin: 0 -1.1rem -1.1rem; position: sticky; bottom: 0; flex-wrap: wrap; z-index: 10; }
.btn-save { background: var(--blue); color: #fff; font-family: 'Bricolage Grotesque', sans-serif; font-size: .85rem; font-weight: 600; border: none; border-radius: 9px; padding: .7rem 1.5rem; cursor: pointer; transition: background .15s; }
.btn-save:hover { background: var(--bd); }
.btn-discard { font-size: .8rem; font-weight: 500; color: var(--mid); background: none; border: none; cursor: pointer; text-decoration: none; }

/* profile detail tabs */
.detail-hcard { background: var(--white); border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; margin-bottom: 1rem; }
.dhc-cover { height: 0; padding-bottom: 20%; min-height: 80px; max-height: 160px; position: relative; overflow: hidden; background-size: cover; background-position: center; }
.dhc-bottom { padding: 1rem 1.25rem 1.25rem; display: flex; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.dhc-av { width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0; border: 3px solid var(--white); margin-top: -32px; display: flex; align-items: center; justify-content: center; font-family: 'DM Serif Display', serif; font-size: 1.4rem; color: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.15); cursor: pointer; overflow: hidden; position: relative; }
.dhc-av-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.35); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .15s; }
.dhc-av:hover .dhc-av-overlay { opacity: 1; }
.dhc-av-overlay svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; }
.dhc-info { flex: 1; min-width: 0; }
.dhc-name { font-size: 1.1rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: .2rem; }
.dhc-role { font-size: .78rem; color: var(--mid); margin-bottom: .35rem; }
.dhc-url { font-size: .72rem; color: var(--blue); font-weight: 600; display: flex; align-items: center; gap: .3rem; }
.dhc-url svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.dhc-actions { display: flex; gap: .5rem; flex-wrap: wrap; align-items: flex-end; }

.detail-tabs { display: flex; background: var(--white); border: 1.5px solid var(--line); border-radius: 11px; padding: 3px; gap: 2px; margin-bottom: 1rem; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.detail-tabs::-webkit-scrollbar { display: none; }
.dtab { flex: 1; text-align: center; padding: .55rem .6rem; border-radius: 8px; font-family: 'Bricolage Grotesque', sans-serif; font-size: .78rem; font-weight: 500; color: var(--mid); background: none; border: none; cursor: pointer; transition: all .15s; white-space: nowrap; }
.dtab.on { background: var(--ink); color: #fff; font-weight: 600; }
.dtpanel { display: none; }
.dtpanel.on { display: block; }
.detail-body { padding: 1.25rem; }

/* slug input row */
.slug-pre { padding: .72rem .85rem; font-size: .78rem; color: var(--mid); border-right: 1px solid var(--line); white-space: nowrap; background: rgba(229,227,223,.6); font-weight: 500; }
.slug-input { flex: 1; padding: .72rem .75rem; border: none; background: transparent; font-family: 'Bricolage Grotesque', sans-serif; font-size: .85rem; color: var(--ink); outline: none; }

/* link editor */
.link-editor { display: flex; flex-direction: column; gap: .4rem; }
.le-item { display: flex; align-items: center; gap: .6rem; background: var(--off); border: 1.5px solid var(--line); border-radius: 9px; padding: .6rem .75rem; transition: border-color .15s; }
.le-item:hover { border-color: rgba(0,104,255,.2); }
.le-drag { cursor: grab; color: var(--line); flex-shrink: 0; }
.le-drag svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.le-ico i { font-size: 14px; }
.le-label { font-size: .8rem; font-weight: 600; }
.le-url { font-size: .68rem; color: var(--mid); }
.le-del { width: 28px; height: 28px; border-radius: 7px; display: flex; align-items: center; justify-content: center; border: none; background: transparent; cursor: pointer; color: var(--mid); transition: all .15s; flex-shrink: 0; }
.le-del:hover { background: rgba(229,62,62,.08); color: var(--red); }
.le-del svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

/* gallery */
.gal-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: .5rem; margin-bottom: .75rem; }
.gal-item { aspect-ratio: 1; border-radius: 9px; overflow: hidden; position: relative; cursor: pointer; background: var(--off); border: 1.5px solid var(--line); }
.gal-over { position: absolute; inset: 0; background: rgba(0,0,0,0); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.gal-over svg { opacity: 0; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; transition: opacity .15s; width: 22px; height: 22px; }
.gal-item:hover .gal-over { background: rgba(0,0,0,.3); }
.gal-item:hover .gal-over svg { opacity: 1; }
.gal-add { aspect-ratio: 1; border-radius: 9px; border: 1.5px dashed var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; cursor: pointer; background: transparent; transition: all .15s; }
.gal-add:hover { border-color: rgba(0,104,255,.4); background: rgba(0,104,255,.03); }
.gal-add svg { width: 20px; height: 20px; stroke: var(--mid); fill: none; stroke-width: 1.8; stroke-linecap: round; }

/* services */
.srv-list { display: flex; flex-direction: column; gap: .45rem; }
.srv-item { display: flex; align-items: center; gap: .75rem; background: var(--off); border: 1.5px solid var(--line); border-radius: 9px; padding: .7rem .85rem; transition: border-color .15s; }
.srv-item:hover { border-color: rgba(0,104,255,.2); }
.srv-ico { width: 34px; height: 34px; border-radius: 8px; background: rgba(0,104,255,.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.srv-ico svg { width: 16px; height: 16px; stroke: var(--blue); fill: none; stroke-width: 1.8; stroke-linecap: round; }
.srv-info { flex: 1; min-width: 0; }
.srv-name { font-size: .82rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.srv-desc { font-size: .68rem; color: var(--mid); }
.srv-price { font-size: .82rem; font-weight: 700; color: var(--blue); white-space: nowrap; }
.srv-del { width: 28px; height: 28px; border-radius: 7px; display: flex; align-items: center; justify-content: center; border: none; background: transparent; cursor: pointer; color: var(--mid); transition: all .15s; flex-shrink: 0; }
.srv-del:hover { background: rgba(229,62,62,.08); color: var(--red); }
.srv-del svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

/* visit table */
.vtable { width: 100%; border-collapse: collapse; font-size: .76rem; }
.vtable th { text-align: left; font-size: .65rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--mid); padding: .8rem 1.1rem .65rem; border-bottom: 1px solid var(--line); }
.vtable td { padding: .6rem .4rem; border-bottom: 1px solid var(--off); color: var(--ink2); vertical-align: middle; }
.vtable tr:last-child td { border: none; }
.vt-src { display: inline-flex; align-items: center; gap: .25rem; font-size: .68rem; font-weight: 600; border-radius: 5px; padding: .2rem .55rem; }

/* llist */
.llist { display: flex; flex-direction: column; gap: .35rem; }
.llist-item { display: flex; align-items: center; gap: .7rem; padding: .55rem .7rem; background: var(--off); border-radius: 8px; }
.lli-ico { width: 26px; height: 26px; border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lli-name { font-size: .76rem; font-weight: 600; flex: 1; }
.lli-bar { width: 70px; height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; }
.lli-fill { height: 100%; background: var(--blue); border-radius: 2px; }
.lli-cnt { font-size: .7rem; font-weight: 600; color: var(--mid); min-width: 26px; text-align: right; }

/* section labels */
.sec-lbl { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mid); margin-bottom: .65rem; display: flex; align-items: center; gap: .5rem; }
.sec-lbl::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* dc-action */
.dc-action { font-size: .73rem; font-weight: 600; color: var(--blue); background: none; border: none; cursor: pointer; padding: 0; }
.dc-action:hover { text-decoration: underline; }

/* list header */
.list-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.25rem .75rem; flex-wrap: wrap; }
.lh-title { font-size: 1.1rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: .15rem; }
.lh-sub { font-size: .78rem; color: var(--mid); }
.lh-actions { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }

/* search wrap */
.search-wrap { flex: 1; min-width: 160px; max-width: 320px; display: flex; align-items: center; gap: .5rem; background: var(--white); border: 1.5px solid var(--line); border-radius: 9px; padding: .55rem .85rem; transition: border-color .15s; }
.search-wrap:focus-within { border-color: var(--blue); }
.search-wrap svg { width: 14px; height: 14px; stroke: var(--mid); fill: none; stroke-width: 1.8; stroke-linecap: round; flex-shrink: 0; }
.search-wrap input { flex: 1; border: none; background: transparent; font-family: 'Bricolage Grotesque', sans-serif; font-size: .82rem; color: var(--ink); outline: none; }
.search-wrap input::placeholder { color: rgba(122,120,114,.4); }

/* filter bar */
.filter-bar { display: flex; align-items: center; gap: .5rem; padding: 0 1.25rem .85rem; flex-wrap: wrap; }
.filter-btn { display: flex; align-items: center; gap: .35rem; background: var(--white); border: 1.5px solid var(--line); border-radius: 8px; padding: .5rem .85rem; font-family: 'Bricolage Grotesque', sans-serif; font-size: .75rem; font-weight: 500; color: var(--mid); cursor: pointer; transition: all .15s; white-space: nowrap; }
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.active { border-color: var(--blue); color: var(--blue); background: var(--blue-bg); }

/* profiles wrap */
.profiles-wrap { padding: 0 1.25rem 1.25rem; }

/* le-toggle */
.le-toggle { width: 32px; height: 18px; background: var(--green); border-radius: 9px; position: relative; cursor: pointer; flex-shrink: 0; border: none; transition: background .15s; }
.le-toggle.off { background: var(--line); }
.le-toggle::after { content: ''; position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; background: #fff; border-radius: 50%; transition: right .15s; }
.le-toggle.off::after { right: 16px; }

/* toggle-switch (team/dashboard service inquiry) */
.toggle-switch { width: 36px; height: 20px; border-radius: 10px; background: var(--green); position: relative; cursor: pointer; flex-shrink: 0; border: none; transition: background .2s; }
.toggle-switch::after { content: ''; position: absolute; top: 2px; right: 2px; width: 16px; height: 16px; background: #fff; border-radius: 50%; transition: right .2s; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.toggle-switch.off { background: var(--line); }
.toggle-switch.off::after { right: 18px; }

/* pca-ico (add card icon) */
.pca-ico { width: 38px; height: 38px; border-radius: 50%; background: var(--blue-bg); display: flex; align-items: center; justify-content: center; }
.pca-ico svg { width: 16px; height: 16px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; }
.pcard.is-active { border-color: var(--blue); }

/* mini stats chart */
.mini-chart { display: flex; align-items: flex-end; gap: 3px; height: 56px; }
.mc-bar { flex: 1; border-radius: 3px 3px 0 0; background: var(--blue); opacity: .25; transition: opacity .2s; }
.mc-bar.hi { opacity: 1; }
.mc-bar:hover { opacity: 1; }
.mc-labels { display: flex; justify-content: space-between; margin-top: .25rem; font-size: .58rem; color: var(--mid); }

/* srv-add */
.srv-add { display: flex; align-items: center; justify-content: center; gap: .5rem; border: 1.5px dashed var(--line); border-radius: 9px; padding: .65rem; font-size: .78rem; font-weight: 600; color: var(--mid); cursor: pointer; background: transparent; transition: all .15s; width: 100%; font-family: 'Bricolage Grotesque', sans-serif; }
.srv-add:hover { border-color: rgba(0,104,255,.4); color: var(--blue); }
.srv-add svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

/* le-add */
.le-add { display: flex; align-items: center; justify-content: center; gap: .5rem; border: 1.5px dashed var(--line); border-radius: 9px; padding: .65rem; font-size: .78rem; font-weight: 600; color: var(--mid); cursor: pointer; background: transparent; transition: all .15s; width: 100%; font-family: 'Bricolage Grotesque', sans-serif; }
.le-add:hover { border-color: rgba(0,104,255,.4); color: var(--blue); background: rgba(0,104,255,.03); }
.le-add svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

/* flash message */
.flash { padding: .75rem 1.25rem; border-radius: 9px; font-size: .82rem; }
.flash-success { background: var(--green-bg); color: var(--green); border: 1.5px solid rgba(0,196,140,.2); }
.flash-error   { background: #FEF2F2;         color: var(--red);   border: 1.5px solid rgba(229,62,62,.2); }
.flash-bar { padding: .75rem 1.25rem; border-radius: 9px; font-size: .82rem; margin-bottom: .75rem; }
.flash-bar.ok  { background: var(--green-bg); color: var(--green); border: 1.5px solid rgba(0,196,140,.2); }
.flash-bar.err { background: #FEF2F2;         color: var(--red);   border: 1.5px solid rgba(229,62,62,.2); }

/* plan-row — mobile */
@media (max-width: 768px) {
  .plan-row { flex-wrap: wrap; gap: .65rem; padding: .85rem; }
  .plan-row-ico { display: none; }
  .plan-row-actions { flex-direction: row; width: 100%; border-top: 1px solid var(--line); padding-top: .55rem; }
  .pra { flex: 1; text-align: center; }
  .save-bar { flex-direction: column; align-items: flex-start; }
  .dhc-actions { width: 100%; }
  .gal-grid { grid-template-columns: repeat(3,1fr); }
}

/* --- Ekip rozeti (sidebar) ------------------------------- */
.sb-team-badge { display: inline-flex; align-items: center; gap: .3rem; font-size: .65rem; font-weight: 600; color: var(--blue); background: rgba(0,104,255,.18); border-radius: 100px; padding: .15rem .5rem; margin-top: .2rem; }

/* --- Toast ----------------------------------------------- */
.toast { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%) translateY(60px); background: var(--ink); color: #fff; padding: .58rem 1.3rem; border-radius: 100px; font-size: .8rem; font-weight: 500; opacity: 0; transition: all .25s; pointer-events: none; white-space: nowrap; z-index: 999; }
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* --- Dashboard responsive --------------------------------- */
@media (max-width: 900px) {
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .g13 { grid-template-columns: 1fr; }
  .g2  { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  html.dash, body.dash { overflow: auto; }
  .shell { flex-direction: column; height: auto; overflow: visible; }
  .sidebar { position: fixed; top: 0; left: 0; bottom: 0; transform: translateX(-100%); width: min(280px,85vw); }
  .sidebar.open { transform: translateX(0); }
  .sb-close { display: flex; }
  .main { overflow: visible; min-height: 100vh; }
  .body { flex: none; }
  .ham { display: flex; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .row2 { grid-template-columns: 1fr; }
  .modal-bg { align-items: flex-end; padding: 0; }
  .modal { border-radius: 20px 20px 0 0; max-height: 88vh; }
  input, select, textarea { font-size: 16px !important; }
  .pca .pca-txt { display: none; }
  .pca { padding: .5rem; min-height: 34px; }
  .pca svg { width: 15px; height: 15px; }
  .profiles-grid { grid-template-columns: repeat(auto-fill,minmax(150px,1fr)); }
}
@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
  .sc-val { font-size: 1.3rem; }
  .profiles-grid { grid-template-columns: 1fr 1fr; }
  .btn-add-plan .btn-add-txt { display: none; }
  .llist-item { flex-wrap: wrap; gap: .35rem; padding: .5rem .55rem; }
  .lli-bar { width: 100%; order: 10; }
  .lli-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .lli-cnt { margin-left: auto; }
}
@media (max-width: 360px) {
  .profiles-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   NFC KART SİPARİŞ SAYFASI
   ============================================================ */

/* ── Layout ── */
.nfc-layout { display: grid; grid-template-columns: 1fr 340px; gap: 1.1rem; align-items: start; }
.nfc-summary { position: sticky; top: 1.25rem; }

/* ── Step göstergesi ── */
.nfc-steps { display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; max-width: 380px; margin-left: auto; margin-right: auto; }
.nfc-si    { display: flex; align-items: center; gap: .5rem; flex: 1; }
.nfc-si:last-child { flex: none; }
.nfc-dot   { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 700; color: var(--mid); flex-shrink: 0; transition: all .2s; background: var(--white); }
.nfc-dot.on   { background: var(--blue); border-color: var(--blue); color: #fff; }
.nfc-dot.done { background: var(--green); border-color: var(--green); color: #fff; }
.nfc-dot.done svg { width: 11px; height: 11px; stroke: #fff; fill: none; stroke-width: 2.5; stroke-linecap: round; }
.nfc-sl    { font-size: .72rem; font-weight: 600; color: var(--mid); white-space: nowrap; }
.nfc-si.on   .nfc-sl { color: var(--ink); font-weight: 700; }
.nfc-si.done .nfc-sl { color: var(--green); }
.nfc-sline { flex: 1; height: 1.5px; background: var(--line); margin: 0 .5rem; transition: background .3s; }
.nfc-sline.done { background: var(--green); }

/* ── Kart tipi seçici ── */
.nfc-ct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: .75rem; }
.nfc-ct { border: 2px solid var(--line); border-radius: 14px; padding: 1rem; cursor: pointer; transition: all .2s; position: relative; background: var(--white); }
.nfc-ct:hover { border-color: rgba(0,104,255,.3); }
.nfc-ct.sel   { border-color: var(--blue); background: rgba(0,104,255,.02); }
.nfc-ct-popular { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; font-size: .6rem; font-weight: 700; border-radius: 100px; padding: .2rem .7rem; white-space: nowrap; }
.nfc-ct-check { position: absolute; top: .65rem; right: .65rem; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; background: var(--white); transition: all .2s; }
.nfc-ct.sel .nfc-ct-check { background: var(--blue); border-color: var(--blue); }
.nfc-ct-check svg { width: 10px; height: 10px; stroke: #fff; fill: none; stroke-width: 2.5; stroke-linecap: round; opacity: 0; }
.nfc-ct.sel .nfc-ct-check svg { opacity: 1; }
.nfc-ct-name  { font-size: .85rem; font-weight: 700; margin-bottom: .2rem; }
.nfc-ct-sub   { font-size: .72rem; color: var(--mid); line-height: 1.45; }
.nfc-ct-price { font-family: 'DM Serif Display', serif; font-size: 1.25rem; color: var(--ink); margin-top: .5rem; }
.nfc-ct.sel .nfc-ct-price { color: var(--blue); }

/* ── Kart görseli (yatay) ── */
.nfc-visual-h {
  width: 100%; aspect-ratio: 1.58; border-radius: 9px; margin-bottom: .85rem;
  background: linear-gradient(135deg, #0d1b4b 0%, #1a3a8f 100%);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: .8rem; position: relative; overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.nfc-ct:hover .nfc-visual-h { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.18); }

/* ── Kart görseli (dikey) ── */
.nfc-visual-v {
  width: 110px; flex-shrink: 0; aspect-ratio: .63; border-radius: 8px;
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: .65rem .5rem; position: relative; overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.nfc-ct:hover .nfc-visual-v { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.18); }

/* ── Kart görsel elemanları ── */
.nfcv-top   { display: flex; justify-content: space-between; align-items: flex-start; }
.nfcv-logo  { font-size: .62rem; font-weight: 700; letter-spacing: .1em; color: rgba(255,255,255,.35); }
.nfcv-chip  { width: 20px; height: 14px; border-radius: 3px; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.1); }
.nfcv-name  { font-family: 'DM Serif Display', serif; font-size: .9rem; color: #fff; letter-spacing: -.01em; }
.nfcv-role  { font-size: .52rem; color: rgba(255,255,255,.45); letter-spacing: .06em; text-transform: uppercase; }
.nfcv-bottom { display: flex; justify-content: space-between; align-items: flex-end; }
.nfcv-nfc   { width: 20px; height: 20px; border: 1.5px solid rgba(255,255,255,.3); border-radius: 50%; position: relative; display: flex; align-items: center; justify-content: center; }
.nfcv-nfc::before { content: ''; position: absolute; width: 12px; height: 12px; border: 1.5px solid rgba(255,255,255,.18); border-radius: 50%; }
.nfcv-nfc::after  { content: ''; width: 4px; height: 4px; background: rgba(255,255,255,.3); border-radius: 50%; }
.nfcv-url   { font-size: .46rem; color: rgba(255,255,255,.28); font-weight: 500; }

/* ── NFC avantajları ── */
.nfc-feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.nfc-feat      { display: flex; gap: .65rem; align-items: flex-start; }
.nfc-feat-ico  { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nfc-feat-ico svg { width: 15px; height: 15px; }
.nfc-feat-t    { font-size: .78rem; font-weight: 700; margin-bottom: .15rem; }
.nfc-feat-s    { font-size: .7rem; color: var(--mid); line-height: 1.45; }

/* ── Profil atama listesi ── */
.nfc-pa-list  { display: flex; flex-direction: column; gap: .45rem; }
.nfc-pa-item  { display: flex; align-items: center; gap: .85rem; border: 1.5px solid var(--line); border-radius: 11px; padding: .75rem .9rem; cursor: pointer; transition: all .15s; background: var(--white); }
.nfc-pa-item:hover { border-color: rgba(0,104,255,.3); }
.nfc-pa-item.sel   { border-color: var(--blue); background: rgba(0,104,255,.03); }
.nfc-pa-av    { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: 'DM Serif Display', serif; font-size: .8rem; color: #fff; }
.nfc-pa-info  { flex: 1; min-width: 0; }
.nfc-pa-name  { font-size: .85rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nfc-pa-url   { font-size: .7rem; color: var(--mid); }
.nfc-pa-check { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--white); transition: all .15s; }
.nfc-pa-item.sel .nfc-pa-check { background: var(--blue); border-color: var(--blue); }
.nfc-pa-check svg { width: 10px; height: 10px; stroke: #fff; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .15s; }
.nfc-pa-item.sel .nfc-pa-check svg { opacity: 1; }
.nfc-pa-radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); flex-shrink: 0; background: var(--white); transition: all .15s; position: relative; }
.nfc-pa-item.sel .nfc-pa-radio { border-color: var(--blue); }
.nfc-pa-item.sel .nfc-pa-radio::after { content: ''; position: absolute; top: 3px; left: 3px; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }

/* ── Baskı önizleme ── */
.nfc-pp      { background: var(--ink); border-radius: 12px; padding: 1.1rem; display: flex; gap: 1rem; align-items: center; margin-bottom: .9rem; }
.nfc-pp-card { width: 110px; height: 70px; border-radius: 7px; flex-shrink: 0; background: linear-gradient(135deg, #0d1b4b, #1a3a8f); display: flex; flex-direction: column; justify-content: space-between; padding: .65rem; overflow: hidden; }
.nfc-pp-t    { font-size: .8rem; font-weight: 700; color: #fff; margin-bottom: .2rem; }
.nfc-pp-s    { font-size: .7rem; color: rgba(255,255,255,.45); line-height: 1.45; }
.nfc-print-toggle { display: flex; align-items: center; gap: .75rem; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 9px; padding: .7rem .9rem; cursor: pointer; transition: border-color .2s; }
.nfc-print-toggle:hover { border-color: rgba(0,104,255,.4); }
.nfc-toggle-track { width: 36px; height: 20px; background: var(--blue); border-radius: 10px; position: relative; flex-shrink: 0; transition: background .2s; }
.nfc-toggle-track.off { background: rgba(255,255,255,.15); }
.nfc-toggle-thumb { position: absolute; top: 2px; right: 2px; width: 16px; height: 16px; background: #fff; border-radius: 50%; transition: right .2s; }
.nfc-toggle-track.off .nfc-toggle-thumb { right: 18px; }
.nfc-toggle-lbl { font-size: .78rem; color: rgba(255,255,255,.65); }
.nfc-toggle-lbl strong { color: #fff; }

/* ── Kargo seçici ── */
.nfc-ship-opt   { display: flex; align-items: center; gap: .85rem; border: 1.5px solid var(--line); border-radius: 11px; padding: .75rem .9rem; cursor: pointer; transition: all .15s; background: var(--white); }
.nfc-ship-opt:hover { border-color: rgba(0,104,255,.3); }
.nfc-ship-opt.sel   { border-color: var(--blue); background: rgba(0,104,255,.03); }
.nfc-ship-ico   { width: 36px; height: 36px; border-radius: 50%; background: var(--off); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nfc-ship-ico svg { width: 18px; height: 18px; }
.nfc-ship-info  { flex: 1; min-width: 0; }
.nfc-ship-name  { font-size: .85rem; font-weight: 700; }
.nfc-ship-sub   { font-size: .7rem; color: var(--mid); }
.nfc-ship-price { font-size: .82rem; font-weight: 700; flex-shrink: 0; }
.nfc-ship-check { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--white); transition: all .15s; }
.nfc-ship-opt.sel .nfc-ship-check { background: var(--blue); border-color: var(--blue); }
.nfc-ship-check svg { width: 10px; height: 10px; stroke: #fff; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .15s; }
.nfc-ship-opt.sel .nfc-ship-check svg { opacity: 1; }

/* ── Adım 4: onay ── */
.nfc-sum-card-wrap { display: flex; gap: .9rem; align-items: flex-start; background: var(--off); border-radius: 10px; padding: .85rem; margin-bottom: .25rem; }
.nfc-sum-detail-row { display: flex; gap: .4rem; align-items: baseline; font-size: .75rem; margin-bottom: .2rem; }
.nfc-sum-detail-lbl { color: var(--mid); font-size: .7rem; white-space: nowrap; flex-shrink: 0; }
.nfc-sum-detail-lbl::after { content: ':'; }
.nfc-sum-detail-val { color: var(--ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nfc-confirm-row  { display: flex; gap: .75rem; align-items: center; background: var(--off); border-radius: 10px; padding: .75rem; }
.nfc-confirm-card {
  width: 80px; height: 50px; border-radius: 6px;
  background: linear-gradient(135deg, #0d1b4b, #1a3a8f); flex-shrink: 0;
  display: flex; flex-direction: column; justify-content: space-between; padding: .45rem .5rem;
  overflow: hidden;
}
.nfc-confirm-addr { background: var(--off); border-radius: 10px; padding: .75rem; }

/* ── Sipariş özeti (sağ panel) ── */
.nfc-os-item  { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; padding: .65rem 0; border-bottom: 1px solid var(--off); }
.nfc-os-item:last-child { border: none; }
.nfc-os-info  { flex: 1; min-width: 0; }
.nfc-os-name  { font-size: .82rem; font-weight: 700; }
.nfc-os-sub   { font-size: .7rem; color: var(--mid); margin-top: 1px; }
.nfc-os-price { font-size: .82rem; font-weight: 700; white-space: nowrap; flex-shrink: 0; }
.nfc-os-div   { height: 1px; background: var(--line); margin: .5rem 0; }
.nfc-os-total-row { display: flex; justify-content: space-between; align-items: center; padding: .4rem 0; font-size: .82rem; }
.nfc-os-lbl   { color: var(--mid); }

/* ── Sipariş butonu ── */
.btn-order-nfc {
  width: 100%; padding: .95rem;
  background: var(--blue); color: #fff;
  font-family: 'Bricolage Grotesque', sans-serif; font-size: .92rem; font-weight: 700;
  border: none; border-radius: 11px; cursor: pointer; transition: background .15s;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  box-shadow: 0 4px 14px rgba(0,104,255,.3);
}
.btn-order-nfc:hover { background: var(--blue-dark); }
.btn-order-nfc svg   { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.nfc-secure { display: flex; align-items: center; justify-content: center; gap: .4rem; font-size: .7rem; color: var(--mid); margin-top: .65rem; }
.nfc-secure svg { width: 12px; height: 12px; }

/* ── Güven satırları ── */
.nfc-trust-row { display: flex; align-items: center; gap: .65rem; }
.nfc-trust-ico { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nfc-trust-ico svg { width: 15px; height: 15px; }
.nfc-trust-t   { font-size: .78rem; font-weight: 700; }
.nfc-trust-s   { font-size: .7rem; color: var(--mid); }

/* ── Butonlar ── */
.btn-nfc-next { background: var(--blue); color: #fff; font-family: 'Bricolage Grotesque', sans-serif; font-size: .88rem; font-weight: 600; border: none; border-radius: 10px; padding: .8rem 1.8rem; cursor: pointer; display: inline-flex; align-items: center; gap: .5rem; transition: background .15s; }
.btn-nfc-next:hover { background: var(--blue-dark); }
.btn-nfc-next svg { width: 15px; height: 15px; }
.btn-nfc-back { background: var(--off); color: var(--ink2); font-family: 'Bricolage Grotesque', sans-serif; font-size: .85rem; font-weight: 500; border: 1.5px solid var(--line); border-radius: 10px; padding: .75rem 1.5rem; cursor: pointer; transition: all .15s; }
.btn-nfc-back:hover { border-color: var(--ink2); }

/* ── NFC: Step indicator ── */
.nfc-steps { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 1.5rem; max-width: 420px; margin-left: auto; margin-right: auto; }

/* ── NFC: Card preview ── */
.nfc-card-h-real { width: 220px; height: 139px; padding: .85rem; }

/* ── NFC: Responsive ── */
@media (max-width: 900px) {
  #nfc-step1 > div:first-child { grid-template-columns: 1fr !important; }
}
@media (max-width: 640px) {
  .nfc-card-h-real { width: 170px; height: 107px; padding: .7rem; }
}

/* ── FAQ ── */
.faq-list   { display: flex; flex-direction: column; gap: .4rem; }
.faq-item   { border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; transition: border-color .15s; }
.faq-item:hover { border-color: rgba(0,104,255,.2); }
.faq-q      { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .8rem 1rem; font-size: .82rem; font-weight: 600; cursor: pointer; background: var(--white); user-select: none; }
.faq-icon   { width: 18px; height: 18px; border-radius: 50%; background: var(--off); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .15s; }
.faq-icon svg { width: 10px; height: 10px; stroke: var(--mid); fill: none; stroke-width: 2; stroke-linecap: round; transition: transform .2s; }
.faq-item.open .faq-icon svg { transform: rotate(45deg); }
.faq-item.open .faq-icon     { background: var(--tag-bg); }
.faq-item.open .faq-icon svg { stroke: var(--blue); }
.faq-a      { display: none; padding: .1rem 1rem .8rem; font-size: .8rem; color: var(--mid); line-height: 1.7; background: var(--white); }
.faq-item.open .faq-a { display: block; }

/* ── NFC Responsive ── */
@media (max-width: 960px) {
  .nfc-layout  { grid-template-columns: 1fr; }
  .nfc-summary { position: static; }
}
@media (max-width: 600px) {
  .nfc-feat-grid { grid-template-columns: 1fr; }
  .nfc-si .nfc-sl { display: none; }
  .nfc-steps { max-width: 200px; }
}

/* ============================================================
   Admin Panel Stilleri
   ============================================================ */
.admin-shell { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; background: var(--bg); }
.admin-sb { background: var(--ink); width: 220px; position: fixed; top: 0; bottom: 0; left: 0; display: flex; flex-direction: column; z-index: 50; overflow-y: auto; }
.admin-sb-logo { font-size: 1.1rem; font-weight: 800; color: #fff; letter-spacing: -.04em; text-decoration: none; padding: 1.4rem 1.25rem 1rem; display: flex; align-items: center; gap: .5rem; }
.admin-sb-logo span { color: var(--blue); }
.admin-badge { font-size: .52rem; font-weight: 800; background: var(--blue); color: #fff; border-radius: 4px; padding: .1rem .35rem; letter-spacing: .06em; }
.admin-nav { padding: .5rem 0; flex: 1; }
.admin-nav-sec { font-size: .58rem; font-weight: 700; color: rgba(255,255,255,.2); letter-spacing: .12em; text-transform: uppercase; padding: .9rem 1.25rem .35rem; }
.admin-nav a { display: flex; align-items: center; gap: .65rem; padding: .6rem 1.25rem; font-size: .8rem; font-weight: 500; color: rgba(255,255,255,.45); text-decoration: none; transition: all .15s; border-left: 2px solid transparent; }
.admin-nav a:hover { color: rgba(255,255,255,.85); background: rgba(255,255,255,.04); }
.admin-nav a.on { color: #fff; background: rgba(255,255,255,.07); border-left-color: var(--blue); }
.admin-nav a svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.admin-sb-foot { padding: 1rem 1.25rem; border-top: 1px solid rgba(255,255,255,.07); }
.admin-sb-foot a { display: flex; align-items: center; gap: .5rem; font-size: .75rem; color: rgba(255,255,255,.3); text-decoration: none; transition: color .15s; }
.admin-sb-foot a:hover { color: rgba(255,255,255,.6); }
.admin-sb-foot svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; }
.admin-main { margin-left: 220px; min-width: 0; }
.admin-topbar { background: var(--white); border-bottom: 1px solid var(--line); padding: 0 2rem; height: 58px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 10; }
.admin-topbar-title { font-size: .95rem; font-weight: 700; color: var(--ink); }
.admin-topbar-right { display: flex; align-items: center; gap: .75rem; }
.admin-av { width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; font-size: .62rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.admin-content { padding: 2rem; }
.admin-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin-bottom: 2rem; }
.astat { background: var(--white); border: 1.5px solid var(--line); border-radius: 12px; padding: 1.25rem 1.4rem; }
.astat-label { font-size: .72rem; color: var(--mid); margin-bottom: .5rem; }
.astat-val { font-family: 'DM Serif Display', serif; font-size: 2rem; color: var(--ink); line-height: 1; margin-bottom: .25rem; }
.astat-change { font-size: .72rem; }
.astat-change.up   { color: var(--green); }
.astat-change.down { color: #EF4444; }
.admin-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.admin-card { background: var(--white); border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; }
.admin-card-head { padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.admin-card-head h3 { font-size: .85rem; font-weight: 700; }
.admin-card-head a { font-size: .72rem; color: var(--blue); text-decoration: none; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { font-size: .65rem; font-weight: 700; color: var(--mid); text-transform: uppercase; letter-spacing: .06em; padding: .6rem 1.25rem; text-align: left; border-bottom: 1px solid var(--line); }
.admin-table td { font-size: .78rem; color: var(--ink2); padding: .7rem 1.25rem; border-bottom: 1px solid var(--off); }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--off); }
.status-badge { display: inline-flex; align-items: center; gap: .3rem; font-size: .65rem; font-weight: 700; border-radius: 100px; padding: .18rem .6rem; }
.st-pending  { background: #FFF7ED; color: #C2410C; }
.st-paid     { background: var(--green-bg); color: #065F46; }
.st-cancelled{ background: #FEF2F2; color: #B91C1C; }
.st-new      { background: var(--blue-bg); color: var(--blue); }
.st-admin    { background: #F5F3FF; color: var(--purple); }
.st-user     { background: var(--off); color: var(--mid); }
.admin-empty { text-align: center; padding: 2.5rem; color: var(--mid); font-size: .82rem; }
