/* ==========================================================================
   ValleyOfTheCoders - Master Stylesheet (assets/style.css)
   ========================================================================== */

/* --- 1. CSS Değişkenleri & Temalar (Theme Palettes) --- */
:root {
  /* Varsayılan Aydınlık Mod */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-secondary: #f1f5f9;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --border-hover: #cbd5e1;
  --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
  --card-shadow-hover: 0 20px 35px -5px rgba(0, 0, 0, 0.1), 0 10px 15px -5px rgba(0, 0, 0, 0.04);
  
  /* Varsayılan Renk: Okyanus Mavisi */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-border: #bfdbfe;
  --primary-gradient: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
}

/* Karanlık Mod (Dark Mode) */
html.dark-mode, body.dark-mode {
  --bg-body: #0b0f19;
  --bg-surface: #131b2e;
  --bg-surface-secondary: #1a243b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: #23304d;
  --border-hover: #3b82f6;
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --card-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.55);
}

/* --- Renk Paletleri (Palettes) --- */
/* Purple (Default ERP) */
html[data-palette="purple"] { --primary: #7c3aed; --primary-hover: #6d28d9; --primary-light: rgba(124, 58, 237, 0.12); --primary-border: #7c3aed; --primary-gradient: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%); }
html.dark-mode[data-palette="purple"], html[data-theme="dark"][data-palette="purple"] { --primary: #a855f7; --primary-hover: #9333ea; --primary-light: rgba(168, 85, 247, 0.18); --primary-border: #a855f7; --primary-gradient: linear-gradient(135deg, #a855f7 0%, #8b5cf6 100%); }

/* Blue */
html[data-palette="blue"] { --primary: #2563eb; --primary-hover: #1d4ed8; --primary-light: rgba(37, 99, 235, 0.12); --primary-border: #2563eb; --primary-gradient: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%); }
html.dark-mode[data-palette="blue"], html[data-theme="dark"][data-palette="blue"] { --primary: #3b82f6; --primary-hover: #2563eb; --primary-light: rgba(59, 130, 246, 0.18); --primary-border: #3b82f6; --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); }

/* Emerald */
html[data-palette="emerald"] { --primary: #059669; --primary-hover: #047857; --primary-light: rgba(5, 150, 105, 0.12); --primary-border: #059669; --primary-gradient: linear-gradient(135deg, #059669 0%, #10b981 100%); }
html.dark-mode[data-palette="emerald"], html[data-theme="dark"][data-palette="emerald"] { --primary: #10b981; --primary-hover: #059669; --primary-light: rgba(16, 185, 129, 0.18); --primary-border: #10b981; --primary-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%); }

/* Rose */
html[data-palette="rose"] { --primary: #e11d48; --primary-hover: #be123c; --primary-light: rgba(225, 29, 72, 0.12); --primary-border: #e11d48; --primary-gradient: linear-gradient(135deg, #e11d48 0%, #f43f5e 100%); }
html.dark-mode[data-palette="rose"], html[data-theme="dark"][data-palette="rose"] { --primary: #f43f5e; --primary-hover: #e11d48; --primary-light: rgba(244, 63, 94, 0.18); --primary-border: #f43f5e; --primary-gradient: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%); }

/* Orange */
html[data-palette="orange"] { --primary: #ea580c; --primary-hover: #c2410c; --primary-light: rgba(234, 88, 12, 0.12); --primary-border: #ea580c; --primary-gradient: linear-gradient(135deg, #ea580c 0%, #f97316 100%); }
html.dark-mode[data-palette="orange"], html[data-theme="dark"][data-palette="orange"] { --primary: #f97316; --primary-hover: #ea580c; --primary-light: rgba(249, 115, 22, 0.18); --primary-border: #f97316; --primary-gradient: linear-gradient(135deg, #f97316 0%, #ea580c 100%); }

/* Cyan */
html[data-palette="cyan"] { --primary: #0891b2; --primary-hover: #0e7490; --primary-light: rgba(8, 145, 178, 0.12); --primary-border: #0891b2; --primary-gradient: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%); }
html.dark-mode[data-palette="cyan"], html[data-theme="dark"][data-palette="cyan"] { --primary: #06b6d4; --primary-hover: #0891b2; --primary-light: rgba(6, 182, 212, 0.18); --primary-border: #06b6d4; --primary-gradient: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%); }

/* Slate / Obsidian */
html[data-palette="slate"] { --primary: #475569; --primary-hover: #334155; --primary-light: rgba(71, 85, 105, 0.15); --primary-border: #475569; --primary-gradient: linear-gradient(135deg, #475569 0%, #64748b 100%); }
html.dark-mode[data-palette="slate"], html[data-theme="dark"][data-palette="slate"] { --primary: #94a3b8; --primary-hover: #cbd5e1; --primary-light: rgba(148, 163, 184, 0.18); --primary-border: #94a3b8; --primary-gradient: linear-gradient(135deg, #94a3b8 0%, #64748b 100%); }

/* Crimson */
html[data-palette="crimson"] { --primary: #dc2626; --primary-hover: #b91c1c; --primary-light: rgba(220, 38, 38, 0.12); --primary-border: #dc2626; --primary-gradient: linear-gradient(135deg, #b91c1c 0%, #f87171 100%); }
html.dark-mode[data-palette="crimson"], html[data-theme="dark"][data-palette="crimson"] { --primary: #ef4444; --primary-hover: #dc2626; --primary-light: rgba(239, 68, 68, 0.18); --primary-border: #ef4444; --primary-gradient: linear-gradient(135deg, #ef4444 0%, #f87171 100%); }

/* Teal */
html[data-palette="teal"] { --primary: #0d9488; --primary-hover: #0f766e; --primary-light: rgba(13, 148, 136, 0.12); --primary-border: #0d9488; --primary-gradient: linear-gradient(135deg, #0f766e 0%, #2dd4bf 100%); }
html.dark-mode[data-palette="teal"], html[data-theme="dark"][data-palette="teal"] { --primary: #14b8a6; --primary-hover: #0d9488; --primary-light: rgba(20, 184, 166, 0.18); --primary-border: #14b8a6; --primary-gradient: linear-gradient(135deg, #14b8a6 0%, #2dd4bf 100%); }

/* Lavender */
html[data-palette="lavender"] { --primary: #8b5cf6; --primary-hover: #7c3aed; --primary-light: rgba(139, 92, 246, 0.12); --primary-border: #8b5cf6; --primary-gradient: linear-gradient(135deg, #7c3aed 0%, #c4b5fd 100%); }
html.dark-mode[data-palette="lavender"], html[data-theme="dark"][data-palette="lavender"] { --primary: #a78bfa; --primary-hover: #8b5cf6; --primary-light: rgba(167, 139, 250, 0.18); --primary-border: #a78bfa; --primary-gradient: linear-gradient(135deg, #a78bfa 0%, #c4b5fd 100%); }

/* Forest */
html[data-palette="forest"] { --primary: #15803d; --primary-hover: #166534; --primary-light: rgba(21, 128, 61, 0.12); --primary-border: #15803d; --primary-gradient: linear-gradient(135deg, #166534 0%, #4ade80 100%); }
html.dark-mode[data-palette="forest"], html[data-theme="dark"][data-palette="forest"] { --primary: #22c55e; --primary-hover: #15803d; --primary-light: rgba(34, 197, 94, 0.18); --primary-border: #22c55e; --primary-gradient: linear-gradient(135deg, #22c55e 0%, #4ade80 100%); }

/* Sunset */
html[data-palette="sunset"] { --primary: #d97706; --primary-hover: #b45309; --primary-light: rgba(217, 119, 6, 0.12); --primary-border: #d97706; --primary-gradient: linear-gradient(135deg, #ea580c 0%, #facc15 100%); }
html.dark-mode[data-palette="sunset"], html[data-theme="dark"][data-palette="sunset"] { --primary: #f59e0b; --primary-hover: #d97706; --primary-light: rgba(245, 158, 11, 0.18); --primary-border: #f59e0b; --primary-gradient: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%); }

/* Indigo */
html[data-palette="indigo"] { --primary: #4338ca; --primary-hover: #3730a3; --primary-light: rgba(67, 56, 202, 0.12); --primary-border: #4338ca; --primary-gradient: linear-gradient(135deg, #3730a3 0%, #6366f1 100%); }
html.dark-mode[data-palette="indigo"], html[data-theme="dark"][data-palette="indigo"] { --primary: #6366f1; --primary-hover: #4f46e5; --primary-light: rgba(99, 102, 241, 0.18); --primary-border: #6366f1; --primary-gradient: linear-gradient(135deg, #6366f1 0%, #818cf8 100%); }

/* --- 2. Temel Sayfa Ayarları --- */
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-body);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background 0.3s ease, color 0.3s ease;
  line-height: 1.6;
}

/* Yazı Boyutu (Font Scale) */
html[data-font="small"] { font-size: 14px; }
html[data-font="normal"] { font-size: 16px; }
html[data-font="large"] { font-size: 18px; }

/* --- 3. Glassmorphic Üst Menü (Navbar) --- */
.portal-navbar {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: rgba(var(--bg-surface), 0.85);
  background-color: var(--bg-surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

/* Dashboard (cockpit) modunda global navbar tamamen gizlenir */
body.voc-dashboard-mode .portal-navbar {
  display: none !important;
}

.portal-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.portal-brand-icon {
  width: 38px;
  height: 38px;
  background: var(--primary-gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
  flex-shrink: 0;
}

.portal-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  white-space: nowrap;
}

.portal-brand-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.portal-brand-subtitle {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.portal-nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: clamp(12px, 1.4vw, 24px);
  white-space: nowrap;
}

.portal-nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
  word-break: keep-all;
}

.portal-nav-link:hover, .portal-nav-link.active {
  color: var(--primary);
}

.portal-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-portal-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-portal-icon:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.btn-portal-sm {
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  filter: brightness(1.12);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

.btn-outline-primary {
  color: var(--primary) !important;
  border-color: var(--primary) !important;
}

.btn-outline-primary:hover {
  background-color: var(--primary) !important;
  color: #ffffff !important;
}

/* Kullanıcı Profil Butonu (Pill) */
.portal-user-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  padding: 4px 12px 4px 4px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.portal-user-pill:hover {
  border-color: var(--primary);
  background: var(--bg-surface);
}

.user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
}

.user-name {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.1;
}

.user-dept {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 600;
}

.portal-dropdown {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 8px;
}

.portal-dropdown .dropdown-item {
  color: var(--text-main);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
}

.portal-dropdown .dropdown-item:hover {
  background: var(--primary-light);
  color: var(--primary);
}

/* --- Mobil Açılır Navigasyon Menüsü --- */
.portal-mobile-collapse {
  width: 100%;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.25s ease;
}

.portal-mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.15s ease;
}

.portal-mobile-link:hover, .portal-mobile-link.active {
  background: var(--primary-light, rgba(37, 99, 235, 0.1));
  color: var(--primary);
  transform: translateX(3px);
}

@media (max-width: 1199.98px) {
  .portal-nav-links {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .portal-navbar {
    padding: 8px 0;
  }
  .portal-brand-title {
    font-size: 15px;
    letter-spacing: -0.2px;
  }
  .portal-brand-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
    border-radius: 8px;
  }
  .btn-portal-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }
  .portal-user-pill {
    padding: 2px 6px 2px 2px;
    gap: 6px;
  }
  .user-avatar {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }
}

/* --- 4. Hero / Karşılama Alanı & Smooth Animasyonlar --- */
:root {
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

.portal-hero-section {
  padding: 64px 0 44px 0;
  text-align: center;
  position: relative;
  overflow: visible;
}

.hero-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  margin-bottom: 22px;
  animation: portalFadeSlideDown 0.7s var(--ease-spring) both;
  transition: transform 0.3s var(--ease-spring), border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.hero-status-badge:hover {
  transform: translateY(-2px);
  border-color: var(--primary-border);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
  animation: pulseDotSmooth 2.4s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes pulseDotSmooth {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.65); }
  50% { transform: scale(1.08); box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.portal-hero-title {
  font-size: 40px;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -1px;
  line-height: 1.18;
  margin-bottom: 14px;
  animation: portalFadeSlideUp 0.8s var(--ease-spring) 0.08s both;
}

.portal-hero-subtitle {
  font-size: 16.5px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 36px auto;
  line-height: 1.6;
  animation: portalFadeSlideUp 0.8s var(--ease-spring) 0.16s both;
}

/* İstatistik Çipleri */
.portal-stats-bar {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
  animation: portalFadeSlideUp 0.85s var(--ease-spring) 0.24s both;
}

.stat-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 10px 20px;
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-spring), border-color 0.3s ease;
  will-change: transform;
}

.stat-pill:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--primary);
  box-shadow: 0 10px 25px -6px rgba(0, 0, 0, 0.12);
}

.stat-icon {
  font-size: 22px;
  transition: transform 0.35s var(--ease-spring);
}

.stat-pill:hover .stat-icon {
  transform: scale(1.18);
}

.stat-val { font-size: 16px; font-weight: 800; color: var(--text-main); line-height: 1; }
.stat-lbl { font-size: 11px; font-weight: 600; color: var(--text-muted); }

/* --- 5. Proje Vitrin Kartları (Projects Grid) & Ultra Smooth Transitions --- */
.section-header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  animation: portalFadeSlideUp 0.8s var(--ease-spring) 0.3s both;
}

.section-header-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 54px;
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .project-card {
    grid-column: auto !important;
  }
}

.project-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  border-radius: 22px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-spring), border-color 0.4s var(--ease-spring);
  box-shadow: var(--card-shadow);
  position: relative;
  will-change: transform, box-shadow;
  animation: portalScaleIn 0.85s var(--ease-spring) 0.35s both;
}

.project-card.project-card-full {
  grid-column: 1 / -1 !important;
}

.project-card:hover {
  transform: translateY(-6px) scale(1.006);
  border-color: var(--primary-border);
  box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.15), 0 0 0 1px var(--primary-border);
}

.project-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.project-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: transform 0.45s var(--ease-spring), background 0.3s ease;
}

.project-card:hover .project-icon-box {
  transform: scale(1.12) rotate(5deg);
}

.project-status-badge {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3px;
  transition: transform 0.3s ease;
}

.badge-live {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #059669;
}

.badge-planned {
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #7c3aed;
}

.project-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.project-card:hover .project-title {
  color: var(--primary);
}

.project-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.55;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.project-tag {
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  transition: transform 0.25s var(--ease-spring), border-color 0.25s ease, color 0.25s ease;
}

.project-tag:hover {
  transform: translateY(-2px);
  border-color: var(--primary-border);
  color: var(--primary);
}

.btn-launch-app {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  background: var(--primary-gradient);
  color: #fff !important;
  border: 1px solid var(--primary);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-spring), filter 0.25s ease;
  will-change: transform, box-shadow;
}

.btn-launch-app:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -5px var(--primary-border, rgba(37, 99, 235, 0.4));
}

.btn-launch-app:active {
  transform: translateY(0) scale(0.98);
}

.btn-launch-app.disabled {
  background: var(--bg-surface-secondary) !important;
  border-color: var(--border-color) !important;
  color: var(--text-muted) !important;
  cursor: not-allowed;
  pointer-events: none;
}

.project-subactions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.btn-subaction {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 12px;
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  transition: transform 0.3s var(--ease-spring), background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.btn-subaction:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-subaction:active {
  transform: translateY(0) scale(0.97);
}

/* Keyframe Entrance Animasyonları */
@keyframes portalFadeSlideDown {
  0% { opacity: 0; transform: translateY(-16px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes portalFadeSlideUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes portalScaleIn {
  0% { opacity: 0; transform: scale(0.95) translateY(12px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* --- 6. Auth / Giriş & Kayıt Kartları (Auth Pages) --- */
.auth-wrapper {
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 15px;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--card-shadow-hover);
}

.auth-header {
  text-align: center;
  margin-bottom: 24px;
}

.auth-header-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.auth-header-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.auth-header-subtitle {
  font-size: 13px;
  color: var(--text-muted);
}

.form-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-control {
  background: var(--bg-surface-secondary) !important;
  border: 1.5px solid var(--border-color) !important;
  color: var(--text-main) !important;
  border-radius: 12px !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
}

.form-control:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px var(--primary-light) !important;
  background: var(--bg-surface) !important;
}

/* --- 7. Görünüm & Sistem Ayarları Modalı (Settings Modal) --- */
.portal-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.portal-modal-backdrop.active {
  opacity: 1;
}

.portal-modal-box {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  border-radius: 24px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 26px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.portal-modal-backdrop.active .portal-modal-box {
  transform: scale(1);
}

.portal-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.portal-modal-title {
  font-size: 18px;
  font-weight: 800;
  margin: 0;
  color: var(--text-main);
}

.portal-modal-close {
  background: transparent;
  border: none;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.settings-group {
  margin-bottom: 18px;
}

.settings-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: block;
}

.theme-mode-switch {
  display: flex;
  gap: 8px;
}

.theme-mode-btn {
  flex: 1;
  padding: 10px;
  border-radius: 12px;
  border: 1.5px solid var(--border-color);
  background: var(--bg-surface-secondary);
  color: var(--text-main);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-mode-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.settings-segmented-group {
  display: flex;
  gap: 4px;
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 4px;
}

.settings-segment-btn {
  flex: 1;
  padding: 6px 10px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.settings-segment-btn.active {
  background: var(--primary);
  color: #fff;
}

.portal-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

/* --- 8. Footer --- */
.portal-footer {
  border-top: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-muted);
  font-size: 13px;
}

/* ==========================================================================
   --- 9. Karanlık Mod (Dark Mode) Kontrast & Okunabilirlik İyileştirmeleri ---
   ========================================================================== */
html.dark-mode {
  color-scheme: dark;
}

html.dark-mode, 
body.dark-mode {
  --bs-body-color: #f8fafc !important;
  --bs-body-bg: #0b0f19 !important;
  --bs-emphasis-color: #ffffff !important;
  --bs-secondary-color: #94a3b8 !important;
  --bs-tertiary-color: #64748b !important;
  --bs-border-color: #23304d !important;
  --bs-link-color: #60a5fa !important;
  --bs-link-hover-color: #93c5fd !important;
}

/* Bootstrap Kartlar & Konteynerler */
html.dark-mode .card,
body.dark-mode .card {
  background-color: var(--bg-surface) !important;
  border-color: var(--border-color) !important;
  color: var(--text-main) !important;
}

html.dark-mode .card-header,
body.dark-mode .card-header,
html.dark-mode .card-footer,
body.dark-mode .card-footer {
  background-color: transparent !important;
  border-color: var(--border-color) !important;
}

html.dark-mode .bg-body-tertiary,
body.dark-mode .bg-body-tertiary,
html.dark-mode .bg-body-secondary,
body.dark-mode .bg-body-secondary,
html.dark-mode .bg-light,
body.dark-mode .bg-light {
  background-color: var(--bg-surface-secondary) !important;
  color: var(--text-main) !important;
}

/* Bootstrap Text Renkleri */
html.dark-mode .text-body,
body.dark-mode .text-body {
  color: #f8fafc !important;
}

html.dark-mode .text-muted,
body.dark-mode .text-muted {
  color: #94a3b8 !important;
}

html.dark-mode .text-secondary,
body.dark-mode .text-secondary {
  color: #cbd5e1 !important;
}

/* text-dark düzeltmesi: Rozet ve butonlar dışındaki metinleri beyaza çevir, sarı/cyan üzerindeki siyah yazıyı koru! */
html.dark-mode .text-dark:not(.badge):not(.btn) {
  color: #ffffff !important;
}
.badge.text-dark,
.btn.text-dark {
  color: #0f172a !important;
}

/* Tablolar (Tables in Dark & Light Mode - Crystal Clear) */
.table thead th {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

html:not(.dark-mode) .table thead th {
  background-color: #f8fafc !important;
  color: #475569 !important;
  border-bottom: 2px solid #e2e8f0 !important;
}

html.dark-mode .table,
body.dark-mode .table {
  --bs-table-bg: transparent !important;
  --bs-table-color: #f8fafc !important;
  --bs-table-border-color: #23304d !important;
  --bs-table-hover-bg: rgba(255, 255, 255, 0.04) !important;
  --bs-table-hover-color: #ffffff !important;
  color: #f8fafc !important;
}

html.dark-mode .table > :not(caption) > * > *,
body.dark-mode .table > :not(caption) > * > * {
  background-color: transparent !important;
  color: #f8fafc !important;
  border-bottom-color: #23304d !important;
}

html.dark-mode .table thead th,
body.dark-mode .table thead th,
html.dark-mode .table-light,
body.dark-mode .table-light {
  background-color: #1a243b !important;
  color: #cbd5e1 !important;
  border-bottom: 2px solid #2d3d5f !important;
}

html.dark-mode .table tr:hover td {
  background-color: rgba(255, 255, 255, 0.035) !important;
}

/* Form Elemanları (Inputs & Selects) */
html.dark-mode .form-control,
body.dark-mode .form-control,
html.dark-mode .form-select,
body.dark-mode .form-select {
  background-color: #131b2e !important;
  border-color: #23304d !important;
  color: #f8fafc !important;
}

html.dark-mode .form-control:focus,
body.dark-mode .form-control:focus,
html.dark-mode .form-select:focus,
body.dark-mode .form-select:focus {
  background-color: #1a243b !important;
  border-color: var(--primary) !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.25) !important;
}

html.dark-mode .input-group-text,
body.dark-mode .input-group-text {
  background-color: #1a243b !important;
  border-color: #23304d !important;
  color: #94a3b8 !important;
}

html.dark-mode .form-select option {
  background-color: #131b2e !important;
  color: #f8fafc !important;
}

html.dark-mode .form-control::placeholder,
body.dark-mode .form-control::placeholder {
  color: #64748b !important;
}

/* Rozetler (Badges - High Visibility & High Contrast) */
.badge.bg-success,
.badge.bg-success-subtle {
  background-color: rgba(16, 185, 129, 0.18) !important;
  color: #10b981 !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
}

.badge.bg-danger,
.badge.bg-danger-subtle {
  background-color: rgba(239, 68, 68, 0.18) !important;
  color: #ef4444 !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
}

.badge.bg-warning,
.badge.bg-warning-subtle {
  background-color: #fef08a !important;
  color: #854d0e !important;
  border: 1px solid #fde047 !important;
  font-weight: 700 !important;
}

html.dark-mode .badge.bg-warning,
html.dark-mode .badge.bg-warning-subtle {
  background-color: rgba(234, 179, 8, 0.22) !important;
  color: #facc15 !important;
  border: 1px solid rgba(234, 179, 8, 0.45) !important;
}

.badge.bg-info,
.badge.bg-info-subtle {
  background-color: rgba(14, 165, 233, 0.18) !important;
  color: #0284c7 !important;
  border: 1px solid rgba(14, 165, 233, 0.35) !important;
}

html.dark-mode .badge.bg-info,
html.dark-mode .badge.bg-info-subtle {
  background-color: rgba(14, 165, 233, 0.22) !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(14, 165, 233, 0.45) !important;
}

.badge.bg-primary,
.badge.bg-primary-subtle {
  background-color: var(--primary-light) !important;
  color: var(--primary) !important;
  border: 1px solid var(--primary-border) !important;
}

.badge.bg-secondary,
.badge.bg-secondary-subtle {
  background-color: rgba(148, 163, 184, 0.18) !important;
  color: #64748b !important;
  border: 1px solid rgba(148, 163, 184, 0.3) !important;
}

html.dark-mode .badge.bg-secondary,
html.dark-mode .badge.bg-secondary-subtle {
  background-color: rgba(148, 163, 184, 0.2) !important;
  color: #cbd5e1 !important;
  border: 1px solid rgba(148, 163, 184, 0.35) !important;
}

/* Modal Bileşenleri */
html.dark-mode .modal-content,
body.dark-mode .modal-content {
  background-color: #131b2e !important;
  border: 1.5px solid #23304d !important;
  color: #f8fafc !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7) !important;
}

html.dark-mode .modal-header,
body.dark-mode .modal-header,
html.dark-mode .modal-footer,
body.dark-mode .modal-footer {
  border-color: #23304d !important;
}

html.dark-mode .modal-title,
body.dark-mode .modal-title {
  color: #ffffff !important;
}

html.dark-mode .btn-close,
body.dark-mode .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

/* Yoğunluk Modları (Density Modes) */
html[data-density="compact"] .table td, 
html[data-density="compact"] .table th {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
  font-size: 12.5px !important;
}
html[data-density="compact"] .form-control,
html[data-density="compact"] .form-select {
  padding: 6px 10px !important;
  font-size: 13px !important;
}
html[data-density="compact"] .card {
  margin-bottom: 12px !important;
}

/* ========================================================
   8. Developer Hub & Dahili İletişim Masası Stilleri
   ======================================================== */
.dev-hub-box {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.dev-cmd-card {
  background: #0f172a;
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
  font-size: 13px;
  position: relative;
  transition: all 0.2s ease;
}

.dev-cmd-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.dev-cmd-text {
  color: #38bdf8;
  word-break: break-all;
  user-select: all;
}

.dev-cmd-prompt {
  color: #10b981;
  font-weight: 700;
  user-select: none;
  margin-right: 6px;
}

.dev-copy-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.dev-copy-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  transform: translateY(-1px);
}

.dev-copy-btn.copied {
  background: #10b981 !important;
  border-color: #10b981 !important;
  color: #ffffff !important;
}

.dev-msg-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 4px;
}

.dev-msg-item {
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.dev-msg-item:hover {
  border-color: var(--primary-border);
  transform: translateX(2px);
}

.dev-msg-item.prio-critical {
  border-left: 4px solid #ef4444 !important;
  background: rgba(239, 68, 68, 0.04);
}

.dev-msg-item.prio-warning {
  border-left: 4px solid #f59e0b !important;
  background: rgba(245, 158, 11, 0.04);
}

.dev-msg-item.prio-info {
  border-left: 4px solid #3b82f6 !important;
}

.dev-module-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ========================================================
   MISSION CONTROL SUITE: KOMUT PALETİ (Ctrl + K)
   ======================================================== */
.cmd-palette-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 8vh 16px 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.16s cubic-bezier(0.16, 1, 0.3, 1);
}

.cmd-palette-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.cmd-palette-window {
  width: 100%;
  max-width: 560px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transform: translateY(-8px);
  transition: transform 0.16s cubic-bezier(0.16, 1, 0.3, 1);
}

.cmd-palette-backdrop.active .cmd-palette-window {
  transform: translateY(0);
}

.cmd-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: var(--bg-surface-secondary);
  border-bottom: 1px solid var(--border-color);
}

.cmd-search-input {
  flex-grow: 1;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 13px;
  font-weight: 500;
  outline: none;
}

.cmd-search-input::placeholder {
  color: var(--text-muted);
  font-size: 12px;
}

.cmd-results-list {
  max-height: 320px;
  overflow-y: auto;
  padding: 4px;
  list-style: none;
  margin: 0;
}

.cmd-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  color: var(--text-main);
  text-decoration: none;
  transition: background 0.1s ease;
}

.cmd-item:hover, .cmd-item.selected {
  background: color-mix(in srgb, var(--primary) 12%, var(--bg-surface));
  color: var(--text-main);
}

.cmd-item-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

kbd.cmd-kbd,
.cmd-kbd {
  font-size: 9.5px;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 3px;
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  box-shadow: none;
  font-family: var(--font-mono, monospace);
  line-height: 1.2;
}

.cmd-footer {
  padding: 6px 12px;
  background: var(--bg-surface-secondary);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--text-muted);
}

/* ========================================================
   CANLI ALTYAPI & ONLINE UPTIME TELEMETRİSİ
   ======================================================== */
.telemetry-strip {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 12px 18px;
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  transition: all 0.25s ease;
}

.telemetry-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.telemetry-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.uptime-sparkline {
  display: flex;
  align-items: flex-end;
  gap: 3.5px;
  height: 24px;
}

.uptime-bar {
  width: 5.5px;
  border-radius: 3px;
  background: #10b981;
  transition: height 0.3s ease, background-color 0.2s ease;
  cursor: pointer;
}

.uptime-bar:hover {
  transform: scaleY(1.15);
  background: #34d399;
}

.uptime-bar.warn { background: #f59e0b; }
.uptime-bar.down { background: #ef4444; }

/* ========================================================
   GÖREVLER (TO-DO) & SCRATCHPAD WIDGET'I
   ======================================================== */
.todo-list-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 260px;
  overflow-y: auto;
  padding-right: 4px;
}

.todo-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  transition: all 0.15s ease;
}

.todo-item:hover {
  border-color: var(--primary-border);
}

.todo-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  flex-grow: 1;
  margin: 0;
}

.todo-checkbox {
  width: 17px;
  height: 17px;
  accent-color: var(--primary);
  cursor: pointer;
}

.todo-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.todo-text.done {
  text-decoration: line-through;
  opacity: 0.55;
  color: var(--text-muted);
}

.todo-del-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
  opacity: 0;
  transition: all 0.15s ease;
}

.todo-item:hover .todo-del-btn {
  opacity: 1;
}

.todo-del-btn:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.scratchpad-textarea {
  width: 100%;
  height: 140px;
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 10px 14px;
  color: var(--text-main);
  font-size: 12.5px;
  line-height: 1.5;
  resize: vertical;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease;
}

.scratchpad-textarea:focus {
  border-color: var(--primary);
}

/* ========================================================
   OPERASYONEL CANLI ZAMAN TÜNELİ (ACTIVITY FEED)
   ======================================================== */
.activity-stream {
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 14px;
  max-height: 320px;
  overflow-y: auto;
  padding-left: 20px;
}

.activity-stream::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--border-color);
}

.activity-row {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.activity-row::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px var(--bg-surface);
}

.activity-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.35;
}

.activity-time {
  font-size: 11px;
  color: var(--text-muted);
}

/* ========================================================
   VERİ YOĞUNLUĞU: KOMPAKT MOD [data-density="compact"]
   ======================================================== */
html[data-density="compact"] .dashCard {
  padding: 12px !important;
}

html[data-density="compact"] .dash-widget {
  margin-bottom: 12px !important;
}

html[data-density="compact"] .dash-hero-banner {
  padding: 14px 18px !important;
  margin-bottom: 12px !important;
}

html[data-density="compact"] .chart-container-box {
  height: 190px !important;
}

html[data-density="compact"] .kpi-card {
  padding: 10px 14px !important;
}

html[data-density="compact"] .kpi-val {
  font-size: 20px !important;
}

/* ========================================================
   JARVIS AI DİJİTAL ÇALIŞMA ASİSTANI (HOLOGRAPHIC COCKPIT)
   ======================================================== */
.jarvis-widget-box {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.jarvis-widget-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #06b6d4, var(--primary), #8b5cf6, #06b6d4);
  background-size: 300% 100%;
  animation: jarvisGradientMove 6s linear infinite;
}

@keyframes jarvisGradientMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* ========================================================
   V.O.C SAYFA GENELİNE DAĞILAN PARÇACIK EVRENİ (COSMOS CANVAS)
   ======================================================== */
.voc-cosmos-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: 0.92;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform, opacity;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Bir pencere veya modül açıldığında canvas'ı tamamen görünmez yap ve render yükünü sıfırla */
.voc-stage-center.dimmed ~ .voc-cosmos-canvas,
.voc-os-workspace:has(.active) ~ .voc-cosmos-canvas {
  opacity: 0 !important;
}

/* ========================================================
   V.O.C PANORAMIC CENTERSTAGE AI COCKPIT & ORB SYSTEM
   ======================================================== */
.voc-cockpit-hero {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  position: relative;
  overflow: visible !important;
}

.voc-cockpit-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3.5px;
  background: linear-gradient(90deg, #06b6d4, var(--primary), #8b5cf6, #ec4899, #06b6d4);
  background-size: 300% 100%;
  animation: jarvisGradientMove 6s linear infinite;
  z-index: 3;
}

.voc-cockpit-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 65%; height: 300px;
  background: radial-gradient(ellipse at top, rgba(56, 189, 248, 0.12) 0%, rgba(139, 92, 246, 0.05) 50%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

/* Center Stage Area */
.voc-center-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 1050;
  margin-bottom: 1.5rem;
}

/* ========================================================
   FÜTÜRİSTİK SOFT IŞIK HÜZMESİ ÇEKİRDEĞİ (ETHEREAL LIGHT PLUME)
   ======================================================== */
.voc-light-plume-wrapper {
  position: relative;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  border-radius: 50%;
  user-select: none;
  margin-bottom: 0.5rem;
  will-change: transform;
}

/* Sayfaya Yayılan Yumuşak Hacimsel Işık Hüzmesi (Volumetric Soft Bloom) */
.voc-plume-diffuse-glow {
  position: absolute;
  inset: -65px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--primary) 65%, transparent) 0%, color-mix(in srgb, var(--primary) 22%, transparent) 45%, transparent 72%);
  filter: blur(52px);
  pointer-events: none;
  z-index: 1;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  animation: vocPlumeDiffuseBreathe 5s ease-in-out infinite alternate;
}

/* Yumuşak Akışkan Tuval (Soft Caustic Canvas) */
.voc-plume-canvas {
  width: 220px;
  height: 220px;
  display: block;
  position: relative;
  z-index: 3;
  pointer-events: none;
  filter: blur(0.5px) drop-shadow(0 0 40px color-mix(in srgb, var(--primary) 75%, transparent));
  transition: filter 0.5s ease;
}

/* İçten Işık Çıkaran Yumuşak Çekirdek Kalbi */
.voc-plume-core-bloom {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0%, color-mix(in srgb, var(--primary) 85%, #ffffff) 35%, transparent 70%);
  opacity: 0.45;
  filter: blur(22px);
  z-index: 2;
  pointer-events: none;
  animation: vocPlumeCoreBreathe 3.4s ease-in-out infinite alternate;
}

@keyframes vocPlumeDiffuseBreathe {
  0% { transform: scale(0.88); opacity: 0.55; }
  100% { transform: scale(1.32); opacity: 0.95; }
}

@keyframes vocPlumeCoreBreathe {
  0% { transform: scale(0.85); opacity: 0.35; }
  100% { transform: scale(1.45); opacity: 0.75; }
}

/* Reactivity in Listening State (Yumuşak Mercan / Gül Işık Hüzmesi) */
.voc-cockpit-hero.is-listening .voc-plume-canvas {
  filter: drop-shadow(0 0 45px rgba(251, 113, 133, 0.95));
}
.voc-cockpit-hero.is-listening .voc-plume-diffuse-glow {
  background: radial-gradient(circle, rgba(251, 113, 133, 0.7) 0%, rgba(244, 63, 94, 0.28) 50%, transparent 75%);
  animation-duration: 1.6s;
}

/* Reactivity in Thinking State (Yumuşak Mor / Ametist Işık Hüzmesi) */
.voc-cockpit-hero.is-thinking .voc-plume-canvas,
.voc-cockpit-hero.is-searching .voc-plume-canvas {
  filter: drop-shadow(0 0 45px rgba(192, 132, 252, 0.95));
}
.voc-cockpit-hero.is-thinking .voc-plume-diffuse-glow,
.voc-cockpit-hero.is-searching .voc-plume-diffuse-glow {
  background: radial-gradient(circle, rgba(192, 132, 252, 0.7) 0%, rgba(168, 85, 247, 0.28) 50%, transparent 75%);
  animation-duration: 1.4s;
}

/* Reactivity in Speaking State (Yumuşak Akuamarin / Zümrüt Işık Hüzmesi) */
.voc-cockpit-hero.is-speaking .voc-plume-canvas {
  filter: drop-shadow(0 0 45px rgba(52, 211, 153, 0.92));
}
.voc-cockpit-hero.is-speaking .voc-plume-diffuse-glow {
  background: radial-gradient(circle, rgba(52, 211, 153, 0.65) 0%, rgba(16, 185, 129, 0.25) 50%, transparent 75%);
  animation-duration: 2.2s;
}

/* Sadeleştirilmiş Fütüristik Kimlik (Yazı kalabalığı temizlendi) */
.voc-hero-brand-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 0.4rem;
  margin-bottom: 0.45rem;
}

.voc-hero-brand {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.22em;
  margin: 0;
  background: linear-gradient(135deg, var(--text-main) 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 0 20px color-mix(in srgb, var(--primary) 30%, transparent);
}

.voc-core-tag {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 2.5px 7px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--primary) 14%, transparent);
  color: var(--primary);
  border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
}

/* Canlı Ekolayzır, Reaktif Durum Rozeti ve Ses Seçici Barı */
.voc-cockpit-meta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.voc-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  background: color-mix(in srgb, var(--bg-surface) 80%, transparent);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
}

/* Ses Seçici Butonu & Menüsü */
.voc-voice-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3.5px 12px;
  border-radius: 20px;
  background: color-mix(in srgb, var(--bg-surface) 80%, transparent);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
}

.voc-voice-pill-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 14px color-mix(in srgb, var(--primary) 25%, transparent);
}

.voc-voice-menu {
  width: 290px;
  padding: 10px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg-surface) 97%, transparent);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid color-mix(in srgb, var(--primary) 30%, var(--border-color));
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), 0 0 0 1px color-mix(in srgb, var(--primary) 12%, transparent);
  z-index: 9999 !important;
  position: relative;
}

.voc-voice-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px 8px 8px;
  font-size: 11px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border-color);
}

