/* ==========================================================================
   Category 1: Minimalism & Grids
   Styles 1–9: Minimalism, Ultra-Minimalism, Swiss / International Style,
   Bauhaus, Bento Grid, Modular / Card-Based UI, Monochrome,
   Zen / Wabi-Sabi, Scandinavian / Nordic UI.
   Offline-first, scoped component CSS.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Minimalism
   -------------------------------------------------------------------------- */
.style-card[data-style="minimalism"] {
  --min-bg: #0e1015;
  --min-text: #f8fafc;
  --min-muted: #94a3b8;
  --min-border: #232736;
  --min-accent: #10b981;
}

.style-card[data-style="minimalism"] .card-preview {
  background: #0e1015;
  color: #f8fafc;
  border: 1px solid #232736;
  border-radius: 4px;
  padding: 18px;
  box-shadow: none;
}

.style-card[data-style="minimalism"] .preview-headline {
  color: #f8fafc;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  line-height: 1.3;
}

.style-card[data-style="minimalism"] .preview-body {
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 14px;
  opacity: 0.9;
}

.style-card[data-style="minimalism"] .preview-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.style-card[data-style="minimalism"] .btn-primary {
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid #f8fafc;
  border-radius: 4px;
  padding: 6px 14px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.style-card[data-style="minimalism"] .btn-primary:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.style-card[data-style="minimalism"] .btn-primary:active {
  background: #cbd5e1;
}

.style-card[data-style="minimalism"] .btn-secondary {
  background: transparent;
  color: #cbd5e1;
  border: 1px solid #334155;
  border-radius: 4px;
  padding: 6px 12px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.style-card[data-style="minimalism"] .btn-secondary:hover {
  border-color: #64748b;
  color: #ffffff;
}

.style-card[data-style="minimalism"] .preview-addon {
  display: inline-flex;
  gap: 6px;
  color: #10b981;
}

.style-card[data-style="minimalism"] .preview-addon::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}


/* --------------------------------------------------------------------------
   2. Ultra-Minimalism
   -------------------------------------------------------------------------- */
.style-card[data-style="ultra-minimalism"] {
  --umin-bg: #08080a;
  --umin-text: #ffffff;
  --umin-muted: #9ca3af;
}

.style-card[data-style="ultra-minimalism"] .card-preview {
  background: #08080a;
  color: #ffffff;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  padding: 22px 14px;
  box-shadow: none;
}

.style-card[data-style="ultra-minimalism"] .preview-headline {
  color: #ffffff;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  margin-bottom: 8px;
  line-height: 1.25;
}

.style-card[data-style="ultra-minimalism"] .preview-body {
  color: #9ca3af;
  letter-spacing: 0.02em;
  line-height: 1.6;
  margin-bottom: 16px;
}

.style-card[data-style="ultra-minimalism"] .preview-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 14px;
}

