/* ==============================================================================
   Free Worksheets Hub - Core Design System & Global Styles
   ============================================================================== */

:root {
  /* Brand Theme Colors */
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  
  --secondary: #7c3aed;
  --accent: #f59e0b;
  --success: #10b981;
  --danger: #ef4444;
  
  /* Backgrounds & Canvas */
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-muted: #f1f5f9;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  
  /* Typography & Text */
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.10);
  --shadow-xl: 0 20px 48px rgba(15, 23, 42, 0.14);
}

[data-theme="dark"] {
  --bg-page: #0b1120;
  --bg-card: #131c31;
  --bg-muted: #1c2742;
  --border: #24304f;
  --border-light: #1b243b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  --primary-light: #1e293b;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-page);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-page);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  vertical-align: middle;
}

button, input, select, textarea {
  font: inherit;
}

/* ==============================================================================
   Typography & Base Headings
   ============================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  color: var(--text-main);
  line-height: 1.25;
  font-weight: 800;
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); letter-spacing: -0.02em; }

p {
  color: var(--text-muted);
}

.container {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==============================================================================
   Header & Navigation
   ============================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all 0.2s ease;
}

[data-theme="dark"] .site-header {
  background: rgba(19, 28, 49, 0.94);
}

/* Non-sticky rule for dedicated worksheet page to save vertical space! */
body.worksheet-view .site-header {
  position: relative !important;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-gradient);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.28);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-item a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--text-muted);
  transition: all 0.18s ease;
}

.nav-item a:hover, .nav-item a.active {
  color: var(--primary);
  background: var(--primary-light);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==============================================================================
   Mobile Navigation Drawer (Direct <body> children)
   ============================================================================== */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.mobile-nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
  z-index: 1999;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-drawer.open {
  transform: translateX(-320px);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-weight: 700;
  color: var(--text-main);
  background: var(--bg-muted);
  font-size: 1rem;
}

.mobile-toggle-btn {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .mobile-toggle-btn { display: inline-flex; }
}

/* ==============================================================================
   Buttons & Micro-interactions
   ============================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 750;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  text-decoration: none;
  line-height: 1.2;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.3);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--primary-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.38);
}

.btn-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.btn-secondary {
  background: var(--bg-muted);
  border-color: var(--border);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 14px 26px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

/* ==============================================================================
   Hero Section
   ============================================================================== */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 56px 0 44px;
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 45%),
              radial-gradient(circle at top right, rgba(124, 58, 237, 0.08), transparent 40%),
              var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.hero-content {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--primary-light);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 750;
  margin-bottom: 18px;
}

.hero-title {
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero-search-bar {
  display: flex;
  max-width: 640px;
  margin: 0 auto 24px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 6px 8px 6px 18px;
  box-shadow: var(--shadow-lg);
  transition: all 0.2s ease;
}

.hero-search-bar:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15), var(--shadow-lg);
}

.hero-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 1.05rem;
  color: var(--text-main);
}

.hero-quick-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.pill-chip {
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-muted);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.15s ease;
}

.pill-chip:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: rgba(37, 99, 235, 0.3);
}

/* ==============================================================================
   Categories Grid & Showcase Cards
   ============================================================================== */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.section-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.section-title h2 {
  font-size: 1.8rem;
}

.section-title p {
  font-size: 0.95rem;
}

.categories-shelf {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 48px;
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--cat-accent, var(--primary));
  opacity: 0.85;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.25);
}

.cat-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cat-card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--cat-bg, var(--primary-light));
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.cat-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
}

.cat-card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 700;
}

.cat-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
}

/* ==============================================================================
   Enlarged Realistic Worksheet Cards Grid
   ============================================================================== */
.worksheets-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 36px;
}

@media (max-width: 980px) {
  .worksheets-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}

@media (max-width: 620px) {
  .worksheets-grid { grid-template-columns: 1fr; }
}

.ws-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.ws-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(37, 99, 235, 0.35);
}

.ws-card-preview {
  height: 224px;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 16px;
}

[data-theme="dark"] .ws-card-preview {
  background: linear-gradient(135deg, #1b243b 0%, #111827 100%);
}

/* Realistic Mini Worksheet Paper Preview */
.ws-mini-paper {
  width: 100%;
  max-width: 320px;
  height: 194px;
  background: #ffffff;
  color: #111827;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  font-family: 'Inter', -apple-system, sans-serif;
}

.ws-card:hover .ws-mini-paper {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.18);
}

.mini-paper-header {
  border-bottom: 1.5px solid #1e293b;
  padding-bottom: 5px;
  margin-bottom: 8px;
}

