/* ═══════════════════════════════════════════════════════════════════════════
   Veo3 & Muse Affiliate Studio — Dark Glassmorphism UI
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --bg-base: #0b0e17;
  --bg-surface: #121726;
  --bg-card: #181f33;
  --bg-card-hover: #1f2842;
  --bg-input: #0e1320;
  --border: rgba(148, 163, 184, 0.14);
  --border-active: rgba(99, 102, 241, 0.55);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-indigo: #6366f1;
  --accent-violet: #8b5cf6;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at 15% 0%, rgba(99, 102, 241, 0.12), transparent 40%),
              radial-gradient(circle at 85% 10%, rgba(6, 182, 212, 0.10), transparent 35%),
              var(--bg-base);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
  background: #2c3654;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #43527d;
}

/* Layout Shell */
.app-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

.sidebar {
  background: rgba(18, 23, 38, 0.94);
  border-right: 1px solid var(--border);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  padding: 14px 12px;
  height: 100vh;
  overflow: hidden;
}

.brand-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
}

.nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8.5px 12px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.16s ease;
  margin-bottom: 2px;
  border: 1px solid transparent;
  background: transparent;
  width: 100%;
  text-align: left;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
}

.nav-item.active {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.2), rgba(6, 182, 212, 0.08));
  color: #fff;
  border-color: rgba(99, 102, 241, 0.45);
  font-weight: 600;
}

.nav-badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-weight: 600;
}

.nav-section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 12px 12px 6px;
}

/* Settings Overview Header Card */
.settings-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 18px 22px;
  margin-bottom: 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(99, 102, 241, 0.14), rgba(6, 182, 212, 0.08), rgba(18, 23, 38, 0.9));
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--border);
  font-size: 12.5px;
}

/* Main Content */
.main-area {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100vh;
  overflow: hidden;
}

.topbar {
  height: 54px;
  flex: 0 0 54px;
  border-bottom: 1px solid var(--border);
  background: rgba(18, 23, 38, 0.88);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 30;
}

.content-body {
  flex: 1;
  min-height: 0;
  height: calc(100vh - 54px);
  padding: 16px 20px 28px;
  max-width: none;
  width: 100%;
  margin: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

.content-body.content-body-bleed {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.view-section-fill,
.view-fill-container {
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* Cards & Panels */
.studio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.studio-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.studio-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Inputs */
.studio-input,
.studio-select,
.studio-textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 9px 12px;
  font-size: 13.5px;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.studio-input:focus,
.studio-select:focus,
.studio-textarea:focus {
  outline: none;
  border-color: var(--accent-indigo);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
}

.studio-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}
.btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.5);
}

.btn-cyan {
  background: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.3);
}

.btn-emerald {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
}

.btn-amber {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.35);
}

.btn-danger {
  background: rgba(244, 63, 94, 0.14);
  color: #fb7185;
  border-color: rgba(244, 63, 94, 0.3);
}
.btn-danger:hover:not(:disabled) {
  background: rgba(244, 63, 94, 0.25);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: var(--border);
}
.btn-ghost:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
}

.btn-sm {
  padding: 5px 10px;
  font-size: 12px;
}

/* Status Pills */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
}
.pill-success,
.pill-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.pill-warning,
.pill-amber {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.pill-danger {
  background: rgba(244, 63, 94, 0.15);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.3);
}
.pill-info {
  background: rgba(6, 182, 212, 0.15);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.3);
}
.pill-purple {
  background: rgba(139, 92, 246, 0.16);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.35);
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 1200px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: relative; height: auto; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Asset Selector Chip */
.asset-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.15s ease;
}
.asset-chip.selected {
  border-color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.12);
}
.asset-thumb {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  object-fit: cover;
  background: #1e293b;
  flex-shrink: 0;
}

