/* ═══════════════════════════════════════════
   SmartTools AI — style.css
   Premium Dark SaaS UI
═══════════════════════════════════════════ */

/* ─── RESET & VARIABLES ─────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Dark theme */
  --bg-base:       #080c18;
  --bg-surface:    #0d1120;
  --bg-card:       rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.07);
  --border:        rgba(255,255,255,0.08);
  --border-hover:  rgba(139,92,246,0.4);
  --text-primary:  #f1f5f9;
  --text-secondary:#94a3b8;
  --text-muted:    #475569;

  /* Accents */
  --accent-purple: #7c3aed;
  --accent-violet: #8b5cf6;
  --accent-blue:   #3b82f6;
  --accent-cyan:   #06b6d4;
  --grad-main: linear-gradient(135deg, #7c3aed 0%, #3b82f6 50%, #06b6d4 100%);
  --grad-glow: linear-gradient(135deg, rgba(124,58,237,0.3), rgba(6,182,212,0.3));

  /* Sidebar */
  --sidebar-w: 240px;
  --topbar-h:  64px;

  /* Misc */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 20px;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 30px rgba(124,58,237,0.25);
  --transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
}

[data-theme="light"] {
  --bg-base:       #f0f4ff;
  --bg-surface:    #ffffff;
  --bg-card:       rgba(255,255,255,0.85);
  --bg-card-hover: rgba(255,255,255,1);
  --border:        rgba(0,0,0,0.08);
  --border-hover:  rgba(124,58,237,0.5);
  --text-primary:  #0f172a;
  --text-secondary:#475569;
  --text-muted:    #94a3b8;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  display: flex;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
}

/* ─── SIDEBAR ────────────────────────────── */
.sidebar {
  width: var(--sidebar-w);
  min-height: 100vh;
  background: var(--bg-surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  z-index: 100;
  transition: transform 0.3s ease;
  backdrop-filter: blur(12px);
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 20px;
  border-bottom: 1px solid var(--border);
}
.logo-icon svg { width: 34px; height: 34px; }
.logo-text {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}
.logo-ai {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 2px;
}

.sidebar-nav {
  flex: 1;
  padding: 14px 12px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.nav-section-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 10px 10px 6px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  position: relative;
  text-align: left;
}
.nav-item:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}
.nav-item.active {
  background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(6,182,212,0.1));
  color: var(--text-primary);
  box-shadow: inset 0 0 0 1px rgba(124,58,237,0.3), 0 0 20px rgba(124,58,237,0.08);
}
.nav-item.active .nav-pip {
  position: absolute;
  right: 10px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grad-main);
  box-shadow: 0 0 8px rgba(124,58,237,0.8);
}
.nav-icon { font-size: 1.1rem; min-width: 22px; text-align: center; }

.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
}
.plan-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.plan-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

/* ─── MAIN WRAPPER ───────────────────────── */
.main-wrapper {
  margin-left: var(--sidebar-w);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: margin-left 0.3s ease;
}

/* ─── TOPBAR ─────────────────────────────── */
.topbar {
  height: var(--topbar-h);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: var(--transition);
}
.search-bar {
  flex: 1;
  max-width: 380px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  transition: var(--transition);
}
.search-bar:focus-within {
  border-color: var(--border-hover);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.1);
}
.search-icon { color: var(--text-muted); font-size: 0.9rem; }
.search-bar input {
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  width: 100%;
}
.search-bar input::placeholder { color: var(--text-muted); }

.topbar-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.theme-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-secondary);
  transition: var(--transition);
}
.theme-toggle:hover { border-color: var(--border-hover); color: var(--text-primary); }
.user-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--grad-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 0 14px rgba(124,58,237,0.4);
}

/* ─── CONTENT AREA ───────────────────────── */
.content {
  flex: 1;
  padding: 32px 28px;
  overflow-y: auto;
}

