/* ========================================================
   VEKILBUL DESIGN SYSTEM v2
   Modüler, bağımsız, merkezi yönetim.
   
   İçindekiler:
   1. Variables & Reset
   2. Typography
   3. Buttons (override)
   4. Forms (override)
   5. PUBLIC — Navbar
   6. PUBLIC — Hero
   7. PUBLIC — Stats Bar
   8. PUBLIC — Sections
   9. PUBLIC — Feature Cards
   10. PUBLIC — Testimonials
   11. PUBLIC — FAQ
   12. PUBLIC — CTA
   13. PUBLIC — Footer
   14. AUTH — Split Layout
   15. AUTH — Type Cards & Steps
   16. PANEL — Navbar
   17. PANEL — Sidebar
   18. PANEL — Main / Cards / Stats
   19. PANEL — Welcome Banner
   20. SHARED — Badges, Tables, Toast
   21. RESPONSIVE
   ======================================================== */


/* ========================================================
   1. VARIABLES & RESET
   ======================================================== */

/* ─────────────────────────────────────────────────────────
   LIGHT TEMA (default)
   ───────────────────────────────────────────────────────── */
:root {
  /* Marka renkleri (her temada sabit) */
  --vb-primary: #1D8E98;
  --vb-primary-hover: #176f77;
  --vb-primary-light: #e6f4f5;
  --vb-primary-10: rgba(29, 142, 152, 0.1);
  --vb-success: #34D399;
  --vb-success-hover: #2ab383;
  --vb-success-10: rgba(52, 211, 153, 0.1);
  --vb-accent: #4F46E5;
  --vb-accent-hover: #3f38c0;
  --vb-accent-10: rgba(79, 70, 229, 0.1);
  --vb-warning: #FBBF24;
  --vb-warning-hover: #e5ac1c;
  --vb-warning-10: rgba(251, 191, 36, 0.12);
  --vb-orange: #F97316;
  --vb-orange-10: rgba(249, 115, 22, 0.1);
  --vb-danger: #EF4444;
  --vb-danger-hover: #d93a3a;
  --vb-danger-10: rgba(239, 68, 68, 0.1);

  /* Yüzey/arka plan token'ları (light) */
  --vb-dark: #0A0A4A;
  --vb-text: #1F2937;
  --vb-text-soft: #6B7280;
  --vb-text-strong: #0F172A;
  --vb-muted: #6B7280;          /* legacy alias */
  --vb-text-secondary: #6B7280; /* legacy alias */
  --vb-border: #E5E7EB;
  --vb-border-soft: #E5E7EB;
  --vb-border-strong: #D1D5DB;
  --vb-bg: #F8F9FB;
  --vb-bg-deep: #F8F9FB;
  --vb-surface: #FFFFFF;
  --vb-surface-2: #F9FAFB;
  --vb-surface-3: #F3F4F6;
  --vb-white: #FFFFFF;
  --vb-overlay: rgba(15, 23, 42, 0.55);
  --vb-input-bg: #FFFFFF;
  --vb-input-text: #1F2937;
  --vb-shadow-sm: 0 1px 2px rgba(15,23,42,0.06);
  --vb-shadow: 0 1px 3px rgba(15,23,42,0.10);
  --vb-shadow-md: 0 4px 12px rgba(15,23,42,0.08);
  --vb-shadow-lg: 0 8px 30px rgba(15,23,42,0.10);
  --vb-radius: 8px;
  --vb-radius-lg: 12px;
  --vb-radius-xl: 16px;
}

/* ─────────────────────────────────────────────────────────
   DARK TEMA — kullanıcı seçimi (data-theme="dark")
   Notlar:
   - --vb-dark token'ı SABİT KALIR (her temada #0A0A4A). Public navbar
     ve footer arka planlarında "marka koyusu" olarak kullanılıyor.
     Metin için dark'ta `[style*="color: var(--vb-dark)"]` selector
     ile override ediliyor (aşağıda).
   - Renk paleti referans dark mockup'larına göre kalibre edildi:
     deniz/teal ağırlıklı, koyu lacivert tonlu.
   ───────────────────────────────────────────────────────── */
[data-theme="dark"] {
  /* Marka teal — light'la aynı, ama light/hover varyantlar dark için yumuşatıldı */
  --vb-primary-light: rgba(29, 142, 152, 0.16);
  --vb-primary-10: rgba(29, 142, 152, 0.14);
  --vb-success-10: rgba(52, 211, 153, 0.16);
  --vb-accent-10: rgba(79, 70, 229, 0.18);
  --vb-warning-10: rgba(251, 191, 36, 0.16);
  --vb-orange-10: rgba(249, 115, 22, 0.14);
  --vb-danger-10: rgba(239, 68, 68, 0.16);

  /* Metin */
  --vb-text: #E2E8F0;
  --vb-text-soft: #94A3B8;
  --vb-text-strong: #F8FAFC;
  --vb-muted: #94A3B8;
  --vb-text-secondary: #94A3B8;

  /* Kenarlık */
  --vb-border: #1F3148;
  --vb-border-soft: #1F3148;
  --vb-border-strong: #2B3F5C;

  /* Yüzey katmanları (referans dark mockup tonları) */
  --vb-bg: #0E1B2C;
  --vb-bg-deep: #0E1B2C;
  --vb-surface: #142336;     /* kart */
  --vb-surface-2: #1A2C44;   /* kart-içi alt yüzey, input bg */
  --vb-surface-3: #213551;   /* hover */
  --vb-white: #142336;       /* `white` token'ı kart yüzeyine eşitlenir */
  --vb-overlay: rgba(0, 0, 0, 0.65);

  /* Form input */
  --vb-input-bg: #0E1B2C;
  --vb-input-text: #E2E8F0;

  /* Gölgeler */
  --vb-shadow-sm: 0 1px 2px rgba(0,0,0,0.45);
  --vb-shadow:    0 1px 3px rgba(0,0,0,0.50);
  --vb-shadow-md: 0 4px 12px rgba(0,0,0,0.45);
  --vb-shadow-lg: 0 8px 30px rgba(0,0,0,0.55);

  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--vb-text);
  background: var(--vb-bg-deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.2s ease, color 0.2s ease;
  overflow-x: clip;     /* yatay scroll'u kalıcı olarak engelle */
  max-width: 100vw;
}

/* Temel utility — TR-aware title case JS ile yapılır (vekilbul.js) */
.vb-title-case { /* JS ile TR-aware uygulanır */ }
.vb-title-case-input { /* JS ile TR-aware uygulanır */ }
.vb-title-case-input::placeholder { text-transform: none; }


/* ========================================================
   2. TYPOGRAPHY
   ======================================================== */

h1, h2, h3, h4, h5, h6 {
  color: var(--vb-dark);
  font-weight: 700;
}

a {
  color: var(--vb-primary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--vb-primary-hover); }

.text-vb-muted { color: var(--vb-muted) !important; }


/* ========================================================
   3. BUTTONS (Bootstrap override)
   ======================================================== */

.btn { border-radius: var(--vb-radius); font-weight: 600; transition: all 0.2s; }
.btn-primary { background: var(--vb-primary); border-color: var(--vb-primary); }
.btn-primary:hover { background: var(--vb-primary-hover); border-color: var(--vb-primary-hover); }
.btn-success { background: var(--vb-success); border-color: var(--vb-success); }
.btn-success:hover { background: var(--vb-success-hover); border-color: var(--vb-success-hover); }
.btn-danger { background: var(--vb-danger); border-color: var(--vb-danger); }
.btn-danger:hover { background: var(--vb-danger-hover); border-color: var(--vb-danger-hover); }
.btn-warning { background: var(--vb-warning); border-color: var(--vb-warning); color: var(--vb-dark); }
.btn-outline-primary { color: var(--vb-primary); border-color: var(--vb-primary); }
.btn-outline-primary:hover { background: var(--vb-primary); border-color: var(--vb-primary); color: #fff; }
.bg-primary { background-color: var(--vb-primary) !important; }
.text-primary { color: var(--vb-primary) !important; }


/* ========================================================
   4. FORMS (Bootstrap override)
   ======================================================== */

.form-control:focus,
.form-select:focus {
  border-color: var(--vb-primary);
  box-shadow: 0 0 0 0.2rem rgba(29, 142, 152, 0.2);
}


/* ========================================================
   5. PUBLIC — Navbar (compact / modern)
   ======================================================== */

.vb-public-navbar {
  background: rgba(8, 12, 36, 0.78);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  padding: 0.55rem 0;
  position: sticky;
  top: 0;
  z-index: 1030;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Inner — desktop: 3-column grid (brand left, menu center, actions right) */
.vb-public-navbar__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}
.vb-public-navbar__brand   { justify-self: start; }
.vb-public-navbar__menu    { justify-self: center; }
.vb-public-navbar__actions { justify-self: end; }
.vb-public-navbar__toggler { justify-self: end; }

/* Mobile: 2-col flex (brand + toggler), menu/actions hidden */
@media (max-width: 991.98px) {
  .vb-public-navbar__inner {
    display: flex;
    justify-content: space-between;
  }
}

/* Brand */
.vb-public-navbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: #fff !important;
  flex: 0 0 auto;
}
.vb-public-navbar__brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--vb-primary) 0%, #14b39c 100%);
  color: #fff;
  font-size: 0.95rem;
  box-shadow: 0 6px 18px rgba(29, 142, 152, 0.35);
}
.vb-public-navbar__brand-text {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.3px;
  line-height: 1;
}
.vb-public-navbar__brand-tld {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88em;
}

/* Toggler — hamburger button (drawer trigger), mobile only */
.vb-public-navbar__toggler {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04);
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
  padding: 0;
}
.vb-public-navbar__toggler:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.28);
}
.vb-public-navbar__toggler:focus { box-shadow: none; outline: none; }
@media (max-width: 991.98px) {
  .vb-public-navbar__toggler { display: inline-flex; }
}
.vb-public-navbar__toggler-bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 18px;
  height: 14px;
}
.vb-public-navbar__toggler-bars > span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
}

/* Desktop nav menu — header ortasında */
.vb-public-navbar__menu {
  display: none;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 992px) {
  .vb-public-navbar__menu { display: flex; }
}
.vb-public-navbar__menu-link {
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,0.66) !important;
  font-weight: 500;
  font-size: 0.86rem;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}
.vb-public-navbar__menu-link:hover,
.vb-public-navbar__menu-link:focus-visible {
  color: #fff !important;
  background: rgba(255,255,255,0.06);
  outline: none;
}

/* Right cluster — desktop only */
.vb-public-navbar__actions {
  display: none;
  align-items: center;
  gap: 0.45rem;
}
@media (min-width: 992px) {
  .vb-public-navbar__actions { display: inline-flex; }
}

/* Icon button (theme toggle, lang) */
.vb-public-navbar__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 34px;
  min-width: 34px;
  padding: 0 0.55rem;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.85);
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.vb-public-navbar__icon-btn:hover,
.vb-public-navbar__icon-btn:focus-visible {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.20);
  color: #fff;
  outline: none;
}
.vb-public-navbar__lang-btn { padding: 0 0.55rem 0 0.55rem; }
.vb-public-navbar__lang-code {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.vb-public-navbar__lang-chevron { font-size: 0.72rem; opacity: 0.7; }
.vb-public-navbar__lang-menu {
  min-width: 160px;
  border: 1px solid var(--vb-border-soft);
  border-radius: 10px;
  padding: 0.35rem;
  box-shadow: 0 12px 28px rgba(8, 12, 36, 0.18);
}
.vb-public-navbar__lang-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-radius: 6px;
  padding: 0.45rem 0.65rem;
  font-size: 0.86rem;
}
.vb-public-navbar__lang-menu .dropdown-item.active,
.vb-public-navbar__lang-menu .dropdown-item:active {
  background: rgba(29, 142, 152, 0.12);
  color: var(--vb-primary);
}
.vb-public-navbar__flag { font-size: 1rem; line-height: 1; }

/* Pill buttons */
.vb-public-navbar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 0.95rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1px;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.05s ease;
  border: 1px solid transparent;
}
.vb-public-navbar__btn--ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.18);
}
.vb-public-navbar__btn--ghost:hover {
  border-color: rgba(255,255,255,0.32);
  background: rgba(255,255,255,0.06);
  color: #fff;
}
.vb-public-navbar__btn--primary {
  background: var(--vb-success);
  color: #08322B;
  border-color: var(--vb-success);
  box-shadow: 0 6px 16px rgba(52, 211, 153, 0.32);
}
.vb-public-navbar__btn--primary:hover {
  background: #2EBE85;
  border-color: #2EBE85;
  color: #08322B;
  transform: translateY(-1px);
}


