/**
 * Beatsy Solutions — Central Design System (Beatsy UI)
 * ==========================================================================
 * ONE BRAND · ONE DESIGN SYSTEM · ONE SHARED CSS ARCHITECTURE
 * 
 * Centralizes all recurring components, utilities, buttons, cards, badges,
 * breadcrumbs, heroes, step wizards, and mobile-responsive styles across Beatsy.
 * ==========================================================================
 */

/* ── 1. BRAND TOKENS & UTILITY VARIABLES ────────────────────────────────── */
:root {
  --beatsy-blue: #2C58BC;
  --beatsy-blue-dark: #041527;
  --beatsy-blue-subtle: #EEF2FF;
  --beatsy-orange: #FF6D3B;
  --beatsy-orange-dark: #E55A2B;
  --beatsy-orange-subtle: rgba(255, 109, 59, 0.1);
  --beatsy-slate-dark: #041329;
  --beatsy-slate-surface: #0b1e36;
  --beatsy-card-bg: #ffffff;
  --beatsy-card-border: rgba(44, 88, 188, 0.1);
  --beatsy-border-subtle: #e2e8f0;
  --beatsy-text-dark: #0f172a;
  --beatsy-text-muted: #64748b;
  --beatsy-radius-sm: 8px;
  --beatsy-radius-md: 12px;
  --beatsy-radius-lg: 16px;
  --beatsy-radius-pill: 50px;
}

/* ── 2. TYPOGRAPHY SCALE & FONT UTILITIES ───────────────────────────────── */
.font-heading {
  font-family: 'Ubuntu', 'Poppins', sans-serif !important;
}
.font-primary {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}
.font-mono {
  font-family: 'Fira Code', 'JetBrains Mono', Menlo, Consolas, monospace !important;
}

/* Font Size Tokens (Replaces scattered inline font-size: ...px) */
.fs-xxs { font-size: 0.65rem !important; }  /* ~10px */
.fs-xs  { font-size: 0.72rem !important; }  /* ~11.5px */
.fs-sm  { font-size: 0.82rem !important; }  /* ~13px */
.fs-md  { font-size: 0.95rem !important; }  /* ~15px */
.fs-base{ font-size: 1rem !important; }     /* 16px */
.fs-lg  { font-size: 1.15rem !important; }  /* ~18px */
.fs-xl  { font-size: 1.35rem !important; }  /* ~21px */
.fs-2xl { font-size: 1.65rem !important; }  /* ~26px */
.fs-3xl { font-size: 2.25rem !important; }  /* ~36px */

.extra-small {
  font-size: 0.75rem !important;
}

/* Fluid Responsive Typography */
.text-fluid-hero {
  font-size: clamp(1.85rem, 3.4vw, 2.85rem) !important;
  line-height: 1.16 !important;
  letter-spacing: -0.6px !important;
}
.text-fluid-h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.2rem) !important;
  line-height: 1.25 !important;
  letter-spacing: -0.4px !important;
}
.text-fluid-h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem) !important;
  line-height: 1.3 !important;
}

/* Letter Spacing & Line Height Utilities */
.tracking-tight { letter-spacing: -0.5px !important; }
.tracking-normal { letter-spacing: 0 !important; }
.tracking-wide  { letter-spacing: 0.8px !important; }
.tracking-wider { letter-spacing: 1.2px !important; }

.leading-tight { line-height: 1.2 !important; }
.leading-snug  { line-height: 1.35 !important; }
.leading-relaxed { line-height: 1.6 !important; }
.leading-loose { line-height: 1.75 !important; }

/* Text Color Brand Tokens */
.text-beatsy-blue { color: var(--beatsy-blue) !important; }
.text-beatsy-orange { color: var(--beatsy-orange) !important; }
.text-beatsy-dark { color: var(--beatsy-blue-dark) !important; }
.text-white-75 { color: rgba(255, 255, 255, 0.75) !important; }
.text-white-85 { color: rgba(255, 255, 255, 0.85) !important; }

/* ── 3. BRAND BACKGROUNDS, GRADIENTS & BLURS ────────────────────────────── */
.bg-beatsy-dark {
  background-color: var(--beatsy-blue-dark) !important;
  color: #ffffff;
}
.bg-beatsy-slate {
  background-color: var(--beatsy-slate-dark) !important;
  color: #ffffff;
}
.bg-beatsy-gray {
  background-color: #f4f6fb !important;
}
.bg-beatsy-gradient {
  background: linear-gradient(135deg, #041527 0%, #0d274c 50%, #17365d 100%) !important;
  color: #ffffff;
}
.bg-beatsy-gradient-alt {
  background: linear-gradient(135deg, #041329 0%, #08284d 50%, #0d3866 100%) !important;
  color: #ffffff;
}
.bg-beatsy-soft-blue {
  background-color: rgba(44, 88, 188, 0.08) !important;
}
.bg-beatsy-soft-orange {
  background-color: rgba(255, 109, 59, 0.1) !important;
}
.beatsy-backdrop-blur {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

/* ── 4. REUSABLE HOVER & INTERACTION TOKENS ──────────────────────────────── */
.hover-lift {
  transition: transform 0.22s ease, box-shadow 0.22s ease !important;
}
.hover-lift:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 25px rgba(4, 21, 39, 0.09) !important;
}
.hover-up {
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.hover-up:hover {
  transform: translateY(-3px) !important;
}
.hover-scale {
  transition: transform 0.2s ease !important;
}
.hover-scale:hover {
  transform: scale(1.03) !important;
}
.hover-shadow {
  transition: box-shadow 0.2s ease, transform 0.2s ease !important;
}
.hover-shadow:hover {
  box-shadow: 0 10px 28px rgba(44, 88, 188, 0.12) !important;
  transform: translateY(-2px);
}
.cursor-pointer { cursor: pointer !important; }
.transition-all { transition: all 0.2s ease-in-out !important; }

/* ── 5. LINE CLAMP HELPERS ──────────────────────────────────────────────── */
.line-clamp-1 {
  display: -webkit-box !important;
  -webkit-line-clamp: 1 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}
.line-clamp-2 {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}
.line-clamp-3 {
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* ── 6. ICON BOXES & AVATARS ────────────────────────────────────────────── */
.icon-box-32, .icon-box-xs {
  width: 32px !important;
  height: 32px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px;
  flex-shrink: 0;
}
.icon-box-36, .icon-box-sm {
  width: 36px !important;
  height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 10px;
  flex-shrink: 0;
}
.icon-box-40 {
  width: 40px !important;
  height: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 10px;
  flex-shrink: 0;
}
.icon-box-44 {
  width: 44px !important;
  height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 12px;
  flex-shrink: 0;
}
.icon-box-48, .icon-box-md {
  width: 48px !important;
  height: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 12px;
  flex-shrink: 0;
}
.icon-box-52 {
  width: 52px !important;
  height: 52px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 14px;
  flex-shrink: 0;
}
.icon-box-64, .icon-box-lg {
  width: 64px !important;
  height: 64px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 16px;
  flex-shrink: 0;
}

/* ── 7. SECTION HEADINGS & EYEBROWS ─────────────────────────────────────── */
.section-eyebrow-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  padding: 0.35rem 0.9rem !important;
  border-radius: 50px !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.1px !important;
  color: var(--beatsy-orange) !important;
  background-color: rgba(255, 109, 59, 0.1) !important;
  border: 1px solid rgba(255, 109, 59, 0.25) !important;
  margin-bottom: 0.65rem !important;
  line-height: 1 !important;
}

.section-eyebrow-badge.badge-blue {
  color: var(--beatsy-blue) !important;
  background-color: rgba(44, 88, 188, 0.08) !important;
  border-color: rgba(44, 88, 188, 0.22) !important;
}

.section-heading-title {
  font-family: 'Ubuntu', 'Poppins', sans-serif !important;
  font-size: clamp(1.55rem, 2.6vw, 2.2rem) !important;
  line-height: 1.22 !important;
  letter-spacing: -0.4px !important;
  color: var(--beatsy-blue-dark) !important;
  font-weight: 800 !important;
  margin-bottom: 0.6rem !important;
}

.section-heading-subtitle {
  font-size: 0.95rem !important;
  line-height: 1.65 !important;
  color: var(--beatsy-text-muted) !important;
  max-width: 680px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 0 !important;
}

/* ── 8. HERO & PAGE HEADER STANDARDIZATION ──────────────────────────────── */
.beatsy-hero-title {
  font-family: 'Ubuntu', 'Poppins', sans-serif !important;
  font-size: clamp(1.85rem, 3.2vw, 2.75rem) !important;
  line-height: 1.18 !important;
  letter-spacing: -0.6px !important;
  color: #0f172a !important;
  font-weight: 800 !important;
}

.beatsy-hero-tagline {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem) !important;
  letter-spacing: -0.2px !important;
  font-weight: 700 !important;
  color: #FFC107 !important;
  margin-bottom: 0.8rem !important;
}

.beatsy-hero-lead {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem) !important;
  line-height: 1.65 !important;
  max-width: 640px !important;
  color: #0f172a !important;
}

.beatsy-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.35rem 0.85rem !important;
  border-radius: 50px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
  font-size: 0.8rem !important;
}

.beatsy-breadcrumb-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  padding: 0.28rem 0.85rem !important;
  border-radius: 50px !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  font-size: 0.75rem !important;
  color: rgba(255, 255, 255, 0.85) !important;
}

.beatsy-glass-card {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 1rem !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

.beatsy-glass-item {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 0.65rem !important;
  padding: 0.65rem 0.85rem !important;
}

/* ── 9. BUTTONS & CTAS ──────────────────────────────────────────────────── */
.btn-beatsy-orange {
  background-color: var(--beatsy-orange) !important;
  border-color: var(--beatsy-orange) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  transition: all 0.2s ease !important;
}
.btn-beatsy-orange:hover, .btn-beatsy-orange:focus {
  background-color: var(--beatsy-orange-dark) !important;
  border-color: var(--beatsy-orange-dark) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 109, 59, 0.35) !important;
}

