/* =========================================================================
   Assets Générator — UI v2
   Two tabs (Créer / Galerie), compact layout, no scroll-zoom required.
   ========================================================================= */

:root {
  --bg: #0a0a0c;
  --bg-soft: #0f0f12;
  --bg-elev: #16161b;
  --bg-elev-2: #1d1d24;
  --bg-elev-3: #25252e;
  --border: #28282f;
  --border-strong: #3a3a44;
  --text: #f5f5f7;
  --text-dim: #a1a1aa;
  --text-mute: #6b6b75;
  --accent: #a855f7;
  --accent-2: #ec4899;
  --accent-soft: rgba(168, 85, 247, 0.12);
  --accent-glow: rgba(168, 85, 247, 0.4);
  --accent-gradient: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  --danger: #ef4444;
  --success: #10b981;
  --warn: #f59e0b;
  --info: #38bdf8;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-xs: 7px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .25);
  --shadow: 0 1px 3px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  --shadow-lg: 0 1px 3px rgba(0, 0, 0, .3), 0 16px 48px rgba(0, 0, 0, .4);
  --topbar-h: 60px;
  --footer-h: 132px;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", system-ui, sans-serif;
  font-size: 13px;
  color: var(--text);
  background:
    radial-gradient(80% 50% at 20% 0%, rgba(168, 85, 247, 0.06) 0%, transparent 60%),
    radial-gradient(60% 50% at 100% 0%, rgba(236, 72, 153, 0.04) 0%, transparent 60%),
    var(--bg);
  background-attachment: fixed;
  overflow: hidden;
  height: 100vh;
}

.hidden { display: none !important; }

/* =========================================================================
   TOP BAR (sticky, 60px)
   ========================================================================= */
.topbar {
  height: var(--topbar-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(15, 15, 18, 0.85);
  backdrop-filter: blur(14px);
  position: relative;
  z-index: 20;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  font-size: 17px;
  background: var(--accent-gradient);
  border-radius: 10px;
  box-shadow: 0 0 20px var(--accent-glow);
}
.brand-text { line-height: 1.2; }
.brand-title { font-weight: 600; font-size: 14px; letter-spacing: -0.01em; }
.brand-sub { font-size: 11px; color: var(--text-dim); }

.tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border: none;
  background: transparent;
  border-radius: 999px;
  color: var(--text-dim);
  font-size: 13px;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}
.tab:hover { color: var(--text); }
.tab.active {
  background: var(--bg-elev-3);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px; height: 16px;
  font-size: 12px;
  opacity: 0.8;
}
.tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  font-size: 10px;
  font-weight: 600;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
}
.tab.active .tab-badge { background: var(--accent); color: white; }

.topbar-meta {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-dim);
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
}
.dot-pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-mute);
}
.meta-pill.active .dot-pulse {
  background: var(--warn);
  box-shadow: 0 0 0 0 var(--warn);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6); }
  70%  { box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* =========================================================================
   TAB PANES
   ========================================================================= */
.tab-pane {
  display: none;
  height: calc(100vh - var(--topbar-h));
  overflow: hidden;
}
.tab-pane.active { display: flex; flex-direction: column; }

/* =========================================================================
   CRÉER TAB
   ========================================================================= */
.create-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 16px;
  padding: 16px 20px 0;
  flex: 1;
  min-height: 0;
}
@media (max-width: 980px) {
  .create-grid { grid-template-columns: 1fr; }
}

.col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}
.col-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0 2px;
}
.col-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}
.col-sub { font-size: 11px; color: var(--text-mute); }

/* ----- Search bar ----- */
.search-bar {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.15s;
}
.search-bar:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.search-bar svg { color: var(--text-mute); flex-shrink: 0; }
.search-bar input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text);
  font-size: 13px;
  outline: none;
}
.search-bar input::placeholder { color: var(--text-mute); }
.search-status { font-size: 11px; color: var(--text-dim); min-width: 60px; text-align: right; }

.suggestions {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.chip {
  background: var(--bg-elev);
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.chip:hover { color: var(--text); border-color: var(--border-strong); }

/* ----- Icon grid ----- */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 6px;
  overflow-y: auto;
  flex: 1;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px;
  min-height: 0;
}
.icon-card {
  aspect-ratio: 1;
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  background: var(--bg-elev-2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.12s;
  padding: 10px;
  position: relative;
  overflow: hidden;
}
.icon-card:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-1px);
}
.icon-card.selected {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px var(--accent), 0 0 16px var(--accent-glow);
}
.icon-card img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: invert(0.9);
  pointer-events: none;
}