.voc-voice-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px 0;
  max-height: 250px;
  overflow-y: auto;
}

.voc-voice-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-main);
  font-size: 12px;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
  width: 100%;
}

.voc-voice-item:hover {
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  border-color: color-mix(in srgb, var(--primary) 25%, transparent);
}

.voc-voice-item.active {
  background: color-mix(in srgb, var(--primary) 15%, transparent);
  border-color: var(--primary);
  font-weight: 700;
}

.voc-voice-item-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.voc-voice-avatar {
  font-size: 16px;
}

.voc-voice-check {
  font-weight: 800;
  color: var(--primary);
  font-size: 12px;
}

.voc-voice-menu-footer {
  padding-top: 6px;
  border-top: 1px solid var(--border-color);
}

/* Centered Search Cockpit & Floating Input (Expanded 920px for Ultrawide/4K) */
.voc-search-cockpit {
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.voc-search-input-wrap {
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--bg-surface) 80%, transparent);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1.5px solid color-mix(in srgb, var(--primary) 28%, var(--border-color));
  border-radius: 18px;
  padding: 8px 12px 8px 22px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.voc-search-input-wrap:hover {
  border-color: color-mix(in srgb, var(--primary) 50%, var(--border-color));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.voc-search-input-wrap:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3.5px color-mix(in srgb, var(--primary) 22%, transparent), 0 20px 52px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.voc-search-input {
  border: none;
  outline: none;
  background: transparent;
  color: var(--text-main);
  font-size: 15px;
  font-weight: 500;
  flex-grow: 1;
  padding: 8px 12px 8px 0;
  letter-spacing: -0.01em;
}

.voc-search-input::placeholder {
  color: var(--text-muted);
  opacity: 0.75;
}

.voc-search-btn-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.voc-mic-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--border-color) 70%, transparent);
  background: color-mix(in srgb, var(--bg-surface) 80%, transparent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.voc-mic-btn:hover {
  transform: scale(1.06);
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 16px color-mix(in srgb, var(--primary) 40%, transparent);
}

.voc-mic-btn.active {
  background: #f43f5e;
  color: #ffffff;
  box-shadow: 0 0 18px rgba(244, 63, 94, 0.75);
  animation: jarvisHeartbeat 1s infinite;
}

.voc-send-btn {
  padding: 8px 18px;
  border-radius: 12px;
  border: none;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(var(--primary-rgb, 59, 130, 246), 0.35);
  transition: all 0.2s ease;
}

.voc-send-btn:hover {
  filter: brightness(1.1);
  transform: scale(1.02);
}

/* Centered Quick Chips */
.voc-quick-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.voc-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: color-mix(in srgb, var(--bg-surface) 65%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid color-mix(in srgb, var(--border-color) 80%, transparent);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.voc-chip:hover {
  color: var(--text-main);
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 12%, var(--bg-surface));
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.jarvis-reactor-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  flex-shrink: 0;
}

.jarvis-reactor-core {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle, #38bdf8 0%, #0284c7 60%, rgba(3, 105, 161, 0.2) 100%);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.jarvis-pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(56, 189, 248, 0.45);
  animation: jarvisRotateRing 12s linear infinite;
}

@keyframes jarvisRotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Reactor States */
.jarvis-widget-box.is-listening .jarvis-reactor-core {
  background: radial-gradient(circle, #f43f5e 0%, #e11d48 60%, rgba(225, 29, 72, 0.3) 100%);
  box-shadow: 0 0 30px rgba(244, 63, 94, 0.8), inset 0 0 12px #fff;
  animation: jarvisHeartbeat 1s infinite;
}

.jarvis-widget-box.is-listening .jarvis-pulse-ring {
  border-color: rgba(244, 63, 94, 0.8);
  animation-duration: 3s;
}

.jarvis-widget-box.is-speaking .jarvis-reactor-core {
  background: radial-gradient(circle, #10b981 0%, #059669 60%, rgba(5, 150, 105, 0.3) 100%);
  box-shadow: 0 0 26px rgba(16, 185, 129, 0.7);
}

@keyframes jarvisHeartbeat {
  0% { transform: scale(0.96); }
  50% { transform: scale(1.08); }
  100% { transform: scale(0.96); }
}

/* Ses Dalgaları (Equalizer / Soundwaves - 12 Harmonik Bar) */
.jarvis-soundwaves {
  display: flex;
  align-items: center;
  gap: 2.5px;
  height: 20px;
}

.jarvis-wave-bar {
  width: 3px;
  height: 5px;
  border-radius: 3px;
  background: var(--primary);
  opacity: 0.45;
  transition: all 0.2s ease;
}

/* Boşta yumuşak nefes dalgası (Idle harmonics) */
.jarvis-wave-bar:nth-child(1)  { animation: soundwaveIdle 2.2s infinite ease-in-out 0.05s; }
.jarvis-wave-bar:nth-child(2)  { animation: soundwaveIdle 2.2s infinite ease-in-out 0.2s; }
.jarvis-wave-bar:nth-child(3)  { animation: soundwaveIdle 2.2s infinite ease-in-out 0.35s; }
.jarvis-wave-bar:nth-child(4)  { animation: soundwaveIdle 2.2s infinite ease-in-out 0.5s; }
.jarvis-wave-bar:nth-child(5)  { animation: soundwaveIdle 2.2s infinite ease-in-out 0.65s; }
.jarvis-wave-bar:nth-child(6)  { animation: soundwaveIdle 2.2s infinite ease-in-out 0.8s; }
.jarvis-wave-bar:nth-child(7)  { animation: soundwaveIdle 2.2s infinite ease-in-out 0.95s; }
.jarvis-wave-bar:nth-child(8)  { animation: soundwaveIdle 2.2s infinite ease-in-out 1.1s; }
.jarvis-wave-bar:nth-child(9)  { animation: soundwaveIdle 2.2s infinite ease-in-out 1.25s; }
.jarvis-wave-bar:nth-child(10) { animation: soundwaveIdle 2.2s infinite ease-in-out 1.4s; }
.jarvis-wave-bar:nth-child(11) { animation: soundwaveIdle 2.2s infinite ease-in-out 1.55s; }
.jarvis-wave-bar:nth-child(12) { animation: soundwaveIdle 2.2s infinite ease-in-out 1.7s; }

@keyframes soundwaveIdle {
  0%, 100% { height: 4px; opacity: 0.3; }
  50% { height: 11px; opacity: 0.75; }
}

.voc-cockpit-hero.is-listening .jarvis-wave-bar,
.jarvis-widget-box.is-listening .jarvis-wave-bar {
  background: #f43f5e;
  opacity: 1;
  animation: soundwaveBounce 0.55s ease-in-out infinite alternate;
}

.voc-cockpit-hero.is-speaking .jarvis-wave-bar,
.jarvis-widget-box.is-speaking .jarvis-wave-bar {
  background: #10b981;
  opacity: 1;
  animation: soundwaveBounce 0.4s ease-in-out infinite alternate;
}

.voc-cockpit-hero.is-thinking .jarvis-wave-bar,
.jarvis-widget-box.is-thinking .jarvis-wave-bar {
  background: #a855f7;
  opacity: 1;
  animation: soundwaveBounce 0.48s ease-in-out infinite alternate;
}

.jarvis-wave-bar:nth-child(1)  { animation-delay: 0.05s; }
.jarvis-wave-bar:nth-child(2)  { animation-delay: 0.25s; }
.jarvis-wave-bar:nth-child(3)  { animation-delay: 0.12s; }
.jarvis-wave-bar:nth-child(4)  { animation-delay: 0.35s; }
.jarvis-wave-bar:nth-child(5)  { animation-delay: 0.18s; }
.jarvis-wave-bar:nth-child(6)  { animation-delay: 0.42s; }
.jarvis-wave-bar:nth-child(7)  { animation-delay: 0.08s; }
.jarvis-wave-bar:nth-child(8)  { animation-delay: 0.3s; }
.jarvis-wave-bar:nth-child(9)  { animation-delay: 0.15s; }
.jarvis-wave-bar:nth-child(10) { animation-delay: 0.38s; }
.jarvis-wave-bar:nth-child(11) { animation-delay: 0.22s; }
.jarvis-wave-bar:nth-child(12) { animation-delay: 0.45s; }

@keyframes soundwaveBounce {
  0% { height: 4px; }
  100% { height: 20px; }
}

/* Konuşma & Sonuç Alanı */
.jarvis-conversation-log {
  max-height: 260px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-surface-secondary);
  border-radius: 14px;
  border: 1px solid var(--border-color);
}

.jarvis-msg {
  display: flex;
  flex-direction: column;
  max-width: 88%;
  gap: 4px;
  animation: jarvisFadeIn 0.25s ease-out;
}

@keyframes jarvisFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.jarvis-msg.user {
  align-self: flex-end;
  align-items: flex-end;
}

.jarvis-msg.assistant {
  align-self: flex-start;
  align-items: flex-start;
}

.jarvis-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.45;
}

.jarvis-msg.user .jarvis-bubble {
  background: var(--primary);
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.jarvis-msg.assistant .jarvis-bubble {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Hızlı Komut Çipleri (Quick Prompt Chips) */
.jarvis-quick-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.jarvis-chip {
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.jarvis-chip:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--primary-light, rgba(37, 99, 235, 0.1));
  transform: translateY(-1px);
}

/* Mikrofon & Ses Düğmeleri */
.jarvis-mic-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1.5px solid var(--border-color);
  background: var(--bg-surface-secondary);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.jarvis-mic-btn:hover {
  background: var(--primary-light, rgba(37, 99, 235, 0.12));
  border-color: var(--primary);
  color: var(--primary);
}

.jarvis-mic-btn.active {
  background: #f43f5e !important;
  border-color: #f43f5e !important;
  color: #ffffff !important;
  box-shadow: 0 0 16px rgba(244, 63, 94, 0.6);
  animation: jarvisPulseBtn 1.5s infinite;
}

@keyframes jarvisPulseBtn {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.jarvis-mute-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.jarvis-mute-btn:hover {
  color: var(--text-main);
  border-color: var(--text-muted);
}

@media (max-width: 768px) {
  .voc-cockpit-hero {
    padding: 1.5rem 1rem 1.25rem 1rem;
    border-radius: 20px;
  }
  .voc-orb-wrapper,
  .voc-orb-canvas {
    width: 110px;
    height: 110px;
  }
  .voc-hero-name {
    font-size: 22px;
  }
  .voc-hero-desc {
    font-size: 12px;
  }
  .voc-search-input-wrap {
    padding: 4px 6px 4px 14px;
  }
  .voc-search-input {
    font-size: 13.5px;
  }
  .voc-mic-btn {
    width: 36px;
    height: 36px;
  }
  .voc-send-btn {
    padding: 6px 14px;
    font-size: 12.5px;
  }
  .voc-conversation-stream {
    max-height: 220px;
    padding: 10px 12px;
  }
}

/* ========================================================
   V.O.C COCKPIT OS: ONE-PAGE APPLICATION VIEWPORT & DOCKS
   ======================================================== */
body.voc-dashboard-mode {
  overflow: hidden !important;
  height: 100vh !important;
  max-height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  background-color: #080c14 !important;
  background-image: 
    radial-gradient(ellipse 75% 50% at 50% 0%, color-mix(in srgb, var(--primary) 18%, transparent) 0%, transparent 75%),
    radial-gradient(ellipse 60% 40% at 50% 100%, color-mix(in srgb, var(--primary) 10%, transparent) 0%, transparent 70%),
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) !important;
  background-size: 100% 100%, 100% 100%, 36px 36px !important;
  background-position: center, center, center !important;
}

body.voc-dashboard-mode::before,
body.voc-dashboard-mode::after {
  display: none !important;
}

body.voc-dashboard-mode > nav.navbar,
body.voc-dashboard-mode > footer {
  display: none !important;
}

.voc-os-viewport {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 10;
}

/* 1. Üst Kontrol Çubuğu (Minimalist Top App Bar) */
.voc-os-topbar {
  height: 48px;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 14, 22, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 25;
}

.voc-topbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.voc-brand-logo-text {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #f1f5f9;
}

.voc-live-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
  display: inline-block;
}

.voc-minimal-clock {
  font-size: 11.5px;
  letter-spacing: 0.03em;
  color: #94a3b8;
}

.voc-minimal-user-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9999px;
  font-size: 11.5px;
  color: #cbd5e1;
}

