/* ==========================================================================
   HIZLI WEB - Live Demo Viewer Stylesheet
   ========================================================================== */

.demo-topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: #0B0F19;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  z-index: 9999;
}

.demo-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #FFFFFF;
  text-decoration: none;
}

.demo-device-switcher {
  display: flex;
  align-items: center;
  background: #1E293B;
  border-radius: 9999px;
  padding: 4px;
  gap: 4px;
}

.device-btn {
  background: none;
  border: none;
  color: #94A3B8;
  padding: 6px 14px;
  border-radius: 9999px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.device-btn:hover {
  color: #FFFFFF;
}

.device-btn.active {
  background: #3B82F6;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.demo-action-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.demo-viewport-container {
  margin-top: 64px;
  height: calc(100vh - 64px);
  background: #020617;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 20px 0;
  overflow-y: auto;
  transition: all 0.3s ease;
}

.demo-frame {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease;
  overflow: hidden;
  height: 100%;
}

.demo-viewport-container.mode-desktop .demo-frame {
  width: 100%;
  max-width: 1360px;
  height: calc(100vh - 104px);
}

.demo-viewport-container.mode-tablet .demo-frame {
  width: 768px;
  height: 980px;
  border: 12px solid #1E293B;
  border-radius: 28px;
}

.demo-viewport-container.mode-mobile .demo-frame {
  width: 390px;
  height: 800px;
  border: 12px solid #1E293B;
  border-radius: 36px;
}

.demo-content-body {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  font-family: 'Inter', sans-serif;
  color: #1E293B;
  background: #FFFFFF;
}