.empty-state {
  grid-column: 1/-1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  color: var(--text-mute);
}
.empty-emoji { font-size: 34px; margin-bottom: 10px; opacity: 0.4; }
.empty-text { font-size: 12px; text-align: center; line-height: 1.6; }

/* ----- Material grid (with real preview images) ----- */
.material-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  overflow-y: auto;
  flex: 1;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  min-height: 0;
  align-content: start;
}
.material-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 4px;
  border-radius: var(--radius-xs);
  border: 1px solid transparent;
  background: var(--bg-elev-2);
  cursor: pointer;
  transition: all 0.12s;
  font-family: inherit;
  position: relative;
}
.material-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-elev-3);
  transform: translateY(-1px);
}
.material-card.selected {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px var(--accent), 0 0 18px var(--accent-glow);
}
.material-preview {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-xs);
  background-image:
    linear-gradient(45deg, #20202a 25%, transparent 25%),
    linear-gradient(-45deg, #20202a 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #20202a 75%),
    linear-gradient(-45deg, transparent 75%, #20202a 75%);
  background-size: 14px 14px;
  background-position: 0 0, 0 7px, 7px -7px, -7px 0;
  background-color: #2a2a35;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.material-preview img { width: 100%; height: 100%; object-fit: contain; }
.material-preview .placeholder-orb {
  width: 70%; height: 70%;
  border-radius: 50%;
  background: linear-gradient(135deg, #444 0%, #222 100%);
  opacity: 0.4;
}
.material-label {
  font-size: 11px;
  color: var(--text);
  text-align: center;
  line-height: 1.2;
  font-weight: 500;
}

/* =========================================================================
   ACTION BAR (sticky bottom)
   ========================================================================= */
.action-bar {
  height: var(--footer-h);
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 1.4fr) auto;
  gap: 18px;
  align-items: center;
  padding: 14px 22px;
  margin: 14px 20px 14px;
  background: linear-gradient(180deg, var(--bg-elev) 0%, var(--bg-elev-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.action-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.sum-block {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.sum-thumb {
  width: 52px; height: 52px;
  border-radius: var(--radius-xs);
  background-image:
    linear-gradient(45deg, #20202a 25%, transparent 25%),
    linear-gradient(-45deg, #20202a 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #20202a 75%),
    linear-gradient(-45deg, transparent 75%, #20202a 75%);
  background-size: 10px 10px;
  background-position: 0 0, 0 5px, 5px -5px, -5px 0;
  background-color: #2a2a35;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border);
  overflow: hidden;
}
.sum-thumb img { width: 100%; height: 100%; object-fit: contain; }
.sum-thumb img.icon-thumb { filter: invert(0.9); padding: 6px; }
.sum-thumb .placeholder-text { color: var(--text-mute); font-size: 18px; }
.sum-info { min-width: 0; }
.sum-label {
  font-size: 10px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.sum-value {
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
  margin-top: 1px;
}
.sum-value.empty { color: var(--text-mute); font-style: italic; }
.sum-arrow { color: var(--text-mute); font-size: 14px; flex-shrink: 0; }

.action-format {
  display: grid;
  grid-template-columns: auto auto auto 1fr;
  gap: 14px;
  align-items: center;
}
.control-mini {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.control-mini label {
  font-size: 10px;
  color: var(--text-mute);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.control-output {
  justify-self: end;
  align-items: flex-end;
}
.output-badge {
  font-size: 12px;
  color: var(--text);
  padding: 6px 12px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius-xs);
  font-weight: 600;
}

.btn-row { display: flex; gap: 3px; }
.pill {
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 6px 10px;
  border-radius: var(--radius-xs);
  font-size: 11px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.12s;
  font-weight: 500;
  white-space: nowrap;
}
.pill:hover { color: var(--text); border-color: var(--border-strong); }
.pill.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--text);
}

.btn-primary {
  height: 52px;
  padding: 0 28px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--accent-gradient);
  color: white;
  font-weight: 600;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s;
  box-shadow: 0 6px 20px var(--accent-glow);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px var(--accent-glow);
}
.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}
.btn-primary:disabled {
  background: var(--bg-elev-3);
  color: var(--text-mute);
  box-shadow: none;
  cursor: not-allowed;
}

.btn-secondary {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  background: var(--bg-elev);
  color: var(--text);
  font-size: 12px;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-secondary:hover { border-color: var(--border-strong); background: var(--bg-elev-2); }

/* =========================================================================
   GALERIE TAB
   ========================================================================= */
.gallery-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
  flex-shrink: 0;
}
.gallery-filters {
  display: flex;
  gap: 6px;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-dim);
  font-size: 12px;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}
.filter-chip:hover { color: var(--text); border-color: var(--border-strong); }
.filter-chip.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--text);
}
.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 16px;
  padding: 0 5px;
  background: var(--bg-elev-3);
  color: var(--text-dim);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}
.filter-chip.active .filter-count {
  background: var(--accent);
  color: white;
}

.gallery-grid {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  align-content: start;
}
.gallery-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  color: var(--text-mute);
}

.gal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.15s;
  cursor: pointer;
  animation: gal-fade-in 0.4s ease;
}
@keyframes gal-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.gal-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.gal-card.s-failed { border-color: rgba(239, 68, 68, 0.5); }
.gal-card.s-failed:hover { border-color: var(--danger); }
.gal-card.s-queued, .gal-card.s-in_progress { cursor: default; }

.gal-thumb {
  aspect-ratio: 1;
  background-image:
    linear-gradient(45deg, #20202a 25%, transparent 25%),
    linear-gradient(-45deg, #20202a 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #20202a 75%),
    linear-gradient(-45deg, transparent 75%, #20202a 75%);
  background-size: 16px 16px;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
  background-color: #2a2a35;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  position: relative;
}
.gal-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gal-thumb img.source-icon { filter: invert(0.85); opacity: 0.5; }
.gal-thumb .thumb-state {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(10, 10, 12, 0.55);
  color: var(--text);
  font-size: 11px;
  text-align: center;
}
.gal-thumb .spinner {
  width: 26px; height: 26px;
  border: 2.5px solid var(--border-strong);
  border-top-color: var(--warn);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.gal-status-pill {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  background: rgba(15, 15, 18, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
}
.gal-status-pill.s-queued { color: var(--text-dim); }
.gal-status-pill.s-in_progress { color: var(--warn); }
.gal-status-pill.s-succeeded { color: var(--success); }
.gal-status-pill.s-failed { color: var(--danger); }
.gal-status-pill .dot-mini {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.gal-info {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.gal-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gal-meta {
  font-size: 10px;
  color: var(--text-mute);
}
.gal-actions {
  display: flex;
  gap: 5px;
  padding: 0 10px 10px;
}
.gal-actions .btn-icon {
  width: 30px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  color: var(--text-dim);
  border-radius: var(--radius-xs);
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
  transition: all 0.12s;
  padding: 0;
}
.gal-actions .btn-icon:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: var(--bg-elev-3);
}
.gal-actions .btn-icon.danger:hover {
  color: var(--danger);
  border-color: var(--danger);
}
.gal-actions .btn-icon.flex { flex: 1; }

/* =========================================================================
   MODAL
   ========================================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-in 0.2s ease;
}
@keyframes modal-in { from { opacity: 0; } to { opacity: 1; } }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 10, 0.78);
  backdrop-filter: blur(10px);
}
.modal-card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 600px;
  width: 92vw;
  max-height: 90vh;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: modal-pop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes modal-pop {
  from { transform: scale(0.95); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 30px; height: 30px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  color: var(--text-dim);
  cursor: pointer;
  font-size: 12px;
  font-family: inherit;
  transition: all 0.12s;
}
.modal-close:hover { color: var(--text); border-color: var(--border-strong); }
.modal-preview {
  aspect-ratio: 1;
  background-image:
    linear-gradient(45deg, #20202a 25%, transparent 25%),
    linear-gradient(-45deg, #20202a 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #20202a 75%),
    linear-gradient(-45deg, transparent 75%, #20202a 75%);
  background-size: 22px 22px;
  background-position: 0 0, 0 11px, 11px -11px, -11px 0;
  background-color: #2a2a35;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  max-height: 60vh;
}
.modal-preview img { max-width: 100%; max-height: 100%; object-fit: contain; }
.modal-info { display: flex; flex-direction: column; gap: 2px; }
.modal-title { font-size: 16px; font-weight: 600; }
.modal-sub { font-size: 12px; color: var(--text-dim); }
.modal-actions { display: flex; gap: 8px; }
.modal-actions .btn-secondary { flex: 1; padding: 11px 16px; font-size: 13px; }

/* =========================================================================
   TOAST
   ========================================================================= */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-size: 13px;
  box-shadow: var(--shadow);
  z-index: 200;
  max-width: 90vw;
  animation: toast-in 0.25s ease;
}
@keyframes toast-in {
  from { transform: translate(-50%, 20px); opacity: 0; }
  to   { transform: translate(-50%, 0); opacity: 1; }
}
.toast.error { border-color: var(--danger); color: var(--danger); }
.toast.success { border-color: var(--success); color: var(--success); }
.toast.info { border-color: var(--accent); color: var(--accent); }

/* =========================================================================
   SCROLLBARS
   ========================================================================= */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-strong); }