/* ─── HERO ───────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 56px 52px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 48px;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-glow-1 {
  width: 320px; height: 320px;
  background: rgba(124,58,237,0.2);
  top: -100px; left: -80px;
}
.hero-glow-2 {
  width: 250px; height: 250px;
  background: rgba(6,182,212,0.15);
  bottom: -80px; right: 200px;
}

.hero-content { position: relative; z-index: 2; flex: 1; max-width: 520px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent-violet);
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.3);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 18px;
}
.gradient-text {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 0.97rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 440px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.btn-primary {
  padding: 11px 26px;
  background: var(--grad-main);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(124,58,237,0.35);
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(124,58,237,0.5); }
.btn-primary:hover::after { background: rgba(255,255,255,0.07); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  padding: 11px 22px;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.btn-ghost:hover { border-color: var(--border-hover); color: var(--accent-violet); }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-lbl { font-size: 0.72rem; color: var(--text-muted); margin-top: 1px; }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

/* Hero Visual */
.hero-visual {
  position: relative;
  width: 260px;
  height: 240px;
  flex-shrink: 0;
}
.hero-orb {
  position: absolute;
  width: 180px; height: 180px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--grad-glow);
  border-radius: 50%;
  filter: blur(40px);
  animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 0.6; transform: translate(-50%,-50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%,-50%) scale(1.1); }
}
.hero-card-float {
  position: absolute;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.hero-card-float span { font-size: 1.1rem; }
.card-1 { top: 20px; left: 10px; animation: float1 6s ease-in-out infinite; }
.card-2 { top: 50%; left: 50%; transform: translate(-50%,-50%); animation: float2 5s ease-in-out infinite; }
.card-3 { bottom: 20px; right: 10px; animation: float3 7s ease-in-out infinite; }

@keyframes float1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes float2 { 0%,100%{transform:translate(-50%,-50%) translateY(0)} 50%{transform:translate(-50%,-50%) translateY(-8px)} }
@keyframes float3 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

/* ─── TOOL GRID ──────────────────────────── */
.tools-section { margin-bottom: 40px; }
.section-header { margin-bottom: 24px; }
.section-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
}
.section-header p { color: var(--text-secondary); font-size: 0.9rem; margin-top: 4px; }

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tool-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.tool-card:hover .tool-card-glow { opacity: 1; }
.tool-card:hover .tool-card-btn { background: var(--grad-main); color: #fff; border-color: transparent; }

.tool-card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at bottom left, color-mix(in srgb, var(--gc) 18%, transparent), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.tool-card-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--ic) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--ic) 30%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 4px;
}
.tool-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}
.tool-card p {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}
.tool-card-btn {
  margin-top: 8px;
  padding: 9px 18px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ─── WORKSPACE ──────────────────────────── */
.workspace {
  padding: 28px;
}
.workspace-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.back-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  transition: var(--transition);
  white-space: nowrap;
}
.back-btn:hover { border-color: var(--border-hover); color: var(--text-primary); }

.workspace-title-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}
.workspace-tool-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(6,182,212,0.2));
  border: 1px solid rgba(124,58,237,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.workspace-title-wrap h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
}
.workspace-title-wrap p { font-size: 0.82rem; color: var(--text-secondary); margin-top: 2px; }

/* Upload Zone */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg-card);
}
.upload-zone:hover, .upload-zone.drag-over {
  border-color: var(--accent-violet);
  background: rgba(124,58,237,0.06);
  box-shadow: 0 0 0 4px rgba(124,58,237,0.08);
}
.upload-icon { font-size: 3rem; margin-bottom: 14px; display: block; }
.upload-zone h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.upload-zone p { color: var(--text-secondary); font-size: 0.88rem; }
.upload-link { color: var(--accent-violet); cursor: pointer; font-weight: 600; }
.upload-hint { color: var(--text-muted); font-size: 0.78rem; margin-top: 8px; }