.btn-beatsy-blue {
  background-color: var(--beatsy-blue) !important;
  border-color: var(--beatsy-blue) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  transition: all 0.2s ease !important;
}
.btn-beatsy-blue:hover, .btn-beatsy-blue:focus {
  background-color: #1a429a !important;
  border-color: #1a429a !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(44, 88, 188, 0.35) !important;
}

.megamenu-see-all-btn {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  margin-top: 0.5rem !important;
  padding: 0.4rem 0.65rem !important;
  border-radius: 6px !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  color: var(--beatsy-blue) !important;
  background-color: rgba(44, 88, 188, 0.06) !important;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease !important;
}
.megamenu-see-all-btn:hover {
  background-color: rgba(44, 88, 188, 0.12) !important;
  color: var(--beatsy-blue-dark) !important;
}

/* ── 10. STEP NAVIGATION & WIZARD TABS ──────────────────────────────────── */
.step-nav .step-btn,
.beatsy-step-btn {
  border: none;
  background: transparent;
  padding: 10px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 12px;
  transition: all 0.2s ease;
  text-decoration: none;
  color: #64748b;
}
.step-nav .step-btn.active,
.beatsy-step-btn.active {
  background: #eef2ff;
  color: #2C58BC;
  font-weight: 700;
}
.step-nav .step-btn.completed,
.beatsy-step-btn.completed {
  color: #10b981;
}
.step-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.step-btn.active .step-icon-wrap,
.beatsy-step-btn.active .step-icon-wrap {
  background: #2C58BC;
  color: #ffffff;
}
.step-btn.completed .step-icon-wrap,
.beatsy-step-btn.completed .step-icon-wrap {
  background: #10b981;
  color: #ffffff;
}
.step-btn .step-check { display: none; }
.step-btn.completed .step-check { display: inline-block; }
.step-btn.completed .step-num { display: none; }
.step-title {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
}
.step-subtitle {
  display: block;
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 500;
}
.step-btn.active .step-subtitle {
  color: #6366f1;
}

/* Category pill buttons */
.cat-pill-btn {
  transition: all 0.2s ease;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #334155;
  font-size: 0.82rem;
  padding: 6px 16px;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
}
.cat-pill-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.cat-pill-btn.active {
  background: #2C58BC;
  color: #ffffff;
  border-color: #2C58BC;
  box-shadow: 0 2px 8px rgba(44, 88, 188, 0.25);
}

/* ── 11. BLOG & ARTICLE SHARED ARCHITECTURE ─────────────────────────────── */
.blog-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  border-radius: 12px;
  overflow: hidden;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(11, 30, 54, 0.08) !important;
}
.blog-img-wrap {
  overflow: hidden;
  position: relative;
}
.blog-img-wrap img {
  transition: transform 0.35s ease;
}
.blog-card:hover .blog-img-wrap img {
  transform: scale(1.04);
}
.hover-slide i {
  transition: transform 0.2s ease;
}
.hover-slide:hover i {
  transform: translateX(3px);
}

/* Article Body Typography */
.blog-body-text {
  font-size: 1.08rem;
  line-height: 1.85;
  color: #2d3748;
}
.blog-body-text h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: #0b1e36;
  margin-top: 2.2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #eef2f6;
}
.blog-body-text h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0b1e36;
  margin-top: 1.8rem;
  margin-bottom: 0.8rem;
}
.blog-body-text h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a365d;
  margin-top: 1.4rem;
  margin-bottom: 0.6rem;
}
.blog-body-text p {
  margin-bottom: 1.4rem;
}
.blog-body-text ul, .blog-body-text ol {
  margin-bottom: 1.4rem;
  padding-left: 1.5rem;
}
.blog-body-text li {
  margin-bottom: 0.45rem;
}
.blog-body-text blockquote {
  border-left: 4px solid var(--beatsy-blue);
  background: #f8fafc;
  padding: 1.2rem 1.5rem;
  margin: 1.6rem 0;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: #475569;
}
.blog-body-text table {
  width: 100%;
  margin-bottom: 1.6rem;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.blog-body-text table th {
  background: #0b1e36;
  color: #ffffff;
  padding: 0.75rem 1rem;
  text-align: left;
}
.blog-body-text table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e2e8f0;
}
.blog-body-text table tr:nth-child(even) {
  background: #f8fafc;
}

/* Category Sidebar Widget */
.cat-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: #334155;
  font-size: 0.83rem;
  font-weight: 500;
  transition: all 0.18s ease;
  gap: 8px;
}
.cat-item:hover {
  background-color: #f1f5f9;
  color: var(--beatsy-blue);
}
.cat-item.active {
  background-color: var(--beatsy-blue);
  color: #ffffff !important;
  font-weight: 600;
}
.cat-item-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.cat-icon {
  font-size: 0.75rem;
  color: #64748b;
  flex-shrink: 0;
  transition: color 0.18s ease;
}
.cat-item:hover .cat-icon { color: var(--beatsy-blue); }
.cat-item.active .cat-icon { color: #ffffff; }
.cat-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cat-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 7px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  background-color: #e2e8f0;
  color: #334155;
  flex-shrink: 0;
  border: 1px solid #cbd5e1;
  transition: all 0.18s ease;
}
.cat-item:hover .cat-count-badge {
  background-color: #e0e7ff;
  color: var(--beatsy-blue);
  border-color: #c7d2fe;
}
.cat-item.active .cat-count-badge {
  background-color: #ffffff;
  color: var(--beatsy-blue);
  border-color: #ffffff;
}

/* Latest Blog / Article List */
.latest-blogs-list {
  display: flex;
  flex-direction: column;
}
.latest-blog-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}
.latest-blog-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.latest-blog-thumb {
  flex-shrink: 0;
  width: 64px;
  min-width: 64px;
  height: 58px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: block;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.latest-blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.latest-blog-item:hover .latest-blog-thumb img {
  transform: scale(1.06);
}
.latest-blog-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0b1e36 0%, #1e3a5f 100%);
  color: #ffb703;
  font-size: 1.1rem;
}
.latest-blog-content {
  flex-grow: 1;
  min-width: 0;
  padding-top: 1px;
}
.latest-blog-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.83rem;
  font-weight: 600;
  line-height: 1.35;
  color: #1e293b;
  text-decoration: none;
  margin-bottom: 5px;
  transition: color 0.15s ease;
}
.latest-blog-title:hover {
  color: var(--beatsy-blue);
}
.latest-blog-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: #64748b;
  flex-wrap: wrap;
}