.voc-role-pill {
  font-size: 9.5px;
  font-weight: 600;
  padding: 1px 6px;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border-radius: 9999px;
}

.voc-minimal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
}

.voc-minimal-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
}

.voc-btn-danger:hover {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #ef4444 !important;
  border-color: rgba(239, 68, 68, 0.3) !important;
}

.voc-kbd {
  font-size: 10.5px;
  font-weight: 600;
  font-family: inherit;
  color: inherit;
}

/* 2. Orta Çalışma Alanı */
.voc-os-workspace {
  flex: 1;
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  overflow: visible;
  padding: 0;
  width: 100vw;
  height: 100vh;
}

/* ========================================================
   V.O.C ÇALIŞMA ORTAMLARI (SIDE WORKSPACES: HOTEL & ERP)
   ======================================================== */
.voc-panel-drawer {
  position: fixed;
  top: 48px;
  bottom: 0;
  width: 380px;
  max-width: 90vw;
  height: calc(100vh - 48px);
  background: rgba(11, 15, 23, 0.96);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  z-index: 9100 !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, width 0.2s ease !important;
  overflow: hidden;
}

/* Sol Otel Çalışma Ortamı */
.voc-panel-left {
  left: 0;
  right: auto;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-left: none;
  border-top: none;
  border-bottom: none;
  transform: translateX(0) !important;
  opacity: 1;
  visibility: visible;
}

.voc-panel-left.is-collapsed {
  transform: translateX(-100%) !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Sağ ERP Çalışma Ortamı */
.voc-panel-right {
  right: 0;
  left: auto;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-right: none;
  border-top: none;
  border-bottom: none;
  transform: translateX(0) !important;
  opacity: 1;
  visibility: visible;
}

.voc-panel-right.is-collapsed {
  transform: translateX(100%) !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Kullanıcıya Özel Genişlik Modları */
.voc-panel-drawer.is-width-compact {
  width: 320px;
}
.voc-panel-drawer.is-width-wide {
  width: 480px;
}

/* Kenar Açma / Kapama Sekmeleri (Minimalist Floating Glass Triggers) */
.voc-drawer-toggle-tab {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 20, 30, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 500;
  color: #cbd5e1;
  cursor: pointer;
  z-index: 8500 !important;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.18s ease;
  border-radius: 9999px;
  letter-spacing: 0.01em;
}

.voc-drawer-toggle-tab:hover {
  background: rgba(25, 32, 48, 0.95);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.03);
}

.voc-drawer-toggle-left {
  left: 18px;
}

.voc-drawer-toggle-right {
  right: 18px;
}

/* Çalışma Ortamı Sekme Çubuğu (Tabs) */
.voc-workspace-tabs-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  background: rgba(8, 12, 18, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.voc-workspace-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: #94a3b8;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.voc-workspace-tab-btn:hover {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.04);
}

.voc-workspace-tab-btn.active {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.25);
}

.voc-panel-right .voc-workspace-tab-btn.active {
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.25);
}

/* Pin (Favorilere Ekle) Butonu */
.voc-item-pin-btn {
  background: transparent;
  border: none;
  color: #64748b;
  padding: 3px 5px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  margin-left: auto;
}

.voc-item-pin-btn:hover {
  color: #f59e0b;
  transform: scale(1.15);
}

.voc-item-pin-btn.is-pinned {
  color: #f59e0b !important;
}

/* Genişlik Değiştirici Butonları */
.voc-width-toggle-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: #94a3b8;
  font-size: 10px;
  padding: 2px 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.voc-width-toggle-btn:hover,
.voc-width-toggle-btn.active {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* Çekmece Başlığı */
.voc-drawer-header {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(18, 25, 38, 0.5);
}

.voc-drawer-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.voc-drawer-title-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  flex-shrink: 0;
}
.voc-icon-emerald {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
  color: #10b981;
}

.voc-drawer-title-text {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-main);
}
.voc-drawer-subtitle {
  font-size: 10px;
  color: var(--text-muted);
  display: block;
}

.voc-cyber-pill-badge {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 12px;
  padding: 2px 7px;
  font-size: 9.5px;
}
.voc-badge-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.3);
}

.voc-drawer-action-icon-btn,
.voc-drawer-close-btn {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.voc-drawer-action-icon-btn:hover,
.voc-drawer-close-btn:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: #38bdf8;
  color: #ffffff;
  transform: scale(1.08);
}

/* Çekmece Arama Çubuğu */
.voc-drawer-search-wrap {
  padding: 10px 14px;
  background: rgba(10, 15, 24, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.voc-drawer-search-inner {
  position: relative;
  display: flex;
  align-items: center;
}

.voc-drawer-search-ico {
  position: absolute;
  left: 10px;
  color: var(--text-muted);
  pointer-events: none;
}

.voc-drawer-search-input {
  background: rgba(18, 24, 38, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  border-radius: 12px;
  font-size: 12px;
  padding: 7px 12px 7px 32px;
  width: 100%;
  outline: none;
  transition: all 0.2s ease;
}

.voc-drawer-search-input:focus {
  border-color: #38bdf8;
  background: rgba(22, 30, 48, 0.9);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

/* Çekmece Gövdesi & Sayfa Listesi */
.voc-drawer-body {
  padding: 12px 14px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  scrollbar-width: thin;
}

.voc-drawer-body::-webkit-scrollbar {
  width: 5px;
}
.voc-drawer-body::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.25);
  border-radius: 4px;
}

/* HUD Metrik Kartları */
.voc-hud-metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 6px;
}

.voc-hud-card {
  background: rgba(18, 25, 40, 0.65);
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 14px;
  padding: 10px 12px;
  transition: all 0.2s ease;
}
.voc-panel-right .voc-hud-card {
  border-color: rgba(16, 185, 129, 0.18);
}
.voc-hud-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(22, 32, 52, 0.75);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

.voc-hud-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}
.voc-hud-card-label {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-muted);
}
.voc-hud-card-val {
  font-size: 17px;
  font-weight: 800;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  letter-spacing: -0.02em;
}

