/* =====================================================================
   vCore — uygulama sayfaları (giriş, kayıt, sipariş, deneme, sözleşmeler,
   wiki, müşteri paneli) için bileşen kitaplığı. Tanıtım sitesiyle aynı dil:
   açık zemin, #1A4BFF vurgu, Geist / Bricolage Grotesque / JetBrains Mono.
   Tailwind yok; sayfalar yalnızca bu sınıfları kullanır.
   ===================================================================== */

:root {
  --ink: #0A1A2F;
  --ink-2: #33445C;
  --mute: #4A5A70;
  --mute-2: #6B7A90;
  --mute-3: #9AA6B6;
  --line: #E3E8EF;
  --line-2: #EEF1F5;
  --bg: #F5F7FA;
  --card: #FFFFFF;
  --brand: #1A4BFF;
  --brand-d: #0B2FB8;
  --brand-50: #EEF2FF;
  --ok: #0E9F6E;
  --ok-50: #E8F7F1;
  --warn: #B54708;
  --warn-50: #FEF4E6;
  --err: #D92D20;
  --err-50: #FDECEA;
  --info: #1A4BFF;
  --info-50: #EEF2FF;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 24px;
  --sh-1: 0 1px 2px rgba(10, 26, 47, .06);
  --sh-2: 0 18px 40px -26px rgba(10, 26, 47, .35);
  --sh-3: 0 40px 80px -40px rgba(10, 26, 47, .45);
  --font: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --disp: 'Bricolage Grotesque', 'Geist', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
}

.vc-app-root { font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.55; min-height: 100vh; overflow-x: clip; -webkit-font-smoothing: antialiased; }
/* Sıfırlamalar :where() ile — özgüllük 0, bileşen sınıflarını (ör. .vc-btn--primary rengi) ezmez */
:where(.vc-app-root) *, :where(.vc-app-root) *::before, :where(.vc-app-root) *::after { box-sizing: border-box; }
:where(.vc-app-root) :where(h1, h2, h3, h4, p) { margin: 0; }
:where(.vc-app-root) img { max-width: 100%; height: auto; }
:where(.vc-app-root) :where(button, input, select, textarea) { font: inherit; color: inherit; }
[data-lucide], .lucide { width: 18px; height: 18px; flex-shrink: 0; stroke-width: 2; }
.vc-ico-sm [data-lucide], .vc-ico-sm .lucide, svg.vc-ico-sm { width: 15px; height: 15px; }
.vc-ico-lg [data-lucide], .vc-ico-lg .lucide { width: 22px; height: 22px; }

/* --------------------------- Düzen --------------------------- */
.vc-wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.vc-wrap--narrow { max-width: 880px; }
.vc-wrap--tight { max-width: 640px; }
.vc-section { padding: 40px 0 72px; }
.vc-stack { display: flex; flex-direction: column; gap: 16px; }
.vc-stack--sm { gap: 8px; }
.vc-stack--lg { gap: 28px; }
.vc-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.vc-row--sm { gap: 8px; }
.vc-between { justify-content: space-between; }
.vc-end { justify-content: flex-end; }
.vc-grid { display: grid; gap: 20px; }
.vc-grid-2 { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vc-grid-3 { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vc-grid-4 { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vc-split { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }
.vc-sticky { position: sticky; top: 108px; }
.vc-split--nav { grid-template-columns: 300px minmax(0, 1fr); }  /* solda gezinme, sağda içerik */
.vc-mt-xs { margin-top: 6px; } .vc-mt-sm { margin-top: 12px; } .vc-mt { margin-top: 20px; } .vc-mt-lg { margin-top: 32px; }
.vc-muted { color: var(--mute); }
.vc-faint { color: var(--mute-2); }
.vc-small { font-size: 14px; }
.vc-xs { font-size: 12.5px; }
.vc-num { font-variant-numeric: tabular-nums; }
.vc-mono { font-family: var(--mono); }
.vc-disp { font-family: var(--disp); letter-spacing: -0.02em; }
.vc-strong { font-weight: 600; color: var(--ink); }
.vc-center { text-align: center; }
.vc-right { text-align: right; }
.vc-hide-sm {}
.vc-divider { height: 1px; background: var(--line-2); border: 0; margin: 20px 0; }

/* --------------------------- Sayfa başlığı --------------------------- */
.vc-pagehead { position: relative; padding: 44px 0 28px; }
.vc-pagehead::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgba(10, 26, 47, .06) 1px, transparent 1px), linear-gradient(to bottom, rgba(10, 26, 47, .06) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 80% 90% at 70% 0%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 80% 90% at 70% 0%, #000 10%, transparent 70%); }
.vc-pagehead > * { position: relative; }
.vc-crumb { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--mono); font-size: 12.5px; color: var(--mute-3); }
.vc-crumb a { color: var(--mute); text-decoration: none; }
.vc-crumb a:hover { color: var(--brand); }
.vc-crumb [aria-current] { color: var(--ink); }
.vc-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.vc-eyebrow::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: var(--brand); }
.vc-h1 { font-family: var(--disp); font-size: 44px; line-height: 1.08; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); margin-top: 10px; }
.vc-h2 { font-family: var(--disp); font-size: 26px; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; }
.vc-h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.vc-lead { margin-top: 14px; max-width: 680px; font-size: 18px; color: var(--mute); }