.style-card[data-style="ultra-minimalism"] .btn-primary {
  background: transparent;
  color: #ffffff;
  border: none;
  border-radius: 0;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.style-card[data-style="ultra-minimalism"] .btn-primary:hover {
  opacity: 0.7;
}

.style-card[data-style="ultra-minimalism"] .btn-primary:active {
  opacity: 0.5;
}

.style-card[data-style="ultra-minimalism"] .btn-secondary {
  background: transparent;
  color: #a1a1aa;
  border: none;
  border-radius: 0;
  padding: 0;
  cursor: pointer;
  transition: color 0.15s ease;
}

.style-card[data-style="ultra-minimalism"] .btn-secondary:hover {
  color: #e4e4e7;
}

.style-card[data-style="ultra-minimalism"] .preview-addon {
  display: block;
  color: #9ca3af;
  letter-spacing: 0.1em;
}


/* --------------------------------------------------------------------------
   3. Swiss / International Style
   -------------------------------------------------------------------------- */
.style-card[data-style="swiss-international"] {
  --swiss-red: #eb0028;
  --swiss-dark: #111111;
  --swiss-bg: #f5f5f7;
}

.style-card[data-style="swiss-international"] .card-preview {
  background: #f5f5f7;
  color: #111111;
  border-left: 4px solid #eb0028;
  border-top: none;
  border-right: none;
  border-bottom: none;
  border-radius: 0;
  padding: 16px 18px;
  box-shadow: none;
}

.style-card[data-style="swiss-international"] .preview-headline {
  color: #111111;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.style-card[data-style="swiss-international"] .preview-body {
  color: #333333;
  line-height: 1.45;
  margin-bottom: 14px;
}

.style-card[data-style="swiss-international"] .preview-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.style-card[data-style="swiss-international"] .btn-primary {
  background: #eb0028;
  color: #ffffff;
  border: none;
  border-radius: 0;
  padding: 7px 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.15s ease;
}

.style-card[data-style="swiss-international"] .btn-primary:hover {
  background: #c50022;
}

.style-card[data-style="swiss-international"] .btn-primary:active {
  background: #a0001b;
}

.style-card[data-style="swiss-international"] .btn-secondary {
  background: transparent;
  color: #111111;
  border: 1.5px solid #111111;
  border-radius: 0;
  padding: 6px 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.style-card[data-style="swiss-international"] .btn-secondary:hover {
  background: #111111;
  color: #ffffff;
}

.style-card[data-style="swiss-international"] .preview-addon {
  display: block;
  color: #111111;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-top: 1px solid #111111;
  padding-top: 6px;
}


/* --------------------------------------------------------------------------
   4. Bauhaus
   -------------------------------------------------------------------------- */
.style-card[data-style="bauhaus"] {
  --bh-cream: #faf6ed;
  --bh-red: #d92323;
  --bh-blue: #205493;
  --bh-yellow: #f2b705;
  --bh-black: #121212;
}

.style-card[data-style="bauhaus"] .card-preview {
  background: #faf6ed;
  color: #121212;
  border: 3px solid #121212;
  border-radius: 0;
  padding: 16px;
  box-shadow: none;
  position: relative;
}

.style-card[data-style="bauhaus"] .preview-headline {
  color: #121212;
  letter-spacing: 0.01em;
  margin-bottom: 6px;
  border-bottom: 3px solid #d92323;
  padding-bottom: 4px;
  display: inline-block;
}

.style-card[data-style="bauhaus"] .preview-body {
  color: #2b2b2b;
  line-height: 1.4;
  margin-bottom: 12px;
}

.style-card[data-style="bauhaus"] .preview-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.style-card[data-style="bauhaus"] .btn-primary {
  background: #d92323;
  color: #ffffff;
  border: 2px solid #121212;
  border-radius: 20px;
  padding: 6px 14px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.style-card[data-style="bauhaus"] .btn-primary:hover {
  background: #b51c1c;
}

.style-card[data-style="bauhaus"] .btn-primary:active {
  background: #8e1515;
}

.style-card[data-style="bauhaus"] .btn-secondary {
  background: #f2b705;
  color: #121212;
  border: 2px solid #121212;
  border-radius: 0;
  padding: 6px 12px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.style-card[data-style="bauhaus"] .btn-secondary:hover {
  background: #dba100;
}

.style-card[data-style="bauhaus"] .preview-addon {
  display: inline-flex;
  gap: 6px;
  color: #205493;
}

.style-card[data-style="bauhaus"] .preview-addon::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #205493;
  border-radius: 50%;
}


/* --------------------------------------------------------------------------
   5. Bento Grid
   -------------------------------------------------------------------------- */
.style-card[data-style="bento-grid"] {
  --bento-bg: #0f172a;
  --bento-tile: #1e293b;
  --bento-accent: #38bdf8;
  --bento-border: rgba(255, 255, 255, 0.08);
}

.style-card[data-style="bento-grid"] .card-preview {
  background: #0f172a;
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.25);
}

.style-card[data-style="bento-grid"] .preview-headline {
  color: #f8fafc;
  margin-bottom: 6px;
}

.style-card[data-style="bento-grid"] .preview-body {
  color: #94a3b8;
  line-height: 1.45;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 8px 10px;
}

.style-card[data-style="bento-grid"] .preview-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.style-card[data-style="bento-grid"] .btn-primary {
  background: #38bdf8;
  color: #0f172a;
  border: none;
  border-radius: 8px;
  padding: 7px 10px;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease;
}

.style-card[data-style="bento-grid"] .btn-primary:hover {
  background: #7dd3fc;
}

.style-card[data-style="bento-grid"] .btn-primary:active {
  background: #0284c7;
  color: #ffffff;
}

.style-card[data-style="bento-grid"] .btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 7px 10px;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease;
}

.style-card[data-style="bento-grid"] .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.style-card[data-style="bento-grid"] .preview-addon {
  display: inline-flex;
  gap: 6px;
  background: #1e293b;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 6px;
  padding: 3px 8px;
  color: #38bdf8;
}


/* --------------------------------------------------------------------------
   6. Modular / Card-Based UI
   -------------------------------------------------------------------------- */
.style-card[data-style="modular-card"] {
  --mod-bg: #141722;
  --mod-surface: #1c2130;
  --mod-border: #2f3750;
  --mod-blue: #3b82f6;
}

.style-card[data-style="modular-card"] .card-preview {
  background: #141722;
  color: #f1f5f9;
  border: 1px solid #2f3750;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.35);
}

.style-card[data-style="modular-card"] .preview-headline {
  color: #f1f5f9;
  margin-bottom: 6px;
}

.style-card[data-style="modular-card"] .preview-body {
  color: #94a3b8;
  line-height: 1.45;
  margin-bottom: 12px;
  border-top: 1px dashed #2f3750;
  border-bottom: 1px dashed #2f3750;
  padding: 6px 0;
}

.style-card[data-style="modular-card"] .preview-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.style-card[data-style="modular-card"] .btn-primary {
  background: #3b82f6;
  color: #ffffff;
  border: 1px solid #2563eb;
  border-radius: 6px;
  padding: 6px 14px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.style-card[data-style="modular-card"] .btn-primary:hover {
  background: #2563eb;
}

.style-card[data-style="modular-card"] .btn-primary:active {
  background: #1d4ed8;
}

.style-card[data-style="modular-card"] .btn-secondary {
  background: #1c2130;
  color: #94a3b8;
  border: 1px solid #384360;
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.style-card[data-style="modular-card"] .btn-secondary:hover {
  border-color: #64748b;
  color: #cbd5e1;
}

.style-card[data-style="modular-card"] .preview-addon {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #38bdf8;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.28);
  border-radius: 4px;
  padding: 2px 8px;
}


/* --------------------------------------------------------------------------
   7. Monochrome
   -------------------------------------------------------------------------- */
.style-card[data-style="monochrome"] {
  --mono-black: #000000;
  --mono-white: #ffffff;
  --mono-gray: #404040;
}

.style-card[data-style="monochrome"] .card-preview {
  background: #000000;
  color: #ffffff;
  border: 1px solid #404040;
  border-radius: 2px;
  padding: 16px;
  box-shadow: none;
  filter: grayscale(100%);
}

.style-card[data-style="monochrome"] .preview-headline {
  color: #ffffff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.style-card[data-style="monochrome"] .preview-body {
  color: #a3a3a3;
  line-height: 1.5;
  margin-bottom: 12px;
}

.style-card[data-style="monochrome"] .preview-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.style-card[data-style="monochrome"] .btn-primary {
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
  border-radius: 2px;
  padding: 6px 14px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.style-card[data-style="monochrome"] .btn-primary:hover {
  background: #cccccc;
  border-color: #cccccc;
}

.style-card[data-style="monochrome"] .btn-primary:active {
  background: #888888;
}

.style-card[data-style="monochrome"] .btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 1px solid #777777;
  border-radius: 2px;
  padding: 6px 12px;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.style-card[data-style="monochrome"] .btn-secondary:hover {
  border-color: #ffffff;
}

.style-card[data-style="monochrome"] .preview-addon {
  display: inline-flex;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #e5e5e5;
  background: #141414;
  border: 1px solid #404040;
  border-radius: 2px;
  padding: 3px 8px;
}

.style-card[data-style="monochrome"] .preview-addon::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 4px;
  border-radius: 1px;
  background: linear-gradient(90deg, #333333 0%, #888888 50%, #ffffff 100%);
}


/* --------------------------------------------------------------------------
   8. Zen / Wabi-Sabi
   -------------------------------------------------------------------------- */
.style-card[data-style="zen-wabi-sabi"] {
  --zen-bg: #1d201c;
  --zen-paper: #dfd7ca;
  --zen-matcha: #5a6652;
  --zen-border: #2f342d;
}

.style-card[data-style="zen-wabi-sabi"] .card-preview {
  background: #1d201c;
  color: #dfd7ca;
  border: 1px solid #2f342d;
  border-radius: 16px 4px 16px 4px;
  padding: 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.style-card[data-style="zen-wabi-sabi"] .preview-headline {
  color: #dfd7ca;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.style-card[data-style="zen-wabi-sabi"] .preview-body {
  color: #b4ac9e;
  line-height: 1.6;
  margin-bottom: 14px;
}

.style-card[data-style="zen-wabi-sabi"] .preview-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.style-card[data-style="zen-wabi-sabi"] .btn-primary {
  background: #5a6652;
  color: #f4f0ea;
  border: none;
  border-radius: 12px 3px 12px 3px;
  padding: 6px 14px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.style-card[data-style="zen-wabi-sabi"] .btn-primary:hover {
  background: #6a7861;
}

.style-card[data-style="zen-wabi-sabi"] .btn-primary:active {
  background: #475240;
}

.style-card[data-style="zen-wabi-sabi"] .btn-secondary {
  background: transparent;
  color: #c0b7a8;
  border: 1px solid #444c3e;
  border-radius: 3px 12px 3px 12px;
  padding: 5px 12px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.style-card[data-style="zen-wabi-sabi"] .btn-secondary:hover {
  border-color: #786c5f;
  color: #dfd7ca;
}

.style-card[data-style="zen-wabi-sabi"] .preview-addon {
  display: inline-flex;
  gap: 6px;
  color: #9bb08f;
}


/* --------------------------------------------------------------------------
   9. Scandinavian / Nordic UI
   -------------------------------------------------------------------------- */
.style-card[data-style="scandinavian-nordic"] {
  --nordic-bg: #161c24;
  --nordic-text: #e2e8f0;
  --nordic-ice: #38bdf8;
  --nordic-border: #243040;
}

.style-card[data-style="scandinavian-nordic"] .card-preview {
  background: #161c24;
  color: #e2e8f0;
  border: 1px solid #243040;
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.style-card[data-style="scandinavian-nordic"] .preview-headline {
  color: #e2e8f0;
  margin-bottom: 6px;
}

.style-card[data-style="scandinavian-nordic"] .preview-body {
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 14px;
}

.style-card[data-style="scandinavian-nordic"] .preview-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.style-card[data-style="scandinavian-nordic"] .btn-primary {
  background: #38bdf8;
  color: #0c1824;
  border: none;
  border-radius: 20px;
  padding: 6px 16px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.style-card[data-style="scandinavian-nordic"] .btn-primary:hover {
  background: #7dd3fc;
}

.style-card[data-style="scandinavian-nordic"] .btn-primary:active {
  background: #0284c7;
  color: #ffffff;
}

.style-card[data-style="scandinavian-nordic"] .btn-secondary {
  background: rgba(56, 189, 248, 0.08);
  color: #bae6fd;
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 20px;
  padding: 6px 14px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.style-card[data-style="scandinavian-nordic"] .btn-secondary:hover {
  background: rgba(56, 189, 248, 0.16);
  border-color: rgba(56, 189, 248, 0.4);
}

.style-card[data-style="scandinavian-nordic"] .preview-addon {
  display: inline-block;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 12px;
  padding: 3px 10px;
  color: #38bdf8;
}