.voc-status-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: #10b981;
  font-weight: 700;
}
.voc-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

/* Çekmece İçi Sayfa Link Maddeleri */
.voc-drawer-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(16, 22, 35, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text-main);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.voc-drawer-nav-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #38bdf8;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.voc-drawer-nav-item:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  transform: translateX(5px);
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.15);
}
.voc-drawer-nav-item:hover::before {
  opacity: 1;
}

.voc-panel-right .voc-drawer-nav-item::before {
  background: #10b981;
}
.voc-panel-right .voc-drawer-nav-item:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.4);
  color: #10b981;
  transform: translateX(-5px);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.15);
}

/* Siber Cam Aksiyon Butonları */
.voc-btn-cyber-primary {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  border: 1px solid rgba(56, 189, 248, 0.5);
  color: #ffffff;
  border-radius: 10px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 7px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}
.voc-btn-cyber-primary:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #1d4ed8 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.5);
}

.voc-btn-cyber-glass {
  background: rgba(22, 30, 48, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  border-radius: 10px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 7px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.2s ease;
}
.voc-btn-cyber-glass:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  transform: translateY(-2px);
}

.voc-btn-cyber-outline-primary {
  background: rgba(56, 189, 248, 0.08);
  border: 1px dashed rgba(56, 189, 248, 0.45);
  color: #38bdf8;
  border-radius: 10px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.voc-btn-cyber-outline-primary:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.25);
}

.voc-btn-cyber-emerald {
  background: linear-gradient(135deg, #059669 0%, #0d9488 100%);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #ffffff;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}
.voc-btn-cyber-emerald:hover {
  background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

/* Ses Menüsü Bölüm Başlıkları ve Dinamik Sistem Sesleri */
.voc-voice-section-title {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  padding: 6px 12px 2px 12px;
}
.voc-sys-voice-list {
  max-height: 160px;
  overflow-y: auto;
}
.voc-sys-voice-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  font-size: 11.5px;
  background: transparent;
  border: none;
  color: var(--text-main);
  width: 100%;
  cursor: pointer;
  transition: background 0.15s ease;
  border-radius: 6px;
}
.voc-sys-voice-item:hover {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
}
.voc-sys-voice-item.active {
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  font-weight: 700;
}

/* 3. Merkezde Daima Duran V.O.C Asistan Sahnesi (Ferah & Responsive) */
.voc-stage-center {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(2rem, 5vh, 4rem) 1.5rem 6.5rem 1.5rem;
  max-width: 980px;
  width: 94%;
  margin: 0 auto;
  z-index: 10;
  text-align: center;
  pointer-events: auto;
  transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--primary) 35%, transparent) transparent;
}

.voc-stage-center.dimmed {
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.voc-stage-center .voc-cockpit-hero::before,
.voc-stage-center .voc-cockpit-hero::after {
  display: none !important;
}

/* 4. Alt Uygulama Tepsisi (Minimalist Bento Glass Dock) */
.voc-bottom-dock {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background: color-mix(in srgb, var(--bg-surface) 78%, transparent);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid color-mix(in srgb, var(--primary) 22%, rgba(255, 255, 255, 0.12));
  border-radius: 9999px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  z-index: 25;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.voc-bottom-dock:hover {
  border-color: color-mix(in srgb, var(--primary) 45%, rgba(255, 255, 255, 0.25));
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.voc-bottom-dock-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 9999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.voc-bottom-dock-btn svg {
  flex-shrink: 0;
  transition: transform 0.2s ease, stroke 0.2s ease;
}

.voc-bottom-dock-btn:hover {
  background: color-mix(in srgb, var(--primary) 14%, rgba(255, 255, 255, 0.08));
  color: var(--text-main);
  border-color: color-mix(in srgb, var(--primary) 30%, transparent);
  transform: translateY(-2px);
}

.voc-bottom-dock-btn:hover svg {
  transform: scale(1.15);
  stroke: var(--primary);
}

.voc-bottom-dock-btn.active {
  background: color-mix(in srgb, var(--primary) 22%, rgba(255, 255, 255, 0.15));
  color: var(--primary);
  border-color: color-mix(in srgb, var(--primary) 50%, transparent);
  box-shadow: 0 0 14px color-mix(in srgb, var(--primary) 25%, transparent);
  transform: translateY(-1px);
}

/* 5. Açılır - Kapanır Cam Pencereler (Floating Windows & Popups) */
.voc-window-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 10, 18, 0.42); /* Doğal ve net karartma */
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 9000 !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.voc-window-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.voc-app-window {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.93);
  width: 92%;
  max-width: 980px;
  max-height: 84vh;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  z-index: 9200 !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease !important; /* Hızlı ve stabil tek sayfa penceresi */
}

.voc-app-window.active {
  transform: translate(-50%, -50%) !important;
  opacity: 1;
  pointer-events: auto;
}

.voc-app-window.is-fullscreen {
  width: 98vw !important;
  max-width: 98vw !important;
  height: 95vh !important;
  max-height: 95vh !important;
  border-radius: 14px !important;
}
.voc-app-window.is-fullscreen .voc-window-body {
  max-height: calc(95vh - 58px) !important;
  height: calc(95vh - 58px) !important;
}

.voc-window-header {
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-surface-secondary);
}

.voc-window-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}

.voc-window-close-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.18s ease;
}

.voc-window-close-btn:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
}

.voc-window-body {
  padding: 22px;
  overflow-y: auto;
  max-height: calc(84vh - 65px);
  scrollbar-width: thin;
}

/* ========================================================
   🚀 V.O.C COCKPIT OS EMBEDDED MODULE MODE (RESPONSIVE & CLEAN)
   ======================================================== */
html.voc-in-cockpit,
body.voc-in-cockpit {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow-x: hidden !important;
  min-height: 100% !important;
}

body.voc-in-cockpit .portal-navbar,
body.voc-in-cockpit #hotelHeaderNavbar,
body.voc-in-cockpit .mobile-nav-drawer,
body.voc-in-cockpit #mobileNavDrawer,
body.voc-in-cockpit #mobileNavToggleBtn,
body.voc-in-cockpit header.portal-header,
body.voc-in-cockpit footer.portal-footer,
body.voc-in-cockpit .portal-footer,
body.voc-in-cockpit .dash-footer,
body.voc-in-cockpit .breadcrumb-section,
body.voc-in-cockpit a[href*="dashboard.php"][class*="btn-cancel"] {
  display: none !important;
}

body.voc-in-cockpit .container,
body.voc-in-cockpit .container-fluid,
body.voc-in-cockpit .dashContainer,
body.voc-in-cockpit .dashAppContainer {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 14px 18px !important;
  padding-top: 10px !important;
  box-sizing: border-box !important;
}

body.voc-in-cockpit .content-wrapper {
  gap: 16px !important;
  flex-wrap: wrap !important;
}

body.voc-in-cockpit .sidebars-container {
  flex: 0 0 auto !important;
  max-width: 100% !important;
}

body.voc-in-cockpit .list-box,
body.voc-in-cockpit .table-container,
body.voc-in-cockpit .hotel-records-table-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 100% !important;
  overflow-x: auto !important;
  box-sizing: border-box !important;
}

body.voc-in-cockpit .top-controls {
  flex-wrap: wrap !important;
  gap: 8px !important;
}

/* Mobil / Dar Ekran Optimizasyonu */
@media (max-width: 1200px) {
  .voc-panel-drawer {
    width: 310px;
    margin: 10px;
  }
}

@media (max-width: 992px) {
  .voc-panel-drawer {
    position: fixed !important;
    top: 48px !important;
    bottom: 0 !important;
    height: calc(100vh - 48px) !important;
    width: 88vw !important;
    max-width: 360px !important;
    z-index: 9100 !important;
  }
  .voc-panel-left {
    left: 8px;
  }
  .voc-panel-right {
    right: 8px;
  }
  .voc-bottom-dock {
    width: 94%;
    justify-content: space-around;
    padding: 6px 10px;
    bottom: 10px;
  }
  .voc-bottom-dock-btn span:last-child {
    display: none;
  }
}

/* ========================================================
   CANLI ASİSTAN YANIT AKIŞI (CHATGPT / CLAUDE STYLE SEAMLESS CANVAS)
   ======================================================== */
.voc-main-chat-stage {
  width: 100%;
  max-width: 900px;
  margin: 1.75rem auto 3rem auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  animation: vocChatFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
  position: relative;
  z-index: 10;
}

@keyframes vocChatFadeIn {
  from { opacity: 0; transform: translateY(14px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.voc-chat-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.6rem;
  border-bottom: 1px solid color-mix(in srgb, var(--border-color) 45%, transparent);
}

/* Modern AI Thinking & Database Scanning Orb (No Clutter, High Aesthetics) */
.voc-thinking-box {
  width: 100%;
  animation: vocChatFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.voc-thinking-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background: color-mix(in srgb, var(--bg-surface) 80%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid color-mix(in srgb, var(--primary) 35%, var(--border-color));
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.voc-thinking-orb {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle, #38bdf8 0%, #0284c7 60%, rgba(3, 105, 161, 0.2) 100%);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.65);
  animation: jarvisHeartbeat 1.4s ease-in-out infinite;
  flex-shrink: 0;
}

.voc-thinking-orb span {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px dashed rgba(56, 189, 248, 0.6);
  animation: jarvisRotateRing 6s linear infinite;
}

.voc-thinking-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.voc-thinking-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  font-family: var(--font-monospace, monospace);
}

.voc-thinking-step {
  font-size: 12.5px;
  color: var(--text-main);
  font-weight: 500;
}

/* Active Chat Mode: Subtle hero compaction so conversation takes the spotlight */
.voc-cockpit-hero.has-active-chat .voc-center-stage {
  padding-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.voc-cockpit-hero.has-active-chat .voc-hero-brand-wrap {
  transform: scale(0.88);
  margin-bottom: 4px;
  transition: all 0.3s ease;
}

/* Ses Menüsü Nokta İndikatörü */
.voc-voice-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  display: inline-block;
  flex-shrink: 0;
}

/* Ses seçici dropdown ve meta-bar — arama kokpitinin ve tüm bileşenlerin daima en önünde */
.voc-cockpit-meta-bar {
  position: relative;
  z-index: 1060;
}

.voc-voice-dropdown {
  position: relative;
  z-index: 1070;
}

/* Asistan Ses Seçenekleri Açılır Menüsü (Siber Cam & Yaylı Açılış/Kapanış Animasyonu) */
.voc-cockpit-meta-bar .voc-voice-menu {
  display: block !important;
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 50% !important;
  width: 325px;
  padding: 12px;
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(13, 18, 28, 0.97) 0%, rgba(8, 12, 20, 0.99) 100%) !important;
  backdrop-filter: blur(35px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(35px) saturate(200%) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(56, 189, 248, 0.22), inset 0 1px 1px rgba(255, 255, 255, 0.18) !important;
  z-index: 99999 !important;
  transform-origin: top center !important;
  transform: translate(-50%, -14px) scale(0.92) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  filter: blur(8px) !important;
  transition: transform 0.32s cubic-bezier(0.34, 1.45, 0.64, 1),
              opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.24s ease,
              visibility 0.32s,
              box-shadow 0.3s ease !important;
}

.voc-cockpit-meta-bar .voc-voice-menu.show {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translate(-50%, 0) scale(1) !important;
  filter: blur(0px) !important;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.9), 
              0 0 40px rgba(56, 189, 248, 0.38), 
              0 0 0 1px rgba(56, 189, 248, 0.55),
              inset 0 1px 1px rgba(255, 255, 255, 0.25) !important;
}

/* ChatGPT Ses Modeli Rozeti */
.voc-voice-god-icon {
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Liste Maddeleri Kademeli İçeri Süzülme Efekti */
.voc-voice-menu.show .voc-voice-item {
  animation: vocVoiceItemStagger 0.28s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.voc-voice-menu.show .voc-voice-item:nth-child(1) { animation-delay: 0.03s; }
.voc-voice-menu.show .voc-voice-item:nth-child(2) { animation-delay: 0.06s; }
.voc-voice-menu.show .voc-voice-item:nth-child(3) { animation-delay: 0.09s; }
.voc-voice-menu.show .voc-voice-item:nth-child(4) { animation-delay: 0.12s; }
.voc-voice-menu.show .voc-voice-item:nth-child(5) { animation-delay: 0.15s; }
.voc-voice-menu.show .voc-voice-item:nth-child(6) { animation-delay: 0.18s; }

@keyframes vocVoiceItemStagger {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


/* ==========================================================================
   DRAWER CUSTOMIZATION — Çekmece Menü Düzenleme Sistemi
   ========================================================================== */

/* Başlık "Düzenle" butonu */
.voc-drawer-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.voc-drawer-edit-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}
.voc-drawer-edit-btn.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* Edit modu aktifken drawer body görünümü: arama kutusu ve aksiyonlar gizlenir, edit sheet açılır */
.voc-panel-drawer.is-edit-mode .voc-drawer-search-wrap {
  display: none !important;
}
.voc-panel-drawer.is-edit-mode #vocHotelPageList,
.voc-panel-drawer.is-edit-mode #vocErpPageList {
  display: none !important;
}

/* Edit Sheet — düzenleme paneli */
.voc-edit-sheet {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding-top: 2px;
  overflow-y: auto;
  flex: 1;
}
.voc-panel-drawer.is-edit-mode .voc-edit-sheet {
  display: flex;
}
.voc-panel-drawer.is-edit-mode .voc-drawer-footer-actions {
  display: none !important;
}

/* Sıralanabilir item satırı (edit modunda) */
.voc-edit-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: var(--bg-surface);
  cursor: default;
  transition: border-color 0.15s, box-shadow 0.15s, opacity 0.15s;
  user-select: none;
}
.voc-edit-row.is-hidden-item {
  opacity: 0.45;
}
.voc-edit-row.drag-over {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 25%, transparent);
}
.voc-edit-row.dragging {
  opacity: 0.35;
}

/* Sürükleme tutacağı */
.voc-drag-handle {
  cursor: grab;
  color: var(--text-muted);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 2px 1px;
}
.voc-drag-handle:active { cursor: grabbing; }

/* Görünürlük toggle */
.voc-vis-toggle {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  border: 1px solid var(--border-color);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s;
  color: var(--text-muted);
}
.voc-vis-toggle:hover { border-color: var(--primary); color: var(--primary); }
.voc-vis-toggle.is-visible {
  background: color-mix(in srgb, var(--primary) 15%, transparent);
  border-color: var(--primary);
  color: var(--primary);
}

/* Inline metin inputlar */
.voc-edit-input {
  flex: 1;
  min-width: 0;
  padding: 4px 7px;
  font-size: 11.5px;
  border: 1px solid var(--border-color);
  border-radius: 7px;
  background: var(--bg-surface-secondary);
  color: var(--text-main);
  outline: none;
  transition: border-color 0.15s;
}
.voc-edit-input:focus {
  border-color: var(--primary);
  background: var(--bg-surface);
}
.voc-edit-input.url-input {
  font-size: 10.5px;
  color: var(--text-muted);
}

/* Satır sil butonu */
.voc-delete-row-btn {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  border: 1px solid transparent;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: all 0.15s;
}
.voc-delete-row-btn:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.35);
  color: #ef4444;
}

/* Edit Sheet alt aksiyonlar */
.voc-edit-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
  border-top: 1px solid var(--border-color);
  margin-top: 4px;
}
.voc-edit-add-link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 10px;
  border: 1px dashed var(--border-color);
  border-radius: 10px;
  background: transparent;
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s;
}
.voc-edit-add-link-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}
.voc-edit-save-row {
  display: flex;
  gap: 6px;
}
.voc-edit-save-btn {
  flex: 1;
  padding: 7px;
  border-radius: 10px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
}
.voc-edit-save-btn:hover { opacity: 0.88; }
.voc-edit-cancel-btn {
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}
.voc-edit-cancel-btn:hover {
  border-color: var(--border-hover);
  color: var(--text-main);
}
.voc-edit-reset-btn {
  padding: 5px 10px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-size: 10.5px;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s;
  width: 100%;
}
.voc-edit-reset-btn:hover { color: #ef4444; background: rgba(239,68,68,0.06); }

/* İki sütun giriş grubu */
.voc-edit-row-inputs {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}



/* ==========================================================================
   VOC QUICK HOTEL ADDITION — FLOATING PANEL
   ========================================================================== */

/* ── Overlay ──────────────────────────────────────────────────────────── */
.voc-qh-overlay {
  position: fixed;
  inset: 0;
  z-index: 19000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  padding: 16px;
}
.voc-qh-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* ── Panel Kartı ──────────────────────────────────────────────────────── */
.voc-qh-panel {
  width: 100%;
  max-width: 580px;
  background: color-mix(in srgb, var(--bg-surface) 96%, transparent);
  backdrop-filter: blur(36px) saturate(200%);
  -webkit-backdrop-filter: blur(36px) saturate(200%);
  border: 1px solid color-mix(in srgb, var(--primary) 35%, var(--border-color));
  border-radius: 22px;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--primary) 10%, transparent),
    0 32px 80px rgba(0, 0, 0, 0.55),
    0 0 60px -10px color-mix(in srgb, var(--primary) 22%, transparent);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
/* Üst parıltı çizgisi */
.voc-qh-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.85;
}
.voc-qh-overlay.is-open .voc-qh-panel {
  transform: translateY(0) scale(1);
}