/* Progress Bar */
.progress-track {
  width: 100%;
  height: 7px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 99px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #06b6d4);
  transition: width 0.3s ease;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast-item {
  background: #1e293b;
  border-left: 4px solid var(--accent-indigo);
  color: #f8fafc;
  padding: 12px 18px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  font-size: 13.5px;
  min-width: 280px;
  max-width: 420px;
}
.toast-item.error { border-left-color: var(--accent-rose); }
.toast-item.success { border-left-color: var(--accent-emerald); }

/* Video Studio NLE Container (100% Full Workspace Fill) */
.video-studio-workspace {
  flex: 1;
  width: 100%;
  height: calc(100vh - 54px);
  min-height: calc(100vh - 54px);
  border-radius: 0;
  overflow: hidden;
  border: 0;
  background: #090b10;
  display: flex;
  flex-direction: column;
}
.video-studio-root {
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.video-studio-root > .vs-app,
.video-studio-root > .vs-picker {
  flex: 1;
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: 0;
}


/* ═══════════════════════════════════════════════════════════════════════════
   Short Film & AI Project Studio (1-Click Auto-Pilot UI/UX)
   ═══════════════════════════════════════════════════════════════════════════ */

.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.24);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sf-shell {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 84px;
}

.sf-topbar-card {
  background: linear-gradient(135deg, rgba(24, 31, 51, 0.96), rgba(15, 20, 34, 0.98));
  border: 1px solid rgba(99, 102, 241, 0.32);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.sf-project-ribbon {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.sf-project-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 10px;
  background: rgba(14, 19, 32, 0.78);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.sf-project-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.sf-project-tab.active {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.24), rgba(6, 182, 212, 0.14));
  border-color: rgba(168, 85, 247, 0.65);
  color: #fff;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.22);
}

.sf-config-strip {
  display: grid;
  grid-template-columns: 1.5fr repeat(5, minmax(110px, 1fr)) auto;
  gap: 10px;
  align-items: end;
}

@media (max-width: 1360px) {
  .sf-config-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.sf-hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 16px;
  align-items: stretch;
}

@media (max-width: 1180px) {
  .sf-hero-grid {
    grid-template-columns: 1fr;
  }
}

.sf-director-card {
  background: linear-gradient(155deg, rgba(30, 27, 75, 0.42), rgba(20, 26, 44, 0.96));
  border: 1px solid rgba(139, 92, 246, 0.38);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.sf-seo-card {
  background: linear-gradient(155deg, rgba(15, 38, 58, 0.38), rgba(20, 26, 44, 0.96));
  border: 1px solid rgba(6, 182, 212, 0.32);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.sf-btn-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0b0e17;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}
.sf-btn-gold:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(245, 158, 11, 0.5);
}

.sf-entity-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 1400px) {
  .sf-entity-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1024px) {
  .sf-entity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.sf-entity-card {
  background: rgba(14, 19, 32, 0.9);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.sf-entity-card:hover {
  border-color: rgba(139, 92, 246, 0.5);
}

.sf-entity-preview {
  position: relative;
  height: 175px;
  background: radial-gradient(circle at 50% 35%, rgba(99, 102, 241, 0.16), rgba(9, 13, 22, 0.96));
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sf-entity-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.sf-entity-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.sf-entity-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.sf-entity-chip-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 0 2px;
}

.sf-entity-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px 4px 5px;
  border-radius: 999px;
  background: rgba(14, 19, 32, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.38);
  font-size: 12px;
}

.sf-shot-card {
  background: rgba(14, 19, 32, 0.88);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  transition: border-color 0.16s ease;
}

.sf-shot-card.shot-completed {
  border-color: rgba(16, 185, 129, 0.48);
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.05), rgba(14, 19, 32, 0.92));
}

.sf-shot-card.shot-running {
  border-color: rgba(6, 182, 212, 0.55);
  box-shadow: 0 0 0 1px rgba(6, 182, 212, 0.2);
}

.sf-shot-card.shot-failed {
  border-color: rgba(244, 63, 94, 0.55);
}

.sf-shot-layout {
  display: grid;
  grid-template-columns: 1fr 270px;
  gap: 16px;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .sf-shot-layout {
    grid-template-columns: 1fr;
  }
}

.sf-shot-video-box {
  background: #070a12;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  min-height: 195px;
}

.sf-dot {
  width: 11px;
  height: 11px;
  border-radius: 99px;
  display: inline-block;
  background: rgba(148, 163, 184, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
}
.sf-dot.done { background: #10b981; box-shadow: 0 0 8px rgba(16, 185, 129, 0.6); }
.sf-dot.running { background: #06b6d4; box-shadow: 0 0 8px rgba(6, 182, 212, 0.7); }
.sf-dot.failed { background: #f43f5e; }

.sf-bottom-dock {
  position: sticky;
  bottom: -16px;
  z-index: 25;
  background: rgba(13, 18, 31, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(16, 185, 129, 0.42);
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}


/* ═══════════════════════════════════════════════════════════════════════════
   PROJECT LIST DASHBOARD & 5-STEP PRODUCTION WORKFLOW STEPPER
   ═══════════════════════════════════════════════════════════════════════════ */

.sf-project-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 1280px) {
  .sf-project-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .sf-project-cards-grid {
    grid-template-columns: 1fr;
  }
}

.sf-project-card-item {
  background: linear-gradient(180deg, rgba(18, 24, 38, 0.96), rgba(11, 15, 25, 0.98));
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.sf-project-card-item:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 92, 246, 0.55);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42);
}

.sf-project-card-thumb {
  height: 150px;
  background: radial-gradient(circle at 30% 20%, rgba(139, 92, 246, 0.25), rgba(9, 13, 22, 0.96));
  border-bottom: 1px solid var(--border);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sf-project-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sf-project-card-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

/* 5-Step Production Stepper */
.sf-stepper {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  background: rgba(13, 18, 30, 0.92);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px;
}

@media (max-width: 1100px) {
  .sf-stepper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.sf-step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 11px;
  background: rgba(20, 27, 45, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: all 0.16s ease;
  text-align: left;
  color: var(--text-secondary);
}

.sf-step-item:hover {
  border-color: rgba(139, 92, 246, 0.45);
  color: var(--text-primary);
}

.sf-step-item.active {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.24), rgba(6, 182, 212, 0.16));
  border-color: rgba(168, 85, 247, 0.75);
  color: #fff;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.22);
}

.sf-step-item.done:not(.active) {
  border-color: rgba(16, 185, 129, 0.42);
  background: rgba(16, 185, 129, 0.08);
  color: #d1fae5;
}

.sf-step-num {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12.5px;
  flex-shrink: 0;
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
}

.sf-step-item.active .sf-step-num {
  background: linear-gradient(135deg, #8b5cf6, #06b6d4);
  border-color: transparent;
  color: #fff;
}

.sf-step-item.done:not(.active) .sf-step-num {
  background: rgba(16, 185, 129, 0.25);
  border-color: rgba(16, 185, 129, 0.6);
  color: #34d399;
}

.sf-step-nav-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 18px;
  background: rgba(13, 18, 30, 0.94);
  border: 1px solid var(--border);
  border-radius: 14px;
}