.mini-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.62rem;
  color: #64748b;
  font-weight: 700;
  margin-bottom: 2px;
}

.mini-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mini-title {
  font-size: 0.74rem;
  font-weight: 850;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 210px;
}

.mini-grade-chip {
  font-size: 0.58rem;
  font-weight: 800;
  background: #0f172a;
  color: #fff;
  padding: 1px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.mini-paper-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Problem Grids inside Mini Worksheet */
.mini-problems-grid {
  display: grid;
  gap: 6px 12px;
}

.mini-problems-grid.cols-2 {
  grid-template-columns: 1fr 1fr;
}

.mini-problems-grid.cols-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.mini-prob {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  font-weight: 750;
  color: #1e293b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  padding: 4px 8px;
}

.mini-box {
  display: inline-block;
  width: 28px;
  height: 18px;
  border: 1px dashed #94a3b8;
  border-radius: 3px;
  background: #ffffff;
  text-align: center;
  font-size: 0.68rem;
  line-height: 18px;
  color: #2563eb;
  font-weight: 800;
}

.mini-box-sm {
  width: 100%;
  height: 14px;
  border: 1px dashed #94a3b8;
  border-radius: 3px;
  background: #ffffff;
  margin-top: 2px;
}

.mini-v-prob {
  font-family: 'Courier New', monospace;
  font-size: 0.82rem;
  font-weight: 800;
  text-align: right;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  padding: 4px 8px;
  line-height: 1.15;
}

.mini-v-prob .carried-box {
  font-size: 0.65rem;
  color: #2563eb;
  border: 1px dashed #93c5fd;
  width: 14px;
  margin-left: auto;
  text-align: center;
  border-radius: 2px;
}

.mini-v-prob .v-line {
  border-bottom: 1.5px solid #111827;
  padding-bottom: 2px;
}

.mini-frac-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  padding: 4px 8px;
}

.mini-lines-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.72rem;
  color: #1e293b;
}

.mini-line-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 3px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

.mini-blank {
  color: #2563eb;
  font-weight: 800;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 0.68rem;
}

.mini-cycle-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 800;
}

.mini-tag {
  background: #dcfce7;
  color: #166534;
  padding: 2px 6px;
  border-radius: 4px;
}

.mini-columns-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  text-align: center;
  font-size: 0.68rem;
}

.mini-col {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 3px;
}

.mini-col .col-head {
  display: block;
  font-weight: 800;
  color: #2563eb;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 2px;
}

.mini-item {
  font-size: 0.64rem;
  color: #334155;
  font-weight: 600;
}

.mini-passage-box {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 0.66rem;
  line-height: 1.35;
  color: #334155;
  max-height: 48px;
  overflow: hidden;
}

.mini-emotions-row {
  display: flex;
  justify-content: space-around;
  font-size: 0.72rem;
  font-weight: 700;
}

.mini-emoji {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 2px 6px;
}

.ws-card-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-grade {
  background: #1e293b;
  color: #fff;
}

.badge-diff-easy { background: #dcfce7; color: #15803d; }
.badge-diff-medium { background: #fef3c7; color: #b45309; }
.badge-diff-hard { background: #fee2e2; color: #b91c1c; }

.ws-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.ws-card-category {
  font-size: 0.76rem;
  font-weight: 750;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ws-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
}

.ws-card-summary {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
  flex: 1;
}

.ws-card-footer {
  padding: 12px 16px;
  background: var(--bg-muted);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ws-card-meta {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 650;
}

/* ==============================================================================
   Pagination Controls
   ============================================================================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 36px 0;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  font-weight: 750;
  font-size: 0.9rem;
  color: var(--text-main);
  transition: all 0.15s ease;
}

.page-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: rgba(37, 99, 235, 0.3);
}

.page-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ==============================================================================
   AdSense Placement Containers
   ============================================================================== */
.ad-container {
  margin: 28px auto;
  text-align: center;
  max-width: 100%;
}

.ad-placeholder {
  background: var(--bg-muted);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  color: var(--text-light);
}

.ad-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.ad-box {
  min-height: 90px;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ==============================================================================
   Footer & Network Backlinks
   ============================================================================== */
.site-footer {
  margin-top: auto;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-col h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-main);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.84rem;
  color: var(--text-light);
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.breadcrumbs span.sep {
  color: var(--text-light);
}

/* Toast notifications */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  font-size: 0.9rem;
  font-weight: 700;
  z-index: 2500;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.22s ease;
  pointer-events: none;
}

.toast-notice.show {
  opacity: 1;
  transform: translateY(0);
}