/* ── Header ──────────────────────────────────────────────────────────── */
.voc-qh-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
}
.voc-qh-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.voc-qh-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--primary) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 35%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.voc-qh-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
  letter-spacing: 0.02em;
}
.voc-qh-subtitle {
  font-size: 11px;
  color: var(--text-muted);
  margin: 2px 0 0;
  letter-spacing: 0.01em;
}
.voc-qh-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* AI Araştırma Butonu */
.voc-qh-ai-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 20px;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--primary) 20%, transparent),
    color-mix(in srgb, #8b5cf6 20%, transparent));
  border: 1px solid color-mix(in srgb, var(--primary) 40%, transparent);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.03em;
}
.voc-qh-ai-btn:hover {
  background: color-mix(in srgb, var(--primary) 28%, transparent);
  box-shadow: 0 0 16px color-mix(in srgb, var(--primary) 30%, transparent);
}
.voc-qh-ai-btn.loading {
  opacity: 0.6;
  cursor: wait;
  pointer-events: none;
}

/* Saat Pill */
.voc-qh-clock-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  background: color-mix(in srgb, var(--bg-surface) 80%, transparent);
  border: 1px solid var(--border-color);
  font-size: 10.5px;
  color: var(--text-muted);
  flex-shrink: 0;
}
.voc-qh-clock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 6px var(--primary);
  animation: vocClockDotBreathe 2s ease-in-out infinite alternate;
  flex-shrink: 0;
}
@keyframes vocClockDotBreathe {
  from { opacity: 0.5; transform: scale(0.9); }
  to   { opacity: 1;   transform: scale(1.1); }
}
#vocQhClockTime {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--text-main);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
}

/* Para Birimi Pill */
.voc-qh-currency-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  background: color-mix(in srgb, #10b981 12%, transparent);
  border: 1px solid color-mix(in srgb, #10b981 35%, transparent);
  font-size: 10.5px;
  font-weight: 700;
  color: #34d399;
  letter-spacing: 0.04em;
  box-shadow: 0 0 10px -2px rgba(16, 185, 129, 0.25);
  white-space: nowrap;
  flex-shrink: 0;
}
.voc-qh-curr-icon {
  font-size: 11px;
}

/* Kapat butonu */
.voc-qh-close-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.voc-qh-close-btn:hover {
  background: color-mix(in srgb, #ef4444 15%, transparent);
  border-color: #ef4444;
  color: #ef4444;
}

/* ── Alert Band ──────────────────────────────────────────────────────── */
.voc-qh-alert {
  margin: 0 20px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.voc-qh-alert.is-error {
  background: color-mix(in srgb, #ef4444 12%, transparent);
  border: 1px solid color-mix(in srgb, #ef4444 35%, transparent);
  color: #ef4444;
}
.voc-qh-alert.is-success {
  background: color-mix(in srgb, #22c55e 12%, transparent);
  border: 1px solid color-mix(in srgb, #22c55e 35%, transparent);
  color: #22c55e;
}

/* ── Form Gövdesi ─────────────────────────────────────────────────────── */
.voc-qh-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  max-height: calc(90vh - 135px);
}
.voc-qh-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.voc-qh-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 5px;
}
.voc-qh-required {
  color: var(--primary);
  font-size: 12px;
}
.voc-qh-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--bg-surface) 60%, transparent);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 13px;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}
.voc-qh-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 15%, transparent);
}
.voc-qh-input::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
  font-size: 12px;
}
.voc-qh-input.is-valid {
  border-color: #22c55e;
}
.voc-qh-input.is-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px color-mix(in srgb, #ef4444 12%, transparent);
}

/* ── Duplicate Uyarı Kutusu ───────────────────────────────────────────── */
.voc-qh-dup-box {
  margin-top: 5px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 11.5px;
  line-height: 1.45;
  transition: all 0.25s ease;
}
.voc-qh-dup-box.is-warning {
  background: color-mix(in srgb, #f59e0b 10%, transparent);
  border: 1px solid color-mix(in srgb, #f59e0b 35%, transparent);
  color: #fbbf24;
}
.voc-qh-dup-box.is-success {
  background: color-mix(in srgb, #22c55e 10%, transparent);
  border: 1px solid color-mix(in srgb, #22c55e 35%, transparent);
  color: #4ade80;
}
.voc-qh-dup-clean {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
}
.voc-qh-dup-clean span:first-child {
  font-weight: 900;
  font-size: 13px;
}
.voc-qh-dup-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fbbf24;
}
.voc-qh-dup-hint {
  font-size: 10.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.voc-qh-dup-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 180px;
  overflow-y: auto;
}
.voc-qh-dup-item {
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.voc-qh-dup-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.voc-qh-dup-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
}
.voc-qh-dup-name mark {
  background: color-mix(in srgb, var(--primary) 40%, transparent);
  color: #fff;
  padding: 1px 4px;
  border-radius: 3px;
}
.voc-qh-dup-desc {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.voc-qh-dup-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.voc-qh-dup-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--primary) 22%, transparent);
  border: 1px solid var(--primary);
  color: #fff !important;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.15s ease;
}
.voc-qh-dup-edit-btn:hover {
  background: var(--primary);
  color: #fff !important;
  box-shadow: 0 0 10px color-mix(in srgb, var(--primary) 40%, transparent);
}
.voc-qh-dup-copy-btn {
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 10.5px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.voc-qh-dup-copy-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-main);
}

/* ── Canlı Harita Önizleme Çekmecesi ───────────────────────────── */
.voc-qh-map-drawer {
  border-radius: 14px;
  background: color-mix(in srgb, var(--bg-surface) 75%, transparent);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all 0.25s ease;
  margin-top: 4px;
}
.voc-qh-map-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid var(--border-color);
  gap: 8px;
}
.voc-qh-map-title-group {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
  overflow: hidden;
}
.voc-qh-map-title-group strong {
  color: var(--text-main);
  font-weight: 700;
  white-space: nowrap;
}
.voc-qh-map-hint {
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 10px;
}
.voc-qh-map-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.voc-qh-map-link {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  text-decoration: none !important;
  transition: all 0.15s ease;
}
.voc-qh-map-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.1);
}
.voc-qh-map-link.highlight {
  color: #fff;
  background: color-mix(in srgb, var(--primary) 20%, transparent);
  border-color: color-mix(in srgb, var(--primary) 40%, transparent);
}
.voc-qh-map-link.highlight:hover {
  background: var(--primary);
}
.voc-qh-map-frame-wrap {
  width: 100%;
  height: 165px;
  background: #0f172a;
  position: relative;
}
.voc-qh-map-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ── Footer ─────────────────────────────────────────────────────────── */
.voc-qh-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid var(--border-color);
  background: color-mix(in srgb, var(--bg-surface) 50%, transparent);
}
.voc-qh-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  font-family: inherit;
}
.voc-qh-btn-cancel {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}
.voc-qh-btn-cancel:hover {
  background: color-mix(in srgb, var(--bg-surface) 80%, transparent);
  color: var(--text-main);
}
.voc-qh-btn-submit {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px color-mix(in srgb, var(--primary) 40%, transparent);
}
.voc-qh-btn-submit:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--primary) 50%, transparent);
}
.voc-qh-btn-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}
.voc-qh-btn-submit.loading span::after {
  content: '...';
  animation: vocQhDots 1s infinite;
}
@keyframes vocQhDots {
  0%   { content: '.'; }
  33%  { content: '..'; }
  66%  { content: '...'; }
}

/* ── Toast Bildirimi ──────────────────────────────────────────────────── */
.voc-toast-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 20000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.voc-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--bg-surface) 95%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  min-width: 260px;
  max-width: 380px;
  pointer-events: auto;
  animation: vocToastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.voc-toast.is-exiting {
  animation: vocToastOut 0.25s ease forwards;
}
.voc-toast.success { border-color: color-mix(in srgb, #22c55e 40%, var(--border-color)); }
.voc-toast.success .voc-toast-icon { color: #22c55e; }
.voc-toast.error   { border-color: color-mix(in srgb, #ef4444 40%, var(--border-color)); }
.voc-toast.error   .voc-toast-icon { color: #ef4444; }
.voc-toast-icon { flex-shrink: 0; }
@keyframes vocToastIn {
  from { opacity: 0; transform: translateX(40px) scale(0.95); }
  to   { opacity: 1; transform: translateX(0)    scale(1); }
}
@keyframes vocToastOut {
  from { opacity: 1; transform: translateX(0)    scale(1); }
  to   { opacity: 0; transform: translateX(40px) scale(0.95); }
}

/* ============================================================
   VOC HOTEL RECORDS EXPLORER & MAP WINDOW STYLES
   ============================================================ */

/* 1. Tesis Masası & Pencere Boyutu */
.voc-hotel-records-window {
  max-width: 1100px;
  width: 95%;
  max-height: 88vh;
  height: 84vh;
}

.voc-hr-window-body {
  display: flex;
  flex-direction: column;
  height: calc(100% - 55px);
  padding: 0;
  overflow: hidden;
}

/* 2. Toolbar & Filtreler */
.voc-hr-toolbar {
  padding: 12px 18px;
  background: var(--bg-surface-secondary);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.voc-hr-search-wrap {
  position: relative;
  flex: 1 1 260px;
  display: flex;
  align-items: center;
}

.voc-hr-search-wrap svg {
  position: absolute;
  left: 12px;
  pointer-events: none;
}

.voc-hr-search-input {
  width: 100%;
  padding: 7px 32px 7px 34px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-main);
  font-size: 12.5px;
  transition: all 0.2s ease;
}

.voc-hr-search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 20%, transparent);
}

.voc-hr-clear-btn {
  position: absolute;
  right: 10px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.voc-hr-clear-btn:hover {
  color: var(--text-main);
}

.voc-hr-filter-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.voc-hr-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.voc-hr-filter-pill:hover {
  border-color: var(--primary);
  color: var(--text-main);
}

.voc-hr-filter-pill.active {
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  border-color: var(--primary);
  color: var(--primary);
}

.voc-hr-select-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.voc-hr-select {
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-main);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  outline: none;
}

.voc-hr-select:focus {
  border-color: var(--primary);
}

/* 3. Kart Izgarası (Grid) & İçerik */
.voc-hr-content {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 16px 18px;
  position: relative;
}

.voc-hr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
}

.voc-hr-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  position: relative;
}

.voc-hr-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--primary) 40%, var(--border-color));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.voc-hr-card.is-pinned {
  border-left: 3.5px solid #f59e0b;
}

.voc-hr-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.voc-hr-card-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  margin: 0;
}

