/* ==========================================================================
   Vitalium to Zynthian LV2 Converter - Modern Audio Workstation Theme
   ========================================================================== */

:root {
  --bg-primary: #0a0c12;
  --bg-secondary: #10141f;
  --bg-card: rgba(18, 24, 38, 0.75);
  --bg-card-hover: rgba(24, 32, 50, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-input: rgba(10, 14, 23, 0.85);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(31, 214, 196, 0.35);
  --border-focus: #1fd6c4;

  --accent-cyan: #00f0ff;
  --accent-teal: #1fd6c4;
  --accent-teal-glow: rgba(31, 214, 196, 0.25);
  --accent-purple: #9333ea;
  --accent-violet: #a855f7;
  --accent-violet-glow: rgba(168, 85, 247, 0.25);
  --accent-amber: #f59e0b;
  --accent-emerald: #10b981;
  --accent-rose: #f43f5e;

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dim: #475569;

  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(31, 214, 196, 0.2);
  --shadow-purple-glow: 0 0 25px rgba(168, 85, 247, 0.2);

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
  min-height: 100vh;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(31, 214, 196, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(0, 240, 255, 0.05) 0%, transparent 60%);
  background-attachment: fixed;
}

/* Container */
.app-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 28px 48px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Header */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.app-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-teal), var(--accent-violet), transparent);
}

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

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(31, 214, 196, 0.2), rgba(168, 85, 247, 0.2));
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
}

.brand-logo svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent-teal);
}

.brand-titles h1 {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-titles h1 span.gradient-text {
  background: linear-gradient(135deg, #1fd6c4, #00f0ff 60%, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-titles p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 400;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.badge-vitalium {
  background: rgba(31, 214, 196, 0.12);
  color: var(--accent-teal);
  border: 1px solid rgba(31, 214, 196, 0.3);
}

.badge-zynthian {
  background: rgba(168, 85, 247, 0.12);
  color: var(--accent-violet);
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: currentColor;
  box-shadow: 0 0 8px currentColor;
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* Main Layout Grid */
.main-grid {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 28px;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spin {
  animation: spin 1s linear infinite;
}

@media (max-width: 1080px) {
  .main-grid {
    grid-template-columns: 1fr;
  }
}

/* Glass Panels */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color var(--transition-normal);
}

.glass-panel:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.panel-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.panel-title {
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
}

.panel-title svg {
  stroke: var(--accent-teal);
}

/* Dropzone */
.dropzone {
  border: 2px dashed rgba(31, 214, 196, 0.3);
  border-radius: var(--radius-lg);
  background: rgba(10, 15, 25, 0.5);
  padding: 36px 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.dropzone:hover, .dropzone.dragover {
  border-color: var(--accent-teal);
  background: rgba(31, 214, 196, 0.05);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.dropzone.dragover {
  border-color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.08);
}

.dropzone-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(31, 214, 196, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  transition: transform var(--transition-smooth);
}

.dropzone:hover .dropzone-icon-wrap {
  transform: scale(1.1) rotate(5deg);
  background: rgba(31, 214, 196, 0.18);
}

.dropzone-icon-wrap svg {
  width: 30px;
  height: 30px;
  stroke: var(--accent-teal);
}

.dropzone h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.dropzone p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.dropzone-formats {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.format-pill {
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
}

.btn-sample {
  margin-top: 8px;
  background: rgba(168, 85, 247, 0.12);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.btn-sample:hover {
  background: rgba(168, 85, 247, 0.22);
  border-color: var(--accent-violet);
  color: #fff;
  transform: translateY(-1px);
}

/* Preset Queue / Batch list */
.queue-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.queue-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.queue-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 210px;
  overflow-y: auto;
  padding-right: 4px;
}

.queue-list::-webkit-scrollbar {
  width: 5px;
}
.queue-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
}

.queue-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.queue-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

.queue-item.active {
  background: rgba(31, 214, 196, 0.08);
  border-color: var(--accent-teal);
  box-shadow: 0 0 12px rgba(31, 214, 196, 0.15);
}

.queue-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.queue-item-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.queue-item-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
}

.queue-item-remove {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all var(--transition-fast);
}

.queue-item-remove:hover {
  color: var(--accent-rose);
  background: rgba(244, 63, 94, 0.1);
}

/* Config & Form Fields */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  transition: all var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 2px var(--accent-teal-glow);
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.toggle-label-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toggle-title {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
}

.toggle-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.15);
  transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 9999px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--accent-teal);
  box-shadow: 0 0 10px rgba(31, 214, 196, 0.4);
}

input:checked + .slider:before {
  transform: translateX(20px);
}

