@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap");

:root {
  --bg: #f7f7f2;
  --panel: #fff;
  --panel-strong: #f3f3ef;
  --text: #232323;
  --muted: #888;
  --accent: #4a5568;
  --accent-2: #3182ce;
  --border: #e2e8f0;
  --radius: 14px;
  --glass: rgba(0,0,0,0.01);
}

body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
  height: 100vh;
}

.ide {
  height: 100vh;
  display: flex;
  padding: 12px;
  gap: 12px;
}

/* Sidebar & Navigation */
.sidebar {
  display: flex;
  gap: 8px;
  width: auto;
  flex-shrink: 0;
}

.icon-strip {
  display: flex;
  flex-direction: column;
  padding: 8px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  gap: 8px;
  backdrop-filter: blur(20px);
}

.nav-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.nav-group:last-of-type {
  border-bottom: none;
}

.nav-spacer {
  flex-grow: 1;
}

.icon-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--muted);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s var(--ease-expo);
  font-size: 20px;
  position: relative;
}

.icon-btn:hover {
  background: var(--glass);
  color: var(--text);
  transform: translateY(-2px);
}

.icon-btn.active {
  background: rgba(var(--accent-2-rgb), 0.15);
  color: var(--accent-2);
  box-shadow: 0 0 20px rgba(var(--accent-2-rgb), 0.2);
}

.ui-simple .icon-btn[data-panel="mutator"],
.ui-simple .icon-btn[data-panel="rewind"],
.ui-simple .icon-btn[data-panel="export"] {
  display: none;
}

.ui-simple .sidebar,
.ui-simple .workspace {
  display: none;
}

.ui-simple .simple-shell {
  display: grid;
}

/* Slide Panel */
.slide-panel {
  width: 340px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(30px);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.5s var(--ease-expo);
  box-shadow: 20px 0 50px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.slide-panel.collapsed {
  width: 0;
  padding: 0;
  margin-left: -12px;
  opacity: 0;
  pointer-events: none;
  border: none;
}

.panel-section {
  display: none;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  overflow-y: auto;
  animation: panelIn 0.5s var(--ease-expo);
}

.panel-section.active {
  display: flex;
}

@keyframes panelIn {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.panel-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-2);
}

/* Form Controls */
.setting-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
}

.val-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  background: var(--glass);
  padding: 2px 8px;
  border-radius: 6px;
  color: var(--accent-2);
}

.badge {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.15);
  color: var(--accent);
}

input[type="number"],
input[type="text"],
textarea {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  color: var(--text);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  width: 100%;
  transition: all 0.3s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-2);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 15px rgba(var(--accent-2-rgb), 0.1);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.input-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Workspace */
.workspace {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.workspace-header {
  height: 72px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  backdrop-filter: blur(20px);
}

.ui-simple .workspace-header {
  height: auto;
  min-height: 72px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.center-controls {
  display: flex;
  align-items: center;
}

.mode-switch {
  display: flex;
  gap: 8px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
}

.mode-pill {
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  color: var(--muted);
  background: transparent;
}

.mode-pill.active {
  background: var(--accent-2);
  color: #001018;
}

.build-info {
  display: grid;
  text-align: right;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quick-actions {
  display: flex;
  gap: 8px;
}

.build-info .label {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.build-info .value {
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  color: var(--accent-2);
}

.branding {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-orb {
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--accent);
}

.title-group h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-2);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.2); }
  100% { opacity: 1; transform: scale(1); }
}

/* Bento Grid */
.bento-grid {
  flex-grow: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr 1fr auto;
  gap: 12px;
  padding-bottom: 4px;
}

.ui-simple .bento-grid {
  grid-template-columns: 1.8fr 1fr;
  grid-template-rows: auto auto;
}

.ui-simple #guideCard,
.ui-simple #consoleCard {
  display: none;
}

.ui-simple .bento-item {
  padding: 18px;
}

.ui-simple .title-with-icon h2 {
  font-size: 13px;
  letter-spacing: 0.05em;
}

.ui-simple .slide-panel {
  box-shadow: none;
}

.simple-shell {
  background: #f6f6f2 !important;
  color: #232323 !important;
  min-height: 100vh;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

.simple-shell .simple-card,
.simple-shell .simple-chat-card {
  background: var(--panel) !important;
  color: var(--text) !important;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px 0 rgba(60,60,60,0.04);
  border: 1px solid var(--border);
  padding: 22px 24px;
}

.simple-shell textarea,
.simple-shell input[type="text"],
.simple-shell input[type="file"] {
  background: #f2f2ed !important;
  color: var(--text) !important;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  font-size: 16px;
  padding: 10px 14px;
}

.simple-shell button.ui-toggle {
  background: #e0e0e0 !important;
  color: var(--text) !important;
  border-radius: 8px;
  border: none;
  box-shadow: none;
  font-weight: 500;
  font-size: 15px;
  padding: 8px 18px;
  margin: 0 0 18px 0;
  transition: background 0.18s, transform 0.18s;
}
.simple-shell button.ui-toggle:hover {
  background: #d0d0d0 !important;
  transform: scale(1.03);
}

.simple-shell .simple-meta,
.simple-shell .simple-status {
  color: #555 !important;
  font-size: 14px;
}

.simple-shell .simple-upload input[type="file"]::-webkit-file-upload-button {
  background: #e0e0e0 !important;
  color: var(--text) !important;
  border-radius: 8px;
  border: none;
}

.simple-shell .simple-card h2,
.simple-shell .simple-card p {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-weight: 600;
  color: var(--text) !important;
}

/* Remove all glows/neon/cyber effects */
.icon-btn, .mode-pill, .theme-pill, .badge, .val-tag, .quick-actions button, .tiny, .mutator-chip {
  box-shadow: none !important;
  background: #f7f7f2 !important;
  color: var(--text) !important;
  border-radius: 8px !important;
  border: 1px solid #e2e8f0 !important;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif !important;
  font-size: 14px !important;
  transition: background 0.18s, border 0.18s, color 0.18s;
}
.icon-btn:hover, .mode-pill:hover, .theme-pill:hover, .tiny:hover, .mutator-chip:hover {
  background: #ececec !important;
  color: #222 !important;
  border-color: #cbd5e1 !important;
}

/* Remove gradients and strong shadows from cards and panels */
.slide-panel, .workspace-header, .bento-item, .panel-section, .prebuilt-card {
  background: var(--panel) !important;
  box-shadow: none !important;
  border-radius: var(--radius) !important;
  border: 1px solid var(--border) !important;
}

/* Subtle hover for cards */
.prebuilt-card:hover, .bento-item:hover {
  background: #f3f3ef !important;
  border-color: #cbd5e1 !important;
}

/* More padding for comfort */
.bento-item, .panel-section, .slide-panel {
  padding: 22px 24px !important;
}

/* Remove any remaining 'cyber' color cues */
.theme-cyber, .theme-matrix, .theme-solar, .theme-arctic {
  --bg: #f7f7f2;
  --panel: #fff;
  --panel-strong: #f3f3ef;
  --text: #232323;
  --muted: #888;
  --accent: #4a5568;
  --accent-2: #3182ce;
  --border: #e2e8f0;
}

/* ...existing code... */