.voc-hr-card-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.voc-hr-icon-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface-secondary);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.voc-hr-icon-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.voc-hr-icon-btn.active-pin {
  color: #f59e0b;
  border-color: color-mix(in srgb, #f59e0b 50%, var(--border-color));
  background: color-mix(in srgb, #f59e0b 10%, transparent);
}

.voc-hr-card-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.voc-hr-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2.5px 7px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.voc-hr-badge-location {
  background: color-mix(in srgb, #06b6d4 12%, transparent);
  color: #0891b2;
  border: 1px solid color-mix(in srgb, #06b6d4 30%, transparent);
}

.voc-hr-badge-stars {
  background: color-mix(in srgb, #f59e0b 12%, transparent);
  color: #d97706;
  border: 1px solid color-mix(in srgb, #f59e0b 30%, transparent);
}

.voc-hr-card-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.voc-hr-card-notes {
  background: color-mix(in srgb, #ef4444 8%, transparent);
  border: 1px solid color-mix(in srgb, #ef4444 25%, transparent);
  border-radius: 8px;
  padding: 6px 9px;
  font-size: 11.5px;
  color: #ef4444;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.35;
}

.voc-hr-card-footer {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.voc-hr-card-date {
  font-size: 10.5px;
  color: var(--text-muted);
}

.voc-hr-card-btns {
  display: flex;
  align-items: center;
  gap: 6px;
}

.voc-hr-btn-action {
  padding: 4px 9px;
  font-size: 11.5px;
  font-weight: 600;
  border-radius: 7px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface-secondary);
  color: var(--text-main);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.voc-hr-btn-action:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* 4. Alt Sayfalama & Durum Barı */
.voc-hr-footer {
  padding: 10px 18px;
  background: var(--bg-surface-secondary);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.voc-hr-page-btn {
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-main);
  font-size: 11.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.voc-hr-page-btn:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
}

.voc-hr-page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.voc-hr-page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* 5. Harita Penceresi (World View / 3D Globe) */
.voc-hotel-map-window {
  max-width: 1200px;
  width: 96%;
  max-height: 90vh;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.voc-hotel-map-window.is-fullscreen {
  width: 98vw !important;
  max-width: 98vw !important;
  height: 94vh !important;
  max-height: 94vh !important;
  top: 50% !important;
  left: 50% !important;
  border-radius: 16px !important;
}

.voc-hotel-map-window.is-fullscreen .voc-window-body {
  height: calc(94vh - 55px) !important;
}

/* ==========================================================================
   V.O.C OS: NEXT-GEN DESKTOP SETTINGS SUITE (TABBED BENTO)
   ========================================================================== */
.voc-settings-suite-box {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 18px !important;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.45) !important;
}

.voc-settings-icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--primary-light, rgba(37, 99, 235, 0.12));
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.voc-settings-nav {
  user-select: none;
}

.voc-settings-tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.voc-settings-tab-btn svg {
  flex-shrink: 0;
  opacity: 0.75;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.voc-settings-tab-btn:hover {
  background: rgba(125, 125, 125, 0.08);
  color: var(--text-main);
  transform: translateX(2px);
}

.voc-settings-tab-btn:hover svg {
  opacity: 1;
}

.voc-settings-tab-btn.active {
  background: var(--primary);
  color: #ffffff !important;
  box-shadow: 0 4px 14px -3px var(--primary);
}

.voc-settings-tab-btn.active svg {
  opacity: 1;
  stroke: #ffffff;
}

.voc-tab-pane {
  animation: vocFadeTab 0.22s ease-out;
}

@keyframes vocFadeTab {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.settings-card-item {
  padding: 14px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
}

/* =====================================================================
   VOC TEMA PALETİ - IDE Uyumlu Tema Kart Sistemi
   ===================================================================== */
.voc-theme-palette-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 3px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-color) transparent;
}

.voc-theme-palette-grid::-webkit-scrollbar { width: 4px; }
.voc-theme-palette-grid::-webkit-scrollbar-track { background: transparent; }
.voc-theme-palette-grid::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; }

.voc-theme-tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px 0 0;
  background: var(--bg-surface-secondary, #f8fafc);
  border: 1.5px solid var(--border-color, #e2e8f0);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
  width: 100%;
  overflow: hidden;
  min-height: 38px;
  box-sizing: border-box;
}

/* Sol kenar gradient bar */
.voc-theme-tile-bar {
  width: 7px;
  min-width: 7px;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 8px 0 0 8px;
  display: block;
  flex-shrink: 0;
}

/* Renk noktası */
.voc-theme-tile-dot {
  width: 14px;
  height: 14px;
  min-width: 14px;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
  margin-left: 15px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  transition: transform 0.18s ease;
}

.dark-mode .voc-theme-tile-dot {
  border-color: rgba(255, 255, 255, 0.18);
}

/* İsim */
.voc-theme-tile-name {
  flex: 1;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-main, #0f172a);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
  transition: color 0.18s ease;
}

/* Onay ikonu (aktifken görünür) */
.voc-theme-tile-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  min-width: 16px;
  border-radius: 50%;
  background: var(--primary, #2563eb);
  color: #fff;
  opacity: 0;
  transform: scale(0.4);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

/* Hover */
.voc-theme-tile:hover {
  border-color: var(--primary, #2563eb);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.voc-theme-tile:hover .voc-theme-tile-dot {
  transform: scale(1.15);
}

/* Aktif */
.voc-theme-tile.active {
  border-color: var(--primary, #2563eb);
  background: var(--primary-light, rgba(37, 99, 235, 0.08));
  box-shadow: 0 0 0 1.5px var(--primary, #2563eb), 0 3px 10px rgba(0, 0, 0, 0.08);
}

.voc-theme-tile.active .voc-theme-tile-name {
  color: var(--primary, #2563eb);
}

.voc-theme-tile.active .voc-theme-tile-check {
  opacity: 1;
  transform: scale(1);
}

/* Köşe geometrisi desteği */
html[data-radius="sharp"] .voc-theme-tile { border-radius: 5px; }
html[data-radius="sharp"] .voc-theme-tile-bar { border-radius: 3px 0 0 3px; }
html[data-radius="curved"] .voc-theme-tile { border-radius: 16px; }
html[data-radius="curved"] .voc-theme-tile-bar { border-radius: 14px 0 0 14px; }


/* ==========================================================================
   FÜTÜRİSTİK MİNİMALİST AI ÇEKİRDEK (NEFES ALAN HALO - EMOJİSİZ)
   ========================================================================== */
.voc-modern-ai-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 160px;
  height: 160px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}

.voc-halo-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-light, rgba(37, 99, 235, 0.25)) 0%, transparent 70%);
  animation: vocHaloBreathe 4s infinite ease-in-out;
}

.voc-halo-ring {
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  opacity: 0.35;
  box-shadow: 0 0 24px -2px var(--primary);
  animation: vocRingSpin 18s linear infinite;
}

@keyframes vocHaloBreathe {
  0%, 100% { transform: scale(0.92); opacity: 0.45; }
  50% { transform: scale(1.18); opacity: 0.85; }
}

@keyframes vocRingSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   CHATGPT TARZI SOHBET & CANLI DÜŞÜNME AKIŞI (MODERN CHAT LAYOUT)
   ========================================================================== */
.voc-chat-stream-container {
  width: 100%;
  margin-top: 1.25rem;
  background: color-mix(in srgb, var(--bg-surface) 86%, transparent);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1.5px solid color-mix(in srgb, var(--primary) 22%, var(--border-color));
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  text-align: left;
  animation: vocFadeTab 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.voc-chat-stream-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--border-color) 80%, transparent);
  background: rgba(125, 125, 125, 0.04);
}

.voc-thinking-box {
  padding: 10px 18px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--primary) 8%, rgba(125, 125, 125, 0.05));
  border: 1px dashed color-mix(in srgb, var(--primary) 35%, var(--border-color));
  margin: 14px 20px 0 20px;
  animation: vocFadeTab 0.2s ease;
}

.voc-spinner-mini {
  width: 14px;
  height: 14px;
  border: 2px solid var(--border-color);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: vocMiniSpin 0.75s linear infinite;
}

@keyframes vocMiniSpin {
  to { transform: rotate(360deg); }
}

/* ChatGPT / Claude Tarzı Konuşma Akışı ve Modern Baloncuklar */
.voc-conversation-stream {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 4px 0;
}

/* 1. Kullanıcı Sorgu Baloncuğu (Sağ Hizada, Modern Cam Hap) */
.voc-user-query-bubble {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  animation: vocUserSlide 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes vocUserSlide {
  from { opacity: 0; transform: translateY(8px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.voc-user-query-pill {
  background: color-mix(in srgb, var(--primary) 20%, var(--bg-surface-secondary));
  border: 1px solid color-mix(in srgb, var(--primary) 38%, transparent);
  color: var(--text-main);
  padding: 10px 20px;
  border-radius: 20px 20px 4px 20px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  max-width: 80%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  word-break: break-word;
  letter-spacing: -0.01em;
}

/* 2. Yapay Zeka Yanıt Bloğu (Sol Hizada, Geniş ve Açık ChatGPT Mimarisi) */
.voc-ai-response-block {
  animation: vocAiSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: color-mix(in srgb, var(--bg-surface) 86%, transparent);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid color-mix(in srgb, var(--primary) 22%, var(--border-color));
  border-radius: 20px;
  padding: 1.35rem 1.6rem;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

@keyframes vocAiSlide {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.voc-ai-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid color-mix(in srgb, var(--border-color) 50%, transparent);
}

.voc-ai-card-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 12.5px;
  color: var(--text-main);
}

.voc-ai-card-icon {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.45);
  flex-shrink: 0;
}

.voc-ai-response-block .card,
.voc-ai-response-block .voc-greeting-card,
.voc-ai-response-block .voc-ai-card {
  border-radius: 14px !important;
  border: 1px solid color-mix(in srgb, var(--border-color) 60%, transparent) !important;
  background: color-mix(in srgb, var(--bg-surface-secondary) 80%, transparent) !important;
}

/* ==========================================================================
   SİTE GENELİ GRAFİK & PERFORMANS KURAL SETLERİ
   ========================================================================== */
/* 1. Eco Mode (En Düşük GPU Yükü & Maksimum Hız) */
html[data-graphics="eco"] * {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  text-shadow: none !important;
  box-shadow: none !important;
}
html[data-graphics="eco"] .voc-cosmos-canvas,
html[data-graphics="eco"] .voc-halo-ring {
  display: none !important;
}
html[data-graphics="eco"] .portal-ambient-glow {
  opacity: 0 !important;
}

/* 2. Ultra Mode (Maksimum Görsel Şölen & Kristal Glass) */
html[data-graphics="ultra"] .portal-glass,
html[data-graphics="ultra"] .voc-search-cockpit {
  backdrop-filter: blur(28px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(190%) !important;
}

/* 3. 30 FPS Kısıtlaması */
html[data-fps="30"] * {
  animation-duration: 0.001s !important;
}

/* ==========================================================================
   GÖREV PLANI & ONAY KARTI (AI PLANNER & EXECUTION MODE)
   ========================================================================== */
.voc-plan-card {
  width: 100%;
  animation: vocAiSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  background: color-mix(in srgb, var(--bg-surface) 94%, transparent) !important;
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1.5px solid color-mix(in srgb, var(--primary) 35%, var(--border-color)) !important;
  border-radius: 18px !important;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.2), 0 0 25px -5px color-mix(in srgb, var(--primary) 20%, transparent);
}

.voc-plan-step-item {
  transition: all 0.2s ease;
  border-radius: 10px;
}
.voc-plan-step-item:hover {
  background: color-mix(in srgb, var(--primary) 6%, var(--bg-surface-secondary)) !important;
  border-color: color-mix(in srgb, var(--primary) 30%, transparent) !important;
}

.voc-plan-step-item.is-running {
  border-color: var(--primary) !important;
  background: color-mix(in srgb, var(--primary) 12%, var(--bg-surface-secondary)) !important;
}

/* Düşünce Süreci Akordeonu (Claude / Gemini Tarzı) */
.voc-thought-accordion {
  margin-bottom: 10px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--bg-surface-secondary) 85%, transparent);
  border: 1px solid color-mix(in srgb, var(--border-color) 60%, transparent);
  overflow: hidden;
}
.voc-thought-summary {
  padding: 8px 12px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  user-select: none;
  list-style: none;
}
.voc-thought-summary::-webkit-details-marker {
  display: none;
}
.voc-thought-summary:hover {
  color: var(--text-main);
  background: color-mix(in srgb, var(--primary) 5%, transparent);
}
.voc-thought-content {
  padding: 10px 14px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-main);
  border-top: 1px solid color-mix(in srgb, var(--border-color) 40%, transparent);
  background: color-mix(in srgb, var(--bg-surface) 60%, transparent);
}

/* ==========================================================================
   SİSTEM ÇALIŞMA ALANI & GİT MASASI (WORKSPACE EXPLORER)
   ========================================================================== */
.voc-workspace-window .voc-window-body {
  height: 580px;
  max-height: 75vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.voc-workspace-tab-pane {
  height: 100%;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  overflow: hidden;
}

.voc-files-layout {
  display: flex;
  height: 100%;
  flex-grow: 1;
  overflow: hidden;
}

.voc-files-sidebar {
  width: 320px;
  min-width: 260px;
  border-right: 1px solid color-mix(in srgb, var(--border-color) 60%, transparent);
  display: flex;
  flex-direction: column;
  background: color-mix(in srgb, var(--bg-surface-secondary) 60%, transparent);
}

.voc-file-list {
  flex-grow: 1;
  overflow-y: auto;
  padding: 4px;
}

.voc-file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.15s ease;
  user-select: none;
  gap: 8px;
}
.voc-file-item:hover {
  background: color-mix(in srgb, var(--primary) 10%, transparent);
}
.voc-file-item.active {
  background: color-mix(in srgb, var(--primary) 20%, transparent);
  color: var(--primary);
  font-weight: 600;
}

.voc-files-preview-pane {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-surface);
}

.voc-preview-body {
  flex-grow: 1;
  overflow: auto;
  background: color-mix(in srgb, var(--bg-surface-secondary) 95%, black);
}

.voc-preview-body pre {
  margin: 0;
  padding: 14px 16px;
  font-family: var(--font-monospace, 'JetBrains Mono', 'Fira Code', monospace);
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-main);
  white-space: pre-wrap;
  word-break: break-word;
}

/* Git Diff Renklendirmesi */
.voc-git-diff-container pre {
  font-family: var(--font-monospace, monospace);
  font-size: 11.5px;
  line-height: 1.5;
}
.diff-add {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  display: block;
}
.diff-del {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  display: block;
}
.diff-meta {
  color: #38bdf8;
  font-weight: 600;
  display: block;
}

/* ========================================================
   ANTIGRAVITY IDE WORKSPACE & ARCHITECTURE
   Tam Tema Bağlantılı (Theme-Bound Modern Developer IDE)
   ======================================================== */
.voc-ide-container {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: var(--bg-body);
  color: var(--text-main);
  z-index: 10;
  font-family: var(--font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
}

/* 1. IDE Üst Başlık & Menü Çubuğu */
.voc-ide-titlebar {
  height: 42px;
  min-height: 42px;
  background: var(--bg-surface-secondary);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  z-index: 100;
  user-select: none;
}
.voc-ide-title-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.voc-ide-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--primary);
  text-decoration: none;
}
.voc-ide-logo svg {
  color: var(--primary);
}
.voc-ide-menubar {
  display: flex;
  align-items: center;
  gap: 2px;
}
.voc-ide-menu-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.voc-ide-menu-btn:hover {
  background: color-mix(in srgb, var(--text-main) 10%, transparent);
  color: var(--text-main);
}
.voc-ide-title-center {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 580px;
  margin: 0 16px;
}
.voc-ide-cmd-box {
  width: 100%;
  max-width: 440px;
  height: 27px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.15s ease;
}
.voc-ide-cmd-box:hover {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 6%, var(--bg-surface));
}
.voc-ide-cmd-text {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.voc-ide-cmd-box:hover .voc-ide-cmd-text {
  color: var(--text-main);
}
kbd.voc-kbd,
.voc-kbd {
  font-family: var(--font-mono, monospace);
  font-size: 9.5px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 3px;
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  box-shadow: none;
  line-height: 1.2;
}
.voc-ide-title-right {
  display: flex;
  align-items: center;
  gap: 6px;
}
.voc-ide-branch-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: color-mix(in srgb, var(--primary) 15%, transparent);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  border-radius: 6px;
  padding: 3px 8px;
  font-family: var(--font-monospace, monospace);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}
.voc-ide-quick-theme-select {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
}
.voc-ide-quick-theme-select:focus {
  border-color: var(--primary);
}
.voc-ide-tool-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.voc-ide-tool-btn:hover {
  background: color-mix(in srgb, var(--text-main) 10%, transparent);
  color: var(--text-main);
  border-color: var(--border-color);
}
.voc-ide-tool-btn.active {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary-border);
}

/* 2. IDE Ana Gövde (3 Kolonlu Mimari) */
.voc-ide-body {
  flex: 1;
  display: flex;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

/* Aktivite Çubuğu (Sol Dikey İkon Şeridi) */
.voc-ide-activity-bar {
  width: 48px;
  min-width: 48px;
  background: var(--bg-surface-secondary);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  z-index: 20;
}
.voc-activity-top-group,
.voc-activity-bottom-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}
.voc-activity-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.15s ease;
}
.voc-activity-btn:hover {
  color: var(--text-main);
  background: color-mix(in srgb, var(--primary) 10%, transparent);
}
.voc-activity-btn.active {
  color: var(--primary);
  background: var(--primary-light);
}
.voc-activity-btn.active::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 6px;
  bottom: 6px;
  width: 3px;
  border-radius: 0 4px 4px 0;
  background: var(--primary);
}
.voc-activity-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 14px;
  height: 14px;
  border-radius: 7px;
  background: var(--primary);
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

/* Sol Yan Panel (Gezgin / Git / Notlar Çekmecesi) */
.voc-ide-sidebar {
  width: 300px;
  min-width: 180px;
  max-width: 650px;
  background: var(--bg-surface);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: width 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 15;
  flex-shrink: 0;
}
.voc-ide-sidebar.is-collapsed {
  width: 0 !important;
  min-width: 0 !important;
  border-right: none !important;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.voc-ide-sidebar-header {
  height: 38px;
  min-height: 38px;
  padding: 0 12px;
  background: var(--bg-surface-secondary);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.voc-ide-sidebar-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.voc-ide-sidebar-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.voc-sidebar-pane {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.voc-sidebar-pane.d-none {
  display: none !important;
}

/* 3. Orta Çalışma Sahnesi & Sekmeli Editör */
.voc-ide-main-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--bg-body);
  overflow: hidden;
}
.voc-ide-tabs-bar {
  height: 38px;
  min-height: 38px;
  background: var(--bg-surface-secondary);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
}
.voc-ide-tabs-bar::-webkit-scrollbar {
  display: none;
}
.voc-ide-tab-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  font-size: 12px;
  color: var(--text-muted);
  border-right: 1px solid var(--border-color);
  background: transparent;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition: all 0.15s ease;
  position: relative;
}
.voc-ide-tab-item:hover {
  background: color-mix(in srgb, var(--primary) 6%, transparent);
  color: var(--text-main);
}
.voc-ide-tab-item.active {
  background: var(--bg-surface);
  color: var(--text-main);
  font-weight: 600;
}
.voc-ide-tab-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
}
.voc-ide-tab-icon {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
}
.voc-ide-tab-close {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  opacity: 0.6;
  transition: all 0.15s ease;
}
.voc-ide-tab-close:hover {
  opacity: 1;
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

/* Sekme İçerik Sahnesi */
.voc-ide-viewport {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  background: var(--bg-surface);
}
.voc-ide-canvas-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.voc-ide-canvas-tab.d-none {
  display: none !important;
}

/* Kod Editörü Görünümü */
.voc-ide-editor-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-surface);
}
.voc-ide-editor-toolbar {
  height: 36px;
  min-height: 36px;
  padding: 0 14px;
  background: var(--bg-surface-secondary);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.voc-ide-editor-scroll {
  flex: 1;
  overflow: auto;
  display: flex;
  background: var(--bg-surface);
}
.voc-ide-code-gutter {
  padding: 14px 10px;
  user-select: none;
  text-align: right;
  font-family: var(--font-monospace, monospace);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--text-muted);
  opacity: 0.7;
  background: var(--bg-surface-secondary);
  border-right: 1px solid var(--border-color);
  min-width: 48px;
}
.voc-ide-code-body {
  flex: 1;
  margin: 0;
  padding: 14px 16px;
  font-family: var(--font-monospace, 'JetBrains Mono', 'Fira Code', monospace);
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-main);
  white-space: pre-wrap;
  word-break: break-word;
  background: var(--bg-surface);
}

/* Alt Terminal & Konsol Çekmecesi */
.voc-ide-bottom-panel {
  height: 220px;
  min-height: 100px;
  max-height: 80vh;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: height 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
  flex-shrink: 0;
}
.voc-ide-bottom-panel.is-collapsed {
  height: 0 !important;
  min-height: 0 !important;
  border-top: none !important;
  display: none !important;
}
.voc-ide-bottom-header {
  height: 32px;
  min-height: 32px;
  background: var(--bg-surface-secondary);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
}
.voc-ide-bottom-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.voc-ide-bottom-nav-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.voc-ide-bottom-nav-btn:hover {
  color: var(--text-main);
}
.voc-ide-bottom-nav-btn.active {
  color: var(--primary);
  background: var(--primary-light);
}

/* 4. Sağ Antigravity AI Asistan & Planlama Masası */
.voc-ide-ai-panel {
  width: 400px;
  min-width: 260px;
  max-width: 850px;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: width 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 15;
  flex-shrink: 0;
}
.voc-ide-ai-panel.is-collapsed {
  width: 0 !important;
  min-width: 0 !important;
  border-left: none !important;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.voc-ide-ai-panel.is-expanded {
  width: 560px;
}
.voc-ide-ai-header {
  height: 42px;
  min-height: 42px;
  padding: 0 14px;
  background: var(--bg-surface-secondary);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.voc-ide-ai-stream {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-behavior: smooth;
}
.voc-ide-ai-input-dock {
  padding: 10px 12px;
  background: var(--bg-surface-secondary);
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.voc-ide-ai-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.voc-ide-ai-chips::-webkit-scrollbar {
  display: none;
}
.voc-ide-ai-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.voc-ide-ai-chip:hover {
  background: var(--primary-light);
  border-color: var(--primary-border);
  color: var(--primary);
}
.voc-ide-ai-input-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.15s ease;
}
.voc-ide-ai-input-wrap:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}
.voc-ide-ai-textarea {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--text-main);
  font-size: 12.5px;
  outline: none;
  resize: none;
  min-height: 48px;
  max-height: 140px;
  line-height: 1.5;
  font-family: inherit;
}
.voc-ide-ai-input-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 4px;
  border-top: 1px solid color-mix(in srgb, var(--border-color) 40%, transparent);
}

/* 5. Alt IDE Durum Çubuğu (Status Bar) */
.voc-ide-statusbar {
  height: 24px;
  min-height: 24px;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  font-size: 11px;
  font-weight: 500;
  user-select: none;
  z-index: 100;
}
.voc-ide-statusbar-left,
.voc-ide-statusbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.voc-ide-statusbar-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  opacity: 0.92;
  transition: opacity 0.15s ease;
}
.voc-ide-statusbar-item:hover {
  opacity: 1;
}

/* ========================================================
   IDE PANEL RESIZING / SPLITTERS (ANTIGRAVITY DİNAMİK BOYUTLANDIRMA)
   ======================================================== */
.voc-splitter-col {
  width: 5px;
  min-width: 5px;
  background: transparent;
  cursor: col-resize;
  position: relative;
  z-index: 22;
  transition: background-color 0.15s ease;
  user-select: none;
  flex-shrink: 0;
}
.voc-splitter-col::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 2px;
  width: 1px;
  background: var(--border-color);
  transition: all 0.15s ease;
}
.voc-splitter-col:hover,
.voc-splitter-col.active {
  background: color-mix(in srgb, var(--primary) 22%, transparent);
}
.voc-splitter-col:hover::after,
.voc-splitter-col.active::after {
  width: 3px;
  left: 1px;
  background: var(--primary);
}

.voc-ide-sidebar.is-collapsed + .voc-splitter-col,
.voc-ide-sidebar.is-collapsed + #ideSplitterLeft {
  display: none !important;
}
#ideSplitterRight:has(+ .voc-ide-ai-panel.is-collapsed) {
  display: none !important;
}

.voc-splitter-row {
  height: 5px;
  min-height: 5px;
  background: transparent;
  cursor: row-resize;
  position: relative;
  z-index: 22;
  transition: background-color 0.15s ease;
  user-select: none;
  flex-shrink: 0;
}
.voc-splitter-row::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 2px;
  height: 1px;
  background: var(--border-color);
  transition: all 0.15s ease;
}
.voc-splitter-row:hover,
.voc-splitter-row.active {
  background: color-mix(in srgb, var(--primary) 22%, transparent);
}
.voc-splitter-row:hover::after,
.voc-splitter-row.active::after {
  height: 3px;
  top: 1px;
  background: var(--primary);
}

/* Sürükleme Anında Akıcılık & Koruma (60 FPS) */
body.is-resizing {
  user-select: none !important;
  -webkit-user-select: none !important;
}
body.is-resizing iframe,
body.is-resizing textarea,
body.is-resizing input,
body.is-resizing select {
  pointer-events: none !important;
}
body.is-resizing-col,
body.is-resizing-col * {
  cursor: col-resize !important;
}
body.is-resizing-row,
body.is-resizing-row * {
  cursor: row-resize !important;
}
body.is-resizing .voc-ide-sidebar,
body.is-resizing .voc-ide-ai-panel,
body.is-resizing .voc-ide-bottom-panel {
  transition: none !important;
}

/* Dosya Yöneticisi Arama Temizleme Butonu */
.voc-fm-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.voc-fm-search-clear {
  position: absolute;
  right: 6px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1;
  padding: 0 4px;
  cursor: pointer;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 16px;
  width: 16px;
  z-index: 5;
}
.voc-fm-search-clear:hover {
  color: var(--text-main);
  background: color-mix(in srgb, var(--text-main) 12%, transparent);
}

