/* BiYerde Studio — Sıcak Krem (#FAF9F5) & Koyu Mod Yumuşak Arayüz Teması */
html.light body,
html.light #desktop-workspace,
html.light #desktop-content-stage {
  background-color: #faf9f5 !important;
  color: #1e293b !important;
}

html.light #desktop-header,
html.light #desktop-sidebar,
html.light #desktop-status-bar {
  background-color: #ffffff !important;
  border-color: #eae6dd !important;
}

html.dark body,
html.dark #desktop-workspace,
html.dark #desktop-content-stage {
  background-color: #0b1120 !important;
  color: #f8fafc !important;
}

html.dark #desktop-header,
html.dark #desktop-sidebar,
html.dark #desktop-status-bar {
  background-color: #0f172a !important;
  border-color: #1e293b !important;
}

.studio-logo-dark,
html.light .studio-logo-dark {
  display: none !important;
}
html.dark .studio-logo-light {
  display: none !important;
}
html.dark .studio-logo-dark {
  display: block !important;
}

/* Üst Bar 4 Ana Başlık */
.studio-top-tab {
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
html.light .studio-top-tab:hover {
  background: #f5f3ee;
  color: #0f172a;
}
html.light .studio-top-tab.is-active {
  background: #f3e8ff !important;
  color: #6d28d9 !important;
  font-weight: 700;
}
html.dark .studio-top-tab {
  color: #cbd5e1;
}
html.dark .studio-top-tab:hover {
  background: #1e293b;
  color: #ffffff;
}
html.dark .studio-top-tab.is-active {
  background: rgba(139, 92, 246, 0.22) !important;
  color: #ddd6fe !important;
  font-weight: 700;
}

/* Sağ Üst Kontroller */
html.light #desktop-right-store-selector-btn {
  background: #ffffff !important;
  border: 1px solid #e2dfd7 !important;
  color: #1e293b !important;
  border-radius: 12px !important;
}
html.light #desktop-right-store-selector-btn:hover {
  background: #f8f7f3 !important;
}
html.dark #desktop-right-store-selector-btn {
  background: #1e293b !important;
  border: 1px solid #334155 !important;
  color: #f1f5f9 !important;
  border-radius: 12px !important;
}

#btn-toggle-store-status {
  border-radius: 9999px !important;
  padding: 4px 10px !important;
  transition: all 0.15s ease;
}
html.light #btn-toggle-store-status.is-open {
  background: #f0fdf4 !important;
  border: 1px solid #bbf7d0 !important;
  color: #047857 !important;
}
html.light #btn-toggle-store-status.is-closed {
  background: #fef2f2 !important;
  border: 1px solid #fecaca !important;
  color: #b91c1c !important;
}
html.dark #btn-toggle-store-status.is-open {
  background: rgba(16, 185, 129, 0.14) !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
  color: #6ee7b7 !important;
}
html.dark #btn-toggle-store-status.is-closed {
  background: rgba(244, 63, 94, 0.14) !important;
  border: 1px solid rgba(244, 63, 94, 0.35) !important;
  color: #fda4af !important;
}

html.light #desktop-notif-bell-btn,
html.light #desktop-theme-btn,
html.light #desktop-audio-btn,
html.light #desktop-logout-btn {
  width: 34px;
  height: 34px;
  border-radius: 9999px !important;
  border: 1px solid #e5e2d9 !important;
  background: #ffffff !important;
  color: #334155 !important;
}
html.light #desktop-notif-bell-btn:hover,
html.light #desktop-theme-btn:hover,
html.light #desktop-audio-btn:hover {
  background: #f5f3ee !important;
  color: #0f172a !important;
}
html.light #desktop-logout-btn:hover {
  background: #fff1f2 !important;
  border-color: #fecdd3 !important;
  color: #dc2626 !important;
}
html.dark #desktop-notif-bell-btn,
html.dark #desktop-theme-btn,
html.dark #desktop-audio-btn,
html.dark #desktop-logout-btn {
  width: 34px;
  height: 34px;
  border-radius: 9999px !important;
  border: 1px solid #334155 !important;
  background: #1e293b !important;
  color: #e2e8f0 !important;
}

/* Bağlamsal Sol Menü */
html.light #desktop-sidebar .sidebar-inactive-btn {
  color: #334155 !important;
  background: transparent !important;
  border-color: transparent !important;
}
html.light #desktop-sidebar .sidebar-inactive-btn:hover {
  background: #f7f5f0 !important;
  color: #0f172a !important;
}
html.light #desktop-sidebar .sidebar-active-btn {
  background: #f3e8ff !important;
  color: #6d28d9 !important;
  border: 1px solid #e9d5ff !important;
  box-shadow: none !important;
}
html.light #desktop-sidebar .sidebar-active-btn .sidebar-item-label,
html.light #desktop-sidebar .sidebar-active-btn .sidebar-item-icon {
  color: #6d28d9 !important;
}
html.light #desktop-sidebar .sidebar-active-btn .sidebar-order-alert-badge,
html.light #desktop-sidebar .sidebar-active-btn .sidebar-order-alert-badge * {
  color: #ffffff !important;
}
html.dark #desktop-sidebar .sidebar-inactive-btn {
  color: #cbd5e1 !important;
}
html.dark #desktop-sidebar .sidebar-inactive-btn:hover {
  background: #1e293b !important;
  color: #ffffff !important;
}
html.dark #desktop-sidebar .sidebar-active-btn {
  background: rgba(139, 92, 246, 0.18) !important;
  color: #ddd6fe !important;
  border: 1px solid rgba(167, 139, 250, 0.35) !important;
}

/* Rule 6 Uyumlu HUD Balonu ve Ses Popover */
#desktop-hud-toast {
  top: 66px;
  right: 18px;
  z-index: 9999;
}
html.light #desktop-hud-toast {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #eae6dd !important;
}
html.dark #desktop-hud-toast {
  background: #0f172a !important;
  color: #f8fafc !important;
  border: 1px solid #334155 !important;
}