/* --------------------------- Kart --------------------------- */
.vc-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-1); }
.vc-card--pad { padding: 28px; }
.vc-card--raised { box-shadow: var(--sh-2); }
.vc-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px; border-bottom: 1px solid var(--line-2); }
.vc-card-head h2, .vc-card-head h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.vc-card-body { padding: 24px; }
.vc-card-foot { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 16px 24px; border-top: 1px solid var(--line-2); background: #FAFBFD; border-radius: 0 0 var(--r-xl) var(--r-xl); }
.vc-ico-box { width: 44px; height: 44px; border-radius: 13px; background: rgba(26, 75, 255, .08); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.vc-ico-box--ok { background: var(--ok-50); color: var(--ok); }
.vc-ico-box--warn { background: var(--warn-50); color: var(--warn); }
.vc-ico-box--err { background: var(--err-50); color: var(--err); }
.vc-ico-box--ink { background: var(--ink); color: #fff; }
.vc-ico-box--mute { background: #F2F4F7; color: #475467; }
.vc-ico-box--info { background: rgba(26, 75, 255, .08); color: var(--brand); }
a.vc-card, .vc-card--link { transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s, border-color .2s; text-decoration: none; color: inherit; }
a.vc-card:hover, .vc-card--link:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: #CDD6E3; }

/* --------------------------- Butonlar --------------------------- */
.vc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 20px; border-radius: var(--r); border: 1px solid transparent; font-weight: 600; font-size: 15px; line-height: 1; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .2s ease, box-shadow .2s ease, background-color .2s, border-color .2s, color .2s; -webkit-user-select: none; user-select: none; }
.vc-btn:hover { transform: translateY(-1px); }
.vc-btn:active { transform: translateY(0); }
.vc-btn:disabled, .vc-btn[aria-disabled='true'] { opacity: .5; cursor: not-allowed; transform: none; }
.vc-btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -12px rgba(26, 75, 255, .8); }
.vc-btn--primary:hover { background: #2D5BFF; color: #fff; box-shadow: 0 14px 30px -12px rgba(26, 75, 255, .9); }
.vc-btn--dark { background: var(--ink); color: #fff; }
.vc-btn--dark:hover { background: #142a47; color: #fff; }
.vc-btn--ghost { background: #fff; color: var(--ink); border-color: #DDE3EC; }
.vc-btn--ghost:hover { border-color: #C3CDDA; color: var(--ink); background: #FAFBFD; }
.vc-btn--soft { background: rgba(26, 75, 255, .08); color: var(--brand); }
.vc-btn--soft:hover { background: rgba(26, 75, 255, .14); color: var(--brand-d); }
.vc-btn--danger { background: var(--err); color: #fff; }
.vc-btn--danger:hover { background: #B42318; color: #fff; }
.vc-btn--ok { background: var(--ok); color: #fff; }
.vc-btn--ok:hover { background: #0b875d; color: #fff; }
.vc-btn--block { width: 100%; }
.vc-btn--lg { min-height: 54px; padding: 0 26px; font-size: 16px; border-radius: 16px; }
.vc-btn--sm { min-height: 36px; padding: 0 13px; font-size: 13.5px; border-radius: 10px; gap: 7px; }
.vc-btn--icon { width: 40px; min-height: 40px; padding: 0; border-radius: 11px; }
.vc-btn .vc-btn-arrow { width: 30px; height: 30px; margin-right: -12px; border-radius: 10px; background: rgba(255, 255, 255, .16); display: inline-flex; align-items: center; justify-content: center; }
.vc-link { color: var(--brand); font-weight: 600; text-decoration: none; }
.vc-link:hover { color: var(--brand-d); text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------- Formlar --------------------------- */
.vc-form { display: flex; flex-direction: column; gap: 18px; }
.vc-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.vc-label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.vc-label .vc-req { color: var(--err); margin-left: 2px; }
.vc-hint { font-size: 13px; color: var(--mute-2); }
.vc-error-text { font-size: 13px; color: var(--err); }
.vc-input, .vc-select, .vc-textarea { width: 100%; min-height: 48px; padding: 0 15px; border: 1px solid #D5DCE6; border-radius: var(--r); background: #fff; color: var(--ink); font-size: 15px; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.vc-textarea { min-height: 120px; padding: 12px 15px; resize: vertical; line-height: 1.5; }
.vc-select { padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7A90' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; cursor: pointer; }
.vc-input::placeholder, .vc-textarea::placeholder { color: var(--mute-3); }
.vc-input:hover, .vc-select:hover, .vc-textarea:hover { border-color: #BCC6D4; }
.vc-input:focus, .vc-select:focus, .vc-textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(26, 75, 255, .12); }
.vc-input:disabled, .vc-select:disabled, .vc-textarea:disabled, .vc-input[readonly] { background: #F7F9FC; color: var(--mute); }
.vc-input-wrap { position: relative; display: flex; align-items: center; }
.vc-input-wrap > .vc-input-ico { position: absolute; left: 15px; color: var(--mute-3); pointer-events: none; display: inline-flex; }
.vc-input-wrap > .vc-input { padding-left: 46px; }
.vc-input-wrap > .vc-input-end { position: absolute; right: 6px; display: inline-flex; align-items: center; gap: 2px; }
.vc-input-wrap > .vc-input-end ~ .vc-input, .vc-input-wrap > .vc-input.has-end { padding-right: 50px; }
.vc-icon-btn { width: 38px; height: 38px; border: 0; border-radius: 10px; background: transparent; color: var(--mute-2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .2s, color .2s; }
.vc-icon-btn:hover { background: var(--bg); color: var(--ink); }
.vc-check { display: flex; align-items: flex-start; gap: 11px; cursor: pointer; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.vc-check input { margin: 1px 0 0; width: 19px; height: 19px; flex-shrink: 0; accent-color: var(--brand); cursor: pointer; }
.vc-radio-card { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.vc-radio-card:hover { border-color: #C3CDDA; }
.vc-radio-card input { margin-top: 3px; accent-color: var(--brand); width: 18px; height: 18px; }
.vc-radio-card:has(input:checked) { border-color: var(--brand); background: #F7F9FF; box-shadow: 0 0 0 4px rgba(26, 75, 255, .1); }
.vc-fieldset { border: 0; padding: 0; margin: 0; }

/* --------------------------- Uyarılar --------------------------- */
.vc-alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r); border: 1px solid; font-size: 14.5px; line-height: 1.5; }
.vc-alert > [data-lucide], .vc-alert > svg { margin-top: 1px; }
.vc-alert--ok { background: var(--ok-50); border-color: #B7E4D2; color: #05603A; }
.vc-alert--err { background: var(--err-50); border-color: #F6C9C4; color: #912018; }
.vc-alert--warn { background: var(--warn-50); border-color: #F7D9AE; color: #7A2E0E; }
.vc-alert--info { background: var(--info-50); border-color: #CBD6FF; color: #1D3497; }
.vc-alert strong { font-weight: 600; }

/* --------------------------- Rozetler --------------------------- */
.vc-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; line-height: 1.2; white-space: nowrap; border: 1px solid transparent; }
.vc-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.vc-badge--plain::before { display: none; }
.vc-badge--ok { background: var(--ok-50); color: #067647; border-color: #C6EBDB; }
.vc-badge--warn { background: var(--warn-50); color: #B54708; border-color: #F9DDB6; }
.vc-badge--err { background: var(--err-50); color: #B42318; border-color: #F8D0CB; }
.vc-badge--info { background: var(--info-50); color: var(--brand); border-color: #D3DCFF; }
.vc-badge--mute { background: #F2F4F7; color: #475467; border-color: #E4E7EC; }
.vc-badge--ink { background: var(--ink); color: #fff; }

/* --------------------------- Tablo --------------------------- */
.vc-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.vc-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.vc-table th { text-align: left; padding: 12px 16px; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--mute-2); background: #FAFBFD; border-bottom: 1px solid var(--line); white-space: nowrap; }
.vc-table td { padding: 14px 16px; border-bottom: 1px solid var(--line-2); vertical-align: middle; color: var(--ink-2); }
.vc-table tr:last-child td { border-bottom: 0; }
.vc-table tbody tr { transition: background-color .15s; }
.vc-table tbody tr:hover { background: #FAFBFD; }
.vc-card .vc-table-wrap { border: 0; border-radius: 0 0 var(--r-xl) var(--r-xl); }

/* --------------------------- Sekmeler --------------------------- */
.vc-tabs { display: flex; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow-x: auto; scrollbar-width: none; }
.vc-tabs::-webkit-scrollbar { display: none; }
.vc-tabs a, .vc-tabs button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 0; border-radius: 11px; background: transparent; color: var(--mute); font-weight: 600; font-size: 14.5px; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s; }
.vc-tabs a:hover, .vc-tabs button:hover { color: var(--ink); background: var(--bg); }
.vc-tabs [aria-current='page'], .vc-tabs [aria-selected='true'] { background: var(--ink); color: #fff; }
.vc-side-tabs { display: flex; flex-direction: column; gap: 4px; }
.vc-side-tabs a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; color: var(--ink-2); font-weight: 600; font-size: 14.5px; text-decoration: none; transition: background-color .2s, color .2s; }
.vc-side-tabs a:hover { background: #fff; color: var(--brand); }
.vc-side-tabs a[aria-current='page'] { background: #fff; color: var(--ink); box-shadow: var(--sh-1); border: 1px solid var(--line); }
.vc-side-tabs a[aria-current='page'] [data-lucide], .vc-side-tabs a[aria-current='page'] svg { color: var(--brand); }

/* --------------------------- Zengin metin (sözleşme, wiki) --------------------------- */
.vc-prose { font-size: 16px; line-height: 1.75; color: var(--ink-2); }
.vc-prose > * + * { margin-top: 1em; }
.vc-prose h1, .vc-prose h2 { font-family: var(--disp); font-size: 26px; line-height: 1.25; letter-spacing: -0.02em; color: var(--ink); margin-top: 1.8em; font-weight: 600; }
.vc-prose h3 { font-size: 19px; color: var(--ink); margin-top: 1.6em; font-weight: 600; }
.vc-prose h4 { font-size: 16.5px; color: var(--ink); margin-top: 1.4em; font-weight: 600; }
.vc-prose > :first-child { margin-top: 0; }
.vc-prose ul, .vc-prose ol { padding-left: 1.4em; }
.vc-prose li + li { margin-top: .35em; }
.vc-prose li::marker { color: var(--brand); }
.vc-prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.vc-prose strong, .vc-prose b { color: var(--ink); font-weight: 600; }
.vc-prose blockquote { margin-left: 0; padding: 12px 18px; border-left: 3px solid var(--brand); background: #F7F9FF; border-radius: 0 12px 12px 0; color: var(--ink-2); }
.vc-prose code { font-family: var(--mono); font-size: .88em; padding: 2px 6px; border-radius: 6px; background: #F1F4F8; color: var(--ink); }
.vc-prose pre { font-family: var(--mono); font-size: 13.5px; line-height: 1.6; padding: 16px 18px; border-radius: 14px; background: var(--ink); color: #E6ECF5; overflow-x: auto; }
.vc-prose pre code { background: none; padding: 0; color: inherit; }
.vc-prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.vc-prose th, .vc-prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.vc-prose th { background: #FAFBFD; color: var(--ink); }
.vc-prose img { border-radius: 14px; border: 1px solid var(--line); }
.vc-prose hr { border: 0; height: 1px; background: var(--line); margin: 2em 0; }

/* --------------------------- Adımlar / özet --------------------------- */
.vc-steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.vc-steps li { flex: 1; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--mute); counter-increment: s; }
.vc-steps li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--bg); color: var(--mute-2); font-family: var(--mono); font-size: 12px; flex-shrink: 0; }
.vc-steps li[aria-current='step'] { color: var(--ink); border-color: var(--brand); box-shadow: 0 0 0 4px rgba(26, 75, 255, .08); }
.vc-steps li[aria-current='step']::before { background: var(--brand); color: #fff; }
.vc-steps li.is-done { color: var(--ink-2); }
.vc-steps li.is-done::before { content: '✓'; background: var(--ok-50); color: var(--ok); }
.vc-summary { display: flex; flex-direction: column; gap: 12px; }
.vc-summary-row { display: flex; justify-content: space-between; gap: 16px; font-size: 14.5px; color: var(--mute); }
.vc-summary-row > :last-child { color: var(--ink); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.vc-summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.vc-summary-total > :last-child { font-family: var(--disp); font-size: 30px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.vc-kv { display: grid; grid-template-columns: minmax(120px, auto) 1fr; gap: 10px 20px; font-size: 14.5px; }
.vc-kv dt { color: var(--mute-2); }
.vc-kv dd { margin: 0; color: var(--ink); font-weight: 500; word-break: break-word; }

/* --------------------------- İstatistik / boş durum --------------------------- */
.vc-stat { padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-1); }
.vc-stat-label { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--mute); }
.vc-stat-value { margin-top: 14px; font-family: var(--disp); font-size: 32px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.vc-stat-foot { margin-top: 8px; font-size: 13px; color: var(--mute-2); }
.vc-empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 48px 24px; }
.vc-empty .vc-ico-box { width: 56px; height: 56px; border-radius: 16px; }
.vc-empty h3 { margin-top: 16px; font-size: 17px; font-weight: 600; }
.vc-empty p { margin-top: 6px; max-width: 420px; font-size: 14.5px; color: var(--mute); }

/* --------------------------- Kod / kopyala --------------------------- */
.vc-code { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 12px; background: #F5F7FA; border: 1px solid var(--line); font-family: var(--mono); font-size: 13.5px; color: var(--ink); }
.vc-code > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vc-code--dark { background: var(--ink); color: #E6ECF5; border-color: var(--ink); }

/* --------------------------- Modal (dialog) --------------------------- */
dialog.vc-modal { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-3); color: var(--ink); background: #fff; overflow: auto; }
dialog.vc-modal::backdrop { background: rgba(10, 26, 47, .45); backdrop-filter: blur(4px); }
dialog.vc-modal[open] { animation: vcpop .25s cubic-bezier(.2, .7, .2, 1); }
@keyframes vcpop { from { opacity: 0; transform: translateY(8px) scale(.98); } }

/* --------------------------- Giriş/kayıt düzeni --------------------------- */
.vc-auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.vc-auth-brand { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 40px 56px; display: flex; flex-direction: column; }
.vc-auth-brand::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 20% 0%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 20% 0%, #000 10%, transparent 75%); }
.vc-auth-brand::after { content: ''; position: absolute; width: 560px; height: 560px; right: -220px; bottom: -220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(26, 75, 255, .55), transparent); }
.vc-auth-brand > * { position: relative; z-index: 1; }
.vc-auth-brand h2 { font-family: var(--disp); font-size: 40px; line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; margin-top: auto; }
.vc-auth-brand p { margin-top: 16px; color: rgba(255, 255, 255, .72); font-size: 17px; max-width: 440px; }
.vc-auth-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 12px; }
.vc-auth-points li { display: flex; gap: 12px; align-items: center; color: rgba(255, 255, 255, .88); font-size: 15px; }
.vc-auth-points li [data-lucide], .vc-auth-points li svg { color: #7FA0FF; }
.vc-auth-term { margin-top: 36px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); font-family: var(--mono); font-size: 12.5px; color: rgba(255, 255, 255, .78); display: flex; flex-direction: column; gap: 6px; }
.vc-auth-term b { color: #4BE3A6; font-weight: 500; }
.vc-auth-main { display: flex; flex-direction: column; padding: 32px 40px; background: var(--bg); }
.vc-auth-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vc-auth-box { width: 100%; max-width: 440px; margin: auto; padding: 40px 0; }
.vc-auth-box h1 { font-family: var(--disp); font-size: 34px; line-height: 1.12; font-weight: 600; letter-spacing: -0.03em; }
.vc-auth-box .vc-sub { margin-top: 10px; color: var(--mute); font-size: 16px; }
.vc-auth-foot { text-align: center; font-size: 13px; color: var(--mute-2); }
.vc-logo { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.vc-logo-text { font-family: var(--disp); font-size: 23px; font-weight: 700; letter-spacing: -0.03em; }
.vc-logo-text b { color: #1A4BFF; font-weight: 700; }
.vc-auth-brand .vc-logo-text b { color: #7FA0FF; }
.vc-pw-meter { display: flex; gap: 4px; margin-top: 8px; }
.vc-pw-meter span { flex: 1; height: 4px; border-radius: 4px; background: var(--line); transition: background-color .25s; }
.vc-pw-meter[data-score='1'] span:nth-child(-n+1) { background: var(--err); }
.vc-pw-meter[data-score='2'] span:nth-child(-n+2) { background: #F79009; }
.vc-pw-meter[data-score='3'] span:nth-child(-n+3) { background: #2E90FA; }
.vc-pw-meter[data-score='4'] span { background: var(--ok); }

/* --------------------------- Müşteri paneli düzeni --------------------------- */
.vc-panel { display: grid; grid-template-columns: 272px minmax(0, 1fr); min-height: 100vh; }
.vc-side { position: sticky; top: 0; height: 100vh; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; display: flex; flex-direction: column; gap: 6px; padding: 22px 16px; background: #fff; border-right: 1px solid var(--line); }
.vc-side-logo { padding: 4px 10px 18px; }
.vc-side-label { padding: 14px 12px 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute-3); }
.vc-side a.vc-nav { position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 12px; color: var(--ink-2); font-weight: 500; font-size: 14.5px; text-decoration: none; transition: background-color .15s, color .15s; }
.vc-side a.vc-nav:hover { background: var(--bg); color: var(--ink); }
.vc-side a.vc-nav [data-lucide], .vc-side a.vc-nav svg { color: var(--mute-2); }
.vc-side a.vc-nav[aria-current='page'] { background: rgba(26, 75, 255, .08); color: var(--brand); font-weight: 600; }
.vc-side a.vc-nav[aria-current='page'] [data-lucide], .vc-side a.vc-nav[aria-current='page'] svg { color: var(--brand); }
.vc-side a.vc-nav .vc-nav-count { margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.vc-side-card { margin-top: auto; padding: 16px; border-radius: 18px; background: var(--ink); color: #fff; font-size: 14px; }
.vc-side-card p { color: rgba(255, 255, 255, .7); margin-top: 4px; font-size: 13px; }
.vc-top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; padding: 0 32px; background: rgba(245, 247, 250, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.vc-top-title { font-weight: 600; font-size: 15px; }
.vc-main { padding: 32px 32px 64px; min-width: 0; }
.vc-main-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.vc-main-head h1 { font-family: var(--disp); font-size: 32px; line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; }
.vc-main-head p { margin-top: 6px; color: var(--mute); }
.vc-user { display: inline-flex; align-items: center; gap: 10px; padding: 5px 12px 5px 5px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 600; }
.vc-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.vc-burger { display: none; }
.vc-side-backdrop { display: none; }

/* --------------------------- Duyarlı --------------------------- */
@media (max-width: 1100px) {
  .vc-admin-stats { display: none !important; }
  .vc-split { grid-template-columns: minmax(0, 1fr); }
  .vc-sticky { position: static; }
  .vc-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vc-auth { grid-template-columns: minmax(0, 1fr); }
  .vc-auth-brand { display: none; }
  .vc-panel { grid-template-columns: minmax(0, 1fr); }
  .vc-side { position: fixed; z-index: 80; left: 0; top: 0; width: 288px; transform: translateX(-102%); transition: transform .28s cubic-bezier(.2, .7, .2, 1); box-shadow: var(--sh-3); }
  .vc-panel.is-nav-open .vc-side { transform: none; }
  .vc-panel.is-nav-open .vc-side-backdrop { display: block; position: fixed; inset: 0; z-index: 70; background: rgba(10, 26, 47, .35); }
  .vc-burger { display: inline-flex; }
}
@media (max-width: 860px) {
  .vc-grid-2, .vc-grid-3 { grid-template-columns: minmax(0, 1fr); }
  .vc-h1 { font-size: 34px; }
  .vc-lead { font-size: 16.5px; }
  .vc-wrap { padding: 0 20px; }
  .vc-top { padding: 0 18px; }
  .vc-main { padding: 24px 18px 56px; }
  .vc-auth-main { padding: 20px; }
  .vc-steps { flex-direction: column; }
  .vc-hide-sm { display: none !important; }
  .vc-card--pad { padding: 22px; }
  .vc-card-body { padding: 20px; }
  .vc-card-head, .vc-card-foot { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 360px) { .vc-grid-4 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) {
  /* Üst çubuk açılır menüleri: .vc-top backdrop-filter ile kapsayıcı blok olur → tam genişlik */
  .vc-top .vc-dd-menu { position: fixed !important; left: 12px !important; right: 12px !important; top: calc(100% + 6px) !important; width: auto !important; max-height: calc(100vh - 96px); overflow-y: auto; }
  .vc-stat { padding: 16px; } .vc-stat-value { font-size: 26px; }
  .vc-kv { grid-template-columns: minmax(0, 1fr); gap: 2px 0; }
  .vc-kv dd { margin-bottom: 10px; }
  .vc-auth-box h1 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .vc-app-root *, .vc-app-root *::before, .vc-app-root *::after { animation: none !important; transition: none !important; }
}

/* Geniş ekranda marka paneli logoyu zaten gösterir */
@media (min-width: 1101px) { .vc-hide-lg { display: none !important; } }

/* Liste satırı vurgusu */
.vc-hoverrow { border-radius: 14px; transition: background-color .15s; }
.vc-hoverrow:hover { background: var(--bg); }

/* Çerçeve dışında kalan her şey de doğru yazı tipinde olsun */
body { font-family: var(--font); color: var(--ink); }

/* Yardımcı ajanların istediği ortak parçalar */
.vc-card-head h2.vc-row, .vc-card-head h3.vc-row { flex-wrap: nowrap; }
.vc-code .vc-btn { font-family: var(--font); }
.vc-tile { padding: 14px 16px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line-2); }
.vc-tile-label { font-size: 12.5px; color: var(--mute-2); }
.vc-tile-value { margin-top: 4px; font-weight: 600; color: var(--ink); word-break: break-word; }
.vc-btn--sm { min-height: 40px; }   /* dokunma hedefi ≥ 40px */
.vc-app-root [hidden] { display: none !important; }

/* ---- Liste satırları (kart içinde bölünmüş satırlar; yönetim paneli özetleri) ---- */
.vc-list { display: flex; flex-direction: column; }
.vc-list-row { display: flex; align-items: center; gap: 14px; padding: 14px 24px; border-top: 1px solid var(--line-2); color: inherit; text-decoration: none; min-width: 0; }
.vc-list-row:first-child { border-top: 0; }
a.vc-list-row { transition: background-color .15s; }
a.vc-list-row:hover { background: var(--bg); }
.vc-list-row .vc-ico-box { width: 38px; height: 38px; border-radius: 11px; }
.vc-list-main { flex: 1 1 auto; min-width: 0; }
.vc-list-end { flex: 0 0 auto; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.vc-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 520px) { .vc-list-row { padding: 12px 20px; } }

/* ---- Basit sütun grafiği: <div class="vc-bars"><div class="vc-bar"><span style="height:40%"></span><em>Oca</em></div>… ---- */
.vc-bars { display: flex; align-items: flex-end; gap: 14px; height: 240px; padding-top: 8px; }
.vc-bar { flex: 1 1 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; min-width: 0; }
.vc-bar span { display: block; width: 100%; max-width: 64px; border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, var(--brand), #6E8BFF); min-height: 4px; transition: opacity .15s; }
.vc-bar span:hover { opacity: .8; }
.vc-bar em { font-style: normal; font-size: 12px; color: var(--mute-2); font-family: var(--mono); }
.vc-bar b { font-size: 11.5px; font-weight: 600; color: var(--mute); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 520px) { .vc-bars { gap: 8px; height: 200px; } .vc-bar b { display: none; } }