/* Sekmeler Kapatma & Gizleme Kuralı */
.voc-ide-tab-item.d-none {
  display: none !important;
}
.voc-ide-tab-new-btn {
  display: inline-flex;
  align-items: center;
  padding: 0 6px;
}
.voc-ide-tab-add {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.15s ease;
  cursor: pointer;
}
.voc-ide-tab-add:hover {
  background: var(--bg-surface);
  color: var(--primary);
}

/* Modül Gezinti & Kontrol Çubuğu */
.voc-ide-module-toolbar {
  height: 38px;
  min-height: 38px;
  padding: 0 10px;
  background: var(--bg-surface-secondary);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  z-index: 5;
}
.voc-ide-module-select {
  background-color: var(--bg-surface);
  color: var(--text-main);
  border-color: var(--border-color);
  font-size: 11.5px;
  padding: 2px 24px 2px 8px;
  height: 27px;
}
.voc-ide-module-frame-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: calc(100% - 38px);
  min-height: 0;
}
.voc-ide-module-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  flex: 1;
  min-height: 0;
  display: block;
}

/* Modüller & Sayfalar Ağacı (#paneModules) */
.voc-module-group-title {
  font-size: 10px;
  letter-spacing: 0.06em;
}
.voc-module-item-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  color: var(--text-main);
  text-decoration: none;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  cursor: pointer;
  width: 100%;
  text-align: left;
}
.voc-module-item-btn:hover {
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  border-color: color-mix(in srgb, var(--primary) 20%, transparent);
  color: var(--primary);
}

/* Overview Ekosistem Hub Kartları */
.voc-overview-hub-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.voc-overview-hub-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.15);
}
.voc-overview-hub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}
.voc-overview-link-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.voc-overview-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 11.5px;
  text-decoration: none;
  transition: all 0.15s ease;
}
.voc-overview-link-item:hover {
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateX(3px);
}

/* ==========================================================================
   ANTIGRAVITY IDE: HOST ISOLATION, CHAT STREAM, PLANNER & DEV CONSOLE
   ========================================================================== */

/* 1. Host Page Layout Isolation */
body.voc-dashboard-mode {
  overflow: hidden !important;
  height: 100vh !important;
  max-height: 100vh !important;
  width: 100vw !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.voc-dashboard-mode .portal-navbar,
body.voc-dashboard-mode .portal-footer,
body.voc-dashboard-mode footer.portal-footer,
body.voc-dashboard-mode .voc-bottom-dock {
  display: none !important;
}

/* 2. Chat Message Stream (Antigravity 2.0 AI Interface) */
.voc-chat-msg {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
  animation: fadeIn 0.2s ease-out;
}

.voc-chat-msg.user {
  align-items: flex-end;
}

.voc-chat-msg.assistant {
  align-items: flex-start;
}

.voc-chat-bubble {
  max-width: 95%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.55;
  word-break: break-word;
  position: relative;
}

.voc-chat-bubble.user {
  background: var(--primary);
  color: #ffffff;
  border-bottom-right-radius: 3px;
  box-shadow: 0 2px 10px color-mix(in srgb, var(--primary) 35%, transparent);
}

.voc-chat-bubble.assistant {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-bottom-left-radius: 3px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

/* AI Response Block & Assistant Cards */
.voc-ai-response-block {
  width: 100%;
}

.voc-ai-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-color);
}

.voc-ai-card-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.voc-ai-card {
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 10px 12px;
  margin-top: 6px;
}

/* 3. AI Plan Proposal Card & Step Items */
.voc-plan-card {
  background: var(--bg-surface) !important;
  border: 1px solid color-mix(in srgb, var(--primary) 35%, var(--border-color)) !important;
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.12);
  margin-top: 6px;
}

.voc-plan-step-item {
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 8px 10px;
  margin-bottom: 6px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.voc-plan-step-item.is-running {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 6%, transparent);
}

.voc-plan-step-item.is-done {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.05);
}

.btn-execute-plan {
  background: var(--primary) !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 600;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.btn-execute-plan:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* 4. Developer Console & CLI Terminal */
.voc-console-stream {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 11px;
  line-height: 1.45;
}

.voc-console-line {
  padding: 2.5px 6px;
  border-radius: 4px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  word-break: break-word;
  transition: background-color 0.12s ease;
}

.voc-console-line:hover {
  background: color-mix(in srgb, var(--text-main) 5%, transparent);
}

.voc-console-cli {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
}

.voc-console-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 11.5px;
  outline: none;
}

.voc-console-input::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

/* 5. Status Bar Interactive Items */
.voc-ide-statusbar-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.voc-ide-statusbar-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* 6. Modül Listesi & Aktif Seçim Stili */
.voc-module-item-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 6px 10px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--text-main);
  font-size: 11.5px;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
}

.voc-module-item-btn:hover {
  background: var(--bg-surface-secondary);
  border-color: var(--border-color);
}

.voc-module-item-btn.active {
  background: color-mix(in srgb, var(--primary) 14%, transparent) !important;
  border-color: color-mix(in srgb, var(--primary) 45%, transparent) !important;
  color: var(--primary) !important;
  font-weight: 600;
}

.voc-module-item-btn.active svg {
  stroke: var(--primary) !important;
}

/* 7. GitLab CI/CD Pipeline Kartları & Terminal */
.voc-pipeline-item {
  transition: all 0.15s ease;
}

.voc-pipeline-item:hover {
  border-color: color-mix(in srgb, var(--primary) 40%, transparent) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.voc-pipeline-log-terminal {
  background: #070a12;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.voc-pipeline-log-terminal pre {
  font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 11.5px;
  line-height: 1.55;
  color: #e2e8f0;
}

/* 8. Modül Favori Yıldızları & Grup Başlıkları */
.voc-module-star-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.15s ease;
  user-select: none;
}

.voc-module-star-btn:hover {
  color: #f59e0b;
  transform: scale(1.25);
}

.voc-module-star-btn.starred {
  color: #f59e0b !important;
  text-shadow: 0 0 6px rgba(245, 158, 11, 0.4);
}

.voc-module-item-btn.is-pinned {
  border-left: 2px solid #f59e0b;
}

/* 9. Git & GitLab CI/CD Ağaç Grafiği (Durum Odaklı & %100 Tema Uyumlu Git Graph) */
.voc-git-graph-toolbar {
  height: 34px;
  min-height: 34px;
  max-height: 34px;
  padding: 0 10px;
  background: var(--bg-surface-secondary);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.voc-git-graph-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  background: var(--bg-surface);
  color: var(--text-main);
}

.voc-git-graph-table {
  width: 100%;
  position: relative;
  border-collapse: collapse;
}

.voc-git-graph-row {
  display: flex;
  align-items: center;
  height: 24px;
  min-height: 24px;
  max-height: 24px;
  box-sizing: border-box;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.08s ease;
  font-size: 12px;
  position: relative;
  padding-right: 12px;
  border-bottom: 1px solid color-mix(in srgb, var(--border-color) 35%, transparent);
}

.voc-git-graph-row:hover {
  background: color-mix(in srgb, var(--primary) 8%, var(--bg-surface));
}

.voc-git-graph-row.active {
  background: color-mix(in srgb, var(--primary) 15%, var(--bg-surface)) !important;
  border-left: 2px solid var(--primary);
}

.voc-git-graph-overlay-svg {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 2;
}

.voc-git-head-pulse {
  transform-origin: center;
  animation: vocHeadPulse 2.2s infinite ease-in-out;
}

@keyframes vocHeadPulse {
  0% { transform: scale(0.9); opacity: 0.9; }
  50% { transform: scale(1.35); opacity: 0.25; }
  100% { transform: scale(0.9); opacity: 0.9; }
}

.voc-git-graph-svg-col {
  position: relative;
  flex-shrink: 0;
  height: 24px;
  max-height: 24px;
  box-sizing: border-box;
}

.voc-git-content {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  flex: 1;
  min-width: 0;
  height: 24px;
  line-height: 24px;
}

.voc-git-msg {
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.1px;
}

.voc-git-graph-row:hover .voc-git-msg {
  color: var(--primary);
}

/* Rozetler (Pills) */
.voc-git-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 0 6px;
  height: 16px;
  border-radius: 9px;
  font-size: 10px;
  font-family: var(--font-mono, monospace);
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 16px;
}

/* HEAD Dalı */
.voc-git-pill-head {
  background: color-mix(in srgb, var(--primary) 15%, transparent);
  color: var(--primary);
  border: 1px solid color-mix(in srgb, var(--primary) 40%, transparent);
}

/* Uzak Dal (Origin) */
.voc-git-pill-remote {
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
  border: 1px solid rgba(168, 85, 247, 0.4);
}

/* Merge Rozeti (Durum: Birleşme) */
.voc-git-pill-merge {
  background: rgba(245, 158, 11, 0.15);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.4);
}
html.dark-mode .voc-git-pill-merge {
  color: #fbbf24;
}

/* Push Bekliyor Rozeti (Durum: Yerel / Unpushed) */
.voc-git-pill-push {
  background: rgba(234, 88, 12, 0.15);
  color: #ea580c;
  border: 1px dashed rgba(234, 88, 12, 0.5);
  font-weight: 700;
}
html.dark-mode .voc-git-pill-push {
  color: #fb923c;
}

/* Pull Bekliyor Rozeti (Durum: Uzak / Incoming) */
.voc-git-pill-pull {
  background: rgba(6, 182, 212, 0.15);
  color: #0891b2;
  border: 1px dashed rgba(6, 182, 212, 0.5);
}
html.dark-mode .voc-git-pill-pull {
  color: #22d3ee;
}

/* Tag Rozeti */
.voc-git-pill-tag {
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

/* CI/CD Pipeline Rozeti */
.voc-git-pipe-pill {
  font-size: 9.5px;
  padding: 0 5px;
  height: 15px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: var(--font-mono, monospace);
  flex-shrink: 0;
  cursor: pointer;
  line-height: 15px;
}

.voc-git-pipe-pass {
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.3);
}
html.dark-mode .voc-git-pipe-pass {
  color: #4ade80;
}

.voc-git-pipe-fail {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
html.dark-mode .voc-git-pipe-fail {
  color: #f87171;
}

.voc-git-pipe-run {
  background: color-mix(in srgb, var(--primary) 15%, transparent);
  color: var(--primary);
  border: 1px solid color-mix(in srgb, var(--primary) 35%, transparent);
}

.voc-git-meta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 11px;
  flex-shrink: 0;
  padding-left: 8px;
}

.voc-git-author {
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.voc-git-time {
  min-width: 70px;
  text-align: right;
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
}

.voc-git-commit-detail-drawer {
  border-top: 1px solid var(--primary);
  background: var(--bg-surface);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.15);
  z-index: 20;
}

.voc-git-commit-detail-header {
  background: var(--bg-surface-secondary);
  border-bottom: 1px solid var(--border-color);
}

.voc-git-commit-diff-body {
  background: var(--bg-surface);
  color: var(--text-main);
}

.voc-git-commit-diff-line-add {
  color: #10b981;
  background: rgba(16, 185, 129, 0.08);
}

.voc-git-commit-diff-line-del {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.08);
}

.voc-git-commit-diff-line-meta {
  color: var(--primary);
  font-weight: bold;
}

/* 10. Gelişmiş Grafik Arayüzlü Sürükle-Bırak Dosya Yükleyici */
.voc-upload-dropzone {
  border: 2px dashed color-mix(in srgb, var(--border-color) 80%, var(--primary));
  background: var(--bg-surface-secondary);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.voc-upload-dropzone:hover,
.voc-upload-dropzone.dragover {
  border-color: var(--primary) !important;
  background: color-mix(in srgb, var(--primary) 10%, var(--bg-surface)) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px color-mix(in srgb, var(--primary) 20%, transparent);
}

.voc-upload-dropzone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatDropzoneIcon 3s ease-in-out infinite;
}

@keyframes floatDropzoneIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.voc-upload-file-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 6px;
  transition: background 0.15s ease;
}

.voc-upload-file-card:hover {
  background: color-mix(in srgb, var(--primary) 4%, var(--bg-surface));
}

.voc-upload-file-card .file-progress {
  height: 3px;
  border-radius: 2px;
  background: var(--border-color);
  overflow: hidden;
  margin-top: 4px;
}

.voc-upload-file-card .file-progress-bar {
  height: 100%;
  background: var(--primary);
  width: 0%;
  transition: width 0.2s ease;
}

/* 11. Canlı Kod Düzenleyici (VOC Code Editor) */
.voc-code-editor-textarea {
  width: 100%;
  height: 100%;
  min-height: 480px;
  background: transparent;
  color: var(--text-main);
  border: none;
  outline: none !important;
  resize: none;
  font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 12px;
  line-height: 1.6;
  tab-size: 4;
  white-space: pre;
  padding: 12px;
}

.voc-pipeline-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1.5px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  font-family: var(--font-mono, monospace);
  white-space: nowrap;
}

.voc-pipeline-pill.success {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.voc-pipeline-pill.failed {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.voc-pipeline-pill.running {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  animation: pulseRunning 1.5s infinite;
}

@keyframes pulseRunning {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* ========================================================
   12. GELİŞMİŞ DOSYA YÖNETİCİSİ VE DEPO KOKPİTİ (FILE MANAGER)
   ======================================================== */
.voc-fm-container {
  background: var(--bg-surface-secondary);
  color: var(--text-main);
  height: 100%;
}

.voc-fm-topbar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  min-height: 40px;
  height: 40px;
}

.voc-fm-breadcrumbs {
  font-size: 11.5px;
}

.voc-fm-crumb-link {
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px 5px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
  text-decoration: none;
}

.voc-fm-crumb-link:hover {
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 10%, transparent);
}

.voc-fm-crumb-sep {
  color: var(--text-muted);
  opacity: 0.35;
  font-size: 10px;
}

.voc-fm-shortcut-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  background: color-mix(in srgb, var(--bg-surface) 90%, transparent);
  color: var(--text-muted);
  font-size: 10.5px;
  font-family: var(--font-mono, monospace);
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
}

.voc-fm-shortcut-btn:hover {
  border-color: var(--primary);
  color: var(--text-main);
  background: color-mix(in srgb, var(--primary) 10%, transparent);
}

.voc-fm-search-wrap {
  display: flex;
  align-items: center;
  position: relative;
  width: 210px;
}

.voc-fm-search-icon {
  position: absolute;
  left: 8px;
  color: var(--text-muted);
  pointer-events: none;
  opacity: 0.8;
}

.voc-fm-search-input {
  width: 100%;
  height: 28px;
  padding: 2px 8px 2px 26px;
  border-radius: 6px;
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 11.5px;
  outline: none;
  transition: all 0.15s ease;
}

.voc-fm-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 20%, transparent);
  background: var(--bg-surface);
}

.voc-fm-search-input::placeholder {
  color: var(--text-muted);
  opacity: 0.65;
  font-size: 11px;
}

.voc-fm-btn-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid color-mix(in srgb, var(--primary) 35%, var(--border-color));
  background: color-mix(in srgb, var(--primary) 14%, var(--bg-surface));
  color: var(--text-main);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.voc-fm-btn-action:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 10px color-mix(in srgb, var(--primary) 35%, transparent);
}

.voc-fm-tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.voc-fm-tool-btn:hover {
  color: var(--text-main);
  border-color: var(--text-muted);
  background: color-mix(in srgb, var(--primary) 8%, var(--bg-surface));
}

.voc-fm-tool-btn.active {
  color: var(--primary);
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 15%, transparent);
}

.voc-fm-tree-col {
  background: var(--bg-surface);
  border-right: 1px solid var(--border-color);
}

.voc-fm-tree-list {
  display: flex;
  flex-direction: column;
  gap: 1.5px;
}

.voc-fm-tree-node {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 8px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 11.5px;
  color: var(--text-main);
  border: 1px solid transparent;
  transition: all 0.15s ease;
  text-decoration: none;
}

.voc-fm-tree-node:hover {
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  color: var(--primary);
}

.voc-fm-tree-node.active {
  background: color-mix(in srgb, var(--primary) 14%, transparent);
  border-color: color-mix(in srgb, var(--primary) 25%, transparent);
  color: var(--primary);
  font-weight: 600;
}

.voc-fm-tree-node.restricted {
  opacity: 0.5;
}

.voc-fm-dropzone {
  border: 1px dashed color-mix(in srgb, var(--border-color) 80%, var(--primary));
  background: color-mix(in srgb, var(--bg-surface) 75%, transparent);
  padding: 14px 18px;
  border-radius: 8px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.voc-fm-dropzone:hover,
.voc-fm-dropzone.dragover {
  border-color: var(--primary) !important;
  background: color-mix(in srgb, var(--primary) 8%, var(--bg-surface)) !important;
}

.voc-fm-queue-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  font-size: 11px;
}

.voc-fm-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 11.5px;
}

.voc-fm-table th {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--bg-surface);
  padding: 6px 10px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
}

.voc-fm-table td {
  padding: 5px 10px;
  border-bottom: 1px solid color-mix(in srgb, var(--border-color) 35%, transparent);
  vertical-align: middle;
}

.voc-fm-table tbody tr {
  transition: background 0.1s ease;
  cursor: pointer;
}

.voc-fm-table tbody tr:hover {
  background: color-mix(in srgb, var(--primary) 6%, transparent);
}

.voc-fm-table tbody tr.active-row {
  background: color-mix(in srgb, var(--primary) 12%, transparent) !important;
}

.voc-fm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}

.voc-fm-grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.voc-fm-grid-item:hover {
  transform: translateY(-1px);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.voc-fm-grid-item.active-item {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 10%, var(--bg-surface));
}

