/* DOCTI COMMERCIAL — Preview Demo Shell */

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Shell header */
.demo-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  height: 56px;
}

/* Stepper sidebar */
.demo-sidebar {
  width: 200px;
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 16px 12px;
  flex-shrink: 0;
  overflow-y: auto;
}

.sidebar-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
  padding: 0 8px;
}

.step-btn {
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
  transition: background var(--t-fast), color var(--t-fast);
  background: transparent;
  color: var(--text-secondary);
}
.step-btn:hover {
  background: var(--elevated);
  color: var(--text-primary);
}
.step-btn.active {
  background: rgba(119,177,204,0.15);
  color: var(--docti-blue);
}
.step-btn.done {
  color: var(--success);
}

.step-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
  background: var(--elevated);
  color: var(--text-muted);
}
.step-btn.active .step-dot {
  background: var(--docti-blue);
  color: white;
}
.step-btn.done .step-dot {
  background: var(--success);
  color: white;
}

/* Main content area */
.demo-body {
  display: flex;
  flex: 1;
  overflow: hidden;
}
.demo-frame-wrapper {
  flex: 1;
  overflow: hidden;
}
.demo-frame-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  transition: opacity 0.18s ease;
}

/* Footer nav */
.demo-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  height: 52px;
}

/* Progress dots */
.progress-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}
.progress-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--elevated);
  transition: all var(--t-normal);
}
.progress-dot.active {
  width: 18px;
  border-radius: 3px;
  background: var(--docti-blue);
}
.progress-dot.done {
  background: var(--success);
}

/* ── Responsive: hide sidebar below 768px ── */
@media (max-width: 768px) {
  .demo-sidebar {
    display: none;
  }
  .demo-header {
    padding: 10px 16px;
  }
  .demo-footer {
    padding: 10px 16px;
  }
}