/* Patch Inspector Details */
.inspector-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  background: rgba(10, 14, 23, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.patch-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.meta-box {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.meta-box .meta-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.meta-box .meta-val {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Oscillators & Modules Pill Grid */
.module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.module-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-fast);
}

.module-pill.active {
  background: rgba(31, 214, 196, 0.1);
  border-color: rgba(31, 214, 196, 0.4);
  color: var(--accent-teal);
  box-shadow: 0 0 10px rgba(31, 214, 196, 0.1);
}

.module-pill .mod-name {
  font-size: 0.72rem;
  font-weight: 600;
}

.module-pill .mod-status {
  font-size: 0.62rem;
  color: var(--text-muted);
}

.module-pill.active .mod-status {
  color: var(--accent-teal);
}

/* Effects Rack Badges */
.fx-rack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fx-tag {
  font-size: 0.7rem;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.fx-tag.active {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.35);
  color: #d8b4fe;
  font-weight: 600;
}

/* Macro Bars & Editable Labels */
.macro-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.macro-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.macro-box:hover,
.macro-box:focus-within {
  border-color: rgba(45, 212, 191, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

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

.macro-enc-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(45, 212, 191, 0.12);
  color: var(--accent-teal);
  font-weight: 700;
  font-size: 0.68rem;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.macro-pct {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 500;
}

.macro-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.macro-label-input {
  width: 100%;
  padding: 5px 24px 5px 8px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  outline: none;
  transition: all var(--transition-fast);
}

.macro-label-input:focus {
  border-color: var(--accent-teal);
  background: rgba(0, 0, 0, 0.45);
  box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.2);
}

.macro-edit-icon {
  position: absolute;
  right: 7px;
  color: var(--text-dim);
  pointer-events: none;
  opacity: 0.6;
}

.macro-bar-bg {
  height: 5px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 9999px;
  overflow: hidden;
}

.macro-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-cyan));
  border-radius: 9999px;
  transition: width var(--transition-normal);
}

/* Right Section / Tabs & Code Preview */
.preview-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tab-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
}

.tab-group {
  display: flex;
  gap: 8px;
}

.tab-btn {
  background: transparent;
  border: none;
  padding: 8px 16px;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}

.tab-btn.active {
  color: var(--accent-teal);
  background: rgba(31, 214, 196, 0.1);
}

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

.btn-icon {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.btn-icon:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Code Viewer */
.code-viewer-wrap {
  position: relative;
  background: #080a0f;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6);
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.code-block {
  margin: 0;
  padding: 18px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.6;
  color: #cbd5e1;
  max-height: 440px;
  overflow: auto;
  white-space: pre;
}

.code-block::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
.code-block::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
}

/* Syntax Highlighting */
.ttl-keyword { color: #f472b6; font-weight: 600; }
.ttl-prefix { color: #38bdf8; }
.ttl-uri { color: #4ade80; }
.ttl-string { color: #facc15; }
.ttl-number { color: #a78bfa; }
.ttl-comment { color: #64748b; font-style: italic; }

/* Download Actions Bar */
.action-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  background: rgba(18, 24, 38, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.action-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.action-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.action-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.action-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #1fd6c4, #00c4b4);
  color: #031e1c;
  border: none;
  box-shadow: 0 4px 15px rgba(31, 214, 196, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2ae7d4, #1fd6c4);
  box-shadow: 0 6px 20px rgba(31, 214, 196, 0.5);
  transform: translateY(-2px);
}

.btn-zip {
  background: linear-gradient(135deg, #9333ea, #a855f7);
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.35);
}

.btn-zip:hover {
  background: linear-gradient(135deg, #a855f7, #c084fc);
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.5);
  transform: translateY(-2px);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Zynthian Step-by-Step Guide Panel */
.guide-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
}

.step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(31, 214, 196, 0.15);
  color: var(--accent-teal);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.step-content p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.code-snippet {
  margin-top: 8px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.copy-mini-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.72rem;
}
.copy-mini-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
}

/* Toast Notifications */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  padding: 12px 20px;
  border-radius: var(--radius-md);
  background: rgba(16, 22, 34, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slide-in 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transition: opacity 0.3s ease;
}

.toast.toast-success {
  border-color: var(--accent-teal);
  box-shadow: 0 4px 15px rgba(31, 214, 196, 0.25);
}

.toast.toast-error {
  border-color: var(--accent-rose);
  box-shadow: 0 4px 15px rgba(244, 63, 94, 0.25);
}

@keyframes slide-in {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  color: var(--text-muted);
  gap: 12px;
}

.empty-state svg {
  width: 48px;
  height: 48px;
  stroke: var(--text-dim);
}
