/* Layout V2: 3-Column Command Center */

/* Main Container Update */
.wizard-container {
  display: flex;
  min-height: calc(100vh - 80px);
  max-width: 100%; /* Ensure full width */
}

/* Column 1: Navigation */
.wizard-nav {
  width: 300px;
  flex-shrink: 0;
  border-right: 1px solid var(--glass-border);
  background: var(--bg-app);
}

@media (max-width: 1024px) {
  .wizard-nav {
    display: none;
  }
}

/* Column 2: Main Content (Center) */
.wizard-content {
  flex: 1;
  max-width: 800px;
  padding: 2rem;
  margin: 0 auto;
}

/* Column 3: Context Sidebar (Right) */
.context-sidebar {
  width: 320px;
  flex-shrink: 0;
  border-left: 1px solid var(--glass-border);
  background: var(--bg-card);
  padding: 0;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
  overflow-y: auto;
}

/* Expert Widget */
.expert-widget {
  padding: 1.5rem;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: white;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.expert-avatar {
  font-size: 2rem;
  background: rgba(255,255,255,0.1);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.expert-info {
  display: flex;
  flex-direction: column;
}

.expert-role {
  font-weight: 700;
  font-size: 0.9rem;
}

.expert-status {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
}

/* Context Panel */
.context-panel {
  flex: 1;
  padding: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-color-secondary);
  overflow-y: auto;
}

.context-panel h4 {
  color: var(--text-color-primary);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.context-panel h4:first-child {
  margin-top: 0;
}

/* Project Stats (Bottom) */
.project-stats {
  padding: 1rem 1.5rem;
  background: var(--bg-app);
  border-top: 1px solid var(--glass-border);
  font-size: 0.8rem;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.stat-label {
  color: var(--text-muted);
}

.stat-value {
  font-weight: 600;
  color: var(--text-color-primary);
}

/* Mobile Responsiveness */
@media (max-width: 1200px) {
  .context-sidebar {
    display: none; /* Hide functionality on smaller screens for MVP */
  }
}