/* ========================================================
   6. PUBLIC — Hero
   ======================================================== */

.vb-hero {
  background: linear-gradient(145deg, var(--vb-dark) 0%, #10104e 45%, #154a6e 75%, var(--vb-primary) 100%);
  padding: 5.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.vb-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: rgba(29, 142, 152, 0.07);
}

.vb-hero h1 {
  color: #fff;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
}

.vb-hero p.hero-desc {
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 480px;
}

.vb-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
  margin-bottom: 1.5rem;
}

.vb-hero-visual {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* ===== Hero — Kurumsal panel mockup ===== */
.vb-hero-panel {
  position: relative;
  max-width: 480px;
  margin-left: auto;
  background: #FFFFFF;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 30px 60px -22px rgba(4, 8, 24, 0.55),
    0 10px 20px -10px rgba(4, 8, 24, 0.35);
}
.vb-hero-panel::before {
  content: '';
  position: absolute;
  inset: -18px;
  z-index: -1;
  border-radius: 22px;
  background: radial-gradient(60% 60% at 30% 30%, rgba(29,142,152,0.18) 0%, rgba(29,142,152,0) 70%),
              radial-gradient(50% 50% at 80% 90%, rgba(52,211,153,0.12) 0%, rgba(52,211,153,0) 70%);
  filter: blur(2px);
}

/* Browser-like top bar */
.vb-hero-panel__bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.85rem;
  background: #F4F6FA;
  border-bottom: 1px solid #E5E7EB;
}
.vb-hero-panel__dots {
  display: inline-flex;
  gap: 5px;
  flex-shrink: 0;
}
.vb-hero-panel__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #D5D9DF;
}
.vb-hero-panel__dots span:nth-child(1) { background: #FF5F57; }
.vb-hero-panel__dots span:nth-child(2) { background: #FEBC2E; }
.vb-hero-panel__dots span:nth-child(3) { background: #28C840; }
.vb-hero-panel__url {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: 1;
  font-size: 0.72rem;
  font-weight: 500;
  color: #6B7280;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 0.28rem 0.6rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vb-hero-panel__url i { color: var(--vb-success); font-size: 0.8rem; }
.vb-hero-panel__url span { color: #1F2937; font-weight: 600; }

/* Inner content */
.vb-hero-panel__inner {
  padding: 1.1rem 1.15rem 1rem;
  background: #FFFFFF;
}
.vb-hero-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}
.vb-hero-panel__eyebrow {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--vb-primary);
  margin-bottom: 0.2rem;
}
.vb-hero-panel__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0A0A4A;
  margin: 0;
  letter-spacing: -0.2px;
}
.vb-hero-panel__count {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #047857;
  background: rgba(52, 211, 153, 0.12);
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  white-space: nowrap;
  position: relative;
  padding-left: 1.3rem;
}
.vb-hero-panel__count::before {
  content: '';
  position: absolute;
  left: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

/* Listing rows */
.vb-hero-panel__list {
  list-style: none;
  margin: 0 0 0.9rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.vb-hero-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.7rem;
  background: #F9FAFB;
  border: 1px solid #EEF2F7;
  border-radius: 10px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.vb-hero-row:hover {
  background: #F4F8F9;
  border-color: #D9E5E7;
}
.vb-hero-row__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(29, 142, 152, 0.10);
  color: var(--vb-primary);
  font-size: 0.95rem;
  flex-shrink: 0;
}
.vb-hero-row__body {
  flex: 1;
  min-width: 0;
}
.vb-hero-row__title {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1F2937;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vb-hero-row__meta {
  font-size: 0.68rem;
  color: #6B7280;
  margin-top: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vb-hero-row__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  flex-shrink: 0;
}
.vb-hero-row__price {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0A0A4A;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.vb-hero-row__tag {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  text-transform: uppercase;
}
.vb-hero-row__tag--primary { background: rgba(29, 142, 152, 0.12); color: var(--vb-primary); }
.vb-hero-row__tag--accent  { background: rgba(79, 70, 229, 0.10);  color: #4F46E5; }
.vb-hero-row__tag--muted   { background: #F3F4F6; color: #6B7280; }

/* Footer metric bar */
.vb-hero-panel__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid #EEF2F7;
  padding-top: 0.75rem;
  font-size: 0.72rem;
  color: #6B7280;
}
.vb-hero-panel__metric {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.vb-hero-panel__metric i { color: var(--vb-primary); font-size: 0.85rem; }
.vb-hero-panel__metric strong { color: #0A0A4A; font-weight: 700; }


/* ========================================================
   7. PUBLIC — Stats Bar
   ======================================================== */

.vb-stats-bar {
  background: var(--vb-primary);
  padding: 2rem 0;
  position: relative;
  z-index: 2;
}

.vb-stats-bar .stat-item {
  text-align: center;
  padding: 0.5rem 0;
}

.vb-stats-bar .stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.vb-stats-bar .stat-label {
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  font-weight: 500;
  margin-top: 0.2rem;
}


/* ========================================================
   8. PUBLIC — Sections (generic)
   ======================================================== */

.vb-section {
  padding: 4.5rem 0;
  position: relative;
}

.vb-section--white { background: #fff; }
.vb-section--gray  { background: var(--vb-bg); }
.vb-section--dark  { background: var(--vb-dark); }

.vb-section__title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--vb-dark);
  margin-bottom: 0.4rem;
}

.vb-section__subtitle {
  color: var(--vb-muted);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}


/* ========================================================
   9. PUBLIC — Feature / Step Cards
   ======================================================== */

.vb-step-card {
  background: #fff;
  border: 1px solid var(--vb-border);
  border-radius: var(--vb-radius-xl);
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
  height: 100%;
}

.vb-step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--vb-shadow-lg);
}

.vb-step-card__icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.vb-feature-card {
  background: #fff;
  border: 1px solid var(--vb-border);
  border-radius: var(--vb-radius-xl);
  padding: 1.75rem;
  transition: transform 0.25s, box-shadow 0.25s;
  height: 100%;
}

.vb-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--vb-shadow-lg);
  border-color: rgba(29, 142, 152, 0.2);
}

.vb-feature-card__icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.vb-payment-card {
  background: #fff;
  border: 1px solid var(--vb-border);
  border-radius: var(--vb-radius-xl);
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  box-shadow: var(--vb-shadow-sm);
}

.vb-payment-card__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}


/* ========================================================
   10. PUBLIC — Testimonials
   ======================================================== */

.vb-testimonial {
  background: #fff;
  border: 1px solid var(--vb-border);
  border-radius: var(--vb-radius-xl);
  padding: 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s;
}

.vb-testimonial:hover { box-shadow: var(--vb-shadow-lg); }

.vb-testimonial__quote {
  color: var(--vb-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  flex: 1;
}

.vb-testimonial__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: #fff;
  flex-shrink: 0;
}


/* ========================================================
   11. PUBLIC — FAQ
   ======================================================== */

.vb-faq .accordion-item {
  border: 1px solid var(--vb-border) !important;
  border-radius: var(--vb-radius-lg) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.vb-faq .accordion-button {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--vb-dark);
  padding: 1rem 1.25rem;
}

.vb-faq .accordion-button:not(.collapsed) {
  background: var(--vb-primary-light);
  color: var(--vb-primary);
  box-shadow: none;
}

.vb-faq .accordion-button:focus { box-shadow: none; }

.vb-faq .accordion-body {
  color: var(--vb-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.vb-faq__badge {
  width: 28px;
  height: 28px;
  background: var(--vb-primary);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}


/* ========================================================
   12. PUBLIC — CTA
   ======================================================== */

.vb-cta {
  background: linear-gradient(135deg, var(--vb-primary) 0%, #176f77 100%);
  padding: 4.5rem 0;
  text-align: center;
}


/* ========================================================
   12.5 PUBLIC — Sayfa Ba\u015fl\u0131k Hero (i\u00e7 sayfalar)
   ======================================================== */

.vb-page-hero {
  background: linear-gradient(145deg, var(--vb-dark) 0%, #10104e 55%, var(--vb-primary) 100%);
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.vb-page-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(29, 142, 152, 0.08);
  pointer-events: none;
}

.vb-page-hero h1 {
  font-size: 2.25rem;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 1;
}

.vb-page-hero__subtitle {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
  margin-bottom: 0;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

@media (max-width: 767.98px) {
  .vb-page-hero { padding: 2.5rem 0 2rem; }
  .vb-page-hero h1 { font-size: 1.55rem; }
  .vb-page-hero__subtitle { font-size: 0.92rem; }
  .vb-page-hero::before { width: 240px; height: 240px; }
}

/* Yard\u0131m Merkezi kategori kart\u0131 */
.vb-help-card {
  background: #fff;
  border: 1px solid var(--vb-border);
  border-radius: var(--vb-radius-xl);
  padding: 1.5rem;
  height: 100%;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.vb-help-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--vb-shadow-md);
  border-color: var(--vb-primary);
}
.vb-help-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--vb-primary-10);
  color: var(--vb-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}
.vb-help-card h3 { color: var(--vb-dark); }

/* Yasal d\u00f6k\u00fcman tipografisi */
.vb-legal-doc {
  color: var(--vb-text);
  line-height: 1.75;
  font-size: 0.95rem;
}
.vb-legal-doc h2 {
  color: var(--vb-dark);
  letter-spacing: -0.2px;
  scroll-margin-top: 80px;
}
.vb-legal-doc p { margin-bottom: 1rem; }
.vb-legal-doc ul, .vb-legal-doc ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
.vb-legal-doc li { margin-bottom: 0.35rem; }
.vb-legal-doc a {
  color: var(--vb-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.vb-legal-doc table { margin-top: 1rem; }


/* ========================================================
   13. PUBLIC — Footer
   ======================================================== */

.vb-footer-main {
  background: var(--vb-dark);
}

.vb-footer-main a {
  color: rgba(255,255,255,0.55);
  transition: color 0.15s;
}

.vb-footer-main a:hover { color: #fff; }


/* ========================================================
   14. AUTH — Split Layout
   ======================================================== */

.vb-auth-page { background: var(--vb-surface); }

.vb-auth-split {
  display: flex;
  min-height: 100vh;
}

.vb-auth-left {
  width: 46%;
  background: linear-gradient(155deg, var(--vb-dark) 0%, #10104e 55%, #1a3a6e 100%);
  padding: 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.vb-auth-left::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(29, 142, 152, 0.05);
  pointer-events: none;
}

.vb-auth-left__content { position: relative; z-index: 1; }

.vb-auth-left__bottom {
  position: absolute;
  bottom: 1.5rem;
  left: 3rem;
  right: 3rem;
  z-index: 1;
}

.vb-auth-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  overflow-y: auto;
  background: #fff;
}

.vb-auth-form {
  width: 100%;
  max-width: 440px;
}

.vb-auth-form .form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--vb-text);
  margin-bottom: 0.35rem;
}

.vb-auth-form .form-control,
.vb-auth-form .form-select {
  border-radius: var(--vb-radius);
  border: 1.5px solid var(--vb-border);
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
}


/* ========================================================
   15. AUTH — Type Cards & Steps
   ======================================================== */

.vb-type-card {
  border: 2px solid var(--vb-border);
  border-radius: var(--vb-radius-lg);
  padding: 1.2rem 1rem;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  text-align: center;
  background: #fff;
}

.vb-type-card:hover {
  border-color: var(--vb-primary);
  background: rgba(29,142,152,0.02);
}

.vb-type-card.selected {
  border-color: var(--vb-primary);
  background: rgba(29,142,152,0.04);
  box-shadow: 0 0 0 1px var(--vb-primary);
}

.vb-type-card small { color: var(--vb-muted); }

.vb-module-pill {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  padding: 0.4rem 0.75rem;
  border-radius: var(--vb-radius);
  font-size: 0.78rem;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
}

.vb-feature-pill {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.75);
  padding: 0.4rem 0.75rem;
  border-radius: var(--vb-radius);
  font-size: 0.78rem;
  margin-bottom: 0.5rem;
  width: 100%;
  display: flex;
  align-items: center;
}

.vb-step-progress .step-bar {
  height: 4px;
  background: var(--vb-border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.vb-step-progress .step-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--vb-primary), var(--vb-success));
  border-radius: 4px;
  transition: width 0.4s ease;
}


/* ========================================================
   16. PANEL — Navbar
   ======================================================== */

.vb-panel { background: var(--vb-bg); }

.vb-navbar {
  background: var(--vb-primary);
  box-shadow: var(--vb-shadow-md);
  position: sticky;
  top: 0;
  z-index: 1031;
  min-height: var(--vb-navbar-height);
}

.vb-navbar .navbar-brand {
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
}

.vb-navbar .nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.vb-navbar .nav-link:hover,
.vb-navbar .nav-link.active { color: #fff; }

.vb-navbar .dropdown-toggle::after { color: #fff; }


/* ========================================================
   17. PANEL — Sidebar
   ========================================================
   Yap\u0131: body seviyesinde sabit (fixed) konumlu.
   - lg+: sol tarafta fixed, geni\u015flik 240px, .vb-main margin-left ile offset.
   - <lg: gizli, .show s\u0131n\u0131f\u0131 ile slide-in olarak a\u00e7\u0131l\u0131r.
   ======================================================== */

:root {
  --vb-sidebar-width: 240px;
  --vb-navbar-height: 56px;
}

.vb-sidebar {
  position: fixed;
  top: var(--vb-navbar-height);
  left: 0;
  width: var(--vb-sidebar-width);
  height: calc(100vh - var(--vb-navbar-height));
  background: #fff;
  border-right: 1px solid var(--vb-border);
  padding: 1rem 0 1.5rem;
  overflow-y: auto;
  z-index: 1030;
  -webkit-overflow-scrolling: touch;
}

.vb-sidebar .nav-link {
  color: var(--vb-text);
  padding: 0.55rem 1rem;
  border-radius: var(--vb-radius);
  margin: 2px 8px;
  font-size: 0.87rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.15s, color 0.15s;
}

.vb-sidebar .nav-link:hover {
  background: var(--vb-primary-light);
  color: var(--vb-primary);
}

.vb-sidebar .nav-link.active {
  background: var(--vb-primary);
  color: #fff;
}

.vb-sidebar .nav-link i {
  font-size: 1.05rem;
  width: 20px;
  text-align: center;
}

.vb-sidebar .collapse .nav-link,
.vb-sidebar .collapsing .nav-link {
  font-size: 0.82rem;
  padding: 0.3rem 0.75rem;
}

.vb-sidebar .collapse .nav-link i,
.vb-sidebar .collapsing .nav-link i {
  font-size: 0.88rem;
}


/* ========================================================
   18. PANEL — Main / Cards / Stats
   ======================================================== */

.vb-main {
  padding: 1.5rem;
  min-height: calc(100vh - var(--vb-navbar-height));
  margin-left: 0;
  transition: margin-left 0.2s ease;
}

@media (min-width: 992px) {
  .vb-main { margin-left: var(--vb-sidebar-width); }
}

.vb-card {
  background: var(--vb-surface);
  border: 1px solid var(--vb-border-soft);
  border-radius: var(--vb-radius-lg);
  box-shadow: var(--vb-shadow-sm);
  transition: box-shadow 0.2s;
}

.vb-card:hover { box-shadow: var(--vb-shadow-md); }

.vb-card .card-header {
  background: transparent;
  border-bottom: 1px solid var(--vb-border);
  font-weight: 600;
  font-size: 0.9rem;
}

.vb-stat-card {
  background: #fff;
  border: 1px solid var(--vb-border);
  border-radius: var(--vb-radius-lg);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: box-shadow 0.2s;
}

.vb-stat-card:hover { box-shadow: var(--vb-shadow-md); }

.vb-stat-card .stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--vb-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.vb-stat-card .stat-icon.primary { background: var(--vb-primary-light); color: var(--vb-primary); }
.vb-stat-card .stat-icon.success { background: #d1fae5; color: var(--vb-success); }
.vb-stat-card .stat-icon.warning { background: #fef3c7; color: var(--vb-warning); }
.vb-stat-card .stat-icon.danger  { background: #fee2e2; color: var(--vb-danger); }
.vb-stat-card .stat-icon.accent  { background: #ede9fe; color: var(--vb-accent); }

.vb-stat-card .stat-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--vb-dark);
  line-height: 1;
}

.vb-stat-card .stat-label {
  font-size: 0.78rem;
  color: var(--vb-muted);
  margin-top: 2px;
}


/* ========================================================
   19. PANEL — Welcome Banner
   ======================================================== */

.vb-welcome-banner {
  background: linear-gradient(135deg, var(--vb-dark) 0%, var(--vb-primary) 100%);
  border-radius: var(--vb-radius-xl);
  padding: 1.75rem 2rem;
  color: #fff;
}

.vb-avatar-lg {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  border: 2px solid rgba(255,255,255,0.25);
  flex-shrink: 0;
}


/* ========================================================
   20. SHARED — Badges, Tables, Toast, Notification
   ======================================================== */

.vb-badge { font-size: 0.75rem; font-weight: 600; padding: 0.25em 0.6em; border-radius: 20px; }
.vb-badge-active   { background: #d1fae5; color: #065f46; }
.vb-badge-pending  { background: #fef3c7; color: #92400e; }
.vb-badge-closed   { background: #f3f4f6; color: #4b5563; }
.vb-badge-urgent   { background: #fee2e2; color: #991b1b; }
.vb-badge-assigned { background: #ede9fe; color: #5b21b6; }

.vb-table thead th {
  background: var(--vb-dark);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  border: none;
}

.vb-table tbody tr:hover { background: var(--vb-primary-light); }

.vb-notification-badge { position: relative; }
.vb-notification-badge .badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--vb-danger);
  font-size: 0.65rem;
  padding: 0.2em 0.4em;
  border-radius: 50%;
}

.vb-toast-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 9999;
}

.vb-page-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--vb-dark);
  margin-bottom: 1.5rem;
}


/* ========================================================
   21. RESPONSIVE
   ========================================================
   Breakpoint stratejisi:
   - lg (>= 992px): Tam masa\u00fcst\u00fc d\u00fczen, sidebar in-flow
   - md (768-991px): Tablet — sidebar slide-in (col-md-3 yetersiz oldu\u011fu i\u00e7in)
   - sm (576-767px): K\u00fc\u00e7\u00fck tablet / b\u00fcy\u00fck telefon
   - xs (< 576px): Telefon
   ======================================================== */

/* ---- AUTH responsive ---- */
@media (max-width: 991.98px) {
  .vb-auth-left { display: none !important; }
  .vb-auth-right { padding: 2rem 1.25rem; min-height: 100vh; }
  .vb-auth-form { max-width: 480px; }
}

@media (min-width: 992px) and (max-height: 800px) {
  .vb-auth-left { padding: 1.5rem 2.5rem; }
  .vb-auth-left__bottom { bottom: 1rem; left: 2.5rem; right: 2.5rem; }
}

/* ---- SIDEBAR mobil/tablet (< lg): slide-in panel ---- */
@media (max-width: 991.98px) {
  .vb-sidebar {
    width: 280px;
    max-width: 85vw;
    box-shadow: var(--vb-shadow-lg);
    z-index: 1050;
    transform: translateX(-105%);
    transition: transform 0.25s ease;
  }
  .vb-sidebar.show { transform: translateX(0); }
  .vb-main { padding: 1rem; }
}

/* Sidebar arka plan overlay (sadece mobilde aktif olur) */
.vb-sidebar-backdrop {
  position: fixed;
  inset: var(--vb-navbar-height) 0 0 0;
  background: rgba(10, 10, 74, 0.45);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.vb-sidebar-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}
@media (min-width: 992px) {
  .vb-sidebar-backdrop { display: none; }
}

/* Mobilde sidebar a\u00e7\u0131kken body'nin scroll'u kilitlensin */
body.vb-sidebar-open { overflow: hidden; }
@media (min-width: 992px) {
  body.vb-sidebar-open { overflow: auto; }
}

/* ---- HERO / SECTION ---- */
@media (max-width: 991.98px) {
  .vb-hero { padding: 4rem 0 3rem; }
  .vb-hero h1 { font-size: 2.2rem; }
  .vb-hero p.hero-desc { font-size: 1rem; }
  .vb-section { padding: 3.5rem 0; }
}

@media (max-width: 767.98px) {
  .vb-hero { padding: 2.75rem 0 2.25rem; }
  .vb-hero h1 { font-size: 1.85rem; line-height: 1.2; letter-spacing: -0.5px; }
  .vb-hero p.hero-desc { font-size: 0.95rem; }
  .vb-hero-badge { font-size: 0.75rem; padding: 0.35rem 0.85rem; margin-bottom: 1rem; }
  .vb-hero::before { width: 320px; height: 320px; right: -40%; }

  .vb-section { padding: 2.5rem 0; }
  .vb-section__title { font-size: 1.4rem; }
  .vb-section__subtitle { font-size: 0.88rem; margin-bottom: 1.75rem; }

  .vb-stats-bar { padding: 1.25rem 0; }
  .vb-stats-bar .stat-number { font-size: 1.4rem; }

  .vb-welcome-banner { padding: 1.1rem 1.1rem; border-radius: var(--vb-radius-lg); }
  .vb-welcome-banner h2 { font-size: 1.15rem; line-height: 1.3; }
  .vb-avatar-lg { width: 46px; height: 46px; font-size: 0.95rem; }

  .vb-step-card { padding: 1.75rem 1rem; }
  .vb-feature-card, .vb-payment-card, .vb-testimonial { padding: 1.25rem; }

  .vb-cta { padding: 3rem 0; }
  .vb-cta h2 { font-size: 1.35rem !important; }

  .vb-stat-card { padding: 0.95rem; gap: 0.75rem; }
  .vb-stat-card .stat-icon { width: 40px; height: 40px; font-size: 1.1rem; }
  .vb-stat-card .stat-value { font-size: 1.15rem; }
  .vb-stat-card .stat-label { font-size: 0.72rem; }

  .vb-page-title { font-size: 1.2rem; margin-bottom: 1rem; }
}

@media (max-width: 575.98px) {
  .vb-stats-bar .stat-number { font-size: 1.15rem; }
  .vb-stats-bar .stat-label  { font-size: 0.7rem; }
  .vb-hero h1 { font-size: 1.55rem; }
  .vb-hero .btn-lg { font-size: 0.95rem; padding: 0.55rem 1.1rem !important; }

  /* Buton gruplar\u0131 ve form butonlar\u0131 minik telefonlarda tam geni\u015flik */
  .vb-mobile-stack-btn .btn { width: 100% !important; }
}

/* ---- TABLO mobilde s\u0131k\u0131\u015ft\u0131rma ---- */
@media (max-width: 767.98px) {
  .table-responsive { -webkit-overflow-scrolling: touch; }
  .table-responsive .table { font-size: 0.82rem; }
  .table-responsive .table th,
  .table-responsive .table td {
    padding: 0.55rem 0.5rem;
    white-space: nowrap;
  }
  .table-responsive .table .ps-4 { padding-left: 0.75rem !important; }
  .table-responsive .table .pe-4 { padding-right: 0.75rem !important; }
  .table-responsive .badge { font-size: 0.65rem; }
  .table-responsive .btn-sm { padding: 0.2rem 0.45rem; font-size: 0.75rem; }
  /* Sa\u011fa kayd\u0131rma ipucu */
  .table-responsive {
    background:
      linear-gradient(to right, #fff 30%, rgba(255,255,255,0)) left center / 24px 100% no-repeat,
      linear-gradient(to left,  #fff 30%, rgba(255,255,255,0)) right center / 24px 100% no-repeat,
      radial-gradient(farthest-side at 0 50%, rgba(0,0,0,0.08), transparent) left center / 14px 100% no-repeat,
      radial-gradient(farthest-side at 100% 50%, rgba(0,0,0,0.08), transparent) right center / 14px 100% no-repeat;
    background-attachment: local, local, scroll, scroll;
  }
}

/* ---- DROPDOWN (bildirim, profil) mobil ---- */
@media (max-width: 575.98px) {
  .vb-navbar .dropdown-menu,
  .vb-public-navbar .dropdown-menu {
    width: calc(100vw - 24px) !important;
    max-width: 360px !important;
    right: 12px !important;
    left: auto !important;
  }
  .vb-navbar .dropdown-menu[style*="width: 340px"] {
    width: calc(100vw - 24px) !important;
  }
}

/* ---- TOAST mobilde ---- */
@media (max-width: 575.98px) {
  .vb-toast-container {
    top: 70px;
    right: 12px;
    left: 12px;
    max-width: none;
  }
  .vb-toast-container .toast { width: 100%; }
}

/* ---- MODAL mobilde ---- */
@media (max-width: 575.98px) {
  .modal-dialog {
    margin: 0.5rem;
  }
  .modal-dialog.modal-lg,
  .modal-dialog.modal-xl {
    max-width: calc(100vw - 1rem);
  }
  .modal-body { padding: 1rem; }
  .modal-header, .modal-footer { padding: 0.75rem 1rem; }
  .modal-footer .btn { padding: 0.45rem 0.85rem; font-size: 0.88rem; }
}

/* ---- BREADCRUMB k\u0131sa mobilde ---- */
@media (max-width: 575.98px) {
  .breadcrumb { font-size: 0.78rem; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .breadcrumb-item { white-space: nowrap; }
}

/* === Public navbar — Mobile drawer (custom, framework-agnostic) === */

.vb-drawer {
  position: fixed;
  inset: 0;
  z-index: 1100;
  pointer-events: none;
  visibility: hidden;
}
@media (min-width: 992px) {
  .vb-drawer { display: none !important; }
}
.vb-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 24, 0.58);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.vb-drawer__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(86vw, 340px);
  background: linear-gradient(180deg, #0B1224 0%, #060B14 100%);
  color: #fff;
  border-left: 1px solid rgba(255,255,255,0.06);
  box-shadow: -20px 0 60px -10px rgba(0,0,0,0.55);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

body.vb-drawer-open .vb-drawer { pointer-events: auto; visibility: visible; }
body.vb-drawer-open .vb-drawer__backdrop { opacity: 1; }
body.vb-drawer-open .vb-drawer__panel { transform: translateX(0); }
body.vb-drawer-open { overflow: hidden; }

.vb-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1.05rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex: 0 0 auto;
}
.vb-drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.2s ease;
}
.vb-drawer__close:hover {
  background: rgba(255,255,255,0.12);
  transform: rotate(90deg);
}

.vb-drawer__body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 0.85rem;
}
.vb-drawer__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.vb-drawer__link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0.85rem;
  color: rgba(255,255,255,0.82);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 10px;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.vb-drawer__link:hover,
.vb-drawer__link:focus-visible {
  background: rgba(255,255,255,0.06);
  color: #fff;
  outline: none;
}
.vb-drawer__link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(29, 142, 152, 0.18);
  color: #5BC5CC;
  font-size: 1rem;
  flex-shrink: 0;
}
.vb-drawer__link-text { flex: 1 1 auto; }
.vb-drawer__link-chevron { font-size: 0.78rem; opacity: 0.45; }

.vb-drawer__foot {
  flex: 0 0 auto;
  padding: 0.85rem 0.95rem 1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.vb-drawer__utility {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
}
.vb-drawer__util-btn {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  height: 38px;
  padding: 0 0.6rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.vb-drawer__util-btn:hover,
.vb-drawer__util-btn:focus-visible {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.20);
  color: #fff;
  outline: none;
}
.vb-drawer__util-lang { flex: 1 1 0; display: flex; }
.vb-drawer__util-lang > .vb-drawer__util-btn { width: 100%; }
.vb-drawer__cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.vb-drawer__cta .vb-public-navbar__btn {
  height: 44px;
  width: 100%;
  justify-content: center;
  font-size: 0.92rem;
}

/* ---- HERO PANEL responsive ---- */
@media (max-width: 1199.98px) {
  .vb-hero-panel { max-width: 420px; }
  .vb-hero-panel__inner { padding: 0.95rem 1rem 0.85rem; }
  .vb-hero-panel__title { font-size: 0.98rem; }
  .vb-hero-row { padding: 0.5rem 0.6rem; }
  .vb-hero-row__icon { width: 32px; height: 32px; }
}

/* ---- CALENDAR mobil ---- */
@media (max-width: 767.98px) {
  .vb-calendar-grid table { table-layout: fixed; font-size: 0.7rem; }
  .vb-calendar-grid td { height: 48px !important; padding: 0.25rem !important; }
  .vb-calendar-grid th { padding: 0.4rem 0.2rem !important; font-size: 0.7rem !important; }
  .vb-calendar-grid .calendar-event {
    font-size: 0.55rem !important;
    padding: 1px 3px;
  }
}

/* ---- FORM \u00d6\u011eelerinin minik ekranda ferahlamas\u0131 ---- */
@media (max-width: 575.98px) {
  .form-label { font-size: 0.85rem; margin-bottom: 0.3rem; }
  .form-control, .form-select { font-size: 0.92rem; }
  .input-group-text { padding: 0.4rem 0.6rem; }
  .alert { padding: 0.7rem 0.85rem; font-size: 0.88rem; }
}

/* ---- CARD k\u00fc\u00e7\u00fck ekranda padding ---- */
@media (max-width: 575.98px) {
  .vb-card .card-body { padding: 0.95rem; }
  .vb-card .card-header { padding: 0.65rem 0.95rem; font-size: 0.85rem; }
}

/* ---- FOOTER mobil ---- */
@media (max-width: 575.98px) {
  .vb-footer-main .row.py-5 { padding: 2rem 0 !important; }
}

/* ---- iOS dokunmatik tap hedefleri ---- */
@media (max-width: 767.98px) {
  .vb-sidebar .nav-link { padding: 0.7rem 1rem; font-size: 0.92rem; }
  .vb-sidebar .nav-link i { font-size: 1.1rem; }
  .navbar-toggler { padding: 0.35rem 0.55rem; }
}


/* ========================================================
   22. PHONE INPUT (International)
   ======================================================== */

.vb-phone-wrapper {
  position: relative;
  width: 100%;
}

.vb-phone-group {
  width: 100%;
}

.vb-phone-country {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  height: 42px;
  border: 1px solid var(--vb-border);
  border-right: none;
  background: #fff;
  border-radius: var(--vb-radius) 0 0 var(--vb-radius) !important;
  color: var(--vb-text);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}

.vb-phone-country:hover {
  background: var(--vb-primary-10);
}

.vb-phone-country:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem var(--vb-primary-10);
  z-index: 2;
}

.vb-phone-flag {
  font-size: 1.15rem;
  line-height: 1;
}

.vb-phone-dial {
  font-variant-numeric: tabular-nums;
  color: var(--vb-text);
}

.vb-phone-caret {
  font-size: 0.7rem;
  color: var(--vb-muted);
  margin-left: 2px;
}

.vb-phone-group .vb-phone-number {
  border-radius: 0 var(--vb-radius) var(--vb-radius) 0 !important;
  border-left: none !important;
  height: 42px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.2px;
}

.vb-phone-wrapper.has-error .vb-phone-country,
.vb-phone-wrapper.has-error .vb-phone-number {
  border-color: var(--vb-danger) !important;
  background: var(--vb-danger-10);
}

.vb-phone-group .vb-phone-number.is-valid {
  border-color: var(--vb-success);
  background: #fff;
}
.vb-phone-group .vb-phone-number.is-invalid {
  border-color: var(--vb-warning);
  background: #fff;
}

/* Dropdown */
.vb-phone-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 1060;
  background: #fff;
  border: 1px solid var(--vb-border);
  border-radius: var(--vb-radius);
  box-shadow: var(--vb-shadow-lg);
  overflow: hidden;
  min-width: 260px;
  max-width: 360px;
}

.vb-phone-dropdown.open {
  display: block;
  animation: vbPhoneFadeIn 0.14s ease-out;
}

@keyframes vbPhoneFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.vb-phone-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--vb-border);
  background: var(--vb-bg);
  color: var(--vb-muted);
}

.vb-phone-search i {
  font-size: 0.9rem;
}

.vb-phone-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.9rem;
  color: var(--vb-text);
}

.vb-phone-list {
  max-height: 280px;
  overflow-y: auto;
}

.vb-phone-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.12s;
  border-bottom: 1px solid #F3F4F6;
}

.vb-phone-item:last-child {
  border-bottom: none;
}

.vb-phone-item:hover {
  background: var(--vb-primary-10);
}

.vb-phone-item.active {
  background: var(--vb-primary-10);
  font-weight: 600;
}

.vb-phone-item .vb-phone-flag {
  font-size: 1.2rem;
}

.vb-phone-item .vb-phone-name {
  flex: 1;
  color: var(--vb-text);
}

.vb-phone-item .vb-phone-dial-sm {
  color: var(--vb-muted);
  font-variant-numeric: tabular-nums;
  font-size: 0.85rem;
}

.vb-phone-empty {
  padding: 14px;
  text-align: center;
  color: var(--vb-muted);
  font-size: 0.85rem;
}


/* ========================================================
   23. PASSWORD MATCH INDICATOR
   ======================================================== */

/* [V1.2] Şifre input + göz ikonu sarmalayıcı (R60 layout fix)
   - Göz butonu absolute; input'a `pe-5` (right padding 3rem) verilir.
   - Hata feedback için input altında min-height korunur.
   - is-invalid border eye iconunu kapatmaz; pozisyon sabit. */
.vb-pwd-wrap {
  position: relative;
}
.vb-pwd-wrap > .form-control {
  padding-right: 3rem !important;
}
.vb-pwd-wrap > [data-vb-pwd-toggle] {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  z-index: 5;
  background: transparent;
  border: 0;
  color: var(--vb-text-secondary);
  text-decoration: none;
  padding: 0;
}
.vb-pwd-wrap > [data-vb-pwd-toggle]:hover {
  color: var(--vb-primary);
}
.vb-pwd-wrap .invalid-feedback,
.vb-pwd-wrap .form-text {
  margin-top: 0.25rem;
}
/* [FAZ4 Bug #57] Şifre göster ikonu (.vb-pwd-wrap) input'a ait padding
   etkisinden bağımsız, sağ kenarda sabit kalsın; .is-invalid eklendiğinde
   bootstrap'in eklediği background-icon ile çakışmasın.  */
.vb-pwd-wrap > .form-control.is-invalid,
.vb-pwd-wrap > .form-control.is-valid {
  background-image: none !important;
  padding-right: 3rem !important;
}
/* [FAZ5 Bug #32-#34, #36] Mesajlaşma sayfası küçük UI düzeltmeleri:
   - .vb-conversation-item içindeki son mesaj önizlemesi kesilmek yerine
     ellipsis ile tek satırda görünür.
   - Sohbet listesinde gereksiz yatay scrollbar görünmesin.
   - Seçili konuşmanın sol kenarı + alt çizgisi düzgün hizalanır.
   - Tarih kolonu kısa sıkıştığında "..." yerine küçük puntoda tek satırda
     kalır (kesilmesin). */
.vb-conversation-item .text-truncate { max-width: 100%; }
#vb-conversation-list { overflow-x: hidden !important; }
.vb-conversation-item.active {
  background: var(--vb-primary-10, rgba(29,142,152,0.08)) !important;
  border-left: 3px solid var(--vb-primary) !important;
}
.vb-conversation-item + .vb-conversation-item { border-top: 1px solid var(--vb-border-soft, rgba(0,0,0,0.05)); }
/* Tarih kolonu küçük ekranlarda kesilmek yerine alt satıra düşmesin */
.vb-conversation-item .small { white-space: nowrap; }
.vb-pwd-wrap > [data-vb-pwd-toggle] { right: 0 !important; }
/* [FAZ5 Bug #30] Edge/Chrome built-in password reveal ikonu bizim ikonun
   üstüne çift binmesin. Tüm modern tarayıcılarda native reveal kapatılır. */
.vb-pwd-wrap > input[type="password"]::-ms-reveal,
.vb-pwd-wrap > input[type="password"]::-ms-clear,
.vb-pwd-wrap > input[type="text"]::-ms-reveal,
.vb-pwd-wrap > input[type="text"]::-ms-clear {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
/* Şifre eşleşme indikatörü açıldığında ekran "atlamasın" — yer rezerve et */
.vb-pw-match-reserve { min-height: 22px; }

.vb-pw-match {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  transition: color 0.15s;
}

.vb-pw-match.ok    { color: var(--vb-success); }
.vb-pw-match.fail  { color: var(--vb-danger); }
.vb-pw-match i     { font-size: 0.95rem; }


/* Mobile responsive */
@media (max-width: 480px) {
  .vb-phone-dropdown {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 16px 16px 0 0;
    max-width: 100%;
    max-height: 70vh;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.15);
  }
  .vb-phone-list { max-height: calc(70vh - 60px); }
}


/* ════════════════════════════════════════════════════════
   DARK TEMA — Bootstrap utility & component override'ları
   Sadece [data-theme="dark"] altında etkili.
   Referans: /Vekilbul.comDarkMode/ mockup'ları
   ════════════════════════════════════════════════════════ */

/* ─── 1) Body & temel ─── */
[data-theme="dark"] {
  background: var(--vb-bg-deep);
  color: var(--vb-text);
}
[data-theme="dark"] body {
  background: var(--vb-bg-deep);
  color: var(--vb-text);
}

/* Bootstrap utility override'ları */
[data-theme="dark"] .bg-white    { background-color: var(--vb-surface) !important; color: var(--vb-text) !important; }
[data-theme="dark"] .bg-light    { background-color: var(--vb-surface-2) !important; color: var(--vb-text) !important; }
[data-theme="dark"] .bg-body     { background-color: var(--vb-bg-deep) !important; }
[data-theme="dark"] .bg-light-subtle { background-color: var(--vb-surface-2) !important; color: var(--vb-text) !important; }
[data-theme="dark"] .text-muted,
[data-theme="dark"] .text-secondary { color: var(--vb-text-soft) !important; }
[data-theme="dark"] .text-dark   { color: var(--vb-text-strong) !important; }
[data-theme="dark"] .text-body   { color: var(--vb-text) !important; }
[data-theme="dark"] .text-black  { color: var(--vb-text-strong) !important; }
[data-theme="dark"] .text-white  { color: var(--vb-text-strong) !important; }
[data-theme="dark"] .border,
[data-theme="dark"] .border-top,
[data-theme="dark"] .border-bottom,
[data-theme="dark"] .border-start,
[data-theme="dark"] .border-end  { border-color: var(--vb-border-soft) !important; }
[data-theme="dark"] hr           { border-color: var(--vb-border-soft); opacity: 1; }

/* ─── 2) Tipografi ─── */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 { color: var(--vb-text-strong); }

[data-theme="dark"] a              { color: #7DD3DC; }
[data-theme="dark"] a:hover        { color: #A5E5EB; }
[data-theme="dark"] code,
[data-theme="dark"] pre            { color: #E2E8F0; background: var(--vb-surface-2); }
[data-theme="dark"] kbd            { background: var(--vb-surface-3); color: var(--vb-text); }
[data-theme="dark"] mark           { background: rgba(251,191,36,0.20); color: var(--vb-text-strong); }
[data-theme="dark"] blockquote     { color: var(--vb-text-soft); border-left-color: var(--vb-border-strong); }
[data-theme="dark"] small,
[data-theme="dark"] .small          { color: inherit; }

/* ─── 3) Form elemanları ─── */
[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select,
[data-theme="dark"] textarea {
  background-color: var(--vb-input-bg);
  color: var(--vb-input-text);
  border-color: var(--vb-border-soft);
}
[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus,
[data-theme="dark"] textarea:focus {
  background-color: var(--vb-input-bg);
  color: var(--vb-input-text);
  border-color: var(--vb-primary);
  box-shadow: 0 0 0 0.2rem var(--vb-primary-10);
}
[data-theme="dark"] .form-control::placeholder,
[data-theme="dark"] .form-select::placeholder,
[data-theme="dark"] textarea::placeholder { color: var(--vb-text-soft); opacity: 0.7; }
[data-theme="dark"] .form-control:disabled,
[data-theme="dark"] .form-control[readonly],
[data-theme="dark"] .form-select:disabled { background-color: var(--vb-surface-2); color: var(--vb-text-soft); cursor: not-allowed; }
[data-theme="dark"] .form-label  { color: var(--vb-text); }
[data-theme="dark"] .form-text   { color: var(--vb-text-soft); }
[data-theme="dark"] .form-check-input          { background-color: var(--vb-surface-3); border-color: var(--vb-border-strong); }
[data-theme="dark"] .form-check-input:checked  { background-color: var(--vb-primary); border-color: var(--vb-primary); }
[data-theme="dark"] .form-check-label          { color: var(--vb-text); }
[data-theme="dark"] .input-group-text          { background: var(--vb-surface-2); color: var(--vb-text-soft); border-color: var(--vb-border-soft); }
[data-theme="dark"] .input-group-text.bg-white { background: var(--vb-surface-2) !important; }
[data-theme="dark"] .form-floating > .form-control,
[data-theme="dark"] .form-floating > .form-select { background-color: var(--vb-input-bg); color: var(--vb-input-text); }
[data-theme="dark"] .form-floating > label     { color: var(--vb-text-soft); }
[data-theme="dark"] .form-control[type="file"]::-webkit-file-upload-button {
  background: var(--vb-surface-3); color: var(--vb-text); border-right: 1px solid var(--vb-border-soft);
}
[data-theme="dark"] .form-control[type="file"]::file-selector-button {
  background: var(--vb-surface-3); color: var(--vb-text); border-right: 1px solid var(--vb-border-soft);
}
[data-theme="dark"] .form-range::-webkit-slider-runnable-track { background: var(--vb-surface-3); }

/* ─── 4) Card / Modal / Dropdown / Popover / Toast ─── */
[data-theme="dark"] .card,
[data-theme="dark"] .modal-content,
[data-theme="dark"] .dropdown-menu,
[data-theme="dark"] .popover,
[data-theme="dark"] .toast {
  background-color: var(--vb-surface);
  color: var(--vb-text);
  border-color: var(--vb-border-soft);
}
[data-theme="dark"] .card-header,
[data-theme="dark"] .card-footer,
[data-theme="dark"] .modal-header,
[data-theme="dark"] .modal-footer {
  background: var(--vb-surface);
  border-color: var(--vb-border-soft);
  color: var(--vb-text);
}
[data-theme="dark"] .vb-card,
[data-theme="dark"] .card.vb-card {
  background: var(--vb-surface);
  border-color: var(--vb-border-soft);
  box-shadow: 0 1px 3px rgba(0,0,0,0.35);
}
[data-theme="dark"] .vb-card .card-header,
[data-theme="dark"] .vb-card .card-footer { background: var(--vb-surface) !important; border-color: var(--vb-border-soft) !important; }

[data-theme="dark"] .dropdown-item                  { color: var(--vb-text); }
[data-theme="dark"] .dropdown-item:hover,
[data-theme="dark"] .dropdown-item:focus            { background: var(--vb-surface-2); color: var(--vb-text-strong); }
[data-theme="dark"] .dropdown-divider               { border-color: var(--vb-border-soft); }
[data-theme="dark"] .dropdown-header                { color: var(--vb-text-soft); }
[data-theme="dark"] .modal-backdrop                 { background-color: #000; }
[data-theme="dark"] .modal-backdrop.show            { opacity: 0.7; }
[data-theme="dark"] .popover-arrow::before          { border-color: var(--vb-border-soft) !important; }
[data-theme="dark"] .popover-arrow::after           { border-color: var(--vb-surface) !important; }
[data-theme="dark"] .popover .popover-header        { background: var(--vb-surface-2); color: var(--vb-text); border-bottom-color: var(--vb-border-soft); }
[data-theme="dark"] .tooltip-inner                  { background: var(--vb-surface-3); color: var(--vb-text-strong); }
[data-theme="dark"] .tooltip .tooltip-arrow::before { border-top-color: var(--vb-surface-3); border-bottom-color: var(--vb-surface-3); }

/* ─── 5) Tablo ─── */
[data-theme="dark"] .table {
  --bs-table-bg: var(--vb-surface);
  --bs-table-color: var(--vb-text);
  --bs-table-border-color: var(--vb-border-soft);
  --bs-table-striped-bg: rgba(255,255,255,0.02);
  --bs-table-striped-color: var(--vb-text);
  --bs-table-hover-bg: var(--vb-surface-2);
  --bs-table-hover-color: var(--vb-text-strong);
  color: var(--vb-text);
  border-color: var(--vb-border-soft);
}
[data-theme="dark"] .table thead       { background: var(--vb-surface-2); color: var(--vb-text-soft); }
[data-theme="dark"] .table thead th    { background: transparent; color: var(--vb-text-soft); border-bottom-color: var(--vb-border-soft); font-weight: 600; }
[data-theme="dark"] .table > :not(caption) > * > * { background-color: transparent; color: inherit; border-bottom-color: var(--vb-border-soft); }
[data-theme="dark"] .table-sm th,
[data-theme="dark"] .table-sm td       { color: var(--vb-text); }

/* ─── 6) Alert (sol-border'lı bilgi banner görünümü) ─── */
[data-theme="dark"] .alert {
  background: var(--vb-surface);
  border-color: var(--vb-border-soft);
  color: var(--vb-text);
}
[data-theme="dark"] .alert-info     { background: rgba(29,142,152,0.10); color: #9FE1E7; border-color: rgba(29,142,152,0.25); border-left: 4px solid var(--vb-primary); }
[data-theme="dark"] .alert-success  { background: rgba(52,211,153,0.10); color: #A7F3D0; border-color: rgba(52,211,153,0.25); border-left: 4px solid var(--vb-success); }
[data-theme="dark"] .alert-warning  { background: rgba(251,191,36,0.10); color: #FDE68A; border-color: rgba(251,191,36,0.25); border-left: 4px solid var(--vb-warning); }
[data-theme="dark"] .alert-danger   { background: rgba(239,68,68,0.10);  color: #FECACA; border-color: rgba(239,68,68,0.25);  border-left: 4px solid var(--vb-danger); }
[data-theme="dark"] .alert-primary  { background: rgba(29,142,152,0.10); color: #9FE1E7; border-color: rgba(29,142,152,0.25); border-left: 4px solid var(--vb-primary); }
[data-theme="dark"] .alert-secondary{ background: var(--vb-surface);     color: var(--vb-text); border-color: var(--vb-border-soft); }
[data-theme="dark"] .alert-light    { background: var(--vb-surface);     color: var(--vb-text); border-color: var(--vb-border-soft); }
[data-theme="dark"] .alert .btn-close { filter: invert(1) brightness(2); }

/* ─── 7) List group / Accordion ─── */
[data-theme="dark"] .list-group {
  --bs-list-group-bg: var(--vb-surface);
  --bs-list-group-color: var(--vb-text);
  --bs-list-group-border-color: var(--vb-border-soft);
  --bs-list-group-action-hover-bg: var(--vb-surface-2);
  --bs-list-group-action-hover-color: var(--vb-text-strong);
  --bs-list-group-active-bg: var(--vb-primary);
  --bs-list-group-active-border-color: var(--vb-primary);
}
[data-theme="dark"] .list-group-item        { background: var(--vb-surface); color: var(--vb-text); border-color: var(--vb-border-soft); }
[data-theme="dark"] .list-group-item-action:hover,
[data-theme="dark"] .list-group-item-action:focus { background: var(--vb-surface-2); color: var(--vb-text-strong); }
[data-theme="dark"] .list-group-item.active { background: var(--vb-primary); border-color: var(--vb-primary); color: #fff; }

[data-theme="dark"] .accordion {
  --bs-accordion-bg: var(--vb-surface);
  --bs-accordion-color: var(--vb-text);
  --bs-accordion-border-color: var(--vb-border-soft);
  --bs-accordion-active-bg: var(--vb-surface-2);
  --bs-accordion-active-color: var(--vb-text-strong);
  --bs-accordion-btn-bg: var(--vb-surface);
  --bs-accordion-btn-color: var(--vb-text);
  --bs-accordion-btn-focus-border-color: var(--vb-primary);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.2rem var(--vb-primary-10);
}
[data-theme="dark"] .accordion-button                { background: var(--vb-surface); color: var(--vb-text); }
[data-theme="dark"] .accordion-button:not(.collapsed) { background: var(--vb-surface-2); color: var(--vb-text-strong); box-shadow: inset 0 -1px 0 var(--vb-border-soft); }
[data-theme="dark"] .accordion-body,
[data-theme="dark"] .accordion-item                  { background: var(--vb-surface); color: var(--vb-text); border-color: var(--vb-border-soft); }
[data-theme="dark"] .accordion-button::after        { filter: invert(1) brightness(1.6); }

/* ─── 8) Nav (tabs / pills) ─── */
[data-theme="dark"] .nav-tabs                       { border-bottom-color: var(--vb-border-soft); }
[data-theme="dark"] .nav-tabs .nav-link             { color: var(--vb-text-soft); border-color: transparent; }
[data-theme="dark"] .nav-tabs .nav-link:hover       { color: var(--vb-text); border-color: var(--vb-border-soft); }
[data-theme="dark"] .nav-tabs .nav-link.active      { background: var(--vb-surface); color: var(--vb-text-strong); border-color: var(--vb-border-soft) var(--vb-border-soft) var(--vb-surface); }
[data-theme="dark"] .nav-pills .nav-link            { color: var(--vb-text-soft); }
[data-theme="dark"] .nav-pills .nav-link.active     { background: var(--vb-primary); color: #fff; }
[data-theme="dark"] .nav-link                       { color: var(--vb-text); }
[data-theme="dark"] .breadcrumb                      { background: transparent; }
[data-theme="dark"] .breadcrumb-item                 { color: var(--vb-text-soft); }
[data-theme="dark"] .breadcrumb-item.active          { color: var(--vb-text); }
[data-theme="dark"] .breadcrumb-item + .breadcrumb-item::before { color: var(--vb-text-soft); }
[data-theme="dark"] .breadcrumb-item a               { color: var(--vb-text-soft); }
[data-theme="dark"] .breadcrumb-item a:hover         { color: var(--vb-primary); }

/* Pagination */
[data-theme="dark"] .pagination {
  --bs-pagination-bg: var(--vb-surface);
  --bs-pagination-color: var(--vb-text);
  --bs-pagination-border-color: var(--vb-border-soft);
  --bs-pagination-hover-bg: var(--vb-surface-2);
  --bs-pagination-hover-color: var(--vb-text-strong);
  --bs-pagination-hover-border-color: var(--vb-border-soft);
  --bs-pagination-active-bg: var(--vb-primary);
  --bs-pagination-active-border-color: var(--vb-primary);
  --bs-pagination-disabled-bg: var(--vb-surface);
  --bs-pagination-disabled-color: var(--vb-text-soft);
}

/* ─── 9) Badge tonları ─── */
[data-theme="dark"] .badge.bg-light     { background: var(--vb-surface-2) !important; color: var(--vb-text) !important; }
[data-theme="dark"] .badge.bg-secondary { background: var(--vb-surface-3) !important; color: var(--vb-text) !important; }
[data-theme="dark"] .badge.bg-success-subtle  { background: rgba(52,211,153,0.18) !important; color: #A7F3D0 !important; }
[data-theme="dark"] .badge.bg-warning-subtle  { background: rgba(251,191,36,0.18) !important; color: #FDE68A !important; }
[data-theme="dark"] .badge.bg-danger-subtle   { background: rgba(239,68,68,0.18) !important; color: #FECACA !important; }
[data-theme="dark"] .badge.bg-info-subtle     { background: rgba(29,142,152,0.18) !important; color: #9FE1E7 !important; }
[data-theme="dark"] .badge.bg-primary-subtle  { background: rgba(29,142,152,0.18) !important; color: #9FE1E7 !important; }
[data-theme="dark"] .badge.text-bg-light      { background: var(--vb-surface-2) !important; color: var(--vb-text) !important; }
[data-theme="dark"] .badge.text-bg-secondary  { background: var(--vb-surface-3) !important; color: var(--vb-text) !important; }
[data-theme="dark"] .badge.text-bg-warning    { color: #1A1300 !important; }
[data-theme="dark"] .badge.text-bg-info       { color: #002B30 !important; }
[data-theme="dark"] .badge.bg-warning,
[data-theme="dark"] .text-bg-warning          { color: #1A1300 !important; }

/* ─── 10) Buton override'ları ─── */
[data-theme="dark"] .btn-light,
[data-theme="dark"] .btn-outline-light {
  background: var(--vb-surface-2);
  color: var(--vb-text);
  border-color: var(--vb-border-soft);
}
[data-theme="dark"] .btn-light:hover,
[data-theme="dark"] .btn-outline-light:hover {
  background: var(--vb-surface-3);
  color: var(--vb-text-strong);
  border-color: var(--vb-border-strong);
}
[data-theme="dark"] .btn-secondary {
  background: var(--vb-surface-2);
  color: var(--vb-text);
  border-color: var(--vb-border-soft);
}
[data-theme="dark"] .btn-secondary:hover {
  background: var(--vb-surface-3);
  color: var(--vb-text-strong);
  border-color: var(--vb-border-strong);
}
[data-theme="dark"] .btn-outline-secondary {
  color: var(--vb-text);
  border-color: var(--vb-border-strong);
  background: transparent;
}
[data-theme="dark"] .btn-outline-secondary:hover,
[data-theme="dark"] .btn-outline-secondary:focus {
  background: var(--vb-surface-2);
  color: var(--vb-text-strong);
  border-color: var(--vb-border-strong);
}
[data-theme="dark"] .btn-outline-primary {
  color: #7DD3DC;
  border-color: var(--vb-primary);
}
[data-theme="dark"] .btn-outline-primary:hover {
  background: var(--vb-primary);
  color: #fff;
}
[data-theme="dark"] .btn-outline-success {
  color: #6EE7B7;
  border-color: var(--vb-success);
}
[data-theme="dark"] .btn-outline-success:hover { background: var(--vb-success); color: #022C1A; }
[data-theme="dark"] .btn-outline-danger {
  color: #FCA5A5;
  border-color: var(--vb-danger);
}
[data-theme="dark"] .btn-outline-danger:hover { background: var(--vb-danger); color: #fff; }
[data-theme="dark"] .btn-outline-warning {
  color: #FCD34D;
  border-color: var(--vb-warning);
}
[data-theme="dark"] .btn-outline-warning:hover { background: var(--vb-warning); color: #1A1300; }
[data-theme="dark"] .btn-link             { color: #7DD3DC; }
[data-theme="dark"] .btn-link:hover       { color: #A5E5EB; }
[data-theme="dark"] .btn-close            { filter: invert(1) brightness(2); }

/* ─── 11) Scrollbar (WebKit) ─── */
[data-theme="dark"] ::-webkit-scrollbar          { width: 10px; height: 10px; }
[data-theme="dark"] ::-webkit-scrollbar-track    { background: var(--vb-bg-deep); }
[data-theme="dark"] ::-webkit-scrollbar-thumb    { background: var(--vb-border-strong); border-radius: 6px; border: 2px solid var(--vb-bg-deep); }
[data-theme="dark"] ::-webkit-scrollbar-thumb:hover { background: var(--vb-text-soft); }

/* ─── 12) Shadow yumuşatma ─── */
[data-theme="dark"] .shadow,
[data-theme="dark"] .shadow-sm,
[data-theme="dark"] .shadow-lg { box-shadow: 0 1px 0 rgba(0,0,0,0.35), 0 6px 18px rgba(0,0,0,0.45) !important; }

/* ════════════════════════════════════════════════════════
   Site-spesifik bileşenler — DARK
   ════════════════════════════════════════════════════════ */

/* ─── Panel navbar (üst bar) — referansta marka tealinden koyu surface'e geçiyor ─── */
[data-theme="dark"] .vb-navbar {
  background: var(--vb-surface);
  border-bottom: 1px solid var(--vb-border-soft);
  box-shadow: 0 1px 0 rgba(0,0,0,0.30);
}
[data-theme="dark"] .vb-navbar .navbar-brand        { color: var(--vb-text-strong); }
[data-theme="dark"] .vb-navbar .nav-link            { color: var(--vb-text-soft); }
[data-theme="dark"] .vb-navbar .nav-link:hover,
[data-theme="dark"] .vb-navbar .nav-link.active     { color: var(--vb-text-strong); }
[data-theme="dark"] .vb-navbar .dropdown-toggle::after { color: var(--vb-text-soft); }
[data-theme="dark"] .vb-navbar .navbar-toggler     { color: var(--vb-text); border-color: var(--vb-border-soft); }
[data-theme="dark"] .vb-navbar .navbar-toggler-icon { filter: invert(1) brightness(1.4); }
[data-theme="dark"] .vb-navbar .btn-link           { color: var(--vb-text-soft); }
[data-theme="dark"] .vb-navbar .btn-link:hover     { color: var(--vb-text-strong); }
/* Bildirim badge'inin pozisyonu korunsun */
[data-theme="dark"] .vb-navbar .badge.rounded-pill { box-shadow: 0 0 0 2px var(--vb-surface); }

/* ─── Public navbar (landing) — markalı koyu tonu korur, dark için biraz daha derinleştirilir ─── */
[data-theme="dark"] .vb-public-navbar {
  background: rgba(6, 11, 20, 0.82);
  border-bottom-color: rgba(255,255,255,0.04);
}
[data-theme="dark"] .vb-public-navbar__lang-menu {
  background: var(--vb-surface);
  border-color: var(--vb-border-soft);
}
[data-theme="dark"] .vb-public-navbar__lang-menu .dropdown-item {
  color: var(--vb-text);
}
[data-theme="dark"] .vb-public-navbar__lang-menu .dropdown-item:hover {
  background: var(--vb-surface-2);
  color: var(--vb-text-strong);
}

/* ─── Sidebar — referansa göre koyu lacivert teal, aktif item teal solid ─── */
[data-theme="dark"] .vb-sidebar {
  background: #0A1422;
  border-right: 1px solid var(--vb-border-soft) !important;
}
[data-theme="dark"] .vb-sidebar .nav-link {
  color: #94A3B8;
}
[data-theme="dark"] .vb-sidebar .nav-link:hover {
  background: #142336;
  color: var(--vb-text-strong);
}
[data-theme="dark"] .vb-sidebar .nav-link.active {
  background: var(--vb-primary);
  color: #FFFFFF;
}
[data-theme="dark"] .vb-sidebar .nav-link.active i {
  color: #FFFFFF;
}
[data-theme="dark"] .vb-sidebar .text-muted,
[data-theme="dark"] .vb-sidebar small {
  color: #64748B !important;
}
[data-theme="dark"] .vb-sidebar hr { border-color: rgba(255,255,255,0.05); }

/* Sidebar alt-collapse menüsü */
[data-theme="dark"] .vb-sidebar .collapse .nav-link,
[data-theme="dark"] .vb-sidebar .collapsing .nav-link {
  color: #94A3B8;
}
[data-theme="dark"] .vb-sidebar .collapse .nav-link.active,
[data-theme="dark"] .vb-sidebar .collapsing .nav-link.active {
  background: var(--vb-primary);
  color: #FFFFFF;
}

/* Sidebar backdrop (mobil) */
[data-theme="dark"] .vb-sidebar-backdrop { background: rgba(0,0,0,0.7); }

/* ─── Auth split layout ─── */
[data-theme="dark"] .vb-auth-page,
[data-theme="dark"] .vb-auth-split,
[data-theme="dark"] .vb-auth-form-side {
  background: var(--vb-bg-deep);
  color: var(--vb-text);
}
[data-theme="dark"] .vb-auth-card {
  background: var(--vb-surface);
  border: 1px solid var(--vb-border-soft);
  box-shadow: 0 8px 30px rgba(0,0,0,0.45);
}
[data-theme="dark"] .vb-auth-info-side {
  background: linear-gradient(135deg, #0A1422 0%, #142336 100%);
  color: var(--vb-text-strong);
}
[data-theme="dark"] .vb-auth-info-side h1,
[data-theme="dark"] .vb-auth-info-side h2,
[data-theme="dark"] .vb-auth-info-side .lead {
  color: var(--vb-text-strong);
}

/* Type cards (kayıt rol seçimi) */
[data-theme="dark"] .vb-type-card,
[data-theme="dark"] .vb-step-card {
  background: var(--vb-surface);
  border-color: var(--vb-border-soft);
  color: var(--vb-text);
}
[data-theme="dark"] .vb-type-card:hover,
[data-theme="dark"] .vb-step-card:hover {
  border-color: var(--vb-primary);
  background: var(--vb-surface-2);
}
[data-theme="dark"] .vb-type-card.active {
  border-color: var(--vb-primary);
  background: rgba(29,142,152,0.10);
}

/* ─── Hero / Public sections (landing) ─── */
[data-theme="dark"] .vb-hero {
  background: linear-gradient(135deg, #0A1422 0%, #0E1B2C 60%, #142336 100%);
  color: var(--vb-text-strong);
}
[data-theme="dark"] .vb-hero h1,
[data-theme="dark"] .vb-hero .lead { color: var(--vb-text-strong); }

/* Hero panel — dark variant (panel kendisi açık kalır, kontrast için) */
[data-theme="dark"] .vb-hero-panel {
  background: var(--vb-surface);
  border-color: var(--vb-border-soft);
  box-shadow:
    0 30px 60px -22px rgba(0, 0, 0, 0.7),
    0 10px 20px -10px rgba(0, 0, 0, 0.5);
}
[data-theme="dark"] .vb-hero-panel__bar {
  background: var(--vb-surface-2);
  border-bottom-color: var(--vb-border-soft);
}
[data-theme="dark"] .vb-hero-panel__url {
  background: var(--vb-surface);
  border-color: var(--vb-border-soft);
  color: var(--vb-text-soft);
}
[data-theme="dark"] .vb-hero-panel__url span,
[data-theme="dark"] .vb-hero-panel__title,
[data-theme="dark"] .vb-hero-row__title,
[data-theme="dark"] .vb-hero-row__price,
[data-theme="dark"] .vb-hero-panel__metric strong {
  color: var(--vb-text-strong);
}
[data-theme="dark"] .vb-hero-panel__inner {
  background: var(--vb-surface);
}
[data-theme="dark"] .vb-hero-row {
  background: var(--vb-surface-2);
  border-color: var(--vb-border-soft);
}
[data-theme="dark"] .vb-hero-row:hover {
  background: rgba(29, 142, 152, 0.10);
  border-color: rgba(29, 142, 152, 0.35);
}
[data-theme="dark"] .vb-hero-row__meta,
[data-theme="dark"] .vb-hero-panel__foot {
  color: var(--vb-text-soft);
}
[data-theme="dark"] .vb-hero-row__tag--muted {
  background: rgba(255,255,255,0.06);
  color: var(--vb-text-soft);
}
[data-theme="dark"] .vb-hero-panel__foot {
  border-top-color: var(--vb-border-soft);
}
[data-theme="dark"] .vb-stats-bar {
  background: var(--vb-surface);
  border-color: var(--vb-border-soft);
}
[data-theme="dark"] .vb-section,
[data-theme="dark"] .vb-section-alt {
  background: var(--vb-bg-deep);
  color: var(--vb-text);
}
[data-theme="dark"] .vb-section-alt {
  background: var(--vb-surface);
}
[data-theme="dark"] .vb-feature-card {
  background: var(--vb-surface);
  border-color: var(--vb-border-soft);
  color: var(--vb-text);
}
[data-theme="dark"] .vb-feature-card:hover {
  border-color: var(--vb-primary);
  box-shadow: 0 8px 30px rgba(0,0,0,0.40);
}
[data-theme="dark"] .vb-testimonial {
  background: var(--vb-surface);
  border-color: var(--vb-border-soft);
}
[data-theme="dark"] .vb-cta {
  background: linear-gradient(135deg, var(--vb-primary) 0%, #14666D 100%);
  color: #fff;
}

/* ─── Footer ─── */
[data-theme="dark"] .vb-footer,
[data-theme="dark"] footer.vb-footer {
  background: #060B14;
  color: var(--vb-text-soft);
  border-top: 1px solid var(--vb-border-soft);
}
[data-theme="dark"] .vb-footer a,
[data-theme="dark"] footer.vb-footer a {
  color: var(--vb-text-soft);
}
[data-theme="dark"] .vb-footer a:hover,
[data-theme="dark"] footer.vb-footer a:hover {
  color: var(--vb-text-strong);
}

/* ─── Welcome banner (panel ana sayfa) ─── */
[data-theme="dark"] .vb-welcome-banner {
  background: linear-gradient(135deg, #0A2024 0%, #0E1B2C 100%);
  border: 1px solid var(--vb-border-soft);
  color: var(--vb-text-strong);
}

/* ─── Tema toggle butonları ─── */
[data-vb-theme-toggle] {
  background: transparent;
  border: 1px solid transparent;
  color: var(--vb-text);
  padding: 0.35rem 0.55rem;
  border-radius: var(--vb-radius);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
[data-vb-theme-toggle]:hover { background: var(--vb-surface-2); border-color: var(--vb-border-soft); }
[data-theme="dark"] .vb-navbar [data-vb-theme-toggle]        { color: var(--vb-text); }
[data-theme="dark"] .vb-navbar [data-vb-theme-toggle]:hover  { background: var(--vb-surface-2); border-color: var(--vb-border-soft); }
.vb-public-navbar [data-vb-theme-toggle]                     { color: rgba(255,255,255,0.85); }
.vb-public-navbar [data-vb-theme-toggle]:hover               { color: #fff; background: rgba(255,255,255,0.06); }

/* Auth sayfa toggle (sağ-üst sabit) */
.vb-auth-theme-toggle {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 1080;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--vb-surface);
  color: var(--vb-text);
  border: 1px solid var(--vb-border-soft);
  box-shadow: var(--vb-shadow-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, border-color 0.15s;
}
.vb-auth-theme-toggle:hover { transform: translateY(-1px); background: var(--vb-surface-2); }
.vb-auth-theme-toggle:focus-visible { outline: 2px solid var(--vb-primary); outline-offset: 2px; }

/* Auth — Ana sayfaya dön (sol-üst pill) */
.vb-auth-back {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 1080;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 40px;
  padding: 0 0.95rem 0 0.75rem;
  border-radius: 999px;
  background: var(--vb-surface);
  color: var(--vb-text);
  border: 1px solid var(--vb-border-soft);
  box-shadow: var(--vb-shadow-sm);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.vb-auth-back i { font-size: 1rem; line-height: 1; }
.vb-auth-back:hover {
  transform: translateY(-1px);
  background: var(--vb-surface-2);
  border-color: var(--vb-primary);
  color: var(--vb-primary);
}
.vb-auth-back:focus-visible {
  outline: 2px solid var(--vb-primary);
  outline-offset: 2px;
}
@media (max-width: 575.98px) {
  .vb-auth-back {
    height: 36px;
    padding: 0 0.75rem 0 0.6rem;
    font-size: 0.8rem;
  }
  .vb-auth-back span { display: none; }
  .vb-auth-back { padding: 0; width: 36px; justify-content: center; }
}

/* ════════════════════════════════════════════════════════
   Inline style fallback'leri — template'lerde hardcoded hex
   ya da var(--vb-...) kullanan yerler için güvenli override.
   Token bazlı tasarım hedef olsa da bu kademeli temizliği
   biz tamamlayana kadar görsel okunabilirliği korur.
   ════════════════════════════════════════════════════════ */

/* var(--vb-bg) / var(--vb-white) / var(--vb-border) */
[data-theme="dark"] [style*="background: var(--vb-bg)"],
[data-theme="dark"] [style*="background:var(--vb-bg)"]      { background: var(--vb-surface-2) !important; }
[data-theme="dark"] [style*="background: var(--vb-white)"],
[data-theme="dark"] [style*="background:var(--vb-white)"]   { background: var(--vb-surface) !important; }
[data-theme="dark"] [style*="background: var(--vb-surface-2)"],
[data-theme="dark"] [style*="background:var(--vb-surface-2)"]{ background: var(--vb-surface-2) !important; }
[data-theme="dark"] [style*="border-color: var(--vb-border)"],
[data-theme="dark"] [style*="border-color:var(--vb-border)"] { border-color: var(--vb-border-soft) !important; }
[data-theme="dark"] [style*="border: 1px solid var(--vb-border)"],
[data-theme="dark"] [style*="border:1px solid var(--vb-border)"] { border-color: var(--vb-border-soft) !important; }
[data-theme="dark"] [style*="color: var(--vb-dark)"],
[data-theme="dark"] [style*="color:var(--vb-dark)"]         { color: var(--vb-text-strong) !important; }
[data-theme="dark"] [style*="color: var(--vb-text)"],
[data-theme="dark"] [style*="color:var(--vb-text)"]         { color: var(--vb-text) !important; }

/* Hardcoded açık beyaz/gri tonları → koyu surface'lere çevir */
[data-theme="dark"] [style*="background:#fff"],
[data-theme="dark"] [style*="background: #fff"],
[data-theme="dark"] [style*="background:#FFFFFF"],
[data-theme="dark"] [style*="background: #FFFFFF"],
[data-theme="dark"] [style*="background:#ffffff"],
[data-theme="dark"] [style*="background: #ffffff"]          { background: var(--vb-surface) !important; }

[data-theme="dark"] [style*="background:#F9FAFB"],
[data-theme="dark"] [style*="background: #F9FAFB"],
[data-theme="dark"] [style*="background:#f9fafb"],
[data-theme="dark"] [style*="background: #f9fafb"],
[data-theme="dark"] [style*="background:#F8F9FB"],
[data-theme="dark"] [style*="background: #F8F9FB"],
[data-theme="dark"] [style*="background:#f8f9fb"],
[data-theme="dark"] [style*="background: #f8f9fb"],
[data-theme="dark"] [style*="background:#F3F4F6"],
[data-theme="dark"] [style*="background: #F3F4F6"],
[data-theme="dark"] [style*="background:#f3f4f6"],
[data-theme="dark"] [style*="background: #f3f4f6"],
[data-theme="dark"] [style*="background:#F0FDFA"],
[data-theme="dark"] [style*="background: #F0FDFA"],
[data-theme="dark"] [style*="background:#f0fdfa"],
[data-theme="dark"] [style*="background: #f0fdfa"]          { background: var(--vb-surface-2) !important; }

[data-theme="dark"] [style*="background:#E5E7EB"],
[data-theme="dark"] [style*="background: #E5E7EB"],
[data-theme="dark"] [style*="background:#e5e7eb"],
[data-theme="dark"] [style*="background: #e5e7eb"],
[data-theme="dark"] [style*="background:#F0F4F8"],
[data-theme="dark"] [style*="background: #F0F4F8"]          { background: var(--vb-surface-3) !important; }

/* Hardcoded border light gri → dark border */
[data-theme="dark"] [style*="border:1px solid #E5E7EB"],
[data-theme="dark"] [style*="border: 1px solid #E5E7EB"],
[data-theme="dark"] [style*="border-color:#E5E7EB"],
[data-theme="dark"] [style*="border-color: #E5E7EB"],
[data-theme="dark"] [style*="border:1px solid #D1D5DB"],
[data-theme="dark"] [style*="border: 1px solid #D1D5DB"]   { border-color: var(--vb-border-soft) !important; }

/* Hardcoded marka koyusu metin → text-strong */
[data-theme="dark"] [style*="color:#0A0A4A"],
[data-theme="dark"] [style*="color: #0A0A4A"],
[data-theme="dark"] [style*="color:#0a0a4a"],
[data-theme="dark"] [style*="color: #0a0a4a"],
[data-theme="dark"] [style*="color:#1F2937"],
[data-theme="dark"] [style*="color: #1F2937"],
[data-theme="dark"] [style*="color:#0F172A"],
[data-theme="dark"] [style*="color: #0F172A"]               { color: var(--vb-text-strong) !important; }

[data-theme="dark"] [style*="color:#6B7280"],
[data-theme="dark"] [style*="color: #6B7280"],
[data-theme="dark"] [style*="color:#9CA3AF"],
[data-theme="dark"] [style*="color: #9CA3AF"]               { color: var(--vb-text-soft) !important; }

/* Soft renkli tonlar (alert/badge benzeri inline kutular) */
[data-theme="dark"] [style*="background:#FEF3C7"],
[data-theme="dark"] [style*="background: #FEF3C7"]          { background: rgba(251,191,36,0.16) !important; color: #FDE68A !important; }
[data-theme="dark"] [style*="background:#FEE2E2"],
[data-theme="dark"] [style*="background: #FEE2E2"]          { background: rgba(239,68,68,0.16)  !important; color: #FECACA !important; }
[data-theme="dark"] [style*="background:#D1FAE5"],
[data-theme="dark"] [style*="background: #D1FAE5"],
[data-theme="dark"] [style*="background:#DCFCE7"],
[data-theme="dark"] [style*="background: #DCFCE7"]          { background: rgba(52,211,153,0.16) !important; color: #A7F3D0 !important; }
[data-theme="dark"] [style*="background:#DBEAFE"],
[data-theme="dark"] [style*="background: #DBEAFE"]          { background: rgba(79,70,229,0.16)  !important; color: #C7D2FE !important; }
[data-theme="dark"] [style*="background:#E6F4F5"],
[data-theme="dark"] [style*="background: #E6F4F5"]          { background: rgba(29,142,152,0.16) !important; color: #9FE1E7 !important; }
[data-theme="dark"] [style*="background:#FED7AA"],
[data-theme="dark"] [style*="background: #FED7AA"],
[data-theme="dark"] [style*="background:#FFEDD5"],
[data-theme="dark"] [style*="background: #FFEDD5"]          { background: rgba(249,115,22,0.16) !important; color: #FED7AA !important; }

/* ════════════════════════════════════════════════════════
   Public/Auth sayfalarındaki hardcoded class arka planları
   ════════════════════════════════════════════════════════ */

/* Step / Feature / Payment / Testimonial cards */
[data-theme="dark"] .vb-step-card,
[data-theme="dark"] .vb-payment-card,
[data-theme="dark"] .vb-testimonial {
  background: var(--vb-surface);
  border-color: var(--vb-border-soft);
  color: var(--vb-text);
}
[data-theme="dark"] .vb-step-card:hover,
[data-theme="dark"] .vb-payment-card:hover,
[data-theme="dark"] .vb-testimonial:hover {
  border-color: var(--vb-primary);
  box-shadow: 0 8px 30px rgba(0,0,0,0.45);
}
[data-theme="dark"] .vb-step-card h3,
[data-theme="dark"] .vb-step-card h4,
[data-theme="dark"] .vb-step-card h5,
[data-theme="dark"] .vb-feature-card h3,
[data-theme="dark"] .vb-feature-card h4,
[data-theme="dark"] .vb-feature-card h5,
[data-theme="dark"] .vb-payment-card h3,
[data-theme="dark"] .vb-payment-card h4,
[data-theme="dark"] .vb-payment-card h5 { color: var(--vb-text-strong); }
[data-theme="dark"] .vb-testimonial__quote { color: var(--vb-text-soft); }

/* Sections */
[data-theme="dark"] .vb-section--white { background: var(--vb-bg-deep); }
[data-theme="dark"] .vb-section--gray  { background: var(--vb-surface); }
[data-theme="dark"] .vb-section--dark  { background: #060B14; }
[data-theme="dark"] .vb-section__title    { color: var(--vb-text-strong); }
[data-theme="dark"] .vb-section__subtitle { color: var(--vb-text-soft); }

/* FAQ accordion (public landing) */
[data-theme="dark"] .vb-faq .accordion-item {
  background: var(--vb-surface);
  border-color: var(--vb-border-soft) !important;
}
[data-theme="dark"] .vb-faq .accordion-button {
  background: var(--vb-surface);
  color: var(--vb-text);
}
[data-theme="dark"] .vb-faq .accordion-button:not(.collapsed) {
  background: rgba(29,142,152,0.10);
  color: #7DD3DC;
}
[data-theme="dark"] .vb-faq .accordion-body {
  background: var(--vb-surface);
  color: var(--vb-text-soft);
}

/* Auth split layout — sol marka tarafı zaten koyu, sağ form tarafını dark yap */
[data-theme="dark"] .vb-auth-page    { background: var(--vb-bg-deep); }
[data-theme="dark"] .vb-auth-right   { background: var(--vb-bg-deep); }
[data-theme="dark"] .vb-auth-form .form-label { color: var(--vb-text); }
[data-theme="dark"] .vb-auth-form .form-control,
[data-theme="dark"] .vb-auth-form .form-select { border-color: var(--vb-border-soft); background: var(--vb-input-bg); color: var(--vb-input-text); }
[data-theme="dark"] .vb-auth-form .form-control:focus,
[data-theme="dark"] .vb-auth-form .form-select:focus { border-color: var(--vb-primary); }

/* Type-card (kayıt sayfası rol seçimi) */
[data-theme="dark"] .vb-type-card {
  background: var(--vb-surface);
  border-color: var(--vb-border-soft);
  color: var(--vb-text);
}
[data-theme="dark"] .vb-type-card:hover {
  border-color: var(--vb-primary);
  background: var(--vb-surface-2);
}
[data-theme="dark"] .vb-type-card.selected {
  border-color: var(--vb-primary);
  background: rgba(29,142,152,0.10);
  box-shadow: 0 0 0 1px var(--vb-primary);
}
[data-theme="dark"] .vb-type-card small { color: var(--vb-text-soft); }

/* Page hero (iç sayfalar — hakkımızda, sss vb): zaten --vb-dark sabit, OK */

/* Stats bar (landing) — markalı teal kalır, OK */

/* CTA — zaten gradient, dark'ta da OK */

/* Avatar tonlarındaki şeffaflık dark'ta sıkıntı yapmasın diye text-strong'a çek */
[data-theme="dark"] .vb-feature-card .text-muted,
[data-theme="dark"] .vb-step-card .text-muted,
[data-theme="dark"] .vb-payment-card .text-muted,
[data-theme="dark"] .vb-testimonial .text-muted { color: var(--vb-text-soft) !important; }

/* Sidebar marka logosu (vekilbul logo svg/text) light/dark'ta okunur kalsın */
[data-theme="dark"] .vb-sidebar .navbar-brand,
[data-theme="dark"] .vb-sidebar .vb-brand { color: var(--vb-text-strong); }

/* Sidebar collapse caret ikonu */
[data-theme="dark"] .vb-sidebar [data-bs-toggle="collapse"] i.bi-chevron-down,
[data-theme="dark"] .vb-sidebar [data-bs-toggle="collapse"] i.bi-chevron-up { color: var(--vb-text-soft); }

/* Notification dropdown — okunmamış vurgu */
[data-theme="dark"] .vb-notif-dropdown .dropdown-item.bg-light {
  background: var(--vb-surface-2) !important;
}
[data-theme="dark"] .vb-notif-dropdown .dropdown-item:hover { background: var(--vb-surface-2) !important; }

/* Toast (toast bg-warning text-body) */
[data-theme="dark"] .toast.bg-warning,
[data-theme="dark"] .toast.text-bg-warning { color: #1A1300 !important; }

/* Progress bar zemin */
[data-theme="dark"] .progress { background: var(--vb-surface-2); }

/* Card içindeki <a> renkleri (varsayılan koyu mavi/mor) */
[data-theme="dark"] .card a:not(.btn):not(.dropdown-item):not(.nav-link) { color: #7DD3DC; }
[data-theme="dark"] .card a:not(.btn):not(.dropdown-item):not(.nav-link):hover { color: #A5E5EB; }

/* Sidebar caption (CSS-class span'lı menü başlıkları) */
[data-theme="dark"] .vb-sidebar .text-uppercase { color: var(--vb-text-soft) !important; }

/* ════════════════════════════════════════════════════════
   Panel istatistik kartları & yardımcı kart class'ları
   ════════════════════════════════════════════════════════ */

[data-theme="dark"] .vb-stat-card {
  background: var(--vb-surface);
  border-color: var(--vb-border-soft);
  box-shadow: 0 1px 3px rgba(0,0,0,0.30);
}
[data-theme="dark"] .vb-stat-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.40); }
[data-theme="dark"] .vb-stat-card .stat-value { color: var(--vb-text-strong); }
[data-theme="dark"] .vb-stat-card .stat-label { color: var(--vb-text-soft); }

/* Stat ikon arka planları — açık ton hex'leri rgba'ya çevir */
[data-theme="dark"] .vb-stat-card .stat-icon.primary { background: rgba(29,142,152,0.16); color: #7DD3DC; }
[data-theme="dark"] .vb-stat-card .stat-icon.success { background: rgba(52,211,153,0.16); color: #6EE7B7; }
[data-theme="dark"] .vb-stat-card .stat-icon.warning { background: rgba(251,191,36,0.16); color: #FCD34D; }
[data-theme="dark"] .vb-stat-card .stat-icon.danger  { background: rgba(239,68,68,0.16);  color: #FCA5A5; }
[data-theme="dark"] .vb-stat-card .stat-icon.accent  { background: rgba(79,70,229,0.18);  color: #A5B4FC; }

/* Help card (Yardım Merkezi kategori kartı) */
[data-theme="dark"] .vb-help-card {
  background: var(--vb-surface);
  border-color: var(--vb-border-soft);
  color: var(--vb-text);
}
[data-theme="dark"] .vb-help-card:hover { border-color: var(--vb-primary); box-shadow: 0 4px 14px rgba(0,0,0,0.40); }

/* Phone input — country selector, dropdown */
[data-theme="dark"] .vb-phone-country {
  background: var(--vb-input-bg);
  color: var(--vb-text);
  border-color: var(--vb-border-soft);
}
[data-theme="dark"] .vb-phone-country:hover { background: var(--vb-surface-2); }
[data-theme="dark"] .vb-phone-dial   { color: var(--vb-text); }
[data-theme="dark"] .vb-phone-caret  { color: var(--vb-text-soft); }
[data-theme="dark"] .vb-phone-group .vb-phone-number.is-valid,
[data-theme="dark"] .vb-phone-group .vb-phone-number.is-invalid { background: var(--vb-input-bg); }
[data-theme="dark"] .vb-phone-dropdown {
  background: var(--vb-surface);
  border-color: var(--vb-border-soft);
  box-shadow: 0 8px 24px rgba(0,0,0,0.50);
}
[data-theme="dark"] .vb-phone-list .vb-phone-item { color: var(--vb-text); }
[data-theme="dark"] .vb-phone-list .vb-phone-item:hover,
[data-theme="dark"] .vb-phone-list .vb-phone-item.is-active { background: var(--vb-surface-2); color: var(--vb-text-strong); }
[data-theme="dark"] .vb-phone-search input {
  background: var(--vb-input-bg);
  color: var(--vb-text);
  border-color: var(--vb-border-soft);
}

/* Tablo hover — özellikle finansal tablolar için yumuşak vurgu */
[data-theme="dark"] .table tbody tr:hover { background: var(--vb-surface-2); }
[data-theme="dark"] .table-hover tbody tr:hover > * { background-color: var(--vb-surface-2) !important; color: var(--vb-text-strong); }

/* Card'ın içindeki vb-stat-card değerlerinde "color: var(--vb-dark)" kullanılan metinler */
[data-theme="dark"] .vb-stat-card * { /* fallback, alt parametreleri override etmeden */
  /* boş — child'larda kendi spesifik kuralları çalışsın */
}

/* ============================================================
   v18 — RETEST Bug fixes (Süperadmin 25 Mayıs)
   ============================================================
   #49: Şifre alanı uyarısı çıkınca eye icon hareket etmesin
   #53: Sistem logları tablosu hizalı görünsün
   ============================================================ */

/* #49 — Password field icon stabilizasyonu */
.input-group.has-validation > .form-control,
.input-group > .form-control.is-invalid,
.input-group > .form-control.is-valid {
  background-image: none !important; /* Bootstrap'in valid/invalid ikonunu kaldır */
  padding-right: 0.75rem !important;
}
.input-group .input-group-text.password-toggle,
.input-group [data-vb-pw-toggle],
.input-group [id^=togglePw] {
  flex-shrink: 0;
  width: 3rem;
  justify-content: center;
}

/* #53 — Sistem logları tablo hizası */
.admin-logs-table th,
.admin-logs-table td,
table.logs-table th,
table.logs-table td {
  vertical-align: middle !important;
  white-space: nowrap;
}
.admin-logs-table td.log-message,
table.logs-table td.log-message {
  white-space: normal;
  word-break: break-word;
}
.admin-logs-table .badge,
table.logs-table .badge {
  font-variant-numeric: tabular-nums;
  min-width: 3.5rem;
  display: inline-flex;
  justify-content: center;
}

/* Copy butonu animasyonu (#44/#58 destek) */
.btn.copy-animate.btn-success {
  transition: background-color 0.15s ease-in-out;
}

