/* ==========================================================================
   Brutalski Bootstrap 6 Theme (alpha)
   Auto-ported from the v5 token declarations; component-level overrides
   from the v5 theme.css may still need manual porting.
   Include AFTER bootstrap.min.css.
   ========================================================================== */



:root {
  --bs-primary-base: #4f46e5;
  --bs-primary-fg: #4f46e5;
  --bs-primary-fg-emphasis: light-dark(#4f46e5, #4f46e5);
  --bs-primary-bg: light-dark(#4f46e5, #6366f1);
  --bs-primary-bg-subtle: light-dark(color-mix(in oklab, #4f46e5, transparent 85%), color-mix(in oklab, #4f46e5, transparent 85%));
  --bs-primary-bg-muted: light-dark(color-mix(in oklab, #4f46e5, #4f46e5 10%), color-mix(in oklab, #6366f1, #6366f1 12%));
  --bs-primary-border: light-dark(#4f46e5, #4f46e5);
  --bs-primary-focus-ring: color-mix(in oklab, #4f46e5, transparent 75%);
  --bs-primary-contrast: var(--bs-white);

  --bs-accent-base: #4f46e5;
  --bs-accent-fg: #4f46e5;
  --bs-accent-fg-emphasis: light-dark(#4f46e5, #4f46e5);
  --bs-accent-bg: light-dark(#4f46e5, #6366f1);
  --bs-accent-bg-subtle: light-dark(color-mix(in oklab, #4f46e5, transparent 85%), color-mix(in oklab, #4f46e5, transparent 85%));
  --bs-accent-bg-muted: light-dark(color-mix(in oklab, #4f46e5, #4f46e5 10%), color-mix(in oklab, #6366f1, #6366f1 12%));
  --bs-accent-border: light-dark(#4f46e5, #4f46e5);
  --bs-accent-focus-ring: color-mix(in oklab, #4f46e5, transparent 75%);
  --bs-accent-contrast: var(--bs-white);
  /* Body & surfaces */
  
  --bs-fg-body: light-dark(#0f172a, #f8fafc);
  --bs-bg-body: light-dark(#f8fafc, #0f172a);
  --bs-bg-1: light-dark(#f8fafc, #f8fafc);
  --bs-bg-2: light-dark(var(--bs-gray-100), var(--bs-gray-100));
  --bs-border-color: light-dark(#0f172a, #0f172a);

  --bs-radius-1: 0;
  --bs-radius-2: 0;
  --bs-radius-3: 0;
  --bs-radius-4: 0;
  --bs-radius-5: 0;
  --bs-radius-6: 0;
  --bs-radius-7: 0;
  --bs-radius-8: 0;
  --bs-radius-9: 0;

  --bs-link-color: light-dark(None, None);
  --bs-link-decoration: underline;
  --bs-link-hover-color: light-dark(None, None);
}

/* plain x close icon (matches Bootlegance v6 convention) */
.btn-close {
  --bs-btn-close-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath d='M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* colored header band on solid bg-* cards */
.card[class*="bg-"] > .card-header {
  background-color: inherit;
}