.voc-fm-grid-icon {
  font-size: 22px;
  line-height: 1;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.voc-fm-grid-name {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-main);
  word-break: break-word;
  line-height: 1.25;
  max-width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.voc-fm-grid-meta {
  font-size: 9.5px;
  color: var(--text-muted);
  margin-top: 3px;
}

.voc-fm-inspector-col {
  background: var(--bg-surface);
  border-left: 1px solid var(--border-color);
}

.voc-fm-inspector-editor {
  width: 100%;
  height: 100%;
  min-height: 260px;
  background: transparent;
  color: var(--text-main);
  border: none;
  outline: none;
  resize: none;
  font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 11.5px;
  line-height: 1.55;
  white-space: pre;
  tab-size: 4;
  padding: 8px;
}

.voc-fm-image-preview {
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background: repeating-conic-gradient(#808080 0% 25%, transparent 0% 50%) 50% / 16px 16px;
}

.voc-fm-bottom-status {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
}

/* Monospace Dosya Türü Rozetleri (Sade, Emojisiz, Profesyonel) */
.voc-ext-badge {
  display: inline-block;
  padding: 1px 4px;
  border-radius: 3px;
  font-size: 9.5px;
  font-weight: 700;
  font-family: var(--font-mono, monospace);
  line-height: 1.1;
  text-transform: uppercase;
}

.voc-ext-badge.php  { background: rgba(96, 165, 250, 0.15); color: #60a5fa; border: 1px solid rgba(96, 165, 250, 0.3); }
.voc-ext-badge.js   { background: rgba(250, 204, 21, 0.15); color: #facc15; border: 1px solid rgba(250, 204, 21, 0.3); }
.voc-ext-badge.css  { background: rgba(56, 189, 248, 0.15); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.3); }
.voc-ext-badge.html { background: rgba(248, 113, 113, 0.15); color: #f87171; border: 1px solid rgba(248, 113, 113, 0.3); }
.voc-ext-badge.json { background: rgba(74, 222, 128, 0.15); color: #4ade80; border: 1px solid rgba(74, 222, 128, 0.3); }
.voc-ext-badge.sql  { background: rgba(251, 146, 60, 0.15); color: #fb923c; border: 1px solid rgba(251, 146, 60, 0.3); }
.voc-ext-badge.md   { background: rgba(148, 163, 184, 0.15); color: #cbd5e1; border: 1px solid rgba(148, 163, 184, 0.3); }
.voc-ext-badge.file { background: rgba(148, 163, 184, 0.1); color: #94a3b8; border: 1px solid rgba(148, 163, 184, 0.2); }

/* ==========================================================================
   V.O.C OS: IN-IDE HESAP, PROFİL & AVATAR KÜTÜPHANESİ STİLLERİ
   ========================================================================== */
.voc-avatar-pick-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-muted);
  text-decoration: none;
  user-select: none;
}
.voc-avatar-pick-card:hover {
  border-color: color-mix(in srgb, var(--primary) 50%, var(--border-color));
  background: color-mix(in srgb, var(--primary) 6%, var(--bg-surface));
  color: var(--text-main);
  transform: translateY(-2px);
}
.voc-avatar-pick-card.active {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 12%, var(--bg-surface));
  color: var(--primary);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 25%, transparent), 0 4px 12px rgba(0, 0, 0, 0.15);
}
.voc-avatar-pick-card.active .voc-avatar-svg-wrap {
  color: var(--primary);
}
.voc-avatar-pick-card .voc-avatar-title {
  font-size: 11px;
  font-weight: 600;
  margin-top: 8px;
  text-align: center;
}

/* Modül Arama Girişi (IDE Tarzı, Temiz SVG İkonlu) */
.voc-module-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.voc-module-search-icon {
  position: absolute;
  left: 9px;
  display: flex;
  align-items: center;
  pointer-events: none;
  color: var(--text-muted);
}
.voc-module-search-input {
  padding-left: 28px !important;
  padding-right: 26px !important;
  height: 28px;
  font-size: 11px !important;
  border-radius: 5px !important;
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-main) !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.voc-module-search-input:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--primary) 30%, transparent) !important;
  outline: none;
}
.voc-module-search-clear {
  position: absolute;
  right: 6px;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 3px;
  padding: 0;
}
.voc-module-search-clear:hover {
  color: var(--text-main);
  background: color-mix(in srgb, var(--text-muted) 20%, transparent);
}

/* Canlı Yerel Build Ticker Kartı */
.voc-local-build-live {
  background: var(--bg-surface);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}
.voc-local-build-live.border-primary {
  border: 1px solid var(--primary) !important;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--primary) 15%, transparent);
}
.voc-local-build-live.border-success {
  border: 1px solid var(--success, #10b981) !important;
}
.voc-local-build-live.border-danger {
  border: 1px solid var(--danger, #ef4444) !important;
}

@keyframes vocPulseGlow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
.pulse-badge {
  animation: vocPulseGlow 1.2s infinite ease-in-out;
}

/* 100% Responsive Vektör Avatar Izgarası */
@media (max-width: 992px) {
  #vocAvatarPickerGrid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}
@media (max-width: 576px) {
  #vocAvatarPickerGrid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* Modül ve Branch Modal Buton İyileştirmeleri */
#modalBranchSelector .btn-outline-primary:hover,
#modalBranchSelector .btn-outline-secondary:hover {
  transform: translateX(3px);
  transition: all 0.2s ease;
}

/* =========================================================
   10. GitLab-Style CI/CD Pipeline Log Viewer (voc-plog-*)
   ========================================================= */

/* Root layout */
.voc-plog-root {
  background: var(--bg-surface);
  color: var(--text-main);
}

/* Header bar */
.voc-plog-header {
  height: 38px;
  min-height: 38px;
  background: var(--bg-surface-secondary);
  border-bottom: 1px solid var(--border-color);
  gap: 8px;
  font-size: 11.5px;
}

.voc-plog-status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  flex-shrink: 0;
}

.voc-plog-stage-badge {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  color: var(--primary);
  border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.voc-plog-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background: var(--bg-surface);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 11px;
  padding: 0;
}
.voc-plog-action-btn:hover {
  background: color-mix(in srgb, var(--primary) 10%, var(--bg-surface));
  color: var(--primary);
  border-color: color-mix(in srgb, var(--primary) 30%, transparent);
}
.voc-plog-action-btn:disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* Stage tracker bar */
.voc-plog-stages-bar {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 12px;
  height: 36px;
  min-height: 36px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  overflow-x: auto;
  scrollbar-width: none;
}
.voc-plog-stages-bar::-webkit-scrollbar { display: none; }

.voc-plog-stage {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-family: var(--font-mono, monospace);
  color: var(--text-muted);
  padding: 3px 8px;
  border-radius: 5px;
  cursor: default;
  white-space: nowrap;
  transition: background 0.12s ease;
}
.voc-plog-stage-active {
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--primary);
  font-weight: 600;
}
.voc-plog-stage-arrow {
  color: var(--text-muted);
  opacity: 0.4;
  font-size: 14px;
  line-height: 1;
  user-select: none;
}

.voc-plog-stage-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
}
.voc-plog-stage-success { background: rgba(16, 185, 129, 0.15); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.25); }
.voc-plog-stage-failed  { background: rgba(239, 68, 68, 0.15);  color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.25); }
.voc-plog-stage-running { background: rgba(59, 130, 246, 0.15) !important; color: #3b82f6 !important; border: 1px solid rgba(59, 130, 246, 0.35); animation: vocPlogPulse 1.5s infinite ease-in-out; }
.voc-plog-stage-manual  { background: rgba(245, 158, 11, 0.15); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.25); }
.voc-plog-stage-skipped { background: rgba(148, 163, 184, 0.15); color: #94a3b8; }
.voc-plog-stage-pending { background: rgba(148, 163, 184, 0.10); color: var(--text-muted); }

@keyframes vocPlogPulse {
  0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(59, 130, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.voc-plog-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-family: var(--font-mono, monospace);
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.voc-plog-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: vocLiveDotPulse 1.2s infinite ease-in-out;
}

@keyframes vocLiveDotPulse {
  0% { transform: scale(0.8); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 12px #10b981; }
  100% { transform: scale(0.8); opacity: 0.5; }
}

.voc-plog-job-manual  { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.voc-plog-job-skipped { background: rgba(148, 163, 184, 0.15); color: #94a3b8; }

.voc-plog-manual-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  background: radial-gradient(circle at top, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
  border: 1px dashed rgba(245, 158, 11, 0.3);
  border-radius: 8px;
  margin: 16px;
  padding: 24px;
}

/* Spinner inside stage icon */
.voc-plog-spinner {
  display: inline-block;
  width: 8px;
  height: 8px;
  border: 1.5px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: vocPlogSpin 0.7s linear infinite;
}
@keyframes vocPlogSpin { to { transform: rotate(360deg); } }

/* Body: sidebar + terminal */
.voc-plog-body {
  min-height: 0;
}

/* Left sidebar */
.voc-plog-sidebar {
  width: 170px;
  min-width: 140px;
  max-width: 200px;
  border-right: 1px solid var(--border-color);
  background: var(--bg-surface-secondary);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 6px 0;
}
.voc-plog-sidebar-title {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  padding: 6px 10px 3px;
}

.voc-plog-job-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 4px;
  margin: 1px 4px;
  transition: background 0.12s ease;
}
.voc-plog-job-item:hover {
  background: color-mix(in srgb, var(--primary) 10%, transparent);
}
.voc-plog-job-active {
  background: color-mix(in srgb, var(--primary) 12%, transparent) !important;
  border-left: 2px solid var(--primary);
}

.voc-plog-job-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
}
.voc-plog-job-success { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.voc-plog-job-failed  { background: rgba(239, 68, 68, 0.15);  color: #ef4444; }
.voc-plog-job-running { background: color-mix(in srgb, var(--primary) 15%, transparent); color: var(--primary); }
.voc-plog-job-pending { background: rgba(148, 163, 184, 0.15); color: var(--text-muted); }

.voc-plog-job-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.voc-plog-job-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.voc-plog-job-active .voc-plog-job-name { color: var(--primary); }
.voc-plog-job-duration {
  font-size: 9.5px;
  color: var(--text-muted);
  font-family: var(--font-mono, monospace);
}

/* Changed files section */
.voc-plog-changed-files {
  overflow-y: auto;
  flex: 1;
  padding: 2px 0;
}
.voc-plog-changed-placeholder {
  font-size: 10px;
  color: var(--text-muted);
  padding: 4px 10px;
}
.voc-plog-changed-file {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 2px 10px;
  font-size: 10px;
  font-family: var(--font-mono, monospace);
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.voc-plog-changed-file-add { color: #10b981; }
.voc-plog-changed-file-mod { color: var(--primary); }
.voc-plog-changed-file-del { color: #ef4444; }

/* Terminal wrapper */
.voc-plog-terminal-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #0d1117;
}
html:not(.dark-mode) .voc-plog-terminal-wrap {
  background: #161b22;
}

/* Terminal toolbar */
.voc-plog-terminal-toolbar {
  height: 30px;
  min-height: 30px;
  background: #21262d;
  border-bottom: 1px solid #30363d;
  padding: 0 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.voc-plog-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.voc-plog-dot-red    { background: #ff5f57; }
.voc-plog-dot-yellow { background: #febc2e; }
.voc-plog-dot-green  { background: #28c840; }

.voc-plog-terminal-label {
  font-size: 10.5px;
  font-family: var(--font-mono, monospace);
  color: #8b949e;
}

.voc-plog-terminal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #21262d;
  border: 1px solid #30363d;
  border-radius: 4px;
  color: #8b949e;
  cursor: pointer;
  transition: all 0.12s ease;
  padding: 0;
}
.voc-plog-terminal-btn:hover {
  background: #30363d;
  border-color: #8b949e;
  color: #e6edf3;
}

/* Top Bar IDE Action Buttons */
.voc-plog-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 9px;
  background: #21262d;
  border: 1px solid #30363d;
  border-radius: 4px;
  color: #c9d1d9;
  font-size: 11px;
  font-family: var(--font-mono, monospace);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.voc-plog-top-btn:hover {
  background: #30363d;
  border-color: #8b949e;
  color: #ffffff;
}
.voc-plog-top-btn:active {
  background: #161b22;
}
.voc-plog-top-btn-accent {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.35);
  color: #e0f2fe;
}
.voc-plog-top-btn-accent:hover {
  background: rgba(56, 189, 248, 0.16);
  border-color: rgba(56, 189, 248, 0.6);
  color: #ffffff;
}
.voc-plog-divider-v {
  width: 1px;
  height: 18px;
  background: #30363d;
  margin: 0 3px;
  flex-shrink: 0;
}

/* Details Sidebar (Screenshot 1 matching) */
.voc-plog-details-sidebar {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.voc-plog-details-sidebar::-webkit-scrollbar { width: 5px; }
.voc-plog-details-sidebar::-webkit-scrollbar-track { background: transparent; }
.voc-plog-details-sidebar::-webkit-scrollbar-thumb { background: #30363d; border-radius: 2px; }

.voc-pdet-row {
  line-height: 1.4;
  font-size: 11px;
}
.voc-pdet-rel-job-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  color: #c9d1d9;
  cursor: pointer;
  transition: background 0.15s ease;
  text-decoration: none;
}
.voc-pdet-rel-job-item:hover {
  background: #21262d;
  color: #58a6ff;
}
.voc-pdet-rel-job-active {
  background: rgba(56, 189, 248, 0.1);
  color: #58a6ff;
  font-weight: 600;
}

/* Log Lines formatting matching Screenshot 1 */
.voc-plog-line {
  display: flex;
  align-items: flex-start;
  min-height: 20px;
  line-height: 20px;
  font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 11px;
}
.voc-plog-line:hover {
  background: rgba(255, 255, 255, 0.03);
}
.voc-plog-ln {
  width: 44px;
  min-width: 44px;
  text-align: right;
  padding-right: 12px;
  color: #6e7681;
  user-select: none;
  font-size: 10.5px;
}
.voc-plog-time {
  width: 72px;
  min-width: 72px;
  color: #8b949e;
  padding-right: 14px;
  user-select: none;
  font-size: 10.5px;
}
.voc-plog-line.hide-time .voc-plog-time {
  display: none !important;
}
.voc-plog-txt {
  flex: 1;
  min-width: 0;
  white-space: pre-wrap;
  word-break: break-all;
}
.voc-plog-search-match {
  background: rgba(245, 158, 11, 0.35);
  color: #fff;
  border-radius: 2px;
  padding: 0 2px;
}

/* Live indicator */
.voc-plog-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: #10b981;
  font-family: var(--font-mono, monospace);
  font-weight: 600;
}
.voc-plog-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  animation: vocPlogLivePulse 1.2s infinite;
}
@keyframes vocPlogLivePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* ANSI Terminal Output */
.voc-plog-terminal {
  flex: 1;
  overflow-y: auto;
  padding: 10px 14px;
  font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 11.5px;
  line-height: 1.55;
  color: #e6edf3;
  background: transparent;
  word-break: break-word;
}
.voc-plog-terminal::-webkit-scrollbar { width: 6px; }
.voc-plog-terminal::-webkit-scrollbar-track { background: transparent; }
.voc-plog-terminal::-webkit-scrollbar-thumb { background: #30363d; border-radius: 3px; }

.voc-plog-terminal-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 120px;
  color: #8b949e;
  text-align: center;
  font-family: var(--font-mono, monospace);
}

/* ANSI color classes */
.ansi-bold  { font-weight: 700; }
.ansi-dim   { opacity: 0.6; }
.ansi-green { color: #3fb950; }
.ansi-red   { color: #f85149; }
.ansi-yellow{ color: #e3b341; }
.ansi-blue  { color: #79c0ff; }
.ansi-cyan  { color: #56d364; }
.ansi-white { color: #e6edf3; }
.ansi-gray  { color: #8b949e; }
.ansi-bg-green  { background: rgba(63, 185, 80, 0.2); }
.ansi-bg-red    { background: rgba(248, 81, 73, 0.2); }
.ansi-bg-yellow { background: rgba(227, 179, 65, 0.2); }

/* Section header lines in log */
.voc-plog-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  color: #e3b341;
  font-weight: 700;
  font-size: 12px;
  border-bottom: 1px solid #21262d;
  margin: 8px 0 4px;
}
.voc-plog-section-success { color: #3fb950; }
.voc-plog-section-failed  { color: #f85149; }

/* Step lines */
.voc-plog-step-ok   { color: #3fb950; }
.voc-plog-step-err  { color: #f85149; }
.voc-plog-step-warn { color: #e3b341; }
.voc-plog-step-cmd  { color: #79c0ff; }
.voc-plog-step-meta { color: #8b949e; font-style: italic; }

/* =========================================================
   11. Git Graph Rail (Ray) Theme Fix
   - SVG nodes use CSS custom property injection via JS
   - The bg fill for nodes must reflect --bg-surface properly
   ========================================================= */
.voc-git-graph-overlay-svg circle,
.voc-git-graph-overlay-svg path,
.voc-git-graph-overlay-svg line {
  /* SVG inherits color context from its parent */
  color: var(--text-main);
}

/* HEAD node pulse - theme-aware ring */
@keyframes vocHeadPulseRing {
  0%   { r: 5.5; opacity: 0.9; }
  50%  { r: 7.5; opacity: 0.2; }
  100% { r: 5.5; opacity: 0.9; }
}
.voc-head-pulse {
  animation: vocHeadPulseRing 2s ease-in-out infinite;
}

/* Git graph rail color semantic overrides for light mode */
html:not(.dark-mode) .voc-git-graph-body {
  background: var(--bg-surface);
}
html:not(.dark-mode) .voc-git-graph-row {
  border-bottom-color: rgba(0, 0, 0, 0.05);
}

/* Push-pending rail: dashed + warning color */
.voc-git-graph-row[data-unpushed="true"] .voc-git-msg {
  opacity: 0.75;
  font-style: italic;
}

/* =========================================================
   12. VOC IDE Workspace Mode - Hide Legacy Portal Navbar
   ========================================================= */
body.voc-dashboard-mode .portal-navbar,
.voc-dashboard-mode .portal-navbar {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

/* =========================================================
   13. GitLab-Native Realtime Terminal & Stage Styling
   ========================================================= */
.voc-plog-line {
  display: flex;
  align-items: baseline;
  font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 11.5px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-all;
  padding: 1px 0;
}
.voc-plog-line:hover {
  background: rgba(255, 255, 255, 0.04);
}
.voc-plog-ln {
  width: 38px;
  min-width: 38px;
  text-align: right;
  margin-right: 12px;
  color: #484f58;
  user-select: none;
  font-size: 10px;
  flex-shrink: 0;
}
.voc-plog-txt {
  flex: 1;
  color: #e6edf3;
}
.voc-plog-section-title {
  color: #e3b341;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(227, 179, 65, 0.25);
  padding-bottom: 2px;
  margin: 6px 0 2px;
}
.voc-plog-badge-success {
  background: rgba(63, 185, 80, 0.18);
  border: 1px solid rgba(63, 185, 80, 0.4);
  color: #3fb950;
  padding: 3px 10px;
  border-radius: 5px;
  font-weight: 700;
  display: inline-block;
  margin-top: 4px;
}


