/* SVK Experience Center — Unified Interactive Demo Shell v1.0 */
#svk-demo-bar {
  position: sticky;
  top: 0;
  z-index: 99999;
  direction: rtl;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  background: linear-gradient(90deg, #06101f 0%, #0d1f3a 55%, #0b2447 100%);
  color: #f8fafc;
  border-bottom: 2px solid #38bdf8;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  font-size: 13px;
}
#svk-demo-bar * { box-sizing: border-box; }
.svk-db-left, .svk-db-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.svk-db-pill {
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  color: #fff;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 11.5px;
  white-space: nowrap;
}
.svk-db-mode {
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #6ee7b7;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
}
.svk-db-mode.empty {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.45);
  color: #fde68a;
}
.svk-db-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: #f1f5f9;
  padding: 5px 11px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: 0.15s ease;
  font-family: inherit;
}
.svk-db-btn:hover {
  background: rgba(56, 189, 248, 0.22);
  border-color: rgba(56, 189, 248, 0.6);
  transform: translateY(-1px);
}
.svk-db-btn.primary {
  background: linear-gradient(135deg, #10b981, #059669);
  border-color: transparent;
  color: #fff;
}
.svk-db-btn.tour {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-color: transparent;
  color: #09111f;
}
.svk-db-btn.danger {
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(239, 68, 68, 0.45);
  color: #fecaca;
}
.svk-db-note {
  color: #94a3b8;
  font-size: 11.5px;
}

/* Interactive First-Run Guided Tour Modal */
#svk-tour-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(3, 10, 22, 0.78);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  direction: rtl;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}
#svk-tour-overlay.open { display: flex; }
.svk-tour-card {
  width: min(520px, 100%);
  background: #0d1b2f;
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 20px;
  padding: 24px 26px;
  color: #f8fafc;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65);
}
.svk-tour-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.svk-tour-step-badge {
  background: rgba(56, 189, 248, 0.18);
  color: #7dd3fc;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.svk-tour-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
}
.svk-tour-card h3 {
  margin: 4px 0 10px;
  font-size: 20px;
  color: #fff;
}
.svk-tour-card p {
  margin: 0 0 16px;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.75;
}
.svk-tour-tip {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 12px;
  padding: 10px 13px;
  font-size: 12.5px;
  color: #a7f3d0;
  margin-bottom: 18px;
}
.svk-tour-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.svk-tour-dots {
  display: flex;
  gap: 6px;
}
.svk-tour-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}
.svk-tour-dot.active {
  width: 22px;
  border-radius: 999px;
  background: #38bdf8;
}
@media (max-width: 720px) {
  #svk-demo-bar { padding: 8px 10px; font-size: 12px; }
  .svk-db-note { display: none; }
  .svk-db-btn { padding: 4px 8px; font-size: 11.5px; }
}