/* Workspace panels */
.workspace-panels {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 22px;
  align-items: start;
}
.preview-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.img-info { color: var(--text-muted); font-size: 0.78rem; font-weight: 400; }
.preview-canvas-wrap {
  background: repeating-conic-gradient(rgba(255,255,255,0.04) 0% 25%, transparent 0% 50%) 0 0 / 20px 20px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: 10px;
  overflow: hidden;
}
#previewCanvas {
  max-width: 100%;
  max-height: 460px;
  border-radius: 6px;
  display: block;
}

.btn-download {
  width: 100%;
  padding: 12px;
  font-size: 0.95rem;
}

.controls-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: calc(var(--topbar-h) + 20px);
}

/* Control UI components */
.ctrl-group { display: flex; flex-direction: column; gap: 8px; }
.ctrl-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.ctrl-row { display: flex; gap: 10px; align-items: center; }

.ctrl-input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  outline: none;
  transition: var(--transition);
  width: 100%;
}
.ctrl-input:focus { border-color: var(--border-hover); box-shadow: 0 0 0 3px rgba(124,58,237,0.1); }

.ctrl-select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
  appearance: none;
}
.ctrl-select:focus { border-color: var(--border-hover); }

.ctrl-slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ctrl-slider-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ctrl-slider {
  flex: 1;
  -webkit-appearance: none;
  height: 4px;
  border-radius: 100px;
  background: var(--border);
  outline: none;
  cursor: pointer;
  transition: background 0.2s;
}
.ctrl-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--grad-main);
  cursor: pointer;
  box-shadow: 0 0 8px rgba(124,58,237,0.6);
  transition: var(--transition);
}
.ctrl-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
.ctrl-slider-val {
  font-size: 0.78rem;
  color: var(--accent-violet);
  font-weight: 700;
  min-width: 38px;
  text-align: right;
}

.ctrl-btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.ctrl-btn {
  flex: 1;
  min-width: 80px;
  padding: 9px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.ctrl-btn:hover { border-color: var(--border-hover); background: rgba(124,58,237,0.1); color: var(--accent-violet); }
.ctrl-btn.primary { background: var(--grad-main); border-color: transparent; color: #fff; box-shadow: 0 4px 16px rgba(124,58,237,0.3); }
.ctrl-btn.primary:hover { opacity: 0.9; transform: translateY(-1px); }

.ctrl-divider { height: 1px; background: var(--border); }

.ctrl-checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.ctrl-checkbox {
  width: 16px; height: 16px;
  accent-color: var(--accent-violet);
  cursor: pointer;
}
.ctrl-checkbox-label { font-size: 0.85rem; color: var(--text-secondary); cursor: pointer; }

.ctrl-color {
  width: 44px; height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 2px;
  cursor: pointer;
  background: var(--bg-card);
}

/* ─── SIDEBAR OVERLAY ───────────────────── */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 99;
  backdrop-filter: blur(4px);
}

/* ─── RESPONSIVE ─────────────────────────── */
@media (max-width: 900px) {
  .workspace-panels {
    grid-template-columns: 1fr;
  }
  .controls-panel { position: static; }
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.open {
    transform: translateX(0);
    box-shadow: 4px 0 40px rgba(0,0,0,0.4);
  }
  .sidebar-overlay.visible { display: block; }
  .main-wrapper { margin-left: 0; }
  .menu-toggle { display: flex; }
  .hero { flex-direction: column; padding: 36px 28px; }
  .hero-visual { width: 100%; height: 160px; }
  .content { padding: 20px 16px; }
  .workspace { padding: 20px 16px; }
  .topbar { padding: 0 16px; }
  .search-bar { max-width: 200px; }
  .tool-grid { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .tool-grid { grid-template-columns: 1fr; }
  .hero { padding: 28px 20px; }
  .hero-stats { gap: 14px; }
  .search-bar { display: none; }
}

/* ─── LOADING SHIMMER ────────────────────── */
@keyframes shimmer {
  0% { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

/* ─── UTILITY ────────────────────────────── */
.hidden { display: none !important; }
.flex-center { display: flex; align-items: center; justify-content: center; }