/* ── 12. SHOPPING, CART & PAYMENT COMPONENTS ────────────────────────────── */
.shop-search-wrapper {
  background: #fff;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: var(--header-height);
  z-index: var(--z-index-sticky);
}
.search-input-group {
  background: #f1f1f1;
  border-radius: 8px;
  overflow: visible;
  border: 1px solid #ddd;
  position: relative;
}
.search-input-group input {
  background: transparent;
  border: none;
  padding: 10px 15px;
}
.search-input-group .btn {
  background: var(--beatsy-orange);
  color: #fff;
  border: none;
  padding: 10px 25px;
  font-weight: 700;
  border-radius: 0 8px 8px 0;
}
.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  z-index: 2000;
  display: none;
  overflow: hidden;
  margin-top: 1px;
  border: 1px solid #eee;
}
.suggestion-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 20px;
  text-decoration: none;
  color: #333;
  transition: background 0.2s;
  border-bottom: 1px solid #f8f8f8;
}
.suggestion-item:last-child { border-bottom: none; }
.suggestion-item:hover { background: #f9f9f9; }
.suggestion-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background: #fff;
  border-radius: 4px;
  padding: 2px;
  border: 1px solid #eee;
}
.suggestion-info { flex: 1; }
.suggestion-name { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.suggestion-meta { font-size: 11px; color: #888; }
.suggestion-price { font-size: 13px; font-weight: 700; color: var(--beatsy-orange); }

.beatsy-product-card,
.jumia-card {
  transition: all 0.3s ease;
  border-radius: 12px;
  padding: 15px;
  position: relative;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.beatsy-product-card:hover,
.jumia-card:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  border-color: #cbd5e1;
  transform: translateY(-3px);
}
.beatsy-product-card .img-wrapper,
.jumia-card .img-wrapper {
  aspect-ratio: 1/1;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
  background: #fafafa;
}
.beatsy-product-card .img-wrapper img,
.jumia-card .img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Payment tabs and M-Pesa ring */
.pay-tab-btn {
  background: #fff;
  color: #666;
  transition: all .2s ease;
  border-bottom: 3px solid transparent !important;
  font-size: .95rem;
}
.pay-tab-btn.active {
  color: #16a34a;
  background: #f0fdf4;
  border-bottom-color: #16a34a !important;
}
.pay-tab-btn:hover:not(.active) {
  background: #f8fafc;
  color: #333;
}
.mpesa-pulse-ring {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg,#e8f5e9,#f0fdf4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-ring 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(22,163,74,.4);
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(22,163,74,.35); }
  50% { box-shadow: 0 0 0 18px rgba(22,163,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); }
}
.timer-badge {
  display: inline-block;
  background: rgba(234,179,8,.12);
  border: 1px solid rgba(234,179,8,.35);
  color: #92400e;
  border-radius: 99px;
  padding: 6px 20px;
  font-size: .88rem;
}

/* Domain tabs and TLD cards */
.domain-tab-item { transition: border-color .2s, background .2s; }
.domain-tab-item:hover { border-color: var(--beatsy-blue) !important; }
.domain-tab-item.active-tab { border-color: var(--beatsy-blue) !important; background: #f0f4ff; }
.domain-tab-item.active-tab label { color: var(--beatsy-blue); }
.alt-domain-pill { transition: all .2s ease-in-out; border: 1.5px solid var(--beatsy-blue) !important; background: #ffffff !important; }
.alt-domain-pill:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(44,88,188,0.18) !important; background: #f0f4ff !important; }

.tld-pricing-card {
  border: 1px solid rgba(44, 88, 188, 0.12) !important;
  border-radius: 18px !important;
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.tld-pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 38px -10px rgba(44, 88, 188, 0.18), 0 0 0 1.5px rgba(44, 88, 188, 0.35) !important;
  border-color: rgba(44, 88, 188, 0.45) !important;
}
.tld-pricing-card .tld-icon-box {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.tld-pricing-card:hover .tld-icon-box {
  transform: scale(1.1) rotate(4deg);
  box-shadow: 0 8px 20px rgba(44, 88, 188, 0.38) !important;
}

/* Spinner Animations */
.spin, .drspin {
  display: inline-block;
  animation: beatsySpin .7s linear infinite;
  vertical-align: middle;
}
@keyframes beatsySpin { to { transform: rotate(360deg); } }

/* ── 13. ACCORDIONS & FAQS ──────────────────────────────────────────────── */
.beatsy-accordion-clean .accordion-button:not(.collapsed) {
  color: var(--bs-primary) !important;
  background-color: rgba(44, 88, 188, 0.04) !important;
  box-shadow: none;
}
.beatsy-accordion-clean .accordion-button:focus {
  box-shadow: none;
}
.beatsy-accordion-clean .accordion-item {
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  border-radius: 12px !important;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

/* ── 14. INVOICES, CERTIFICATES & PRINT ARCHITECTURE ────────────────────── */
@media print {
  .no-print, header, footer, nav, .portal-header, .beatsy-promo-bar, .beatsy-topbar, .floating-ai-btn {
    display: none !important;
  }
  body, html {
    background: #fff !important;
    color: #000 !important;
    padding: 0 !important;
  }
  .cert-outer-wrapper {
    max-width: 100% !important;
    margin: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 10px !important;
  }
  @page { margin: 0.8cm; }
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
}

.cert-outer-wrapper {
  max-width: 960px;
  margin: 0 auto;
  background: linear-gradient(135deg, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
  padding: 18px;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  position: relative;
}
.cert-inner-body {
  background: #ffffff;
  border: 2px solid #b38728;
  padding: 55px 50px;
  text-align: center;
  position: relative;
  border-radius: 8px;
  background-image: radial-gradient(#f8fafc 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}
.cert-inner-body::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  bottom: 12px;
  border: 1.5px solid #d4af37;
  pointer-events: none;
  border-radius: 4px;
}

/* ── 15. MOBILE-FIRST RESPONSIVE UTILITIES ──────────────────────────────── */
@media (max-width: 768px) {
  .px-mobile-sm { padding-left: 1rem !important; padding-right: 1rem !important; }
  .py-mobile-md { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
  .w-mobile-100 { width: 100% !important; }
  .text-mobile-center { text-align: center !important; }
  .justify-mobile-center { justify-content: center !important; }
  
  /* Prevent horizontal overflow on mobile without breaking position: sticky */
  body, html {
    overflow-x: clip !important;
    max-width: 100vw !important;
  }
  .main-wrapper {
    overflow-x: clip;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   ── 16. BLOG & ARTICLE CARDS (shared by blog/ and article/ views)
   ══════════════════════════════════════════════════════════════════════════ */
.blog-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(11, 30, 54, 0.08) !important;
}
.blog-img-wrap img { transition: transform 0.35s ease; }
.blog-card:hover .blog-img-wrap img,
.blog-img-wrap:hover img { transform: scale(1.04); }
.hover-lift {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(4, 21, 39, 0.08) !important;
}
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hover-slide i { transition: transform 0.2s ease; }
.hover-slide:hover i { transform: translateX(3px); }
.hover-danger:hover { color: #dc3545 !important; }
.shadow-2xs { box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.shadow-xs  { box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.extra-small { font-size: 0.76rem; }
.fs-xs       { font-size: 0.72rem; }

/* ── Sidebar: Category List (article & blog sidebars) ── */
.cat-list { display: flex; flex-direction: column; gap: 3px; }
.cat-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 10px; border-radius: 8px; text-decoration: none;
  color: #334155; font-size: 0.83rem; font-weight: 500; transition: all 0.18s ease; gap: 8px;
}
.cat-item:hover { background-color: #f1f5f9; color: #0d6efd; }
.cat-item.active { background-color: #0d6efd; color: #ffffff !important; font-weight: 600; }
.cat-item-left { display: flex; align-items: center; gap: 8px; min-width: 0; }
.cat-icon { font-size: 0.75rem; color: #64748b; flex-shrink: 0; transition: color 0.18s ease; }
.cat-item:hover .cat-icon { color: #0d6efd; }
.cat-item.active .cat-icon { color: #ffffff; }
.cat-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat-count-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 20px; padding: 0 7px; font-size: 0.72rem; font-weight: 700;
  border-radius: 999px; background-color: #e2e8f0; color: #334155;
  flex-shrink: 0; border: 1px solid #cbd5e1; transition: all 0.18s ease;
}
.cat-item:hover .cat-count-badge { background-color: #e0e7ff; color: #0d6efd; border-color: #c7d2fe; }
.cat-item.active .cat-count-badge { background-color: #ffffff; color: #0d6efd; border-color: #ffffff; }

/* ── Sidebar: Latest Articles/Blogs Widget ── */
.latest-blogs-list { display: flex; flex-direction: column; }
.latest-blog-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid #f1f5f9;
}
.latest-blog-item:last-child { border-bottom: none; padding-bottom: 0; }
.latest-blog-thumb {
  flex-shrink: 0; width: 64px; min-width: 64px; height: 58px;
  border-radius: 8px; overflow: hidden; position: relative;
  background: #f8fafc; border: 1px solid #e2e8f0; display: block;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.latest-blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.latest-blog-item:hover .latest-blog-thumb img,
.latest-blog-thumb:hover img { transform: scale(1.06); }
.latest-blog-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0b1e36 0%, #1e3a5f 100%); color: #ffb703; font-size: 1.1rem;
}
.latest-blog-content { flex-grow: 1; min-width: 0; padding-top: 1px; }
.latest-blog-title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 0.83rem; font-weight: 600; line-height: 1.35; color: #1e293b;
  text-decoration: none; margin-bottom: 5px; transition: color 0.15s ease;
}
.latest-blog-title:hover { color: #0d6efd; }
.latest-blog-meta { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; color: #64748b; flex-wrap: wrap; }
.latest-blog-meta i { font-size: 0.65rem; margin-right: 1px; }

/* ── Single Article / Blog Post Typography ── */
.blog-body-text {
  font-size: 1.08rem;
  line-height: 1.85;
  color: #2d3748;
}
.blog-body-text h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: #0b1e36;
  margin-top: 2.2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #eef2f6;
}
.blog-body-text h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0b1e36;
  margin-top: 1.8rem;
  margin-bottom: 0.8rem;
}
.blog-body-text h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a365d;
  margin-top: 1.4rem;
  margin-bottom: 0.6rem;
}
.blog-body-text p {
  margin-bottom: 1.4rem;
}
.blog-body-text ul, .blog-body-text ol {
  margin-bottom: 1.4rem;
  padding-left: 1.5rem;
}
.blog-body-text li {
  margin-bottom: 0.45rem;
}
.blog-body-text blockquote {
  border-left: 4px solid #0d6efd;
  background: #f8fafc;
  padding: 1.2rem 1.5rem;
  margin: 1.6rem 0;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: #475569;
}
.blog-body-text table {
  width: 100%;
  margin-bottom: 1.6rem;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.blog-body-text table th {
  background: #0b1e36;
  color: #ffffff;
  padding: 0.75rem 1rem;
  text-align: left;
}
.blog-body-text table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e2e8f0;
}
.blog-body-text table tr:nth-child(even) {
  background: #f8fafc;
}
.hover-underline:hover {
  text-decoration: underline !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   ── 17. PORTAL LAYOUT — IN-CONTENT SIDEBAR & NAV
   ══════════════════════════════════════════════════════════════════════════ */
.portal-main-wrapper { min-height: calc(100vh - 440px); background: var(--bs-body-bg); isolation: auto !important; }
.portal-incontent-sidebar {
  background: var(--bs-card-bg);
  border: 1px solid var(--bs-border-color-translucent) !important;
  transition: all 0.2s ease-in-out;
  height: auto !important; max-height: none !important; overflow: visible !important;
}
.user-avatar-circle {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, #2C58BC, #6366f1);
  color: #fff; font-weight: 700; font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.portal-sidebar-nav { display: flex; flex-direction: column; gap: 2px; }
.portal-nav-item,
.portal-nav-toggle {
  display: flex; align-items: center; gap: 0.65rem; width: 100%;
  padding: 0.55rem 0.75rem; font-size: 0.84rem; font-weight: 600;
  color: var(--bs-body-color); background: transparent; border: none; border-radius: 8px;
  text-decoration: none; text-align: left; transition: all 0.18s ease; cursor: pointer; user-select: none;
}
.portal-nav-item:hover,
.portal-nav-toggle:hover { color: var(--bs-primary); background: rgba(44, 88, 188, 0.08); }
.portal-nav-item.active { color: var(--bs-primary); background: rgba(44, 88, 188, 0.12); font-weight: 700; }
.portal-nav-toggle .toggle-icon { font-size: 0.7rem; transition: transform 0.22s ease; color: var(--bs-secondary-color); }
.portal-nav-toggle:not(.collapsed) .toggle-icon { transform: rotate(180deg); }
.portal-nav-sub { padding: 0.2rem 0 0.35rem 1.4rem; display: flex; flex-direction: column; gap: 1px; }
.portal-sub-item {
  display: flex; align-items: center; gap: 0.5rem; padding: 0.38rem 0.65rem;
  font-size: 0.8rem; font-weight: 500; color: var(--bs-secondary-color);
  text-decoration: none; border-radius: 6px; transition: all 0.15s ease;
}
.portal-sub-item:hover { color: var(--bs-primary); background: rgba(44, 88, 188, 0.06); }
.portal-sub-item.active { color: var(--bs-primary); background: rgba(44, 88, 188, 0.10); font-weight: 700; }
.portal-sub-item i { width: 15px; text-align: center; font-size: 0.78rem; }

/* Persona / Workspace Switcher */
.persona-card { cursor: pointer; transition: background 0.15s; border-radius: 10px; }
.persona-card:hover { background: rgba(44,88,188,0.06); }
.persona-card .persona-chevron { font-size: 0.7rem; color: var(--bs-secondary-color); transition: transform 0.22s ease; }
.persona-card.expanded .persona-chevron { transform: rotate(180deg); }
.persona-switcher-panel {
  overflow: hidden; max-height: 0;
  transition: max-height 0.28s cubic-bezier(0.4,0,0.2,1), opacity 0.2s;
  opacity: 0; pointer-events: none;
}
.persona-switcher-panel.open { max-height: 400px; opacity: 1; pointer-events: auto; }
.persona-switch-item {
  display: flex; align-items: center; gap: 0.6rem; padding: 0.45rem 0.7rem;
  border-radius: 8px; font-size: 0.78rem; font-weight: 600;
  color: var(--bs-body-color); text-decoration: none; transition: all 0.15s;
}
.persona-switch-item:hover { background: rgba(44,88,188,0.08); color: var(--bs-primary); }
.persona-switch-item.is-active-ws { background: rgba(44,88,188,0.12); color: var(--bs-primary); pointer-events: none; }
.persona-switch-icon { width: 26px; height: 26px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 0.72rem; flex-shrink: 0; }
.persona-active-dot { width: 7px; height: 7px; border-radius: 50%; background: #10b981; flex-shrink: 0; margin-left: auto; }

/* Portal font normalization */
#portalContentArea, #portalContentArea p,
#portalContentArea span:not([class*="fa"]):not([class*="material"]),
#portalContentArea div:not([class*="fa"]):not([class*="material"]),
#portalContentArea a, #portalContentArea li, #portalContentArea td,
#portalContentArea th, #portalContentArea label, #portalContentArea input,
#portalContentArea select, #portalContentArea textarea, #portalContentArea button,
#portalContentArea small, #portalContentArea strong, #portalContentArea em,
#portalContentArea blockquote {
  font-family: var(--font-primary, 'Inter', system-ui, -apple-system, sans-serif);
}
#portalContentArea h1, #portalContentArea h2, #portalContentArea h3,
#portalContentArea h4, #portalContentArea h5, #portalContentArea h6,
#portalContentArea .h1, #portalContentArea .h2, #portalContentArea .h3,
#portalContentArea .h4, #portalContentArea .h5, #portalContentArea .h6 {
  font-family: var(--font-heading, 'Ubuntu', 'Poppins', sans-serif);
  color: var(--beatsy-text, #0f172a);
}
#portalContentArea code, #portalContentArea pre,
#portalContentArea kbd, #portalContentArea samp {
  font-family: 'Fira Code', 'Courier New', Courier, monospace;
}
#portalContentArea i, #portalContentArea i[class*="fa"],
#portalContentArea [class^="fa-"], #portalContentArea [class*=" fa-"],
#portalContentArea .fa, #portalContentArea .fas, #portalContentArea .far,
#portalContentArea .fab, #portalContentArea .fal, #portalContentArea .fat,
#portalContentArea .fa-solid, #portalContentArea .fa-regular,
#portalContentArea .fa-light, #portalContentArea .fa-brands,
.portal-incontent-sidebar i, .portal-incontent-sidebar [class*="fa"],
.notif-cat-avatar i, .notif-hover-actions i, .notif-bulk-buttons i {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 6 Brands", "FontAwesome" !important;
  font-style: normal !important;
}
#portalContentArea .material-icons,
#portalContentArea .material-icons-outlined,
#portalContentArea .material-symbols-outlined {
  font-family: 'Material Icons', 'Material Icons Outlined' !important;
}
#portalContentArea .badge.bg-light, .badge.bg-light {
  background-color: #f1f5f9 !important; color: #000 !important; border: 1px solid #e2e8f0 !important;
}
#portalContentArea label, #portalContentArea .form-label { color: var(--beatsy-text, #334155); font-weight: 600; }
#portalContentArea .badge { font-family: var(--font-primary, 'Inter', sans-serif); }
.portal-incontent-sidebar .progress { height: 4px; }
.portal-incontent-sidebar .progress-label { font-size: 0.68rem; color: var(--bs-secondary-color); }
.portal-incontent-sidebar .badge.bg-primary-subtle {
  background-color: rgba(44, 88, 188, 0.12) !important; color: #2C58BC !important;
  font-size: 0.65rem !important; font-weight: 700 !important; letter-spacing: 0.04em;
}
@media (min-width: 768px) { .portal-incontent-sidebar { top: 90px; z-index: 90; } }

/* ══════════════════════════════════════════════════════════════════════════
   ── 18. CONSOLE SIDEBAR (AdminLTE Layout Overrides)
   ══════════════════════════════════════════════════════════════════════════ */
.app-sidebar[data-bs-theme="dark"] {
  background-color: #111418 !important; border-right: 1px solid #22272e !important;
  position: fixed !important; top: 0; bottom: 0; left: 0;
  height: 100vh !important; z-index: 1030;
  display: flex; flex-direction: column;
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.sidebar-brand {
  background-color: #0d1013 !important; border-bottom: 1px solid #22272e !important;
  flex-shrink: 0; height: 56px; display: flex; align-items: center; padding: 0 1.25rem;
}
.sidebar-brand .brand-link { text-decoration: none; display: flex; align-items: center; gap: 0.6rem; color: #ffffff; }
.sidebar-brand .brand-logo-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, #2C58BC 0%, #FF6D3B 100%);
  display: flex; align-items: center; justify-content: center;
  color: #ffffff; font-weight: 800; font-size: 16px; box-shadow: 0 2px 8px rgba(44, 88, 188, 0.35);
}
.sidebar-wrapper {
  flex-grow: 1; height: calc(100vh - 56px) !important;
  overflow-y: auto !important; overflow-x: hidden;
  scrollbar-width: thin; scrollbar-color: #2b313a #111418;
  padding: 0.5rem 0.6rem 2rem 0.6rem;
}
.sidebar-wrapper::-webkit-scrollbar { width: 5px; }
.sidebar-wrapper::-webkit-scrollbar-track { background: #111418; }
.sidebar-wrapper::-webkit-scrollbar-thumb { background: #2b313a; border-radius: 4px; }
.sidebar-menu .nav-header {
  font-size: 0.68rem !important; letter-spacing: 0.08em; color: #768390 !important;
  padding: 1rem 0.75rem 0.35rem 0.75rem !important; font-weight: 700; text-transform: uppercase;
}
.sidebar-menu .nav-link {
  border-radius: 8px !important; margin-bottom: 2px; padding: 0.48rem 0.75rem !important;
  color: #adbac7 !important; font-weight: 500; font-size: 0.84rem;
  display: flex; align-items: center; transition: all 0.15s ease-in-out;
}
.sidebar-menu .nav-link .nav-icon { font-size: 1.05rem; width: 1.6rem; text-align: center; margin-right: 0.5rem; opacity: 0.85; transition: opacity 0.15s ease; }
.sidebar-menu .nav-link:hover { background-color: rgba(255, 255, 255, 0.06) !important; color: #ffffff !important; }
.sidebar-menu .nav-link:hover .nav-icon { opacity: 1; }
.sidebar-menu .nav-link.active {
  background: linear-gradient(90deg, rgba(44, 88, 188, 0.28) 0%, rgba(44, 88, 188, 0.06) 100%) !important;
  color: #58a6ff !important; font-weight: 600; border-left: 3px solid #2C58BC !important;
}
.sidebar-menu .nav-link.active .nav-icon { color: #58a6ff !important; opacity: 1; }
.sidebar-menu .nav-treeview { padding-left: 0.5rem !important; }
.sidebar-menu .nav-treeview .nav-link { padding: 0.38rem 0.75rem 0.38rem 1.8rem !important; font-size: 0.81rem; color: #909dab !important; }
.sidebar-menu .nav-treeview .nav-link .nav-icon { font-size: 0.85rem; width: 1.2rem; margin-right: 0.3rem; }
.sidebar-menu .nav-treeview .nav-link.active { color: #58a6ff !important; background: rgba(44, 88, 188, 0.15) !important; border-left: 2px solid #2C58BC !important; }
@media (min-width: 992px) {
  body:not(.sidebar-collapse) .app-wrapper { grid-template-columns: var(--lte-sidebar-width, 260px) 1fr !important; }
  body.sidebar-collapse .app-wrapper { grid-template-columns: 0px 1fr !important; }
  .app-wrapper { transition: grid-template-columns 0.25s cubic-bezier(0.4, 0, 0.2, 1); }
}
.modal { z-index: 1065 !important; }
.modal-backdrop { z-index: 1055 !important; }
.modal-backdrop.show { opacity: 0.5 !important; }
@keyframes spin { to { transform: rotate(360deg); } }
.spin-icon { display: inline-block; animation: spin 0.7s linear infinite; }
#globalSearchResults a:hover { background: #f8f9fa; }

/* ══════════════════════════════════════════════════════════════════════════
   ── 19. ADMIN DASHBOARD — KPI CARDS & EXECUTIVE DESIGN TOKENS
   ══════════════════════════════════════════════════════════════════════════ */
.dashboard-hero-traffic {
  background: #ffffff; color: #0f172a; border: 1px solid #e2e8f0;
  border-radius: 1rem; box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}
.kpi-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  border-radius: 0.85rem; border: 1px solid #e2e8f0; background: #ffffff; padding: 0.85rem 1rem;
}
.kpi-card:hover { transform: translateY(-2px); box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.06); border-color: #cbd5e1; }
.kpi-title { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em; color: #64748b; text-transform: uppercase; }
.kpi-value { font-size: 1.18rem; font-weight: 800; color: #0f172a; letter-spacing: -0.02em; line-height: 1.2; }
.stat-badge { font-size: 0.68rem; font-weight: 700; padding: 0.15rem 0.4rem; border-radius: 0.4rem; display: inline-flex; align-items: center; gap: 0.2rem; white-space: nowrap; flex-shrink: 0; }
.stat-badge.badge-positive { background-color: #dcfce7; color: #15803d; }
.stat-badge.badge-negative { background-color: #fee2e2; color: #b91c1c; }
.stat-badge.badge-neutral  { background-color: #f1f5f9; color: #475569; }
.action-btn-card { border-radius: 0.85rem; transition: all 0.2s ease; border: 1px solid #e2e8f0; background: #fff; }
.action-btn-card:hover { transform: translateY(-2px); box-shadow: 0 6px 14px -4px rgba(0, 0, 0, 0.06); border-color: #3b82f6; }
.filter-pill {
  cursor: pointer; padding: 0.35rem 0.85rem; border-radius: 2rem;
  font-size: 0.8rem; font-weight: 600; transition: all 0.2s ease;
  border: 1px solid #e2e8f0; background: #fff; color: #475569;
}
.filter-pill.active { background: #2563eb; color: #fff; border-color: #2563eb; box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25); }
.activity-timeline { position: relative; padding-left: 2rem; }
.activity-timeline::before { content: ''; position: absolute; left: 0.75rem; top: 0.5rem; bottom: 0.5rem; width: 2px; background: #e2e8f0; }
.activity-item { position: relative; margin-bottom: 1.15rem; }
.activity-dot { position: absolute; left: -2rem; top: 0.2rem; width: 1.4rem; height: 1.4rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.1); }

/* ══════════════════════════════════════════════════════════════════════════
   ── 20. SHOP / E-COMMERCE COMPONENTS
   ══════════════════════════════════════════════════════════════════════════ */
body.shop-index { background-color: #f5f5f5; font-family: 'Inter', sans-serif; }
.shop-search-wrapper { background: #fff; padding: 15px 0; border-bottom: 1px solid #eee; position: sticky; top: var(--header-height); z-index: var(--z-index-sticky); }
.search-input-group { background: #f1f1f1; border-radius: 8px; overflow: visible; border: 1px solid #ddd; position: relative; }
.search-input-group input { background: transparent; border: none; padding: 10px 15px; }
.search-input-group .btn { background: var(--beatsy-orange, #FF6D3B); color: #fff; border: none; padding: 10px 25px; font-weight: 700; border-radius: 0 8px 8px 0; }
.search-suggestions { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-radius: 0 0 12px 12px; box-shadow: 0 15px 35px rgba(0,0,0,0.15); z-index: 2000; display: none; overflow: hidden; margin-top: 1px; border: 1px solid #eee; }
.suggestion-item { display: flex; align-items: center; gap: 15px; padding: 12px 20px; text-decoration: none; color: #333; transition: background 0.2s; border-bottom: 1px solid #f8f8f8; }
.suggestion-item:last-child { border-bottom: none; }
.suggestion-item:hover { background: #f9f9f9; }
.suggestion-img { width: 50px; height: 50px; object-fit: contain; background: #fff; border-radius: 4px; padding: 2px; border: 1px solid #eee; }
.suggestion-info { flex: 1; }
.suggestion-name { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.suggestion-meta { font-size: 11px; color: #888; }
.suggestion-price { font-size: 13px; font-weight: 700; color: var(--beatsy-orange, #FF6D3B); }
.shop-cat-sidebar, .cat-sidebar { background: #fff; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); padding: 10px 0; height: 100%; }
.shop-cat-item, .shop-index .cat-item, .shop-hero-section .cat-item { display: flex; align-items: center; padding: 8px 20px; color: #333; text-decoration: none; font-size: 13px; transition: all 0.2s; }
.shop-cat-item i, .shop-index .cat-item i, .shop-hero-section .cat-item i { width: 25px; font-size: 14px; color: #666; }
.shop-cat-item:hover, .shop-index .cat-item:hover, .shop-hero-section .cat-item:hover { color: var(--beatsy-orange, #FF6D3B); background: #f8f8f8; }
.main-carousel { border-radius: 8px; overflow: hidden; box-shadow: 0 2px 5px rgba(0,0,0,0.05); height: 100%; }
.main-carousel img { object-fit: cover; height: 380px; width: 100%; }
.promo-side { display: flex; flex-direction: column; gap: 15px; height: 100%; }
.promo-card { background: #fff; border-radius: 8px; padding: 15px; flex: 1; box-shadow: 0 2px 5px rgba(0,0,0,0.05); display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.promo-card i { font-size: 24px; color: var(--beatsy-orange, #FF6D3B); }
.promo-card div h6 { margin: 0; font-size: 13px; font-weight: 700; }
.promo-card div p  { margin: 0; font-size: 11px; color: #777; }
.shop-section { margin-top: 25px; }
.section-header { background: var(--beatsy-blue, #2C58BC); color: #fff; padding: 12px 20px; border-radius: 8px 8px 0 0; display: flex; justify-content: space-between; align-items: center; }
.section-header.flash-sale { background: #FF3D00; }
.section-header h5 { margin: 0; font-weight: 700; font-size: 16px; text-transform: uppercase; }
.section-header a { color: #fff; font-size: 12px; font-weight: 700; text-decoration: none; }
.section-body { background: #fff; padding: 15px; border-radius: 0 0 8px 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.jumia-card { transition: all 0.3s; border-radius: 8px; padding: 15px; position: relative; height: 100%; background: #fff; border: 1px solid transparent; }
.jumia-card:hover { box-shadow: 0 10px 25px rgba(0,0,0,0.08); border-color: #eee; transform: translateY(-3px); }
.jumia-card .img-wrapper { aspect-ratio: 1/1; border-radius: 6px; overflow: hidden; margin-bottom: 12px; background: #fafafa; }
.jumia-card .img-wrapper img { width: 100%; height: 100%; object-fit: contain; }
.jumia-card .p-name { font-size: 13px; color: #333; margin-bottom: 6px; height: 38px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.3; font-weight: 600; }
.jumia-card .p-price { font-size: 14px; font-weight: 700; color: var(--beatsy-blue, #2C58BC); margin-bottom: 2px; }
.jumia-card .p-old-price { font-size: 11px; color: #999; text-decoration: line-through; }
.jumia-card .discount-tag { position: absolute; top: 12px; right: 12px; background: #FF6D3B; color: #fff; padding: 2px 6px; border-radius: 4px; font-size: 9px; font-weight: 800; z-index: 2; text-transform: uppercase; }
.cart-btn-floating { width: 100%; background: var(--beatsy-orange, #FF6D3B); color: #fff; border: none; padding: 10px; border-radius: 6px; font-weight: 800; font-size: 13px; margin-top: 15px; transition: all 0.2s; }
.cart-btn-floating:hover { background: var(--beatsy-blue, #2C58BC); }
.free-delivery-badge { font-size: 11px; background: #E8F5E9; color: #2E7D32; padding: 3px 8px; border-radius: 4px; font-weight: 700; display: inline-block; margin-top: 8px; }
@media (max-width: 991px) { .shop-cat-sidebar, .promo-side { display: none; } .main-carousel img { height: 200px; } }

/* ══════════════════════════════════════════════════════════════════════════
   ── 21. NOTIFICATION CENTER (portal/notifications.php)
   ══════════════════════════════════════════════════════════════════════════ */
.beatsy-notification-app { font-family: 'Inter', system-ui, -apple-system, sans-serif; }
.notif-main-card { border: 1px solid rgba(0, 0, 0, 0.08) !important; background: #ffffff; }
.notif-tab-nav { gap: 4px; }
.notif-tab-btn { border: none !important; border-bottom: 2px solid transparent !important; border-radius: 0 !important; color: var(--bs-secondary-color) !important; font-size: 0.85rem; font-weight: 600; padding: 0.6rem 1.1rem !important; transition: all 0.18s ease; background: transparent !important; }
.notif-tab-btn:hover { color: var(--bs-primary) !important; background: rgba(44, 88, 188, 0.04) !important; }
.notif-tab-btn.active { color: var(--bs-primary) !important; border-bottom: 2px solid var(--bs-primary) !important; font-weight: 700; }
.notif-row { transition: background-color 0.15s ease, border-color 0.15s ease; border-left: 3px solid transparent !important; }
.notif-row.notif-unread { background-color: #ffffff; border-left-color: var(--bs-primary) !important; }
.notif-row.notif-read   { background-color: rgba(241, 245, 249, 0.5); }
.notif-row:hover { background-color: rgba(44, 88, 188, 0.03) !important; }
.notif-row.notif-selected { background-color: rgba(44, 88, 188, 0.06) !important; }
.notif-cat-avatar { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; flex-shrink: 0; }
.notif-bulk-buttons { display: none; }
.notif-bulk-buttons.visible { display: flex; }
.notif-title { font-size: 0.88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.notif-snippet { font-size: 0.79rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.notif-tool-btn { width: 30px; height: 30px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
.notif-tool-btn:hover:not(:disabled) { background-color: rgba(0, 0, 0, 0.08); }
.quick-action-btn { width: 28px; height: 28px; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.notif-content-area { min-width: 0; overflow: hidden; }
.notif-date { flex-shrink: 0 !important; white-space: nowrap; }
.notif-hover-actions { flex-shrink: 0 !important; }
.notif-row:hover .notif-hover-actions { display: flex !important; }
.notif-search-box input:focus { box-shadow: none; background-color: #f1f5f9 !important; }
#settingsModal, #notifDetailModal { position: fixed !important; top: 0 !important; left: 0 !important; width: 100vw !important; height: 100vh !important; z-index: 10500 !important; display: none; }
#settingsModal.show, #notifDetailModal.show { display: block !important; }
#settingsModal .modal-dialog, #notifDetailModal .modal-dialog { position: relative; z-index: 10501 !important; margin: auto; pointer-events: auto; }
[data-bs-theme="dark"] .notif-main-card { background-color: #1e293b !important; border-color: rgba(255,255,255,0.08) !important; }
[data-bs-theme="dark"] .notif-row.notif-read   { background-color: rgba(15, 23, 42, 0.4); }
[data-bs-theme="dark"] .notif-row.notif-unread { background-color: #1e293b; border-left-color: #38bdf8 !important; }
[data-bs-theme="dark"] .notif-row:hover { background-color: rgba(255,255,255,0.05) !important; }
[data-bs-theme="dark"] .pref-row:hover  { background-color: rgba(255,255,255,0.02); }

/* ══════════════════════════════════════════════════════════════════════════
   ── 22. LMS PLAYER LAYOUT (layouts/player.php)
   ══════════════════════════════════════════════════════════════════════════ */
:root {
  --lms-bg-dark:    #0b131e;
  --lms-bg-surface: #131f2e;
  --lms-bg-card:    #18283b;
  --lms-border:        rgba(255, 255, 255, 0.08);
  --lms-border-active: rgba(255, 109, 59, 0.4);
  --lms-text-main:  #f8fafc;
  --lms-text-muted: #94a3b8;
}
.lms-page-body, body.lms-player-body { font-family: 'Inter', system-ui, sans-serif; background-color: var(--lms-bg-dark); color: var(--lms-text-main); overflow-x: hidden; }
.lms-surface { background-color: var(--lms-bg-surface); border-color: var(--lms-border) !important; }
.lms-card { background-color: var(--lms-bg-card); border: 1px solid var(--lms-border); border-radius: 14px; }
.lms-nav-link { color: var(--lms-text-muted); border-bottom: 2px solid transparent; font-weight: 600; padding: 12px 18px; font-size: 0.88rem; transition: all 0.2s ease; }
.lms-nav-link:hover, .lms-nav-link.active { color: var(--lms-text-main); border-bottom-color: var(--beatsy-orange, #FF6D3B); }
.lesson-item-btn {
  border-radius: 10px; padding: 10px 14px; transition: all 0.18s ease;
  background: transparent; color: var(--lms-text-muted); border: 1px solid transparent;
  text-align: left; width: 100%; display: flex; align-items: center; justify-content: space-between;
}
.lesson-item-btn:hover { background: rgba(255, 255, 255, 0.05); color: #ffffff; }
.lesson-item-btn.active {
  background: rgba(255, 109, 59, 0.15) !important; color: #ffffff !important;
  border-color: rgba(255, 109, 59, 0.35) !important; font-weight: 600;
}
.lesson-check-icon {
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex; align-items: center; justify-content: center; font-size: 10px; transition: all 0.2s ease;
}
.lesson-check-icon.completed { background: #10b981; border-color: #10b981; color: #ffffff; }
@keyframes pulseBorder {
  0% { box-shadow: 0 0 0 0 rgba(255, 109, 59, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(255, 109, 59, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 109, 59, 0); }
}
.pulse-active { animation: pulseBorder 2s infinite; }


/* ══════════════════════════════════════════════════════════════════════════
   ── 23. ACCOUNT TYPE ONBOARDING (portal/account_type.php)
   ══════════════════════════════════════════════════════════════════════════ */
.onboarding-wrapper { min-height: 100vh; background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%); display: flex; align-items: center; justify-content: center; padding: 2rem 1rem; }
.onboarding-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 24px; padding: 2.5rem; max-width: 900px; width: 100%; backdrop-filter: blur(20px); }
.onboarding-eyebrow { color: #818cf8; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.5rem; }
.onboarding-title { font-size: 2rem; font-weight: 800; color: #f8fafc; margin-bottom: 0.5rem; line-height: 1.2; }
.onboarding-subtitle { color: #94a3b8; font-size: 0.95rem; margin-bottom: 2rem; }
.account-type-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 2rem; }
@media (max-width: 640px) { .account-type-grid { grid-template-columns: 1fr; } .onboarding-title { font-size: 1.5rem; } }
.account-type-card { background: rgba(255,255,255,0.04); border: 2px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 1.5rem; cursor: pointer; transition: all 0.25s ease; position: relative; user-select: none; }
.account-type-card:hover { border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.account-type-card.selected { border-color: var(--accent-color); background: rgba(var(--accent-rgb), 0.12); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.15); }
.account-type-card input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.card-icon-wrap { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1rem; background: rgba(var(--accent-rgb), 0.18); color: var(--accent-color); }
.card-check { position: absolute; top: 1rem; right: 1rem; width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 0.65rem; color: transparent; background: transparent; transition: all 0.2s; }
.account-type-card.selected .card-check { background: var(--accent-color); border-color: var(--accent-color); color: #fff; }
.card-label { font-weight: 700; font-size: 1rem; color: #f1f5f9; margin-bottom: 0.25rem; }
.card-desc  { font-size: 0.82rem; color: #94a3b8; }
.submit-btn { width: 100%; padding: 0.9rem; border: none; border-radius: 12px; background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff; font-weight: 700; font-size: 1rem; cursor: pointer; transition: all 0.2s; box-shadow: 0 4px 20px rgba(99,102,241,0.4); }
.submit-btn:hover    { transform: translateY(-1px); box-shadow: 0 6px 28px rgba(99,102,241,0.5); }
.submit-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.additional-roles-section { margin-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; }
.additional-roles-title { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #64748b; margin-bottom: 1rem; }
.role-toggle-pill { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; border-radius: 50px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.04); color: #cbd5e1; font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: all 0.2s; margin-right: 0.5rem; margin-bottom: 0.5rem; }
.role-toggle-pill:hover { border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.08); }
.conflict-note { font-size: 0.75rem; color: #f87171; margin-top: 0.5rem; display: none; }


/* ══════════════════════════════════════════════════════════════════════════
   ── 24. SOLUTIONS CATALOG & QUOTE BUILDER
   ══════════════════════════════════════════════════════════════════════════ */
.catalog-hero-bg, .quote-hero-bg {
  background: linear-gradient(135deg, #041527 0%, #0d233e 50%, #17365d 100%);
  color: #ffffff;
}
.catalog-step-bar {
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.cat-pill-btn {
  transition: all 0.2s ease;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #334155;
  font-size: 0.82rem;
  padding: 6px 16px;
  font-weight: 600;
}
.cat-pill-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.cat-pill-btn.active {
  background: #2C58BC;
  color: #ffffff;
  border-color: #2C58BC;
  box-shadow: 0 2px 8px rgba(44, 88, 188, 0.25);
}
.division-accordion-header {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.division-accordion-header:hover { background: #f8fafc; border-color: #cbd5e1; }
.division-accordion-header.active { background: #f1f5f9; border-color: #94a3b8; }
.catalog-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
}
.catalog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
  border-color: #cbd5e1;
}
.catalog-icon-box, .icon-box-accent {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(44, 88, 188, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Step Navigation (Quote Builder) */
.step-nav .step-btn {
  border: none;
  background: transparent;
  padding: 10px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 12px;
  transition: all 0.2s ease;
  text-decoration: none;
  color: #64748b;
}
.step-nav .step-btn.active { background: #eef2ff; color: #2C58BC; font-weight: 700; }
.step-nav .step-btn.completed { color: #10b981; }
.step-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.step-btn.active .step-icon-wrap { background: #2C58BC; color: #ffffff; }
.step-btn.completed .step-icon-wrap { background: #10b981; color: #ffffff; }
.step-btn .step-check { display: none; }
.step-btn.completed .step-check { display: inline-block; }
.step-btn.completed .step-num { display: none; }
.step-title { display: block; font-size: 0.88rem; font-weight: 700; line-height: 1.2; }
.step-subtitle { display: block; font-size: 0.72rem; color: #94a3b8; font-weight: 500; }
.step-btn.active .step-subtitle { color: #6366f1; }
.cart-item-card { border: 1px solid #e2e8f0; border-radius: 1rem; background: #ffffff; transition: all 0.2s ease; }
.cart-item-card:hover { border-color: #cbd5e1; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03); }
.sidebar-quote-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 10px; margin-bottom: 8px; }
.sidebar-plan-pill { font-size: 10.5px; background: #e2e8f0; color: #334155; padding: 2px 8px; border-radius: 12px; font-weight: 600; }
.sidebar-addon-row { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 6px; padding: 4px 8px; margin-top: 4px; font-size: 11.5px; }

/* ══════════════════════════════════════════════════════════════════════════
   ── 25. DOMAIN REGISTRATION & HOSTING
   ══════════════════════════════════════════════════════════════════════════ */
.tld-pricing-card {
  border: 1px solid rgba(44, 88, 188, 0.12) !important;
  border-radius: 18px !important;
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.tld-pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 38px -10px rgba(44, 88, 188, 0.18), 0 0 0 1.5px rgba(44, 88, 188, 0.35) !important;
  border-color: rgba(44, 88, 188, 0.45) !important;
}
.tld-pricing-card .tld-icon-box {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.tld-pricing-card:hover .tld-icon-box {
  transform: scale(1.1) rotate(4deg);
  box-shadow: 0 8px 20px rgba(44, 88, 188, 0.38) !important;
}
.tld-pricing-card .register-now-tld {
  transition: all 0.25s ease;
  border-width: 1.5px;
}
.tld-pricing-card:hover .register-now-tld {
  background: #2C58BC !important;
  color: #ffffff !important;
  border-color: #2C58BC !important;
  box-shadow: 0 4px 14px rgba(44, 88, 188, 0.3);
}
.tld-pricing-card .register-now-tld:hover {
  background: #173b87 !important;
  border-color: #173b87 !important;
  transform: scale(1.02);
}
.tld-category-badge,
.tld-category-badge span {
  color: #000000 !important;
  font-weight: 700 !important;
}
@keyframes drspin { to { transform: rotate(360deg); } }
@keyframes trspin { to { transform: rotate(360deg); } }
.domain-tab-item { transition: border-color .2s, background .2s; }
.domain-tab-item:hover { border-color: #2C58BC !important; }
.domain-tab-item.active-tab { border-color: #2C58BC !important; background: #f0f4ff; }
.domain-tab-item.active-tab label { color: #2C58BC; }
.alt-domain-pill { transition: all .2s ease-in-out; border: 1.5px solid #2C58BC !important; background: #ffffff !important; }

/* ══════════════════════════════════════════════════════════════════════════
   ── 26. PORTAL TABS & SUB-LAYOUTS
   ══════════════════════════════════════════════════════════════════════════ */
.affiliate-nav-tabs { flex-wrap: wrap !important; overflow: visible !important; }
.affiliate-nav-tabs .affiliate-tab-btn {
  color: rgba(255,255,255,0.7); font-size: 0.85rem; font-weight: 600; padding: 0.5rem 1rem;
  border-radius: 8px; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem;
  transition: all 0.15s ease;
}
.affiliate-nav-tabs .affiliate-tab-btn:hover { color: #ffffff; background: rgba(255,255,255,0.1); }
.affiliate-nav-tabs .affiliate-tab-btn.active { color: #ffffff; background: rgba(255,255,255,0.18); font-weight: 700; }
.instructor-nav-tabs .instructor-tab-btn {
  color: rgba(255,255,255,0.7); font-size: 0.85rem; font-weight: 600; padding: 0.5rem 1rem;
  border-radius: 8px; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem;
  transition: all 0.15s ease;
}
.instructor-nav-tabs .instructor-tab-btn:hover { color: #ffffff; background: rgba(255,255,255,0.1); }
.instructor-nav-tabs .instructor-tab-btn.active { color: #ffffff; background: rgba(255,255,255,0.18); font-weight: 700; }
.style-message { line-height: 1.6; word-break: break-word; }
.fs-7 { font-size: 0.8rem; }

/* ══════════════════════════════════════════════════════════════════════════
   ── 27. FAQS & KNOWLEDGE BASE ACCORDIONS
   ══════════════════════════════════════════════════════════════════════════ */
.beatsy-accordion-clean .accordion-button:not(.collapsed) {
  color: var(--bs-primary) !important;
  background-color: rgba(44, 88, 188, 0.04) !important;
  box-shadow: none;
}
.kb-article-details summary::-webkit-details-marker { display: none; }
.kb-article-details summary { list-style: none; }
.kb-article-details[open] summary i { transform: rotate(180deg); }

/* ══════════════════════════════════════════════════════════════════════════
   ── 28. INVOICE PRINT & RECEIPT ENGINE
   ══════════════════════════════════════════════════════════════════════════ */
@media print {
  body, html, .invoice-container { background: #fff !important; color: #000 !important; }
  header, footer, nav, .portal-header, .no-print, .portal-subnav, .beatsy-promo-bar, .beatsy-topbar, .floating-ai-btn { display: none !important; }
  @page { margin: 0.5cm; size: auto; }
  .container { max-width: 100% !important; width: 100% !important; margin: 0 !important; }
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
}

/* ══════════════════════════════════════════════════════════════════════════
   ── 29. CONSOLE MODULES & RICH EDITORS
   ══════════════════════════════════════════════════════════════════════════ */
.editor-card { border-radius: 1.25rem; transition: box-shadow 0.2s ease-in-out; }
.note-editor.note-frame { border-radius: 0.75rem; border-color: #dee2e6; box-shadow: none; }
.note-toolbar { border-top-left-radius: 0.75rem; border-top-right-radius: 0.75rem; background: #f8f9fa; }
.radio-card:has(input:checked) {
  border-color: var(--bs-primary) !important;
  background-color: rgba(44, 88, 188, 0.05);
}
.session-item { cursor:pointer; border-radius:8px; padding:10px 12px; margin-bottom:4px; background:#fff; border:1px solid #eee; transition:.15s; }
.session-item:hover { background:#e8f0fe; border-color:#2C58BC; }
.session-item.active { background:#2C58BC; color:#fff !important; border-color:#2C58BC; }
.session-item.active * { color:#fff !important; }
.session-item.escalated { border-left:3px solid #dc3545; }

/* ══════════════════════════════════════════════════════════════════════════
   ── 30. CHECKOUT & PAYMENT MODES (checkout_pay.php)
   ══════════════════════════════════════════════════════════════════════════ */
.pay-tab-btn { background:#fff; color:#666; transition:all .2s ease; border-bottom:3px solid transparent !important; font-size:.95rem; }
.pay-tab-btn.active { color:#16a34a; background:#f0fdf4; border-bottom-color:#16a34a !important; }
.pay-tab-btn:hover:not(.active) { background:#f8fafc; color:#333; }
.mpesa-pulse-ring { width:90px; height:90px; background:linear-gradient(135deg,#e8f5e9,#f0fdf4); border-radius:50%; display:flex; align-items:center; justify-content:center; animation:pulse-ring 2s ease-in-out infinite; box-shadow:0 0 0 0 rgba(22,163,74,.4); }
@keyframes pulse-ring { 0%{box-shadow:0 0 0 0 rgba(22,163,74,.35)} 50%{box-shadow:0 0 0 18px rgba(22,163,74,0)} 100%{box-shadow:0 0 0 0 rgba(22,163,74,0)} }
.timer-badge { display:inline-block; background:rgba(234,179,8,.12); border:1px solid rgba(234,179,8,.35); color:#92400e; border-radius:99px; padding:6px 20px; font-size:.88rem; }

/* ══════════════════════════════════════════════════════════════════════════
   ── 31. CUSTOM 404 ERROR PAGE (errors/html/error_404.php)
   ══════════════════════════════════════════════════════════════════════════ */
/* ── 404-specific styles only (no duplication of beatsy.css) ── */
    .error-404-page {
        min-height: 70vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 4rem 1rem 5rem;
        position: relative;
        overflow: hidden;
        background: linear-gradient(160deg, #f4f6fb 0%, #eef2ff 55%, #f4f6fb 100%);
        background-size: 300% 300%;
        animation: e404bg 12s ease infinite;
    }
    @keyframes e404bg {
        0%,100% { background-position: 0% 50%; }
        50%      { background-position: 100% 50%; }
    }

    /* Floating blobs */
    .e404-blob {
        position: absolute;
        border-radius: 50%;
        filter: blur(80px);
        opacity: 0.18;
        pointer-events: none;
        animation: e404blob 9s ease-in-out infinite alternate;
    }
    .e404-blob-1 { width: 480px; height: 480px; background: #2C58BC; top: -140px; left: -100px; animation-delay: 0s; }
    .e404-blob-2 { width: 340px; height: 340px; background: #FF6D3B; bottom: -80px; right: -60px;  animation-delay: 4s; }
    .e404-blob-3 { width: 240px; height: 240px; background: #818cf8; top: 35%;   left: 55%;        animation-delay: 2s; }
    @keyframes e404blob {
        from { transform: translate(0,0) scale(1); }
        to   { transform: translate(25px, 18px) scale(1.1); }
    }

    /* Glassmorphism card */
    .e404-card {
        position: relative;
        z-index: 5;
        background: rgba(255,255,255,0.88);
        backdrop-filter: blur(22px);
        -webkit-backdrop-filter: blur(22px);
        border: 1px solid rgba(44,88,188,0.12);
        border-radius: 24px;
        box-shadow: 0 24px 64px rgba(44,88,188,0.11), 0 4px 18px rgba(0,0,0,0.05);
        padding: 3.5rem 3rem;
        max-width: 620px;
        width: 100%;
        text-align: center;
        animation: e404up 0.65s cubic-bezier(0.22,1,0.36,1) both;
    }
    @keyframes e404up {
        from { opacity: 0; transform: translateY(36px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    /* Icon badge */
    .e404-icon-badge {
        display: inline-flex;
        align-items: center; justify-content: center;
        width: 68px; height: 68px;
        border-radius: 18px;
        background: linear-gradient(135deg, rgba(44,88,188,0.1), rgba(129,140,248,0.15));
        border: 1.5px solid rgba(44,88,188,0.18);
        color: #2C58BC;
        font-size: 1.9rem;
        margin-bottom: 1.1rem;
        animation: e404wiggle 5s ease-in-out infinite;
    }
    @keyframes e404wiggle {
        0%,100% { transform: rotate(0) scale(1); }
        20%      { transform: rotate(-7deg) scale(1.06); }
        45%      { transform: rotate(5deg) scale(1.06); }
        65%      { transform: rotate(-3deg) scale(1); }
    }

    /* Gradient number */
    .e404-num {
        font-family: 'Ubuntu', 'Poppins', sans-serif;
        font-size: clamp(5.5rem, 16vw, 8.5rem);
        font-weight: 700;
        line-height: 1;
        letter-spacing: -4px;
        background: linear-gradient(135deg, #2C58BC 0%, #818cf8 50%, #FF6D3B 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        user-select: none;
        margin-bottom: 0.15rem;
    }

    /* Title & desc */
    .e404-title {
        font-family: 'Ubuntu', sans-serif;
        font-size: clamp(1.4rem, 3.5vw, 1.9rem);
        font-weight: 700;
        color: #041527;
        margin-bottom: 0.65rem;
    }
    .e404-desc {
        color: #6C7B8A;
        font-size: 1rem;
        line-height: 1.7;
        max-width: 400px;
        margin: 0 auto 2rem;
    }

    /* Buttons */
    .e404-btn-row {
        display: flex;
        flex-wrap: wrap;
        gap: 0.8rem;
        justify-content: center;
        margin-bottom: 1.75rem;
    }
    .e404-btn-primary {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 0.72rem 1.9rem;
        border-radius: 50px;
        font-size: 0.94rem;
        font-weight: 700;
        text-decoration: none;
        background: linear-gradient(135deg, #2C58BC, #1E3F8A);
        color: #fff !important;
        border: none;
        box-shadow: 0 4px 18px rgba(44,88,188,0.32);
        transition: all 0.25s ease;
    }
    .e404-btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 28px rgba(44,88,188,0.42);
        color: #fff !important;
    }
    .e404-btn-outline {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 0.7rem 1.75rem;
        border-radius: 50px;
        font-size: 0.94rem;
        font-weight: 700;
        text-decoration: none;
        background: transparent;
        color: #041527 !important;
        border: 2px solid rgba(44,88,188,0.22);
        transition: all 0.25s ease;
    }
    .e404-btn-outline:hover {
        background: #EEF2FF;
        border-color: #2C58BC;
        color: #2C58BC !important;
        transform: translateY(-3px);
    }

    /* Divider */
    .e404-divider {
        font-size: 0.77rem;
        color: #a0aec0;
        margin-bottom: 1.1rem;
        position: relative;
    }
    .e404-divider::before,
    .e404-divider::after {
        content: '';
        position: absolute;
        top: 50%;
        width: 36%;
        height: 1px;
        background: rgba(44,88,188,0.1);
    }
    .e404-divider::before { left: 0; }
    .e404-divider::after  { right: 0; }

    /* Chips */
    .e404-chips {
        display: flex;
        flex-wrap: wrap;
        gap: 0.45rem;
        justify-content: center;
    }
    .e404-chip {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 0.32em 0.8em;
        border-radius: 100px;
        font-size: 0.79rem;
        font-weight: 600;
        color: #2C58BC;
        background: #EEF2FF;
        border: 1px solid rgba(44,88,188,0.18);
        text-decoration: none;
        transition: all 0.22s ease;
    }
    .e404-chip:hover {
        background: #2C58BC;
        color: #fff;
        border-color: #2C58BC;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(44,88,188,0.25);
    }

    @media (max-width: 480px) {
        .e404-card { padding: 2.5rem 1.5rem; }
        .e404-blob-1 { width: 260px; height: 260px; }
        .e404-blob-2 { width: 180px; height: 180px; }
    }


/* ============================================================
 * § 32 – UTILITY / HELPER CLASSES
 *         Generated from common inline style patterns
 * ============================================================ */

/* Typography helpers */
.fs-11px              { font-size: 11px !important; }
.fs-13px              { font-size: 13px !important; }
.fs-076rem            { font-size: 0.76rem !important; }
.fs-075rem            { font-size: 0.75rem !important; }
.fs-085rem            { font-size: 0.85rem !important; }
.fs-095rem            { font-size: 0.95rem !important; }
.fs-105rem            { font-size: 1.05rem !important; }
.fs-110rem            { font-size: 1.1rem !important; }
.fs-185rem            { font-size: 1.85rem !important; }
.fs-clamp-heading     { font-size: clamp(1.75rem, 3vw, 2.3rem) !important; }
.lh-165               { line-height: 1.65 !important; }
.lh-160               { line-height: 1.6 !important; }
.lh-150               { line-height: 1.5 !important; }
.ls-05px              { letter-spacing: 0.5px !important; }
.ls-08px              { letter-spacing: 0.8px !important; }
.ls-10px              { letter-spacing: 1px !important; }
.ls-11px              { letter-spacing: 1.1px !important; }
.font-ubuntu          { font-family: 'Ubuntu', 'Poppins', sans-serif !important; }

/* Label/badge combo */
.label-tag            { font-size: 11px; letter-spacing: 1px; }
.label-tag-sm         { letter-spacing: 0.5px; font-size: 0.75rem; }
.label-ls-08          { letter-spacing: 0.8px; }
.label-consulting     { font-size: 11px; letter-spacing: 1.1px; }
.section-heading-font { font-family: 'Ubuntu', 'Poppins', sans-serif; font-size: clamp(1.75rem, 3vw, 2.3rem); }
.section-lead-text    { max-width: 680px; font-size: 0.95rem; }

/* Icon size helpers */
.icon-26              { width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; }
.icon-28              { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; }
.icon-38              { width: 38px; height: 38px; }
.icon-40              { width: 40px; height: 40px; }
.icon-44              { width: 44px; height: 44px; }
.icon-48              { width: 48px; height: 48px; }
.icon-52              { width: 52px; height: 52px; }
.icon-sm-20           { font-size: 20px; }

/* Coloured icon containers */
.icon-box-warning     { width: 44px; height: 44px; background: rgba(255, 193, 7, 0.15); font-size: 20px; }
.icon-box-primary     { width: 44px; height: 44px; background: rgba(44, 88, 188, 0.15); font-size: 20px; }
.icon-box-primary-alt { width: 44px; height: 44px; background: rgba(44, 88, 188, 0.12); font-size: 20px; }
.icon-box-success     { width: 44px; height: 44px; background: rgba(25, 135, 84, 0.15); font-size: 20px; }
.icon-box-danger      { width: 44px; height: 44px; background: rgba(220, 53, 69, 0.15); font-size: 20px; }

/* Glass / frosted card */
.glass-card-subtle    { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); }

/* Colour helpers */
.text-accent-orange   { color: #FF6D3B !important; }
.bg-accent-orange     { background: #FF6D3B !important; border-color: #FF6D3B !important; color: #fff !important; }
.text-cyan-300        { color: #7dd3fc !important; }
.text-green-300       { color: #86efac !important; }
.text-amber-300       { color: #fde68a !important; }
.text-purple          { color: #6f42c1 !important; }
.bg-orange-soft       { background: #FF6D3B18 !important; }
.bg-white             { background: #fff !important; }
.bg-gray-light        { background: var(--beatsy-gray, #f4f6fb) !important; }
.bg-success-soft      { background: rgba(25, 135, 84, 0.15); border-color: #28a745; color: #2ecc71; }

/* Layout helpers */
.max-w-640            { max-width: 640px; }
.max-w-720            { max-width: 720px; }
.max-w-fit            { width: fit-content; }
.z-2                  { z-index: 2; }
.cursor-pointer       { cursor: pointer; }
.no-pointer-events    { pointer-events: none; }
.mb-125rem            { margin-bottom: 1.25rem; }

/* Transition helpers */
.transition-card      { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.transition-card-md   { transition: transform 0.25s ease, box-shadow 0.25s ease; }

/* home.php – additional utility classes (Section 32 addendum) */
.fs-10px              { font-size: 10px !important; }
.fs-12px              { font-size: 12px !important; }
.dot-red              { width: 12px; height: 12px; background: #ef4444; }
.dot-yellow           { width: 12px; height: 12px; background: #f59e0b; }
.dot-green            { width: 12px; height: 12px; background: #22c55e; }
.text-green-500       { color: #22c55e !important; }
.badge-ai             { background: #FF6D3B18; color: #FF6D3B; }
.max-w-680            { max-width: 680px; }
.max-w-760            { max-width: 760px; }
.ls-05px-util         { letter-spacing: 0.5px; }
.bg-white-solid       { background: #ffffff !important; }
.sash-popular         { right: -45px; width: 160px; font-size: 10px; }
.aspect-16-10         { aspect-ratio: 16/10; background: #f4f6fb; }
.aspect-16-9          { aspect-ratio: 16/9; background: #eef2f7; }
.carousel-slide-third { width: 33.333333%; }
.review-carousel-track-transition { transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.cta-section-bg       { background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #2C58BC 100%); }
.cta-blob-right       {
    top: -100px; right: -100px; width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,109,59,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.cta-blob-left        {
    bottom: -80px; left: -80px; width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(44,88,188,0.2) 0%, transparent 70%);
    pointer-events: none;
}
.hero-card-teal       {
    background: linear-gradient(135deg, #0F766E 0%, #064e45 100%);
    padding: 2.5rem;
}
.hero-card-orange     { background: linear-gradient(135deg, #FF6D3B 0%, #d94a1a 100%); }
.hero-card-amber      { background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%); }
.process-connector    {
    top: 40px; left: 10%; right: 10%; height: 2px;
    background: linear-gradient(90deg, #2C58BC 0%, #FF6D3B 100%);
    z-index: 0;
}
.process-step-col     { position: relative; z-index: 1; }

/* home.php – second pass utilities */
.btn-primary-gradient  { background: linear-gradient(135deg, #2C58BC 0%, #1a3c8a 100%); color: #fff; }
.btn-orange-gradient   { background: linear-gradient(135deg, #FF6D3B 0%, #d94a1a 100%); color: #fff; }
.btn-teal-gradient     { background: linear-gradient(135deg, #0F766E 0%, #064e45 100%); color: #fff; }
.btn-purple-gradient   { background: linear-gradient(135deg, #7C3AED 0%, #5b21b6 100%); color: #fff; }
.hero-orb              {
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.hero-search-lift      { margin-top: -60px; position: relative; z-index: 20; }
.hero-search-glass     {
    max-width: 900px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
}
.search-input-clean    { box-shadow: none; outline: none; height: 60px; }
.portfolio-card-hover  {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: var(--beatsy-card-bg, #fff);
}
