@charset "UTF-8";
/* ==========================================================================
   smmfedex NEXT-GEN ULTRA SMM THEME (Built completely from scratch)
   Features:
   - True Deep Cyber Dark Mode & Pure Crisp Light Mode
   - Glassmorphism & Micro-interactions
   - Modern Arabic (Cairo) & English (Outfit/Inter) Typography
   - Zero Legacy Code Dependencies
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* High-Converting SMM Theme Engine Tokens — Warm Luxe Palette */
  --fx-primary: #f97316;
  --fx-primary-hover: #ea580c;
  --fx-primary-rgb: 249, 115, 22;
  --fx-purple: #6366f1;
  --fx-purple-rgb: 99, 102, 241;
  --fx-accent: #f97316;
  --fx-accent-rgb: 249, 115, 22;
  --fx-gold: #fbbf24;
  --fx-gradient: linear-gradient(135deg, #f97316 0%, #fb923c 50%, #fbbf24 100%);
  --fx-gradient-glow: linear-gradient(135deg, rgba(249, 115, 22, 0.2) 0%, rgba(99, 102, 241, 0.2) 100%);
  --fx-gradient-subtle: linear-gradient(135deg, rgba(249, 115, 22, 0.06) 0%, rgba(99, 102, 241, 0.04) 100%);

  --fx-success: #34d399;
  --fx-warning: #fbbf24;
  --fx-danger: #f87171;
  --fx-info: #22d3ee;

  /* Typography */
  --fx-font-ar: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --fx-font-en: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Sizing & Radius */
  --fx-radius-xs: 6px;
  --fx-radius-sm: 10px;
  --fx-radius-md: 14px;
  --fx-radius-lg: 18px;
  --fx-radius-xl: 24px;
  --fx-radius-full: 9999px;

  --fx-sidebar-w: 280px;
  --fx-header-h: 75px;
  --fx-transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   THEME PALETTE: DARK MODE (Solid High-End Dark Charcoal SMM Panel)
   ========================================================================== */
html,
html.dark,
[data-bs-theme="dark"],
body.night-mode {
  --fx-bg-body: #0b0d12;
  --fx-bg-sidebar: #10131a;
  --fx-bg-header: rgba(16, 19, 26, 0.96);
  --fx-bg-card: #151822;
  --fx-bg-card-alt: #1a1e2a;
  --fx-bg-card-glass: rgba(21, 24, 34, 0.96);
  --fx-bg-input: #1c2030;
  --fx-bg-input-focus: #242a3c;
  --fx-bg-hover: rgba(249, 115, 22, 0.08);
  --fx-bg-active: rgba(249, 115, 22, 0.15);

  --fx-text-title: #f1f5f9;
  --fx-text-main: #cbd5e1;
  --fx-text-muted: #a1afc4;
  --fx-text-dim: #6b7a90;

  --fx-border: rgba(255, 255, 255, 0.08);
  --fx-border-focus: #f97316;
  --fx-border-subtle: rgba(255, 255, 255, 0.05);

  --fx-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --fx-shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.5);
  --fx-shadow-lg: 0 16px 36px -6px rgba(0, 0, 0, 0.65);
  --fx-glow: 0 0 25px rgba(249, 115, 22, 0.3);
  --fx-card-glow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   THEME PALETTE: LIGHT MODE (Ultra-Crisp Apple Light)
   ========================================================================== */
html.light,
[data-bs-theme="light"] {
  --fx-bg-body: #f0f2f5;
  --fx-bg-sidebar: #ffffff;
  --fx-bg-header: rgba(255, 255, 255, 0.96);
  --fx-bg-card: #ffffff;
  --fx-bg-card-alt: #f8fafc;
  --fx-bg-card-glass: #ffffff;
  --fx-bg-input: #f4f6f9;
  --fx-bg-input-focus: #ffffff;
  --fx-bg-hover: #f1f5f9;
  --fx-bg-active: #e2e8f0;

  --fx-text-title: #0f172a;
  --fx-text-main: #334155;
  --fx-text-muted: #64748b;
  --fx-text-dim: #94a3b8;

  --fx-border: #e2e8f0;
  --fx-border-focus: #f97316;
  --fx-border-subtle: #f1f5f9;

  --fx-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --fx-shadow-md: 0 10px 25px -4px rgba(0, 0, 0, 0.08);
  --fx-shadow-lg: 0 20px 35px -6px rgba(0, 0, 0, 0.1);
  --fx-glow: 0 0 20px rgba(249, 115, 22, 0.22);
  --fx-card-glow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Specific Light Mode Rules */
.fx-charge-input {
  font-size: 1.15rem !important;
  color: var(--fx-primary) !important;
  background: var(--fx-bg-input) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: var(--fx-radius-md) !important;
  padding: 0.8rem 1rem !important;
}

html.light .fx-charge-input {
  background: #f4f6f9 !important;
  border-color: #cbd5e1 !important;
  color: var(--fx-primary) !important;
}

html.light .fx-card,
html.light .fx-order-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

html.light .fx-card:hover {
  border-color: rgba(255, 98, 0, 0.35) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07) !important;
}

html.light .fx-premium-select,
html.light .form-select,
html.light .form-control,
html.light .fx-input {
  background-color: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

html.light .fx-cat-btn {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  color: #334155 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
}

html.light .fx-cat-btn:hover {
  background: #f8fafc !important;
  color: #0f172a !important;
  border-color: var(--fx-primary) !important;
}

html.light .fx-cat-btn.active {
  background: var(--fx-gradient) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3) !important;
}

/* Updates Feed Items */
#liveUpdatesFeed {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  padding: 4px 2px !important;
}

#fields textarea {
    height: 195px !important;
}

.fx-update-item {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--fx-radius-md, 12px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1rem 1.15rem 1.15rem 1.15rem !important;
  transition: all var(--fx-transition);
  position: relative;
  overflow: visible !important;
  height: auto !important;
  box-sizing: border-box !important;
}

.fx-update-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(249, 115, 22, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.fx-update-service-link {
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none !important;
  line-height: 1.55;
  display: block;
  margin-top: 0.35rem !important;
  margin-bottom: 0.45rem !important;
  transition: color var(--fx-transition);
}

.fx-update-service-link:hover {
  color: var(--fx-primary, #f97316);
}

.fx-update-details-text {
  color: var(--fx-text-muted, #94a3b8);
  font-size: 0.78rem;
  line-height: 1.6;
  display: flex !important;
  align-items: center !important;
  gap: 8px 12px !important;
  flex-wrap: wrap !important;
  margin-top: 4px !important;
}

.fx-update-id-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.3);
  color: var(--fx-primary, #f97316);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}

.fx-update-desc-span {
  display: inline-block !important;
  color: var(--fx-text-muted, #94a3b8);
  font-size: 0.78rem !important;
  line-height: 1.5 !important;
  word-break: break-word !important;
}

html.light .fx-update-item {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
}

html.light .fx-update-item:hover {
  background: #fffaf5 !important;
  border-color: #fed7aa !important;
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.1) !important;
}

html.light .fx-update-service-link {
  color: #0f172a !important;
}

html.light .fx-update-service-link:hover {
  color: #ea580c !important;
}

html.light .fx-update-details-text,
html.light .fx-update-desc-span {
  color: #64748b !important;
}

/* ==========================================================================
   Sidebar Dual Feed Switcher & Recent Orders Feed Styles
   ========================================================================== */
.fx-sidebar-tab-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--fx-radius-md, 12px);
  padding: 3px;
}

html.light .fx-sidebar-tab-switcher {
  background: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
}

.fx-tab-pill-btn {
  background: transparent;
  border: none;
  color: var(--fx-text-muted, #94a3b8);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--fx-transition);
}

.fx-tab-pill-btn iconify-icon {
  font-size: 0.95rem;
}

.fx-tab-pill-btn:hover {
  color: var(--fx-text-title, #ffffff);
}

.fx-tab-pill-btn.active {
  background: var(--fx-gradient, linear-gradient(135deg, #ff6200, #ff8c00)) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(249, 115, 22, 0.35) !important;
}

html.light .fx-tab-pill-btn {
  color: #64748b;
}

html.light .fx-tab-pill-btn.active {
  background: var(--fx-gradient, linear-gradient(135deg, #ff6200, #ff8c00)) !important;
  color: #ffffff !important;
}

.fx-icon-action-btn {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: var(--fx-text-muted, #94a3b8) !important;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0;
  transition: all var(--fx-transition);
}

.fx-icon-action-btn:hover {
  background: rgba(249, 115, 22, 0.15) !important;
  border-color: var(--fx-primary, #f97316) !important;
  color: var(--fx-primary, #f97316) !important;
}

html.light .fx-icon-action-btn {
  background: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
  color: #64748b !important;
}

/* Recent Orders Feed Cards in Sidebar */
#recentOrdersFeed {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  padding: 4px 2px !important;
}

.fx-recent-order-item {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--fx-radius-md, 12px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1rem 1.15rem !important;
  transition: all var(--fx-transition);
  position: relative;
  overflow: visible !important;
  height: auto !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fx-recent-order-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(249, 115, 22, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

html.light .fx-recent-order-item {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
}

html.light .fx-recent-order-item:hover {
  background: #fffaf5 !important;
  border-color: #fed7aa !important;
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.1) !important;
}

.fx-recent-order-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.fx-recent-order-service {
  color: var(--fx-text-title, #ffffff);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.5;
  display: block;
  word-break: break-word;
}

html.light .fx-recent-order-service {
  color: #0f172a !important;
}

.fx-recent-order-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.76rem;
  color: var(--fx-text-muted, #94a3b8);
  border-top: 1px dashed rgba(255, 255, 255, 0.07);
  padding-top: 8px;
  margin-top: 2px;
}

html.light .fx-recent-order-footer {
  border-top-color: #f1f5f9;
  color: #64748b !important;
}

.fx-recent-order-link {
  color: #38bdf8 !important;
  text-decoration: none !important;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

html.light .fx-recent-order-link {
  color: #2563eb !important;
}

.fx-recent-order-link:hover {
  text-decoration: underline !important;
}

/* Smooth Slide Animations for Real-Time Service Updates */
@keyframes fxUpdateSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-22px) scale(0.96);
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  60% {
    opacity: 0.8;
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    max-height: 180px;
    margin-bottom: 0.65rem;
  }
}

@keyframes fxUpdateSlideOut {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
    max-height: 180px;
  }

  100% {
    opacity: 0;
    transform: translateY(18px) scale(0.92);
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;
  }
}

.fx-update-slide-in {
  animation: fxUpdateSlideDown 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  overflow: hidden !important;
}

.fx-update-slide-out {
  animation: fxUpdateSlideOut 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  overflow: hidden !important;
}

.fx-icon-spinning {
  animation: fxSpin 1s linear infinite;
}

@keyframes fxSpin {
  100% {
    transform: rotate(360deg);
  }
}

/* ==================== Top Contact & Community Channel Cards ==================== */
/* ==================== Ultra-Sleek Top Contact & Community Channel Strip ==================== */
.fx-top-channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  width: 100% !important;
  box-sizing: border-box !important;
}

.fx-top-channel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--fx-bg-card, #151822);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--fx-radius-md, 10px);
  padding: 0.45rem 0.35rem;
  color: var(--fx-text-title);
  text-decoration: none !important;
  font-size: 0.78rem;
  font-weight: 700;
  transition: all var(--fx-transition);
  white-space: nowrap;
  min-width: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.fx-top-channel-btn span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fx-top-channel-btn iconify-icon {
  font-size: 1.05rem;
  flex-shrink: 0;
}

.fx-top-channel-btn:hover {
  background: var(--fx-bg-card-alt, #1a1e2a);
  border-color: rgba(249, 115, 22, 0.4);
  transform: translateY(-1px);
  color: var(--fx-primary);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.fx-live-dot {
  position: absolute;
  top: -1px;
  right: -2px;
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 6px #10b981;
}

html.light .fx-top-channel-btn {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  color: #0f172a !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
}

html.light .fx-top-channel-btn:hover {
  background: #fffaf5 !important;
  border-color: #fed7aa !important;
  color: #ea580c !important;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.1) !important;
}

html.light .fx-channel-title-compact {
  color: #0f172a !important;
}

/* ==================== 1. SaaS KPI Compact Statistics Grid ==================== */
.fx-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 992px) {
  .fx-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .fx-kpi-grid {
    grid-template-columns: 1fr;
  }
}

.fx-kpi-card {
  background: var(--fx-bg-card, #151822);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--fx-radius-md);
  padding: 0.75rem 0.95rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all var(--fx-transition);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  text-align: right;
}

.fx-kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
}

.fx-kpi-orange::before {
  background: linear-gradient(90deg, #f97316, #fbbf24);
}

.fx-kpi-green::before {
  background: linear-gradient(90deg, #34d399, #6ee7b7);
}

.fx-kpi-cyan::before {
  background: linear-gradient(90deg, #22d3ee, #67e8f9);
}

.fx-kpi-purple::before {
  background: linear-gradient(90deg, #6366f1, #a78bfa);
}

[dir="ltr"] .fx-kpi-card {
  text-align: left;
}

.fx-kpi-card:hover {
  transform: translateY(-3px);
  border-color: rgba(249, 115, 22, 0.3);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.fx-kpi-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.fx-kpi-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
}

.fx-kpi-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.fx-kpi-orange .fx-kpi-icon {
  background: rgba(249, 115, 22, 0.15);
  color: #f97316;
}

.fx-kpi-green .fx-kpi-icon {
  background: rgba(52, 211, 153, 0.15);
  color: #34d399;
}

.fx-kpi-cyan .fx-kpi-icon {
  background: rgba(34, 211, 238, 0.15);
  color: #22d3ee;
}

.fx-kpi-purple .fx-kpi-icon {
  background: rgba(99, 102, 241, 0.15);
  color: #6366f1;
}

.fx-kpi-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--fx-text-title);
  line-height: 1.15;
  margin-bottom: 0.25rem;
  letter-spacing: -0.3px;
}

.fx-kpi-trend {
  font-size: 0.7rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.text-purple {
  color: #6366f1 !important;
}

html.light .fx-kpi-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
}

html.light .fx-kpi-title {
  color: #64748b !important;
}

html.light .fx-kpi-value {
  color: #0f172a !important;
}

/* Service Description Box (Dynamic Dark & Light Modes) */
.fx-service-desc {
  background: var(--fx-bg-card-alt, #1a1e2a);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--fx-radius-md);
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--fx-text-muted);
}

.fx-service-desc-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fx-service-desc-title {
  color: var(--fx-text-title);
}

html.light .fx-service-desc {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
  color: #334155 !important;
}

html.light .fx-service-desc-header {
  border-bottom: 1px solid #e2e8f0 !important;
}

html.light .fx-service-desc-title {
  color: #0f172a !important;
}

html.light .fx-service-desc .description-content,
html.light #s_desc_content {
  color: #475569 !important;
}

html.light .fx-spec-item {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

html.light .fx-spec-meta span {
  color: #64748b !important;
}

html.light .fx-spec-meta strong {
  color: #0f172a !important;
}

.fx-user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 98, 0, 0.15);
  color: var(--fx-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  border: 1px solid rgba(255, 98, 0, 0.35);
  flex-shrink: 0;
  transition: all var(--fx-transition);
}

html.light .fx-user-avatar {
  background: rgba(255, 98, 0, 0.12) !important;
  color: var(--fx-primary) !important;
  border-color: rgba(255, 98, 0, 0.3) !important;
}

html.light .fx-nav-balance-pill,
html.light .fx-nav-user-pill,
html.light .fx-icon-btn {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  color: #0f172a !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

html.light .fx-nav-balance-icon {
  background: rgba(255, 98, 0, 0.12) !important;
  color: var(--fx-primary) !important;
}

html.light .fx-nav-item {
  color: #475569 !important;
}

html.light .fx-nav-item iconify-icon,
html.light .fx-nav-item i {
  color: #64748b !important;
}

html.light .fx-nav-item:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: #e2e8f0 !important;
}

html.light .fx-nav-item.active {
  background: #fff7ed !important;
  color: #ea580c !important;
  border-color: rgba(255, 98, 0, 0.25) !important;
  box-shadow: 0 2px 10px rgba(255, 98, 0, 0.12) !important;
}

html.light .fx-stat-box {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}

/* ==========================================================================
   Base & Resets
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 15px;
  scroll-behavior: smooth;
}

/* Ambient Clean SaaS Dark Canvas */
body {
  font-family: var(--fx-font-ar);
  background-color: var(--fx-bg-body) !important;
  color: var(--fx-text-main) !important;
  min-height: 100vh;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--fx-transition), color var(--fx-transition);
  -webkit-font-smoothing: antialiased;
}

/* Desktop Luxury Ambient Background Lighting */
@media (min-width: 992px) {
  body::before {
    content: '';
    position: fixed;
    top: -150px;
    right: 15%;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.06) 0%, rgba(249, 115, 22, 0) 70%);
    pointer-events: none;
    z-index: 0;
    filter: blur(60px);
  }

  body::after {
    content: '';
    position: fixed;
    bottom: -100px;
    left: 10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, rgba(99, 102, 241, 0) 70%);
    pointer-events: none;
    z-index: 0;
    filter: blur(70px);
  }

  .fx-app {
    background-image:
      radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
  }

  html.light .fx-app {
    background-image:
      radial-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
  }
}

[dir="ltr"] body {
  font-family: var(--fx-font-en);
}

a {
  color: var(--fx-primary);
  text-decoration: none !important;
  transition: color var(--fx-transition);
}

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

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--fx-bg-body);
}

::-webkit-scrollbar-thumb {
  background: var(--fx-border);
  border-radius: var(--fx-radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--fx-primary);
}

/* ==========================================================================
   Layout Architecture
   ========================================================================== */
.fx-app {
  display: flex;
  min-height: 100vh;
  position: relative;
  background-color: var(--fx-bg-body);
  z-index: 1;
}

/* Sidebar */
.fx-sidebar {
  width: var(--fx-sidebar-w);
  min-width: var(--fx-sidebar-w);
  height: 100vh;
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--fx-bg-sidebar);
  border-inline-end: 1px solid var(--fx-border);
  display: flex;
  flex-direction: column;
  box-shadow: var(--fx-shadow-sm);
  transition: transform var(--fx-transition), width var(--fx-transition);
  overflow-y: auto;
  overflow-x: hidden;
}

/* Sidebar Brand Header with Animated Image Logo */
.fx-brand {
  padding: 1.15rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--fx-header-h);
  border-bottom: 1px solid var(--fx-border-subtle);
  position: sticky;
  top: 0;
  background: var(--fx-bg-sidebar);
  z-index: 10;
}

.fx-brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  border-radius: var(--fx-radius-md);
}

.fx-logo-img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  /* filter: drop-shadow(0 0 12px rgba(99, 102, 241, 0.45));
  animation: fxLogoFloat 3.5s infinite ease-in-out;
  transition: all var(--fx-transition); */
}

/* .fx-logo-img:hover { */
  /* filter: drop-shadow(0 0 20px rgba(249, 115, 22, 0.65)) drop-shadow(0 0 30px rgba(99, 102, 241, 0.5)); */
  /* transform: scale(1.05); */
/* } */

@keyframes fxLogoFloat {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.4));
  }

  50% {
    transform: translateY(-3px) scale(1.02);
    filter: drop-shadow(0 0 18px rgba(249, 115, 22, 0.55)) drop-shadow(0 0 24px rgba(99, 102, 241, 0.45));
  }
}

/* Sidebar User Widget */
.fx-user-widget {
  padding: 1.25rem 1rem;
}

.fx-user-card {
  background: linear-gradient(135deg, var(--fx-bg-card) 0%, var(--fx-bg-input) 100%);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-lg);
  padding: 1rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--fx-shadow-sm);
  box-shadow: var(--fx-card-glow);
}

.fx-user-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--fx-gradient);
}

.fx-user-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.fx-user-top>div:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: start;
}

.fx-user-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--fx-radius-md);
  overflow: hidden;
  border: 2px solid var(--fx-primary);
  box-shadow: 0 0 12px rgba(var(--fx-primary-rgb), 0.35);
  flex-shrink: 0;
}

.fx-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fx-user-name {
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--fx-text-title);
  margin-bottom: 1px !important;
  line-height: 1.2 !important;
  text-align: start !important;
}

.fx-user-badge {
  font-size: 0.75rem;
  color: var(--fx-accent);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start !important;
  gap: 0.25rem;
  line-height: 1.1 !important;
  margin-top: 0 !important;
  text-align: start !important;
  width: 100%;
}

.fx-user-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(var(--fx-primary-rgb), 0.08);
  border: 1px solid rgba(var(--fx-primary-rgb), 0.15);
  padding: 0.5rem 0.85rem;
  border-radius: var(--fx-radius-md);
}

.fx-user-balance-label {
  font-size: 0.78rem;
  color: var(--fx-text-muted);
}

.fx-user-balance-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--fx-primary);
}

/* Sidebar Navigation Items */
.fx-menu-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-bottom: 0.75rem;
}

.fx-menu-group {
  padding: 0 0.85rem;
  margin-bottom: 1rem;
}

.fx-menu-group:last-child {
  margin-bottom: 0 !important;
}

.fx-menu-title {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--fx-primary) !important;
  padding: 0.6rem 0.85rem 0.35rem 0.85rem;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.fx-menu-title::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--fx-primary);
}

/* Navigation Menu Items (High-Contrast & Clear) */
.fx-nav-item {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 0.7rem 1rem;
  border-radius: var(--fx-radius-md);
  color: var(--fx-text-muted) !important;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.25rem;
  transition: all var(--fx-transition);
  position: relative;
  border: 1px solid transparent;
  background: transparent;
}

.fx-nav-item iconify-icon,
.fx-nav-item i {
  font-size: 1.35rem;
  color: var(--fx-text-dim);
  transition: all var(--fx-transition);
  flex-shrink: 0;
}

.fx-nav-item:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  transform: translateX(-4px);
}

[dir="ltr"] .fx-nav-item:hover {
  transform: translateX(4px);
}

.fx-nav-item:hover iconify-icon {
  color: var(--fx-primary) !important;
  transform: scale(1.1);
}

/* Sleek Active State (Clear Pill with Left Glow Line) */
.fx-nav-item.active {
  background: rgba(249, 115, 22, 0.08) !important;
  color: var(--fx-text-title) !important;
  font-weight: 800;
  border: 1px solid rgba(249, 115, 22, 0.2) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.fx-nav-item.active::before {
  content: '';
  position: absolute;
  right: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 4px 0 0 4px;
  background: var(--fx-primary);
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.6);
}

[dir="ltr"] .fx-nav-item.active::before {
  right: auto;
  left: 0;
  border-radius: 0 4px 4px 0;
}

.fx-nav-item.active iconify-icon {
  color: var(--fx-primary) !important;
  filter: drop-shadow(0 0 6px rgba(249, 115, 22, 0.6));
}

/* Main Content Area */
.fx-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* Top Navbar */
.fx-navbar {
  height: var(--fx-header-h);
  background: var(--fx-bg-header);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--fx-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 1020;
}

.fx-navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Custom Dropdown Positioning & Styling */
.custom-fx-dropdown {
  position: relative;
}

.custom-fx-dropdown .dropdown-menu {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  left: auto !important;
  transform: none !important;
  margin: 0 !important;
  z-index: 1050;
  display: none;
  flex-direction: column !important;
  gap: 3px !important;
  padding: 6px !important;
  min-width: 165px !important;
  background: var(--fx-bg-card, #151822) !important;
  border: 1px solid var(--fx-border, rgba(255, 255, 255, 0.08)) !important;
  border-radius: var(--fx-radius-md, 12px) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 1px rgba(255, 255, 255, 0.1) !important;
}

.custom-fx-dropdown .dropdown-menu.show {
  display: flex !important;
  animation: fxDropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

[dir="rtl"] .custom-fx-dropdown .dropdown-menu,
body.site_rtl .custom-fx-dropdown .dropdown-menu {
  right: auto !important;
  left: 0 !important;
}

/* User Profile & Leftmost items dropdowns open to the right in RTL to stay on-screen */
[dir="rtl"] .fx-navbar-actions .dropdown:last-child .dropdown-menu,
[dir="rtl"] .fx-navbar-actions .dropdown .dropdown-menu-end,
body.site_rtl .fx-navbar-actions .dropdown:last-child .dropdown-menu,
body.site_rtl .fx-navbar-actions .dropdown .dropdown-menu-end {
  left: 0 !important;
  right: auto !important;
}

/* When dropdown is on the far right / balance pill */
[dir="rtl"] .fx-navbar-actions .dropdown:first-child .dropdown-menu,
body.site_rtl .fx-navbar-actions .dropdown:first-child .dropdown-menu {
  right: 0 !important;
  left: auto !important;
}

@media (max-width: 576px) {
  .custom-fx-dropdown .dropdown-menu {
    max-width: calc(100vw - 24px) !important;
    min-width: 160px !important;
  }
}

.custom-fx-dropdown .dropdown-menu li {
  margin: 0 !important;
  list-style: none !important;
}

.custom-fx-dropdown .dropdown-item {
  color: var(--fx-text-muted, #94a3b8) !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  padding: 0.5rem 0.85rem !important;
  transition: all var(--fx-transition);
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  background: transparent !important;
  text-decoration: none !important;
}

.custom-fx-dropdown .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  color: var(--fx-text-title, #ffffff) !important;
}

.custom-fx-dropdown .dropdown-item.active {
  background: rgba(249, 115, 22, 0.12) !important;
  color: var(--fx-primary, #f97316) !important;
  font-weight: 700 !important;
}

.custom-fx-dropdown .dropdown-item.text-danger:hover {
  background: rgba(239, 68, 68, 0.1) !important;
  color: var(--fx-danger) !important;
}

.custom-fx-dropdown .dropdown-item iconify-icon {
  font-size: 1.1rem !important;
  color: var(--fx-primary, #f97316) !important;
  flex-shrink: 0 !important;
}

/* Specific Dropdowns with space-between */
.fx-currencies-dropdown .dropdown-item,
.fx-lang-dropdown .dropdown-item {
  justify-content: space-between !important;
}

/* User Profile Dropdown Menu */
.fx-user-dropdown {
  min-width: 220px !important;
  padding: 0.5rem !important;
}

.fx-user-dropdown-header {
  padding: 0.65rem 0.85rem 0.75rem 0.85rem !important;
  border-bottom: 1px solid var(--fx-border, rgba(255, 255, 255, 0.08)) !important;
  margin-bottom: 0.35rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

html[dir="ltr"] .fx-user-dropdown-header,
body.site_ltr .fx-user-dropdown-header,
[dir="ltr"] .fx-user-dropdown-header {
  text-align: left !important;
  align-items: flex-start !important;
}

html[dir="rtl"] .fx-user-dropdown-header,
body.site_rtl .fx-user-dropdown-header,
[dir="rtl"] .fx-user-dropdown-header {
  text-align: right !important;
  align-items: flex-end !important;
}

.fx-user-dropdown-name {
  color: var(--fx-text-title, #ffffff) !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.2px !important;
}

.fx-user-dropdown-balance {
  color: var(--fx-text-muted, #94a3b8) !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  display: block !important;
  margin-top: 1px !important;
}

.fx-user-dropdown .dropdown-item {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  padding: 0.55rem 0.85rem !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
}

html[dir="ltr"] .fx-user-dropdown .dropdown-item,
body.site_ltr .fx-user-dropdown .dropdown-item,
[dir="ltr"] .fx-user-dropdown .dropdown-item {
  text-align: left !important;
}

html[dir="rtl"] .fx-user-dropdown .dropdown-item,
body.site_rtl .fx-user-dropdown .dropdown-item,
[dir="rtl"] .fx-user-dropdown .dropdown-item {
  text-align: right !important;
}

.fx-user-dropdown .dropdown-item iconify-icon {
  font-size: 1.15rem !important;
  color: var(--fx-primary, #f97316) !important;
  flex-shrink: 0 !important;
}

.fx-user-dropdown .dropdown-item span {
  flex: 1 1 auto;
}

.fx-user-dropdown .dropdown-item.fx-item-danger {
  color: #f87171 !important;
}

.fx-user-dropdown .dropdown-item.fx-item-danger iconify-icon {
  color: #ef4444 !important;
}

.fx-user-dropdown .dropdown-item.fx-item-danger:hover {
  background: rgba(239, 68, 68, 0.12) !important;
  color: #ef4444 !important;
}

.custom-fx-dropdown .dropdown-divider {
  border-top: 1px solid var(--fx-border, rgba(255, 255, 255, 0.08)) !important;
  opacity: 1 !important;
  margin: 0.35rem 0 !important;
}

/* Light Mode Dropdown Styling */
html.light .custom-fx-dropdown .dropdown-menu {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}

html.light .custom-fx-dropdown .dropdown-item {
  color: #475569 !important;
}

html.light .custom-fx-dropdown .dropdown-item:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}

html.light .custom-fx-dropdown .dropdown-item.active {
  background: #fff7ed !important;
  color: #ea580c !important;
}

html.light .fx-user-dropdown-header {
  border-bottom-color: #e2e8f0 !important;
}

html.light .fx-user-dropdown-name {
  color: #0f172a !important;
}

html.light .fx-user-dropdown-balance {
  color: #64748b !important;
}

html.light .custom-fx-dropdown .dropdown-divider {
  border-top-color: #e2e8f0 !important;
}

@keyframes fxDropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}
/* Copy Username Button in User Widget */
.fx-copy-btn-inline {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 3px 5px !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--fx-text-muted, #94a3b8) !important;
  font-size: 0.85rem !important;
  cursor: pointer !important;
  border-radius: 6px !important;
  transition: all var(--fx-transition);
  line-height: 1 !important;
  vertical-align: middle !important;
}

.fx-copy-btn-inline:hover {
  color: var(--fx-primary, #f97316) !important;
  background: rgba(249, 115, 22, 0.15) !important;
  border-color: rgba(249, 115, 22, 0.35) !important;
  transform: scale(1.08);
}

.fx-copy-btn-inline:active {
  transform: scale(0.95);
}

.fx-copy-btn-inline.fx-copied,
.fx-copy-btn-inline.copied {
  color: #22c55e !important;
  border-color: rgba(34, 197, 94, 0.4) !important;
  background: rgba(34, 197, 94, 0.12) !important;
}

html.light .fx-copy-btn-inline {
  background: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
  color: #64748b !important;
}

html.light .fx-copy-btn-inline:hover {
  background: #fff7ed !important;
  border-color: #fed7aa !important;
  color: #ea580c !important;
}

/* ==================== High-End Navbar Components ==================== */
.fx-quick-btn {
  background: var(--fx-gradient) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: var(--fx-radius-md) !important;
  padding: 0.55rem 1.15rem !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.35) !important;
  transition: all var(--fx-transition);
}

.fx-quick-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(249, 115, 22, 0.5) !important;
}

.fx-quick-outline-btn {
  background: var(--fx-bg-input) !important;
  color: var(--fx-text-title) !important;
  border: 1px solid var(--fx-border) !important;
  border-radius: var(--fx-radius-md) !important;
  padding: 0.55rem 1.15rem !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  transition: all var(--fx-transition);
}

.fx-quick-outline-btn:hover {
  background: var(--fx-bg-hover) !important;
  border-color: var(--fx-primary) !important;
  color: var(--fx-primary) !important;
}

/* Balance Pill Component */
.fx-nav-balance-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--fx-bg-card, #151822);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-full);
  padding: 0.4rem 0.95rem;
  cursor: pointer;
  transition: all var(--fx-transition);
}

.fx-nav-balance-pill:hover {
  border-color: rgba(249, 115, 22, 0.4);
  background: var(--fx-bg-card-alt, #1a1e2a);
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.15);
}

.fx-nav-balance-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.15);
  color: var(--fx-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.fx-nav-balance-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: start;
}

.fx-nav-balance-text small {
  font-size: 0.72rem;
  color: var(--fx-text-muted);
}

.fx-nav-balance-text strong {
  font-size: 0.95rem;
  color: var(--fx-primary);
  font-weight: 900;
}

.fx-nav-arrow {
  font-size: 0.75rem;
  color: var(--fx-text-dim);
  transition: transform var(--fx-transition);
}

/* User Pill Component */
.fx-nav-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--fx-bg-card, #151822);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-full);
  padding: 0.35rem 0.5rem 0.35rem 0.85rem;
  cursor: pointer;
  transition: all var(--fx-transition);
}

[dir="ltr"] .fx-nav-user-pill {
  padding: 0.35rem 0.85rem 0.35rem 0.5rem;
}

.fx-nav-user-pill:hover {
  border-color: rgba(249, 115, 22, 0.4);
  background: var(--fx-bg-card-alt, #1a1e2a);
}

.fx-nav-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.15);
  color: var(--fx-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

html.light .fx-nav-user-avatar {
  background: rgba(255, 98, 0, 0.12) !important;
  color: var(--fx-primary) !important;
}

/* ==================== ULTRA-MODERN ICON BUTTONS ==================== */
.fx-sidebar-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--fx-text-muted, #94a3b8);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(8px);
}

.fx-sidebar-close-btn:hover {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.4);
  color: #ef4444;
  transform: rotate(90deg) scale(1.08);
}

.fx-hamburger-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(249, 115, 22, 0.32);
  color: var(--fx-primary, #f97316);
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.15);
}

.fx-hamburger-btn:hover {
  background: var(--fx-primary);
  border-color: var(--fx-primary);
  color: #ffffff;
  transform: scale(1.06);
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.45);
}

.fx-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--fx-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fx-text-title, #ffffff);
  font-size: 1.25rem;
  cursor: pointer;
  transition: all var(--fx-transition);
}

.fx-icon-btn:hover {
  background: rgba(249, 115, 22, 0.12);
  border-color: rgba(249, 115, 22, 0.35);
  color: var(--fx-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.2);
}

html.light .fx-sidebar-close-btn {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #64748b;
}

html.light .fx-hamburger-btn,
html.light .fx-guest-burger-btn,
html.light #guestMenuBtn {
  background: var(--fx-gradient, linear-gradient(135deg, #f97316 0%, #ea580c 100%)) !important;
  border: none !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4) !important;
}

html.light .fx-hamburger-btn iconify-icon,
html.light .fx-guest-burger-btn iconify-icon,
html.light #guestMenuBtn iconify-icon {
  color: #ffffff !important;
}

html.light .fx-icon-btn {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #1e293b;
}

html.light #themeToggleBtn {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #f59e0b !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

html.light #themeToggleBtn iconify-icon {
  color: #f59e0b !important;
}

.fx-body {
  padding: 2rem;
  flex: 1;
}

/* ==================== Next-Gen High-Converting Order Form UI ==================== */
.fx-card {
  background: var(--fx-bg-card, #151822) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: var(--fx-radius-xl) !important;
  padding: 1.75rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45) !important;
  transition: all var(--fx-transition);
  position: relative;
}

.fx-order-card {
  background: var(--fx-bg-card, #151822) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45) !important;
}

.fx-card:hover {
  border-color: rgba(249, 115, 22, 0.25) !important;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.55) !important;
}

.fx-icon-square {
  width: 44px;
  height: 44px;
  border-radius: var(--fx-radius-md);
  background: rgba(249, 115, 22, 0.15);
  color: var(--fx-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.fx-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: fxDotPulse 1.8s infinite;
}

@keyframes fxDotPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.4);
    opacity: 0.6;
  }
}

.fx-premium-select {
  background-color: var(--fx-bg-input) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: var(--fx-radius-md) !important;
  color: var(--fx-text-title) !important;
  padding: 0.85rem 1.15rem !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  transition: all var(--fx-transition);
}

.fx-premium-select:focus {
  border-color: var(--fx-primary) !important;
  background-color: var(--fx-bg-input-focus) !important;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.18) !important;
}

/* Service Specs Grid */
.fx-service-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

@media (max-width: 576px) {
  .fx-service-specs-grid {
    grid-template-columns: 1fr;
  }
}

.fx-spec-item {
  background: var(--fx-bg-card-alt, #1a1e2a);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--fx-radius-md);
  padding: 0.75rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.fx-spec-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--fx-radius-sm);
  background: rgba(249, 115, 22, 0.15);
  color: var(--fx-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.fx-spec-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.fx-spec-meta span {
  font-size: 0.72rem;
  color: var(--fx-text-muted);
}

.fx-spec-meta strong {
  font-size: 0.86rem;
  color: var(--fx-text-title);
  font-weight: 700;
}

/* Price Summary Box */
.fx-price-summary-box {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.08) 0%, rgba(99, 102, 241, 0.06) 100%);
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: var(--fx-radius-lg);
  padding: 1.15rem 1.4rem;
}

.fx-charge-display {
  background: transparent !important;
  border: none !important;
  color: var(--fx-primary) !important;
  font-size: 1.75rem !important;
  font-weight: 900 !important;
  width: 120px;
  text-align: end;
  padding: 0 !important;
}

.fx-charge-display:focus {
  outline: none !important;
}

/* Big Vibrant Submit Button */
.fx-btn-submit-order {
  background: linear-gradient(135deg, #f97316 0%, #fb923c 40%, #fbbf24 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: var(--fx-radius-lg) !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4) !important;
  cursor: pointer;
  transition: all var(--fx-transition);
  position: relative;
  overflow: hidden;
}

.fx-btn-submit-order::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.5s ease;
}

.fx-btn-submit-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(249, 115, 22, 0.55) !important;
  background: linear-gradient(135deg, #ea580c 0%, #f97316 40%, #fbbf24 100%) !important;
}

.fx-btn-submit-order:hover::before {
  left: 100%;
}

.fx-card:hover {
  border-color: rgba(var(--fx-primary-rgb), 0.35);
  box-shadow: var(--fx-shadow-lg);
}

/* Hero Stat Grid */
.fx-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.fx-stat-box {
  background: linear-gradient(135deg, var(--fx-bg-card) 0%, var(--fx-bg-input) 100%);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-lg);
  padding: 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: all var(--fx-transition);
  position: relative;
  overflow: hidden;
}

.fx-stat-box::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--fx-gradient);
  opacity: 0;
  transition: opacity var(--fx-transition);
}

.fx-stat-box:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--fx-primary-rgb), 0.4);
}

.fx-stat-box:hover::after {
  opacity: 1;
}

.fx-stat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--fx-radius-md);
  background: var(--fx-gradient-glow);
  color: var(--fx-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
}

.fx-stat-info {
  display: flex;
  flex-direction: column;
}

.fx-stat-label {
  font-size: 0.85rem;
  color: var(--fx-text-muted);
  font-weight: 600;
}

.fx-stat-val {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--fx-text-title);
  letter-spacing: -0.5px;
}

/* Category Filter Pills (Horizontal Scrollable on Mobile) */
.fx-category-bar-wrapper {
  background: var(--fx-bg-card, #151822);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--fx-radius-md);
  padding: 0.5rem 0.65rem;
}

.fx-category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0;
  align-items: center;
}

@media (max-width: 768px) {
  .fx-category-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.2rem;
    margin-bottom: 0;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .fx-category-bar::-webkit-scrollbar {
    display: none;
  }

  .fx-cat-btn {
    flex-shrink: 0;
    white-space: nowrap;
    scroll-snap-align: start;
    padding: 0.45rem 0.85rem !important;
    font-size: 0.82rem !important;
  }
}

.fx-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  background: var(--fx-bg-card-alt, #1a1e2a) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: var(--fx-radius-sm) !important;
  color: var(--fx-text-main);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--fx-transition);
}

.fx-cat-btn:hover {
  background: rgba(249, 115, 22, 0.08) !important;
  border-color: var(--fx-primary) !important;
  color: var(--fx-text-title);
}

.fx-cat-btn.active {
  background: var(--fx-gradient) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35) !important;
}

html.light .fx-category-bar-wrapper {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
}

.fx-cat-btn iconify-icon,
.fx-cat-btn i,
.fx-cat-btn img,
.fx-platform-img {
  font-size: 1.25rem;
  width: 20px;
  height: 20px;
  object-fit: contain;
  vertical-align: middle;
  flex-shrink: 0;
  transition: all var(--fx-transition);
}

.fx-cat-btn iconify-icon,
.fx-cat-btn i {
  color: var(--fx-primary);
}

.fx-cat-btn:hover {
  background: var(--fx-bg-hover);
  border-color: var(--fx-primary);
}

.fx-cat-btn.active {
  background: var(--fx-gradient) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: var(--fx-glow);
}

.fx-cat-btn.active iconify-icon,
.fx-cat-btn.active i {
  color: #ffffff !important;
}

/* Form Controls & Labels */
.fx-form-group,
.fx-input-group {
  margin-bottom: 1.35rem;
  width: 100%;
}

.fx-label,
.form-label,
label {
  display: block;
  width: 100%;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--fx-text-muted, #94a3b8);
  margin-bottom: 0.45rem;
  letter-spacing: -0.1px;
}

[dir="ltr"] .fx-label,
[dir="ltr"] .form-label,
[dir="ltr"] label,
[dir="ltr"] .fx-notif-channel-card label,
[dir="ltr"] .fx-input-group label {
  text-align: left !important;
}

[dir="rtl"] .fx-label,
[dir="rtl"] .form-label,
[dir="rtl"] label,
[dir="rtl"] .fx-notif-channel-card label,
[dir="rtl"] .fx-input-group label {
  text-align: right !important;
}

/* Base Form Control */
.form-control,
.fx-input,
.fx-input-control {
  width: 100%;
  background-color: var(--fx-bg-input, #1c2030) !important;
  color: var(--fx-text-title, #f8fafc) !important;
  border: 1.5px solid var(--fx-border, rgba(255, 255, 255, 0.08)) !important;
  border-radius: var(--fx-radius-md, 12px) !important;
  padding: 0.85rem 1.15rem !important;
  font-size: 0.95rem !important;
  font-family: inherit !important;
  transition: all var(--fx-transition) !important;
}

.form-control:focus,
.fx-input:focus,
.fx-input-control:focus,
.form-select:focus,
.fx-adv-select:focus {
  background-color: var(--fx-bg-input-focus, #22273a) !important;
  border-color: var(--fx-primary, #f97316) !important;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.18) !important;
  outline: none !important;
}

/* Input Box with Inner Icons & Buttons */
.fx-input-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

[dir="ltr"] .fx-input-box .fx-input-control {
  text-align: left !important;
  padding-left: 2.8rem !important;
  padding-right: 2.8rem !important;
}

[dir="rtl"] .fx-input-box .fx-input-control {
  text-align: right !important;
  padding-right: 2.8rem !important;
  padding-left: 2.8rem !important;
}

.fx-input-icon-end {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fx-text-muted, #64748b);
  font-size: 1.15rem;
  pointer-events: none;
  z-index: 2;
}

[dir="ltr"] .fx-input-icon-end {
  left: 0.95rem;
  right: auto;
}

[dir="rtl"] .fx-input-icon-end {
  right: 0.95rem;
  left: auto;
}

.fx-password-toggle-start {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--fx-text-muted, #64748b);
  font-size: 1.15rem;
  cursor: pointer;
  padding: 0.25rem;
  z-index: 3;
  transition: color var(--fx-transition);
}

[dir="ltr"] .fx-password-toggle-start {
  right: 0.95rem;
  left: auto;
}

[dir="rtl"] .fx-password-toggle-start {
  left: 0.95rem;
  right: auto;
}

.fx-password-toggle-start:hover {
  color: var(--fx-primary, #f97316);
}

/* Select Dropdown (Language & Timezone) */
.form-select,
.fx-adv-select {
  width: 100%;
  height: 48px;
  background-color: var(--fx-bg-input, #1c2030) !important;
  color: var(--fx-text-title, #f8fafc) !important;
  border: 1.5px solid var(--fx-border, rgba(255, 255, 255, 0.08)) !important;
  border-radius: var(--fx-radius-md, 12px) !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2394a3b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-size: 14px 10px !important;
  cursor: pointer;
  transition: all var(--fx-transition) !important;
}

[dir="ltr"] .form-select,
[dir="ltr"] .fx-adv-select {
  background-position: right 1rem center !important;
  padding: 0.75rem 2.5rem 0.75rem 1.15rem !important;
  text-align: left !important;
}

[dir="rtl"] .form-select,
[dir="rtl"] .fx-adv-select {
  background-position: left 1rem center !important;
  padding: 0.75rem 1.15rem 0.75rem 2.5rem !important;
  text-align: right !important;
}

/* Modern Primary Buttons */
.fx-btn-primary,
.btn-primary,
.fx-btn-submit-mass,
form button[type="submit"]:not(.fx-orders-search-submit):not(.fx-orders-search-btn) {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem !important;
  height: 42px !important;
  min-height: 42px !important;
  background: var(--fx-gradient) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  border: none !important;
  border-radius: var(--fx-radius-md, 12px) !important;
  box-shadow: 0 4px 15px rgba(var(--fx-primary-rgb), 0.3) !important;
  cursor: pointer;
  transition: all var(--fx-transition) !important;
}

.fx-btn-primary:hover,
.btn-primary:hover,
.fx-btn-submit-mass:hover,
form button[type="submit"]:not(.fx-orders-search-submit):not(.fx-orders-search-btn):hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(var(--fx-primary-rgb), 0.45) !important;
  color: #ffffff !important;
  opacity: 0.95;
}

/* Data Tables */
.fx-table-container {
  background: var(--fx-bg-card);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-xl);
  overflow: hidden;
  box-shadow: var(--fx-shadow-md);
}

.table {
  width: 100%;
  margin-bottom: 0;
  border-collapse: collapse;
  color: var(--fx-text-main) !important;
}

.table th {
  background: var(--fx-bg-input);
  color: var(--fx-text-muted);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 1.15rem;
  border-bottom: 1px solid var(--fx-border);
  text-transform: uppercase;
}

.table td {
  padding: 1.15rem;
  border-bottom: 1px solid var(--fx-border-subtle);
  background: transparent;
  color: var(--fx-text-main);
  font-size: 0.92rem;
  vertical-align: middle;
}

.table tr:hover td {
  background: var(--fx-bg-hover);
}

/* ==========================================================================
   Status Badges (WCAG AAA Contrast Compliant: >= 7.0:1)
   ========================================================================== */
.badge {
  padding: 0.35rem 0.85rem !important;
  border-radius: var(--fx-radius-full, 9999px) !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  line-height: 1.25 !important;
  letter-spacing: 0.01em !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.badge iconify-icon {
  font-size: 0.95rem !important;
  flex-shrink: 0 !important;
}

/* Success: Completed / Answered / Enabled */
.badge-success,
.badge.Completed {
  background: rgba(16, 185, 129, 0.16) !important;
  border: 1px solid rgba(16, 185, 129, 0.32) !important;
  color: #6ee7b7 !important;
}

.badge-success iconify-icon,
.badge.Completed iconify-icon {
  color: #34d399 !important;
}

/* Warning: Pending / Paused / In-Review */
.badge-warning,
.badge.Pending {
  background: rgba(245, 158, 11, 0.16) !important;
  border: 1px solid rgba(245, 158, 11, 0.32) !important;
  color: #fcd34d !important;
}

.badge-warning iconify-icon,
.badge.Pending iconify-icon {
  color: #fbbf24 !important;
}

/* Info: In progress / Processing / Open */
.badge-info,
.badge.In.progress,
.badge.Processing {
  background: rgba(59, 130, 246, 0.16) !important;
  border: 1px solid rgba(59, 130, 246, 0.32) !important;
  color: #93c5fd !important;
}

.badge-info iconify-icon,
.badge.In.progress iconify-icon,
.badge.Processing iconify-icon {
  color: #60a5fa !important;
}

/* Danger: Canceled / Rejected / Error / Closed */
.badge-danger,
.badge.Canceled,
.badge.Rejected,
.badge.Error {
  background: rgba(239, 68, 68, 0.16) !important;
  border: 1px solid rgba(239, 68, 68, 0.32) !important;
  color: #fca5a5 !important;
}

.badge-danger iconify-icon,
.badge.Canceled iconify-icon,
.badge.Rejected iconify-icon,
.badge.Error iconify-icon {
  color: #f87171 !important;
}

/* Partial / Expired */
.badge-partial,
.badge.Partial,
.badge.Expired {
  background: rgba(99, 102, 241, 0.16) !important;
  border: 1px solid rgba(99, 102, 241, 0.32) !important;
  color: #a5b4fc !important;
}

.badge-partial iconify-icon,
.badge.Partial iconify-icon,
.badge.Expired iconify-icon {
  color: #818cf8 !important;
}

/* Primary / Custom */
.badge-primary {
  background: rgba(249, 115, 22, 0.16) !important;
  border: 1px solid rgba(249, 115, 22, 0.32) !important;
  color: #fdba74 !important;
}

.badge-primary iconify-icon {
  color: #f97316 !important;
}

/* ================= Status Badges in Light Mode ================= */
html.light .badge-success,
html[data-bs-theme="light"] .badge-success,
.light .badge-success,
html.light .badge.Completed,
html[data-bs-theme="light"] .badge.Completed,
.light .badge.Completed {
  background: #d1fae5 !important;
  border: 1px solid #6ee7b7 !important;
  color: #065f46 !important;
}

html.light .badge-success iconify-icon,
html[data-bs-theme="light"] .badge-success iconify-icon,
.light .badge-success iconify-icon,
html.light .badge.Completed iconify-icon,
html[data-bs-theme="light"] .badge.Completed iconify-icon,
.light .badge.Completed iconify-icon {
  color: #047857 !important;
}

html.light .badge-warning,
html[data-bs-theme="light"] .badge-warning,
.light .badge-warning,
html.light .badge.Pending,
html[data-bs-theme="light"] .badge.Pending,
.light .badge.Pending {
  background: #fef3c7 !important;
  border: 1px solid #fcd34d !important;
  color: #92400e !important;
}

html.light .badge-warning iconify-icon,
html[data-bs-theme="light"] .badge-warning iconify-icon,
.light .badge-warning iconify-icon,
html.light .badge.Pending iconify-icon,
html[data-bs-theme="light"] .badge.Pending iconify-icon,
.light .badge.Pending iconify-icon {
  color: #b45309 !important;
}

html.light .badge-info,
html[data-bs-theme="light"] .badge-info,
.light .badge-info,
html.light .badge.In.progress,
html[data-bs-theme="light"] .badge.In.progress,
.light .badge.In.progress,
html.light .badge.Processing,
html[data-bs-theme="light"] .badge.Processing,
.light .badge.Processing {
  background: #dbeafe !important;
  border: 1px solid #93c5fd !important;
  color: #1e40af !important;
}

html.light .badge-info iconify-icon,
html[data-bs-theme="light"] .badge-info iconify-icon,
.light .badge-info iconify-icon,
html.light .badge.In.progress iconify-icon,
html[data-bs-theme="light"] .badge.In.progress iconify-icon,
.light .badge.In.progress iconify-icon,
html.light .badge.Processing iconify-icon,
html[data-bs-theme="light"] .badge.Processing iconify-icon,
.light .badge.Processing iconify-icon {
  color: #1d4ed8 !important;
}

html.light .badge-danger,
html[data-bs-theme="light"] .badge-danger,
.light .badge-danger,
html.light .badge.Canceled,
html[data-bs-theme="light"] .badge.Canceled,
.light .badge.Canceled,
html.light .badge.Rejected,
html[data-bs-theme="light"] .badge.Rejected,
.light .badge.Rejected,
html.light .badge.Error,
html[data-bs-theme="light"] .badge.Error,
.light .badge.Error {
  background: #fee2e2 !important;
  border: 1px solid #fca5a5 !important;
  color: #991b1b !important;
}

html.light .badge-danger iconify-icon,
html[data-bs-theme="light"] .badge-danger iconify-icon,
.light .badge-danger iconify-icon,
html.light .badge.Canceled iconify-icon,
html[data-bs-theme="light"] .badge.Canceled iconify-icon,
.light .badge.Canceled iconify-icon,
html.light .badge.Rejected iconify-icon,
html[data-bs-theme="light"] .badge.Rejected iconify-icon,
.light .badge.Rejected iconify-icon,
html.light .badge.Error iconify-icon,
html[data-bs-theme="light"] .badge.Error iconify-icon,
.light .badge.Error iconify-icon {
  color: #b91c1c !important;
}

html.light .badge-partial,
html[data-bs-theme="light"] .badge-partial,
.light .badge-partial,
html.light .badge.Partial,
html[data-bs-theme="light"] .badge.Partial,
.light .badge.Partial,
html.light .badge.Expired,
html[data-bs-theme="light"] .badge.Expired,
.light .badge.Expired {
  background: #e0e7ff !important;
  border: 1px solid #a5b4fc !important;
  color: #3730a3 !important;
}

html.light .badge-partial iconify-icon,
html[data-bs-theme="light"] .badge-partial iconify-icon,
.light .badge-partial iconify-icon,
html.light .badge.Partial iconify-icon,
html[data-bs-theme="light"] .badge.Partial iconify-icon,
.light .badge.Partial iconify-icon,
html.light .badge.Expired iconify-icon,
html[data-bs-theme="light"] .badge.Expired iconify-icon,
.light .badge.Expired iconify-icon {
  color: #4338ca !important;
}

html.light .badge-primary,
html[data-bs-theme="light"] .badge-primary,
.light .badge-primary {
  background: #ffedd5 !important;
  border: 1px solid #fed7aa !important;
  color: #9a3412 !important;
}

html.light .badge-primary iconify-icon,
html[data-bs-theme="light"] .badge-primary iconify-icon,
.light .badge-primary iconify-icon {
  color: #ea580c !important;
}

/* Responsive Layout & Mobile Optimization */
@media (max-width: 991px) {
  :root {
    --fx-header-h: 62px;
  }

  /* Closed by default on mobile */
  .fx-sidebar {
    position: fixed !important;
    top: 0;
    bottom: 0;
    height: 100dvh !important;
    max-height: 100dvh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    transform: translateX(100%) !important;
    z-index: 1060 !important;
    transition: transform var(--fx-transition);
  }

  .fx-sidebar .fx-menu-wrap {
    padding-bottom: calc(0.85rem + env(safe-area-inset-bottom, 8px)) !important;
  }

  [dir="ltr"] .fx-sidebar {
    transform: translateX(-100%) !important;
  }

  /* Open only when explicitly toggled on mobile */
  .fx-app.sidebar-open .fx-sidebar {
    transform: translateX(0) !important;
    box-shadow: var(--fx-shadow-lg) !important;
  }

  .fx-blur-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    z-index: 1055 !important;
  }

  .fx-app.sidebar-open .fx-blur-overlay {
    display: block;
  }

  .fx-navbar {
    padding: 0 0.85rem;
    height: 58px;
  }

  .fx-navbar-actions {
    gap: 0.45rem;
  }

  .fx-icon-btn {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

  .fx-nav-balance-pill {
    padding: 0.3rem 0.65rem;
    gap: 0.45rem;
  }

  .fx-nav-balance-icon {
    width: 28px;
    height: 28px;
    font-size: 0.95rem;
  }

  .fx-nav-balance-text small {
    display: none;
  }

  .fx-nav-balance-text strong {
    font-size: 0.85rem;
  }

  .fx-nav-user-pill {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  .fx-nav-user-avatar {
    width: 36px !important;
    height: 36px !important;
    font-size: 1.15rem !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--fx-border) !important;
    border-radius: 50% !important;
  }

  .fx-body {
    padding: 0.85rem 0.75rem;
  }

  /* Compact Mobile Cards & Spacings */
  .fx-card {
    padding: 1.15rem 1rem !important;
    border-radius: var(--fx-radius-lg) !important;
  }

  /* Mobile 2x2 Balanced KPI Grid */
  .fx-kpi-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    margin-bottom: 1.15rem !important;
  }

  .fx-kpi-card {
    padding: 0.75rem 0.85rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    border-radius: var(--fx-radius-md, 12px) !important;
    min-height: 88px !important;
    text-align: start !important;
    box-sizing: border-box !important;
  }

  .fx-kpi-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 0.35rem !important;
  }

  .fx-kpi-title {
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    color: var(--fx-text-muted) !important;
    white-space: nowrap !important;
  }

  .fx-kpi-icon {
    width: 28px !important;
    height: 28px !important;
    border-radius: 7px !important;
    font-size: 1rem !important;
    flex-shrink: 0 !important;
  }

  .fx-kpi-value {
    font-size: 0.98rem !important;
    font-weight: 800 !important;
    color: var(--fx-text-title) !important;
    margin-bottom: 0 !important;
    letter-spacing: -0.2px !important;
    text-align: start !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.25 !important;
  }

  .fx-kpi-trend {
    font-size: 0.65rem !important;
    margin-top: 3px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* 4th Card: Account Tier Card */
  .fx-kpi-card.fx-kpi-purple .fx-kpi-value {
    font-size: 0.95rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .fx-kpi-card.fx-kpi-purple .fx-tier-badge {
    font-size: 0.68rem !important;
    padding: 1px 6px !important;
  }

  .fx-kpi-card.fx-kpi-purple .fx-tier-progress-wrap {
    margin-top: 4px !important;
  }

  .fx-kpi-card.fx-kpi-purple .fx-tier-progress-labels {
    font-size: 0.65rem !important;
    margin-top: 3px !important;
  }

  /* Mobile Stats Grid */
  .fx-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
    margin-bottom: 1.25rem !important;
  }

  .fx-stat-box {
    padding: 1rem 0.9rem !important;
    gap: 0.75rem !important;
    border-radius: var(--fx-radius-md) !important;
    flex-direction: row !important;
    align-items: center !important;
  }

  .fx-stat-icon {
    width: 44px !important;
    height: 44px !important;
    font-size: 1.35rem !important;
    flex-shrink: 0 !important;
  }

  .fx-stat-info {
    min-width: 0 !important;
  }

  .fx-stat-label {
    font-size: 0.78rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .fx-stat-val {
    font-size: 1.15rem !important;
    font-weight: 900 !important;
  }

  /* Form Elements on Mobile */
  .fx-form-group {
    margin-bottom: 1rem !important;
  }

  .fx-label {
    font-size: 0.82rem !important;
    margin-bottom: 0.35rem !important;
  }

  .form-control,
  .form-select,
  .fx-input {
    padding: 0.65rem 0.85rem !important;
    font-size: 0.88rem !important;
    border-radius: var(--fx-radius-sm) !important;
  }

  .fx-btn-primary,
  .btn-primary,
  .fx-btn-submit-mass,
  form button[type="submit"]:not(.fx-orders-search-submit):not(.fx-orders-search-btn) {
    padding: 0.45rem 1rem !important;
    height: 38px !important;
    min-height: 38px !important;
    font-size: 0.82rem !important;
    border-radius: var(--fx-radius-md, 10px) !important;
  }

  /* Balance Badge & Icons in Header on Mobile */
  .fx-balance-badge {
    padding: 0.4rem 0.75rem !important;
    font-size: 0.82rem !important;
  }

  .fx-icon-btn {
    width: 36px !important;
    height: 36px !important;
    font-size: 1.1rem !important;
  }

  .fx-user-avatar {
    width: 36px !important;
    height: 36px !important;
  }
}

/* ==========================================================================
   LANDING PAGE & SIGNIN NEXT-GEN ARCHITECTURE (.fi-v6)
   ========================================================================== */
.fi-v6 {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: var(--fx-bg-body);
  color: var(--fx-text-main);
  overflow-x: hidden;
}

#ptc {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

/* Guest Header */
.fx-guest-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 15, 20, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--fx-border);
  transition: all var(--fx-transition);
}

html.light .fx-guest-header {
  background: rgba(255, 255, 255, 0.88);
}

.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Universal Page Container */
.fx-page-container {
  width: 100%;
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: 0 0 !important;
  box-sizing: border-box;
}

/* Guest Layout Alignment */
.fx-guest-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.fx-guest-layout>.fx-page-container {
  padding: 2.5rem 1.25rem 4.5rem 1.25rem !important;
  max-width: 1240px !important;
  margin: 0 auto !important;
  width: 100% !important;
}

@media (max-width: 768px) {
  .fx-guest-layout>.fx-page-container {
    padding: 1.25rem 1rem 3rem 1rem !important;
  }
}

/* ==========================================================================
   NEXT-GEN ORIGINAL SAAS HERO & COMPACT LOGIN CARD
   ========================================================================== */
.fx-hero-prime {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
  z-index: 1;
}

.fx-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

.fx-hero-text {
  flex: 1 1 56%;
  max-width: 650px;
  text-align: right;
}

[dir="ltr"] .fx-hero-text {
  text-align: left;
}

.fx-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 98, 0, 0.08);
  border: 1px solid rgba(255, 98, 0, 0.25);
  border-radius: var(--fx-radius-full);
  padding: 0.45rem 1.15rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--fx-primary);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.fx-badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fx-primary);
  box-shadow: 0 0 10px var(--fx-primary);
  animation: fxPulse 1.8s infinite;
}

.fx-hero-heading {
  font-size: 2.85rem;
  font-weight: 900;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.6px;
}

html.light .fx-hero-heading {
  color: #0f172a;
}

.fx-highlight-gradient {
  background: var(--fx-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.fx-hero-subtext {
  font-size: 1.05rem;
  color: #94a3b8;
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* Modern Micro Badges */
.fx-hero-badges-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.fx-h-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--fx-radius-full);
  padding: 0.25rem 0.65rem 0.25rem 0.45rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: #cbd5e1;
  transition: all var(--fx-transition);
}

html.light .fx-h-badge-pill {
  background: #ffffff;
  border-color: #e2e8f0;
  color: #334155;
}

.fx-h-badge-pill:hover {
  background: rgba(255, 98, 0, 0.08);
  border-color: rgba(255, 98, 0, 0.25);
  color: #ffffff;
}

.fx-h-badge-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 98, 0, 0.12);
  color: var(--fx-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

/* Compact Micro Live Stats Row */
.fx-hero-stats-row {
  display: inline-flex;
  align-items: center;
  background: rgba(18, 22, 32, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 0.45rem 0.95rem;
  gap: 1rem;
  backdrop-filter: blur(8px);
}

html.light .fx-hero-stats-row {
  background: #ffffff;
  border-color: #e2e8f0;
}

.fx-stat-mini-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.fx-stat-num {
  font-size: 0.92rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  font-family: monospace, sans-serif;
  letter-spacing: -0.3px;
}

html.light .fx-stat-num {
  color: #0f172a;
}

.fx-stat-lbl {
  font-size: 0.65rem;
  color: #94a3b8;
  font-weight: 600;
  margin-top: 1px;
}

.fx-stat-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.08);
}

html.light .fx-stat-divider {
  background: #e2e8f0;
}

/* ==================== Ultra-Luxury SaaS Login Card (.fx-premium-login-card) ==================== */
.fx-hero-auth-box {
  flex: 1 1 45%;
  max-width: 440px;
  width: 100%;
}

.fx-premium-login-card {
  position: relative;
  background: rgba(18, 21, 30, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 1.85rem 1.65rem 1.45rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: all var(--fx-transition);
}

html.light .fx-premium-login-card {
  background: rgba(255, 255, 255, 0.95);
  border-color: #e2e8f0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.fx-card-top-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--fx-gradient);
}

/* Card Header */
.fx-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.45rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

html.light .fx-card-head {
  border-color: #f1f5f9;
}

.fx-card-head-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 98, 0, 0.12);
  color: var(--fx-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 4px 12px rgba(255, 98, 0, 0.15);
  flex-shrink: 0;
}

.fx-card-head-text {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  text-align: start !important;
}

.fx-card-head-title {
  font-size: 1.2rem; 
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 0.15rem 0 !important;
  padding: 0 !important;
  line-height: 1.2;
  text-align: start !important;
  width: 100%;
}

html.light .fx-card-head-title {
  color: #0f172a;
}

.fx-card-head-sub {
  font-size: 0.76rem;
  color: #94a3b8;
  font-weight: 500;
  text-align: start !important;
  display: block;
  width: 100%;
}

.fx-brand-glow-name {
  color: var(--fx-primary, #f97316) !important;
  font-weight: 800 !important;
  font-family: var(--fx-font-en);
  text-shadow: 0 0 10px rgba(249, 115, 22, 0.4);
}

/* Auth Card Header RTL / LTR Direction Rules */
html[dir="ltr"] .fx-card-head-text,
html:not([dir="rtl"]) .fx-card-head-text,
body.site_ltr .fx-card-head-text,
[dir="ltr"] .fx-card-head-text,
html[dir="ltr"] .fx-card-head .text-start,
html:not([dir="rtl"]) .fx-card-head .text-start,
body.site_ltr .fx-card-head .text-start,
[dir="ltr"] .fx-card-head .text-start {
  align-items: flex-start !important;
  text-align: left !important;
}

html[dir="ltr"] .fx-card-head-title,
html:not([dir="rtl"]) .fx-card-head-title,
body.site_ltr .fx-card-head-title,
[dir="ltr"] .fx-card-head-title,
html[dir="ltr"] .fx-card-head-sub,
html:not([dir="rtl"]) .fx-card-head-sub,
body.site_ltr .fx-card-head-sub,
[dir="ltr"] .fx-card-head-sub {
  text-align: left !important;
}

html[dir="rtl"] .fx-card-head-text,
body.site_rtl .fx-card-head-text,
[dir="rtl"] .fx-card-head-text,
html[dir="rtl"] .fx-card-head .text-start,
body.site_rtl .fx-card-head .text-start,
[dir="rtl"] .fx-card-head .text-start {
  align-items: flex-start !important;
  text-align: right !important;
}

html[dir="rtl"] .fx-card-head-title,
body.site_rtl .fx-card-head-title,
[dir="rtl"] .fx-card-head-title,
html[dir="rtl"] .fx-card-head-sub,
body.site_rtl .fx-card-head-sub,
[dir="rtl"] .fx-card-head-sub {
  text-align: right !important;
}

/* Universal Alert Direction & Alignment */
.alert,
.alert.alert-danger,
.alert.alert-success,
.alert.alert-warning,
.alert.alert-info {
  direction: rtl !important;
  text-align: right !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
}

.alert:not([style*="display: none"]):not([style*="display:none"]):not(.d-none):not(.hide) {
  display: flex !important;
}

.alert[style*="display: none"],
.alert[style*="display:none"] {
  display: none !important;
}

.alert>iconify-icon,
.alert>i {
  font-size: 1.15rem !important;
  flex-shrink: 0 !important;
  order: 1 !important;
}

.alert>div,
.alert>span {
  text-align: right !important;
  flex: 1 1 auto !important;
  order: 2 !important;
}

.alert .close,
.alert .btn-close {
  order: 3 !important;
  margin-inline-start: auto !important;
  margin-inline-end: 0 !important;
  position: static !important;
  padding: 0 !important;
}

[dir="ltr"] .alert {
  direction: ltr !important;
  text-align: left !important;
}

[dir="ltr"] .alert>div,
[dir="ltr"] .alert>span {
  text-align: left !important;
}

.fx-live-secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--fx-radius-full);
  padding: 0.25rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #10b981;
}

.fx-live-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: fxPulse 1.6s infinite;
}

/* Modern Input Box */
.fx-input-box {
  position: relative;
}

.fx-input-control {
  width: 100%;
  background: #131722;
  border: 1.5px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 0.65rem 3.4rem 0.65rem 1.15rem !important;
  height: 44px !important;
  min-height: 44px !important;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: inherit;
  transition: all var(--fx-transition);
  text-align: right !important;
  direction: rtl !important;
}

.fx-input-control[type="email"],
.fx-input-control[type="password"],
.fx-input-control[type="text"] {
  text-align: right !important;
  direction: rtl !important;
}

.fx-input-control::placeholder {
  color: #64748b !important;
  opacity: 0.85;
  font-size: 0.88rem;
  font-weight: 500;
  text-align: right !important;
  direction: rtl !important;
  padding: 0 !important;
  margin: 0 !important;
  text-indent: 0 !important;
}

[dir="ltr"] .fx-input-control,
[dir="ltr"] .fx-input-control[type="text"],
[dir="ltr"] .fx-input-control[type="email"],
body.site_ltr .fx-input-control,
.site_ltr .fx-input-control {
  padding: 0.65rem 1.15rem 0.65rem 2.85rem !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir="ltr"] .fx-input-control[type="password"],
body.site_ltr .fx-input-control[type="password"],
.site_ltr .fx-input-control[type="password"] {
  padding: 0.65rem 2.85rem 0.65rem 2.85rem !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir="ltr"] .fx-input-control::placeholder,
body.site_ltr .fx-input-control::placeholder,
.site_ltr .fx-input-control::placeholder {
  text-align: left !important;
  direction: ltr !important;
  padding: 0 !important;
  margin: 0 !important;
  text-indent: 0 !important;
}

html.light .fx-input-control {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

html.light .fx-input-control::placeholder {
  color: #94a3b8 !important;
}

.fx-input-control:focus {
  background: #181d2c;
  border-color: var(--fx-primary);
  box-shadow: 0 0 0 3.5px rgba(255, 98, 0, 0.16);
  outline: none;
}

html.light .fx-input-control:focus {
  background: #ffffff;
}

.fx-input-icon-end {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  right: 1.15rem !important;
  left: auto !important;
  color: #64748b !important;
  font-size: 1.15rem !important;
  pointer-events: none !important;
  transition: color var(--fx-transition) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 2 !important;
  line-height: 1 !important;
}

.fx-password-toggle,
.fx-password-toggle-start,
button.fx-password-toggle-start {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  left: 1.15rem !important;
  right: auto !important;
  color: #64748b !important;
  font-size: 1.15rem !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all var(--fx-transition) !important;
  z-index: 5 !important;
  width: 24px !important;
  height: 24px !important;
  line-height: 1 !important;
}

.fx-password-toggle:hover,
.fx-password-toggle-start:hover,
button.fx-password-toggle-start:hover {
  color: var(--fx-primary, #f97316) !important;
  transform: translateY(-50%) scale(1.15) !important;
}

.fx-password-toggle:focus,
.fx-password-toggle-start:focus,
button.fx-password-toggle-start:focus {
  outline: none !important;
  box-shadow: none !important;
}

.fx-input-control[type="password"] {
  padding-right: 3.4rem !important;
  padding-left: 3.4rem !important;
}

[dir="ltr"] .fx-input-icon-end {
  right: auto !important;
  left: 1.15rem !important;
}

[dir="ltr"] .fx-password-toggle,
[dir="ltr"] .fx-password-toggle-start,
[dir="ltr"] button.fx-password-toggle-start {
  left: auto !important;
  right: 1.15rem !important;
}

.fx-input-box:focus-within .fx-input-icon-end {
  color: var(--fx-primary);
}

/* Action Strip */
.fx-action-strip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* OR Divider */
.fx-or-divider {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 1.15rem 0;
}

.fx-or-divider::before,
.fx-or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.fx-or-divider span {
  font-size: 0.8rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

html.light .fx-or-divider::before,
html.light .fx-or-divider::after,
html[data-bs-theme="light"] .fx-or-divider::before,
html[data-bs-theme="light"] .fx-or-divider::after,
.light .fx-or-divider::before,
.light .fx-or-divider::after {
  background: #cbd5e1 !important;
}

html.light .fx-or-divider span,
html[data-bs-theme="light"] .fx-or-divider span,
.light .fx-or-divider span {
  color: #475569 !important;
  font-weight: 800 !important;
}

/* Google Sign-In Wrapper */
.fx-google-signin-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.fx-btn-primary-action {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--fx-gradient);
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 800;
  padding: 0.8rem 1.15rem;
  border: none;
  border-radius: 12px;
  box-shadow: var(--fx-glow);
  cursor: pointer;
  transition: all var(--fx-transition);
}

.fx-btn-primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 98, 0, 0.45);
}

.fx-tool-icon-btn {
  width: 44px;
  height: 44px;
  background: #141722;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 1.25rem;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  margin-bottom: 0;
  transition: all var(--fx-transition);
  flex-shrink: 0;
}

html.light .fx-tool-icon-btn {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #64748b;
}

.fx-tool-icon-btn:hover {
  background: #1e2434;
  color: var(--fx-primary);
  border-color: rgba(255, 98, 0, 0.35);
  transform: translateY(-2px);
}

/* Remember Me Toggle Active State */
.fx-remember-toggle:has(input:checked) {
  background: rgba(255, 98, 0, 0.15);
  border-color: var(--fx-primary);
  color: var(--fx-primary);
}

.fx-remember-toggle:has(input:checked) .fx-remember-icon {
  color: var(--fx-primary);
  filter: drop-shadow(0 0 6px var(--fx-primary));
}

.fx-google-login-btn:hover {
  background: #ffffff !important;
  border-color: #ffffff !important;
}

/* Card Footer */
.fx-card-footer {
  text-align: center;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.86rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

html.light .fx-card-footer {
  border-color: #f1f5f9;
}

.fx-link-signup {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--fx-primary);
  font-weight: 800;
  text-decoration: none;
  transition: all var(--fx-transition);
}

.fx-link-signup:hover {
  text-decoration: underline;
  transform: translateX(-2px);
}

/* Animated Glowing Brand Text */
.fx-brand-glow-text {
  display: inline-block;
  color: var(--fx-primary);
  background: var(--fx-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  letter-spacing: 0.5px;
  animation: fxBrandPulse 2.5s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 8px rgba(255, 98, 0, 0.45));
}

@keyframes fxBrandPulse {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 5px rgba(255, 98, 0, 0.3));
  }

  100% {
    transform: scale(1.08);
    filter: drop-shadow(0 0 14px rgba(255, 98, 0, 0.75));
  }
}

/* Responsive Rules */
@media (max-width: 991px) {
  .fx-hero-prime {
    padding: 1.75rem 0 2.5rem;
  }

  .fx-hero-inner {
    flex-direction: column !important;
    gap: 1.5rem !important;
  }

  .fx-hero-text {
    order: 1 !important;
    text-align: center;
    max-width: 100%;
  }

  .fx-hero-heading {
    font-size: 1.65rem;
    margin-bottom: 0.75rem;
    line-height: 1.35;
  }

  .fx-hero-subtext {
    font-size: 0.88rem;
    line-height: 1.65;
    margin-bottom: 0.5rem;
    padding: 0 0.5rem;
  }

  /* Completely hide badges and stats on mobile */
  .fx-hero-badges-row,
  .fx-hero-stats-row {
    display: none !important;
  }

  /* Clean Mobile Login Card */
  .fx-hero-auth-box {
    max-width: 100%;
    order: 2 !important;
    width: 100%;
  }

  .fx-premium-login-card {
    padding: 1.25rem 1.15rem;
    border-radius: 16px;
  }

  .fx-card-head {
    margin-bottom: 1.15rem;
    padding-bottom: 0.75rem;
  }

  .fx-live-secure-badge {
    display: none;
    /* Hide on mobile so title doesn't break into multi-lines */
  }

  .fx-card-head-title {
    font-size: 1.1rem;
  }

  .fx-card-head-icon {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }

  .fx-input-control {
    padding: 0.7rem 2.85rem 0.7rem 0.85rem !important;
    font-size: 0.88rem;
    border-radius: 10px;
  }

  .fx-btn-primary-action {
    padding: 0.72rem 1rem;
    font-size: 0.88rem;
    border-radius: 10px;
  }

  .fx-tool-icon-btn {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    border-radius: 10px;
  }

  .fx-card-footer {
    margin-top: 1rem;
    padding-top: 0.85rem;
    font-size: 0.82rem;
  }
}

/* ==================== Public Guest Navbar & Mobile Menu ==================== */
.fx-guest-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(13, 15, 20, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 1000;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Scrolled Sticky State with Solid Dark Glass & Glow Border */
.fx-guest-header.fx-header-scrolled {
  background: rgba(10, 12, 17, 0.95) !important;
  backdrop-filter: blur(25px) !important;
  -webkit-backdrop-filter: blur(25px) !important;
  border-bottom: 1px solid rgba(255, 98, 0, 0.25) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 98, 0, 0.08) !important;
}

html.light .fx-guest-header {
  background: rgba(255, 255, 255, 0.85);
  border-color: #e2e8f0;
}

html.light .fx-guest-header.fx-header-scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  border-bottom-color: rgba(255, 98, 0, 0.2) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06) !important;
}

.fx-nav-link {
  color: #94a3b8 !important;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.4rem 0.65rem;
  border-radius: var(--fx-radius-md);
  transition: all var(--fx-transition);
}

.fx-nav-link:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.05);
}

html.light .fx-nav-link {
  color: #475569 !important;
}

html.light .fx-nav-link:hover {
  color: #0f172a !important;
  background: #f1f5f9;
}

.fx-btn-signup-nav {
  background: var(--fx-gradient);
  border-radius: var(--fx-radius-md);
  box-shadow: var(--fx-glow);
  font-size: 0.88rem;
  text-decoration: none;
  transition: all var(--fx-transition);
}

.fx-btn-signup-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 98, 0, 0.45);
}

/* Mobile Guest Drawer */
.fx-guest-mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(15, 18, 26, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  z-index: 999;
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html.light .fx-guest-mobile-menu {
  background: rgba(255, 255, 255, 0.98);
  border-color: #e2e8f0;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.fx-guest-mobile-menu.active {
  display: block;
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.fx-guest-m-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--fx-transition);
}

html.light .fx-guest-m-link {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #334155;
}

.fx-guest-m-link:hover {
  background: rgba(255, 98, 0, 0.1);
  border-color: rgba(255, 98, 0, 0.3);
  color: var(--fx-primary);
  transform: translateX(-3px);
}

/* Burger Button on Mobile Navbar */
.fx-guest-burger-btn {
  width: 38px;
  height: 38px;
  background: var(--fx-gradient) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: var(--fx-radius-md);
  box-shadow: var(--fx-glow);
  font-size: 1.25rem;
  transition: all var(--fx-transition);
}

.fx-guest-burger-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 98, 0, 0.5);
}

/* Full Width Signup CTA Button inside Drawer */
.fx-btn-signup-m-drawer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.85rem 1.25rem;
  background: var(--fx-gradient);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.94rem;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: var(--fx-glow);
  transition: all var(--fx-transition);
}

.fx-btn-signup-m-drawer:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 98, 0, 0.45);
}

.fx-btn-signup-m-drawer iconify-icon {
  font-size: 1.2rem;
}

/* ==================== 3D Floating & Flying Dynamic Badges (Full Hero Flight) ==================== */
.fx-floating-fly-item {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  transition: all 0.3s ease;
}

.fx-fly-card {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(22, 27, 40, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--fx-radius-full);
  padding: 0.35rem 0.85rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}

html.light .fx-fly-card {
  background: rgba(255, 255, 255, 0.95);
  border-color: #e2e8f0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.fx-fly-text {
  font-size: 0.78rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.2px;
}

html.light .fx-fly-text {
  color: #0f172a;
}

.fx-fly-card iconify-icon {
  font-size: 1.1rem;
}

.fx-fly-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 98, 0, 0.15);
  border: 1px solid rgba(255, 98, 0, 0.35);
  border-radius: 16px;
  backdrop-filter: blur(14px);
  box-shadow: 0 15px 35px rgba(255, 98, 0, 0.3);
  font-size: 1.6rem;
}

/* Full Hero Section Kinetic Float & Orbit Keyframes */
.fx-fly-rocket {
  animation: fxOrbitRocket 24s ease-in-out infinite alternate;
}

@keyframes fxOrbitRocket {
  0% {
    transform: translate(0, 0) rotate(-15deg);
  }

  25% {
    transform: translate(120px, -45px) rotate(10deg);
  }

  50% {
    transform: translate(260px, 60px) rotate(-10deg);
  }

  75% {
    transform: translate(140px, 110px) rotate(-25deg);
  }

  100% {
    transform: translate(-30px, 40px) rotate(5deg);
  }
}

.fx-fly-heart {
  animation: fxOrbitHeart 20s ease-in-out infinite alternate;
}

@keyframes fxOrbitHeart {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }

  33% {
    transform: translate(140px, -70px) scale(1.06) rotate(12deg);
  }

  66% {
    transform: translate(-60px, -110px) scale(0.96) rotate(-8deg);
  }

  100% {
    transform: translate(80px, 40px) scale(1.02) rotate(6deg);
  }
}

.fx-fly-verified {
  animation: fxOrbitVerified 22s ease-in-out infinite alternate;
}

@keyframes fxOrbitVerified {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  30% {
    transform: translate(-160px, 80px) rotate(-12deg);
  }

  70% {
    transform: translate(-280px, -30px) rotate(8deg);
  }

  100% {
    transform: translate(-80px, 120px) rotate(-5deg);
  }
}

.fx-fly-fire {
  animation: fxOrbitFire 19s ease-in-out infinite alternate;
}

@keyframes fxOrbitFire {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  35% {
    transform: translate(-140px, -90px) rotate(14deg);
  }

  70% {
    transform: translate(-240px, 50px) rotate(-10deg);
  }

  100% {
    transform: translate(-40px, -40px) rotate(8deg);
  }
}

.fx-fly-bolt {
  animation: fxOrbitBolt 17s ease-in-out infinite alternate;
}

@keyframes fxOrbitBolt {
  0% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(-110px, -80px) scale(1.08) rotate(-12deg);
  }

  50% {
    transform: translate(130px, -120px) scale(0.95) rotate(10deg);
  }

  75% {
    transform: translate(90px, 70px) scale(1.04) rotate(-6deg);
  }

  100% {
    transform: translate(-50px, 50px) scale(1) rotate(4deg);
  }
}

/* ==================== Infinite Modern SaaS Brands Marquee ==================== */
.fx-brands-marquee-section {
  position: relative;
  padding: 4.5rem 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 98, 0, 0.04), transparent 70%), #0d0f15;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

html.light .fx-brands-marquee-section {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.fx-section-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 98, 0, 0.1);
  border: 1px solid rgba(255, 98, 0, 0.25);
  border-radius: var(--fx-radius-full);
  padding: 0.3rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--fx-primary);
}

.fx-section-title {
  font-size: 2.15rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

html.light .fx-section-title {
  color: #0f172a;
}

.fx-section-desc {
  font-size: 0.95rem;
  color: #94a3b8;
  max-width: 580px;
  margin: 0 auto;
}

/* Marquee Rails & Fade Masks */
.fx-marquee-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: flex-start !important;
  padding: 14px 0;
  user-select: none;
  direction: ltr !important;
}

.fx-marquee-fade-start,
.fx-marquee-fade-end {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 5;
  pointer-events: none;
}

.fx-marquee-fade-start {
  left: 0;
  background: linear-gradient(to right, #0d0f15, transparent);
}

.fx-marquee-fade-end {
  right: 0;
  background: linear-gradient(to left, #0d0f15, transparent);
}

html.light .fx-marquee-fade-start {
  background: linear-gradient(to right, #f8fafc, transparent);
}

html.light .fx-marquee-fade-end {
  background: linear-gradient(to left, #f8fafc, transparent);
}

.fx-marquee-wrapper-left,
.fx-marquee-wrapper-right {
  display: flex;
  flex-direction: row;
  width: max-content;
  overflow: visible;
  justify-content: flex-start !important;
  direction: ltr !important;
}

.fx-marquee-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-left: 1.25rem;
  flex-shrink: 0;
  will-change: transform;
  direction: ltr !important;
}

/* Track 1: Scroll Left */
.fx-marquee-wrapper-left .fx-marquee-group {
  animation: fxScrollLeft 28s linear infinite;
}

/* Track 2: Scroll Right */
.fx-marquee-wrapper-right .fx-marquee-group {
  animation: fxScrollRight 28s linear infinite;
}

.fx-marquee-container:hover .fx-marquee-group {
  animation-play-state: paused;
}

@keyframes fxScrollLeft {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-33.333%, 0, 0);
  }
}

@keyframes fxScrollRight {
  0% {
    transform: translate3d(-33.333%, 0, 0);
  }

  100% {
    transform: translate3d(0, 0, 0);
  }
}

.fx-marquee-wrapper-right {
  display: flex;
  flex-direction: row-reverse;
  /* Reverses order so 0 offset starts with the leading cards */
  width: max-content;
  overflow: visible;
}

/* Platform Cards */
.fx-platform-card {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(20, 24, 34, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 0.65rem 1.35rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  white-space: nowrap;
  user-select: none;
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html.light .fx-platform-card {
  background: #ffffff;
  border-color: #e2e8f0;
  color: #0f172a;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.fx-platform-card:hover {
  background: rgba(28, 34, 48, 0.95);
  border-color: rgba(255, 98, 0, 0.5);
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 30px rgba(255, 98, 0, 0.25), 0 0 15px rgba(255, 98, 0, 0.15);
  color: #ffffff !important;
}

html.light .fx-platform-card:hover {
  background: #ffffff;
  border-color: rgba(255, 98, 0, 0.4);
  color: #0f172a !important;
  box-shadow: 0 10px 25px rgba(255, 98, 0, 0.15);
}

.fx-platform-card iconify-icon {
  font-size: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .fx-brands-marquee-section {
    padding: 2.75rem 0;
  }

  .fx-section-title {
    font-size: 1.45rem;
    line-height: 1.3;
  }

  .fx-section-desc {
    font-size: 0.84rem;
    padding: 0 1rem;
  }

  .fx-marquee-container {
    padding: 8px 0;
  }

  .fx-marquee-fade-start,
  .fx-marquee-fade-end {
    width: 30px;
  }

  .fx-marquee-group {
    gap: 0.75rem;
    padding-left: 0.75rem;
  }

  .fx-marquee-wrapper-left .fx-marquee-group {
    animation-duration: 20s;
  }

  .fx-marquee-wrapper-right .fx-marquee-group {
    animation-duration: 20s;
  }

  .fx-platform-card {
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
    border-radius: 10px;
  }

  .fx-platform-card iconify-icon {
    font-size: 1.15rem;
  }
}

/* ==================== Next-Gen Modern Canvas Layer ==================== */
.fx-modern-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.s3d {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fxFloat 6s ease-in-out infinite;
}

.s3d-ball {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.ig-bg {
  background: radial-gradient(circle at 30% 30%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.tt-bg {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.yt-bg {
  background: #ff0000;
}

.fb-bg {
  background: #1877f2;
}

.tw-bg {
  background: #1da1f2;
}

.tg-bg {
  background: #0088cc;
}

.wa-bg {
  background: #25d366;
}

.sc-bg {
  background: #fffc00;
  color: #000;
}

.sp-bg {
  background: #1db954;
}

.si1 {
  top: 12%;
  right: 4%;
  animation-delay: 0s;
}

.si2 {
  top: 38%;
  right: 48%;
  animation-delay: 1.2s;
}

.si3 {
  top: 78%;
  right: 6%;
  animation-delay: 2.4s;
}

.si4 {
  top: 18%;
  left: 4%;
  animation-delay: 1.8s;
}

.si5 {
  top: 82%;
  left: 10%;
  animation-delay: 0.8s;
}

.si6 {
  top: 52%;
  left: 45%;
  animation-delay: 3s;
}

/* Floating Notifications */
.nfl {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(19, 22, 31, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--fx-radius-full);
  padding: 0.45rem 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  animation: fxFloat 5s ease-in-out infinite;
}

.nf1 {
  top: 22%;
  right: 42%;
  animation-delay: 0.5s;
}

.nf2 {
  top: 68%;
  right: 38%;
  animation-delay: 2s;
}

.nf3 {
  top: 85%;
  left: 32%;
  animation-delay: 1.5s;
}

.nfl .ni {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.nfl .nt {
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nfl .nt small {
  font-size: 0.68rem;
  color: #94a3b8;
  font-weight: 400;
}

@keyframes fxFloat {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-14px) rotate(3deg);
  }
}

/* ==================== Marquee Brands ==================== */
.brands {
  padding: 3.5rem 0 2.5rem;
  background: #090b0e;
  border-top: 1px solid var(--fx-border);
  border-bottom: 1px solid var(--fx-border);
  position: relative;
  overflow: hidden;
}

html.light .brands {
  background: #f8fafc;
}

.br-title {
  text-align: center;
  margin-bottom: 2rem;
}

.br-title h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

html.light .br-title h2 {
  color: #0f172a;
}

.br-title p {
  color: #94a3b8;
  font-size: 0.92rem;
}

.br-row {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 1rem;
}

.mq-wrap {
  display: flex;
  width: max-content;
}

.mq {
  display: flex;
  gap: 1.25rem;
  animation: fxMarquee 35s linear infinite;
  direction: ltr;
}

.mq-r2 {
  animation: fxMarqueeRev 38s linear infinite;
}

.mi {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #141822;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--fx-radius-md);
  padding: 0.65rem 1.35rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: #ffffff;
  white-space: nowrap;
}

html.light .mi {
  background: #ffffff;
  border-color: #e2e8f0;
  color: #0f172a;
}

@keyframes fxMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes fxMarqueeRev {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

/* ==================== Standard Section & Grid ==================== */
.sec {
  padding: 4.5rem 0;
  position: relative;
  z-index: 1;
}

.sec-a {
  background: #090b0e;
}

html.light .sec-a {
  background: #f8fafc;
}

.sec-d {
  background: #10131a;
}

html.light .sec-d {
  background: #f1f5f9;
}

.sh {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.stag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--fx-primary);
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stit {
  font-size: 2.2rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 0.85rem;
  letter-spacing: -0.5px;
}

html.light .stit {
  color: #0f172a;
}

.stit .hl {
  color: var(--fx-primary);
}

.sdsc {
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1.7;
}

/* Feature 6-Card Grid (.wg) */
.wg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.wc {
  background: #13161f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--fx-radius-lg);
  padding: 2rem 1.75rem;
  transition: all var(--fx-transition);
  text-align: right;
}

[dir="ltr"] .wc {
  text-align: left;
}

html.light .wc {
  background: #ffffff;
  border-color: #e2e8f0;
}

.wc:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 98, 0, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.wc .em {
  font-size: 2.2rem;
  display: inline-block;
  margin-bottom: 1.15rem;
}

.wc h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.65rem;
}

html.light .wc h3 {
  color: #0f172a;
}

.wc p {
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 0;
}

/* ==================== SVG Promo Showcase (.prm) ==================== */
.prg {
  display: flex;
  align-items: center;
  gap: 3.5rem;
}

.prt {
  flex: 1 1 50%;
}

.prv {
  flex: 1 1 50%;
  display: flex;
  justify-content: center;
}

.pfl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.pfi {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.pfi .pic {
  width: 42px;
  height: 42px;
  border-radius: var(--fx-radius-md);
  background: rgba(255, 98, 0, 0.12);
  color: var(--fx-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.pfi h4 {
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

html.light .pfi h4 {
  color: #0f172a;
}

.pfi p {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 0;
}

/* ==================== Interactive Charts (.chg) ==================== */
.chg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.chc {
  background: #13161f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--fx-radius-xl);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

html.light .chc {
  background: #ffffff;
  border-color: #e2e8f0;
}

.chh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.ccht {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
}

html.light .ccht {
  color: #0f172a;
}

.chbd {
  padding: 0.25rem 0.65rem;
  border-radius: var(--fx-radius-full);
  font-size: 0.78rem;
  font-weight: 800;
}

.chbd.og {
  background: rgba(255, 98, 0, 0.15);
  color: var(--fx-primary);
}

.chbd.gn {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.dnw {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 0;
}

.dnc {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dnc .dv {
  font-size: 1.65rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

html.light .dnc .dv {
  color: #0f172a;
}

.dnc .dl {
  font-size: 0.8rem;
  color: #94a3b8;
}

.dnl {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 1rem;
}

.dnd {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-inline-end: 4px;
}

/* Bar Chart Container */
.bwp {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 180px;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bwp .br {
  flex: 1;
  position: relative;
  border-radius: 4px 4px 0 0;
  transition: height 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.bwp .tp {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  color: #ffffff;
  font-weight: 700;
  opacity: 0;
  transition: opacity var(--fx-transition);
  white-space: nowrap;
}

.bwp .br:hover .tp {
  opacity: 1;
}

.blb {
  display: flex;
  justify-content: space-between;
  margin-top: 0.65rem;
  font-size: 0.72rem;
  color: #64748b;
}

/* ==================== 3 Steps (.stg2) ==================== */
.stg2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.stp {
  background: #13161f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--fx-radius-xl);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  text-align: right;
}

[dir="ltr"] .stp {
  text-align: left;
}

html.light .stp {
  background: #ffffff;
  border-color: #e2e8f0;
}

.stn {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255, 98, 0, 0.18);
  line-height: 1;
  margin-bottom: 1rem;
}

.stp h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

html.light .stp h3 {
  color: #0f172a;
}

.stp p {
  color: #94a3b8;
  font-size: 0.94rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ==================== Services 8-Grid (.svg) ==================== */
.svg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.svc {
  background: #13161f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--fx-radius-lg);
  padding: 1.75rem 1.35rem;
  transition: all var(--fx-transition);
  text-align: right;
}

[dir="ltr"] .svc {
  text-align: left;
}

html.light .svc {
  background: #ffffff;
  border-color: #e2e8f0;
}

.svc:hover {
  transform: translateY(-3px);
  border-color: var(--fx-primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.svi {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.svc h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

html.light .svc h4 {
  color: #0f172a;
}

.svc p {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.svl {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--fx-primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

/* ==================== Growth Counters (.grg) ==================== */
.grg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.grc {
  background: #13161f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--fx-radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
}

html.light .grc {
  background: #ffffff;
  border-color: #e2e8f0;
}

.grc .ge {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.grc .gn {
  font-size: 2.1rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
}

html.light .grc .gn {
  color: #0f172a;
}

.grc .gl {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}

.grc .gb {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--fx-radius-full);
  margin-top: 1rem;
  overflow: hidden;
}

.grc .gb span {
  display: block;
  height: 100%;
  background: var(--fx-gradient);
  width: 0%;
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==================== FAQ Accordion (.fql) ==================== */
.fqg {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  align-items: flex-start;
}

.fqi {
  background: #13161f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--fx-radius-md);
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: all var(--fx-transition);
}

html.light .fqi {
  background: #ffffff;
  border-color: #e2e8f0;
}

.fqi.act {
  border-color: rgba(255, 98, 0, 0.4);
}

.fqq {
  padding: 1.15rem 1.35rem;
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

html.light .fqq {
  color: #0f172a;
}

.fqa2 {
  color: var(--fx-primary);
  font-size: 0.85rem;
  transition: transform var(--fx-transition);
}

.fqi.act .fqa2 {
  transform: rotate(180deg);
}

.fqb {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
}

.fqbi {
  padding: 0 1.35rem 1.15rem;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.7;
}

.fqc {
  background: #181c27;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--fx-radius-xl);
  padding: 2rem;
  text-align: center;
}

.fqe {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.fqc h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
}

.bwc {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--fx-gradient);
  color: #ffffff !important;
  border-radius: var(--fx-radius-md);
  font-weight: 800;
  margin-top: 1rem;
  text-decoration: none;
}

/* ==================== Reviews Infinite Columns ==================== */
.rev-sec {
  padding: 4.5rem 0;
  background: #090b0e;
  overflow: hidden;
}

.rev-wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 3.5rem;
}

.rev-right {
  flex: 1 1 40%;
}

.rev-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 1rem;
}

html.light .rev-title {
  color: #0f172a;
}

.rev-desc {
  color: #94a3b8;
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.rev-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.rev-tag {
  background: #141822;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--fx-radius-full);
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
}

.rev-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.85rem;
  background: var(--fx-gradient);
  color: #ffffff !important;
  font-weight: 800;
  border-radius: var(--fx-radius-md);
  box-shadow: var(--fx-glow);
  text-decoration: none;
}

.rev-left {
  flex: 1 1 60%;
  height: 480px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

.rev-cols {
  display: flex;
  gap: 1.25rem;
}

.rev-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.rev-col-up {
  animation: fxRevUp 30s linear infinite;
}

.rev-col-down {
  animation: fxRevDown 32s linear infinite;
}

@keyframes fxRevUp {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

@keyframes fxRevDown {
  0% {
    transform: translateY(-50%);
  }

  100% {
    transform: translateY(0);
  }
}

.rvc {
  background: #13161f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--fx-radius-lg);
  padding: 1.35rem;
  width: 270px;
}

html.light .rvc {
  background: #ffffff;
  border-color: #e2e8f0;
}

.rvc-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.rvc-av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.rvc-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
}

html.light .rvc-name {
  color: #0f172a;
}

.rvc-role {
  font-size: 0.74rem;
  color: #64748b;
}

.rvc-stars {
  color: #ffb703;
  font-size: 0.75rem;
  margin-top: 2px;
}

.rvc-text {
  font-size: 0.84rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 0.65rem;
}

.rvc-tp {
  font-size: 0.72rem;
  color: #10b981;
  font-weight: 700;
}

/* ==================== CTA Banner (.ctb) ==================== */
.ctb {
  background: radial-gradient(circle at 100% 0%, rgba(255, 98, 0, 0.3) 0%, rgba(19, 22, 31, 0.95) 70%);
  border: 1px solid rgba(255, 98, 0, 0.3);
  border-radius: var(--fx-radius-xl);
  padding: 3.5rem 2rem;
  text-align: center;
  box-shadow: var(--fx-glow);
}

.ctb h2 {
  font-size: 2.3rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.65rem;
}

.ctb p {
  color: #cbd5e1;
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.ctbt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Scroll reveal helper */
.rv {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* ==================== Mobile Responsiveness for Landing ==================== */
@media (max-width: 991px) {
  .hero .wrap {
    flex-direction: column-reverse;
    gap: 2.5rem;
  }

  .hc {
    text-align: center;
    max-width: 100%;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .hst,
  .hbtns {
    justify-content: center;
  }

  .htr {
    justify-content: center;
  }

  .hlg {
    max-width: 100%;
  }

  .hero-icons {
    display: none;
  }

  .wg,
  .chg,
  .stg2 {
    grid-template-columns: 1fr;
  }

  .svg {
    grid-template-columns: repeat(2, 1fr);
  }

  .grg {
    grid-template-columns: repeat(2, 1fr);
  }

  .prg {
    flex-direction: column;
  }

  .rev-wrap {
    flex-direction: column;
  }

  .rev-left {
    width: 100%;
  }

  .fqg {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .svg,
  .grg {
    grid-template-columns: 1fr;
  }

  .login-card {
    padding: 1.5rem 1.15rem;
  }

  .ctb {
    padding: 2.5rem 1.25rem;
  }

  .ctb h2 {
    font-size: 1.65rem;
  }
}

/* ==========================================================================
   NEXT-GEN MODERN LUXURY LANDING SECTIONS (Bento, Steps, Services, Reviews, FAQ, CTA)
   ========================================================================== */

.fx-section-block {
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}

.fx-section-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 98, 0, 0.08);
  border: 1px solid rgba(255, 98, 0, 0.25);
  color: var(--fx-primary);
  padding: 0.4rem 1.15rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.fx-highlight-gradient {
  background: linear-gradient(135deg, #ff7a18 0%, #ff4b2b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 1. Bento Grid */
.fx-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.fx-bento-card {
  background: rgba(18, 22, 32, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.fx-bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 98, 0, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.fx-bento-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 98, 0, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(255, 98, 0, 0.1);
}

.fx-bento-card:hover::before {
  opacity: 1;
}

.fx-bento-highlight {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(255, 98, 0, 0.12) 0%, rgba(18, 22, 32, 0.85) 100%);
  border-color: rgba(255, 98, 0, 0.3);
}

.fx-bento-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(255, 98, 0, 0.12);
  color: var(--fx-primary);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform 0.35s ease;
}

.fx-bento-card:hover .fx-bento-icon-box {
  transform: scale(1.1) rotate(5deg);
}

.fx-bento-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.fx-bento-text {
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.fx-tag-green {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.15rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
}

/* 2. Steps Flow */
.fx-steps-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.fx-step-card {
  flex: 1;
  background: rgba(18, 22, 32, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 22px;
  padding: 2.25rem 1.75rem;
  text-align: center;
  position: relative;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.3s ease;
}

.fx-step-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 98, 0, 0.4);
  box-shadow: 0 15px 35px rgba(255, 98, 0, 0.12);
}

.fx-step-number {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 1.75rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.08);
}

.fx-step-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 98, 0, 0.15), rgba(255, 98, 0, 0.05));
  border: 1px solid rgba(255, 98, 0, 0.25);
  color: var(--fx-primary);
  font-size: 2.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.fx-step-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.65rem;
}

.fx-step-text {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 0;
}

.fx-step-connector {
  color: rgba(255, 98, 0, 0.4);
  font-size: 2rem;
}

/* 3. Services Grid */
.fx-services-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.fx-service-tile {
  background: rgba(18, 22, 32, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.3s ease;
}

.fx-service-tile:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 98, 0, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 98, 0, 0.08);
}

.fx-st-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.fx-st-icon-box {
  font-size: 2.2rem;
  display: flex;
  align-items: center;
}

.fx-st-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

.fx-st-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.fx-st-desc {
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.fx-st-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.fx-st-price {
  font-size: 0.85rem;
  color: #94a3b8;
}

.fx-st-price strong {
  color: var(--fx-primary);
  font-size: 1.05rem;
}

.fx-st-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s ease;
}

.fx-st-btn:hover {
  color: var(--fx-primary);
  transform: translateX(-4px);
}

.fx-btn-view-all-services {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 98, 0, 0.1);
  border: 1px solid rgba(255, 98, 0, 0.3);
  color: #ffffff;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.3s ease;
}

.fx-btn-view-all-services:hover {
  background: var(--fx-primary);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(255, 98, 0, 0.35);
  transform: translateY(-2px);
}

/* 4. Reviews */
.fx-trust-stat-box {
  background: rgba(18, 22, 32, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  backdrop-filter: blur(12px);
}

.fx-score-badge {
  font-size: 1.5rem;
  font-weight: 900;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(255, 98, 0, 0.2), rgba(255, 98, 0, 0.05));
  border: 1px solid rgba(255, 98, 0, 0.3);
  padding: 0.4rem 0.85rem;
  border-radius: 12px;
}

.fx-reviews-columns {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.fx-review-card {
  background: rgba(18, 22, 32, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 1.5rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.3s ease;
}

.fx-review-card:hover {
  border-color: rgba(255, 98, 0, 0.3);
  transform: translateX(-4px);
}

.fx-rc-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.fx-rc-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--fx-primary);
}

.fx-rc-name {
  font-weight: 800;
  color: #ffffff;
  font-size: 0.95rem;
}

.fx-rc-role {
  color: #94a3b8;
  font-size: 0.78rem;
}

.fx-rc-stars {
  margin-right: auto;
  color: #f59e0b;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.fx-rc-text {
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.fx-rc-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #10b981;
  font-size: 0.75rem;
  font-weight: 700;
}

/* 5. FAQ Accordion */
.fx-faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fx-faq-card {
  background: rgba(18, 22, 32, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.fx-faq-card.active {
  border-color: rgba(255, 98, 0, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.fx-faq-question {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.02rem;
  user-select: none;
}

.fx-faq-arrow {
  font-size: 1.25rem;
  color: var(--fx-primary);
  transition: transform 0.3s ease;
}

.fx-faq-card.active .fx-faq-arrow {
  transform: rotate(180deg);
}

.fx-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 1.5rem;
}

.fx-faq-card.active .fx-faq-answer {
  max-height: 250px;
  padding-bottom: 1.25rem;
}

.fx-faq-answer p {
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0;
}

/* 6. VIP Final CTA */
.fx-final-cta-section {
  padding: 4rem 0 6rem;
}

.fx-final-cta-box {
  background: radial-gradient(circle at center, rgba(255, 98, 0, 0.15) 0%, rgba(18, 22, 32, 0.9) 100%);
  border: 1px solid rgba(255, 98, 0, 0.35);
  border-radius: 28px;
  padding: 4.5rem 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 98, 0, 0.12);
}

.fx-cta-mesh-glow {
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 98, 0, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.fx-cta-heading {
  font-size: 2.35rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 1rem;
}

.fx-cta-text {
  color: #94a3b8;
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto;
}

.fx-btn-primary-glow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, #ff7a18 0%, #ff4b2b 100%);
  color: #ffffff;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(255, 98, 0, 0.4);
  transition: all 0.3s ease;
  border: none;
}

.fx-btn-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(255, 98, 0, 0.55);
  color: #ffffff;
}

.fx-btn-secondary-glass {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 800;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.fx-btn-secondary-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 992px) {

  .fx-bento-grid,
  .fx-services-cards-grid {
    grid-template-columns: 1fr;
  }

  .fx-bento-highlight {
    grid-column: span 1;
  }

  .fx-steps-grid {
    flex-direction: column;
  }

  .fx-step-connector {
    transform: rotate(-90deg);
  }

  .fx-cta-heading {
    font-size: 1.85rem;
  }
}


/* ==========================================================================
   ULTRA-LUXURY REDESIGNED SECTIONS FOR SMMFEDEX (SIGNIN & LANDING)
   ========================================================================== */

/* 1. Live Metrics Ticker Strip */
.fx-live-metrics-strip {
  padding: 1.5rem 0 2.5rem;
  position: relative;
  z-index: 10;
}

.fx-metrics-ticker-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(18, 22, 34, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.5rem 2.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.fx-metric-item {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.fx-mi-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
}

.fx-icon-orange {
  background: rgba(255, 98, 0, 0.12);
  color: #ff6200;
  border: 1px solid rgba(255, 98, 0, 0.25);
}

.fx-icon-purple {
  background: rgba(139, 92, 246, 0.12);
  color: #8b5cf6;
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.fx-icon-emerald {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.fx-icon-blue {
  background: rgba(59, 130, 246, 0.12);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.fx-mi-data {
  display: flex;
  flex-direction: column;
}

.fx-mi-value {
  font-size: 1.45rem;
  font-weight: 900;
  color: #ffffff;
  font-family: inherit;
  line-height: 1.2;
}

.fx-mi-value small {
  font-size: 0.85rem;
  font-weight: 700;
  color: #94a3b8;
}

.fx-mi-label {
  font-size: 0.82rem;
  color: #94a3b8;
  font-weight: 600;
  margin-top: 0.2rem;
}

.fx-metric-divider {
  width: 1px;
  height: 45px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.12), transparent);
}

/* 2. Luxury Bento Feature Suite */
.fx-why-bento-section {
  padding: 5rem 0;
  position: relative;
}

.fx-bento-lux-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.fx-bento-lux-card {
  position: relative;
  background: rgba(18, 22, 34, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.2rem 2rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.fx-bento-lux-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 98, 0, 0.35);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45), 0 0 30px rgba(255, 98, 0, 0.12);
}

.fx-bl-shine {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.fx-bento-hero-tile {
  grid-column: span 2;
  background: radial-gradient(circle at top right, rgba(255, 98, 0, 0.12) 0%, rgba(18, 22, 34, 0.85) 100%);
  border-color: rgba(255, 98, 0, 0.25);
}

.fx-bl-badge-top {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.fx-bl-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.2rem;
}

.fx-bl-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.fx-bento-hero-tile .fx-bl-icon {
  margin-bottom: 0;
}

.fx-bg-orange {
  background: linear-gradient(135deg, rgba(255, 98, 0, 0.25), rgba(255, 98, 0, 0.08));
  color: #ff7a18;
  border: 1px solid rgba(255, 98, 0, 0.3);
}

.fx-bg-emerald {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(16, 185, 129, 0.08));
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.fx-bg-purple {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(139, 92, 246, 0.08));
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.fx-bg-blue {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(59, 130, 246, 0.08));
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.fx-bg-cyan {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.25), rgba(6, 182, 212, 0.08));
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.fx-bg-amber {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(245, 158, 11, 0.08));
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.fx-bl-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.fx-bl-sub {
  font-size: 0.8rem;
  color: #94a3b8;
  font-family: var(--fx-font-en);
}

.fx-bl-text {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.fx-bl-speed-meter {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  margin-top: auto;
}

.fx-bs-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-bottom: 0.5rem;
}

.fx-bs-label strong {
  color: #ff6200;
}

.fx-bs-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.fx-bs-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff7a18, #ff4b2b);
  border-radius: 999px;
}

.fx-bl-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: auto;
}

.fx-bl-tag-list span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
}

.fx-bl-tag-list span iconify-icon {
  color: #10b981;
}

/* 3. Steps Flow */
.fx-steps-lux-section {
  padding: 5rem 0;
  position: relative;
}

.fx-steps-cards-flow {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
}

.fx-step-lux-card {
  flex: 1;
  background: rgba(18, 22, 34, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  position: relative;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.35s ease;
}

.fx-step-lux-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 98, 0, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.fx-step-badge-num {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-size: 2.2rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.07);
  font-family: var(--fx-font-en);
  line-height: 1;
}

.fx-step-glow-circle {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.75rem;
}

.fx-step-lux-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.fx-step-lux-desc {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.fx-step-feature {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}

.fx-step-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  color: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

/* 4. Luxury Services Grid */
.fx-services-lux-section {
  padding: 5rem 0;
  position: relative;
}

.fx-serv-lux-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.fx-serv-lux-card {
  background: rgba(18, 22, 34, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 2rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.fx-serv-lux-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 98, 0, 0.35);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), 0 0 30px rgba(255, 98, 0, 0.1);
}

.fx-slc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.35rem;
}

.fx-slc-icon {
  font-size: 2.2rem;
  display: flex;
  align-items: center;
}

.fx-slc-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.fx-slc-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.65rem;
}

.fx-slc-desc {
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.fx-slc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.25rem;
  margin-top: auto;
}

.fx-slc-price-box {
  display: flex;
  flex-direction: column;
}

.fx-slc-plabel {
  font-size: 0.75rem;
  color: #94a3b8;
}

.fx-slc-pnum {
  font-size: 1.15rem;
  font-weight: 900;
  color: #ff6200;
  font-family: var(--fx-font-en);
}

.fx-slc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.fx-slc-btn:hover {
  background: #ff6200;
  border-color: #ff6200;
  color: #ffffff;
  transform: translateX(-4px);
}

.fx-btn-view-all-lux {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, rgba(255, 98, 0, 0.15), rgba(255, 98, 0, 0.05));
  border: 1px solid rgba(255, 98, 0, 0.35);
  color: #ffffff;
  padding: 0.95rem 2.2rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(255, 98, 0, 0.15);
  transition: all 0.3s ease;
}

.fx-btn-view-all-lux:hover {
  background: #ff6200;
  color: #ffffff;
  box-shadow: 0 15px 35px rgba(255, 98, 0, 0.4);
  transform: translateY(-2px);
}

/* 5. Luxury Reviews */
.fx-reviews-lux-section {
  padding: 5rem 0;
  position: relative;
}

.fx-trust-summary-badge {
  background: rgba(18, 22, 34, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.25rem 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  backdrop-filter: blur(14px);
}

.fx-tsb-stars {
  color: #f59e0b;
  font-size: 1.2rem;
  display: flex;
  gap: 0.15rem;
}

.fx-tsb-text strong {
  display: block;
  font-size: 1.3rem;
  color: #ffffff;
  font-weight: 900;
}

.fx-tsb-text span {
  font-size: 0.8rem;
  color: #94a3b8;
}

.fx-reviews-lux-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.fx-rev-lux-card {
  background: rgba(18, 22, 34, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 2rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  transition: all 0.35s ease;
}

.fx-rev-lux-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 98, 0, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.fx-rlc-head {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  margin-bottom: 1.2rem;
}

.fx-rlc-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ff6200;
}

.fx-rlc-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.2rem;
}

.fx-rlc-role {
  font-size: 0.8rem;
  color: #94a3b8;
}

.fx-rlc-stars {
  margin-right: auto;
  color: #f59e0b;
  font-size: 0.95rem;
  display: flex;
  gap: 0.15rem;
}

.fx-rlc-quote {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.fx-rlc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1rem;
}

.fx-rlc-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #10b981;
}

.fx-rlc-date {
  font-size: 0.78rem;
  color: #64748b;
}

/* 6. Luxury FAQ Accordion */
.fx-faq-lux-section {
  padding: 5rem 0;
  position: relative;
}

.fx-faq-lux-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fx-faq-lux-item {
  background: rgba(18, 22, 34, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.3s ease;
}

.fx-faq-lux-item.active {
  border-color: rgba(255, 98, 0, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 25px rgba(255, 98, 0, 0.08);
}

.fx-faq-lux-header {
  padding: 1.35rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.fx-faq-lux-title-wrap {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.fx-faq-q-num {
  font-size: 1.1rem;
  font-weight: 900;
  color: #ff6200;
  font-family: var(--fx-font-en);
}

.fx-faq-lux-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.fx-faq-lux-toggle {
  font-size: 1.5rem;
  color: #ff6200;
  display: flex;
  align-items: center;
}

.fx-faq-lux-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
  padding: 0 1.75rem;
}

.fx-faq-lux-item.active .fx-faq-lux-body {
  max-height: 250px;
  padding-bottom: 1.5rem;
  padding-top: 0.25rem;
}

.fx-faq-lux-body p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.75;
  margin: 0;
}

/* 7. Ultra Luxury Final CTA */
.fx-final-lux-cta-section {
  padding: 4rem 0 6rem;
  position: relative;
}

.fx-final-lux-cta-card {
  background: radial-gradient(circle at center, rgba(255, 98, 0, 0.18) 0%, rgba(18, 22, 34, 0.92) 100%);
  border: 1px solid rgba(255, 98, 0, 0.35);
  border-radius: 32px;
  padding: 4.5rem 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 50px rgba(255, 98, 0, 0.15);
}

.fx-cta-lux-mesh {
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 98, 0, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.fx-cta-lux-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 1.15rem;
}

.fx-cta-lux-desc {
  color: #94a3b8;
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

.fx-btn-cta-glow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, #ff7a18 0%, #ff4b2b 100%);
  color: #ffffff;
  padding: 0.95rem 2.5rem;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(255, 98, 0, 0.45);
  transition: all 0.3s ease;
  border: none;
}

.fx-btn-cta-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(255, 98, 0, 0.6);
  color: #ffffff;
}

.fx-btn-cta-glass {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  padding: 0.95rem 2.2rem;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.fx-btn-cta-glass:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  transform: translateY(-3px);
}

.fx-cta-trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.75rem;
}

.fx-cta-trust-items span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #cbd5e1;
  font-size: 0.88rem;
  font-weight: 700;
}

.fx-cta-trust-items span iconify-icon {
  color: #10b981;
}

/* Responsive Overrides */
@media (max-width: 992px) {
  .fx-metrics-ticker-card {
    flex-direction: column;
    gap: 1.25rem;
    align-items: stretch;
    padding: 1.5rem;
  }

  .fx-metric-divider {
    width: 100%;
    height: 1px;
  }

  .fx-bento-lux-grid,
  .fx-serv-lux-grid,
  .fx-reviews-lux-grid {
    grid-template-columns: 1fr;
  }

  .fx-bento-hero-tile {
    grid-column: span 1;
  }

  .fx-steps-cards-flow {
    flex-direction: column;
  }

  .fx-step-flow-arrow {
    transform: rotate(-90deg);
  }

  .fx-cta-lux-title {
    font-size: 1.85rem;
  }
}



/* ==========================================================================
   MOBILE & TABLET RESPONSIVE REFINEMENTS (PERFECT FIT ON ALL SCREENS)
   ========================================================================== */

@media (max-width: 991px) {
  .fx-live-metrics-strip {
    padding: 1.25rem 0 2rem;
  }

  .fx-metrics-ticker-card {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    padding: 1.5rem;
  }

  .fx-metric-divider {
    display: none;
  }

  .fx-why-bento-section,
  .fx-steps-lux-section,
  .fx-services-lux-section,
  .fx-reviews-lux-section,
  .fx-faq-lux-section {
    padding: 3.5rem 0;
  }

  .fx-bento-lux-grid,
  .fx-serv-lux-grid,
  .fx-reviews-lux-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
  }

  .fx-bento-hero-tile {
    grid-column: span 2;
  }

  .fx-steps-cards-flow {
    flex-direction: column;
    gap: 1.25rem;
  }

  .fx-step-flow-arrow {
    transform: rotate(-90deg);
    margin: -0.5rem auto;
  }
}

@media (max-width: 768px) {

  /* Headings & Texts */
  .fx-section-title {
    font-size: 1.55rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.5rem;
  }

  .fx-section-desc {
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
    padding: 0 0.5rem;
    margin-bottom: 1.75rem;
  }

  .fx-section-pill {
    font-size: 0.78rem !important;
    padding: 0.35rem 0.85rem !important;
  }

  /* 1. Live Metrics Strip */
  .fx-metrics-ticker-card {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 18px;
  }

  .fx-metric-item {
    gap: 0.95rem;
  }

  .fx-mi-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 1.35rem;
  }

  .fx-mi-value {
    font-size: 1.2rem;
  }

  .fx-mi-label {
    font-size: 0.78rem;
  }

  /* 2. Bento Feature Grid */
  .fx-bento-lux-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .fx-bento-hero-tile {
    grid-column: span 1;
    padding: 1.5rem 1.25rem;
  }

  .fx-bento-lux-card {
    padding: 1.5rem 1.25rem;
    border-radius: 18px;
  }

  .fx-bl-badge-top {
    position: static;
    margin-bottom: 1rem;
    display: inline-flex;
    align-self: flex-start;
  }

  .fx-bl-header {
    gap: 0.85rem;
    margin-bottom: 0.85rem;
  }

  .fx-bl-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 1.45rem;
    margin-bottom: 1rem;
  }

  .fx-bl-title {
    font-size: 1.12rem;
  }

  .fx-bl-text {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  .fx-bl-speed-meter {
    padding: 0.85rem 1rem;
  }

  /* 3. Steps */
  .fx-step-lux-card {
    padding: 1.75rem 1.25rem;
    border-radius: 18px;
  }

  .fx-step-badge-num {
    font-size: 1.65rem;
    top: 1.25rem;
    left: 1.25rem;
  }

  .fx-step-glow-circle {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    font-size: 1.65rem;
    margin-bottom: 1.25rem;
  }

  .fx-step-lux-title {
    font-size: 1.15rem;
  }

  .fx-step-lux-desc {
    font-size: 0.88rem;
    margin-bottom: 1.25rem;
  }

  /* 4. Services Grid */
  .fx-serv-lux-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .fx-serv-lux-card {
    padding: 1.5rem 1.25rem;
    border-radius: 18px;
  }

  .fx-slc-icon {
    font-size: 1.85rem;
  }

  .fx-slc-title {
    font-size: 1.12rem;
  }

  .fx-slc-desc {
    font-size: 0.86rem;
    margin-bottom: 1.25rem;
  }

  .fx-slc-pnum {
    font-size: 1.05rem;
  }

  .fx-slc-btn {
    padding: 0.45rem 0.95rem;
    font-size: 0.8rem;
  }

  .fx-btn-view-all-lux {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
  }

  /* 5. Reviews Grid */
  .fx-reviews-lux-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .fx-trust-summary-badge {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.25rem;
    border-radius: 16px;
  }

  .fx-rev-lux-card {
    padding: 1.5rem 1.25rem;
    border-radius: 18px;
  }

  .fx-rlc-avatar {
    width: 44px;
    height: 44px;
  }

  .fx-rlc-name {
    font-size: 0.98rem;
  }

  .fx-rlc-quote {
    font-size: 0.88rem;
    margin-bottom: 1.15rem;
  }

  /* 6. FAQ Accordion */
  .fx-faq-lux-container {
    gap: 0.75rem;
  }

  .fx-faq-lux-item {
    border-radius: 16px;
  }

  .fx-faq-lux-header {
    padding: 1.1rem 1.25rem;
  }

  .fx-faq-lux-title-wrap {
    gap: 0.75rem;
  }

  .fx-faq-q-num {
    font-size: 0.95rem;
  }

  .fx-faq-lux-title {
    font-size: 0.94rem;
    line-height: 1.45;
  }

  .fx-faq-lux-toggle {
    font-size: 1.35rem;
  }

  .fx-faq-lux-body {
    padding: 0 1.25rem;
  }

  .fx-faq-lux-item.active .fx-faq-lux-body {
    padding-bottom: 1.15rem;
  }

  .fx-faq-lux-body p {
    font-size: 0.86rem;
    line-height: 1.65;
  }

  /* 7. Final Conversion CTA */
  .fx-final-lux-cta-section {
    padding: 2.5rem 0 4rem;
  }

  .fx-final-lux-cta-card {
    padding: 2.75rem 1.25rem;
    border-radius: 24px;
  }

  .fx-cta-lux-title {
    font-size: 1.55rem !important;
    line-height: 1.35;
    margin-bottom: 0.85rem;
  }

  .fx-cta-lux-desc {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .fx-btn-cta-glow,
  .fx-btn-cta-glass {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
  }

  .fx-cta-trust-items {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .fx-cta-trust-items span {
    font-size: 0.82rem;
  }
}



/* ==========================================================================
   SERVICES PAGE (High-End Harmonious Theme Engine)
   ========================================================================== */

.fx-services-page {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 0.75rem 4rem;
}

/* 1. Top Bar Controls */
.fx-serv-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.fx-serv-top-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Category Filter Button */
.fx-btn-cat-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--fx-gradient) !important;
  color: #ffffff !important;
  border: none;
  padding: 0.75rem 1.45rem;
  border-radius: var(--fx-radius-md);
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.35);
  transition: all var(--fx-transition);
}

.fx-btn-cat-filter:hover,
.fx-btn-cat-filter:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(249, 115, 22, 0.45);
  color: #ffffff !important;
}

.fx-btn-cat-icon {
  font-size: 1.2rem;
}

.fx-btn-cat-arrow {
  font-size: 0.85rem;
  transition: transform var(--fx-transition);
}

.dropdown.show .fx-btn-cat-arrow {
  transform: rotate(180deg);
}

/* Category Dropdown Menu */
.fx-cat-dropdown-menu {
  background: var(--fx-bg-card, #151822) !important;
  border: 1px solid var(--fx-border) !important;
  border-radius: var(--fx-radius-lg) !important;
  padding: 0.6rem !important;
  min-width: 320px !important;
  max-height: 420px;
  overflow-y: auto;
  box-shadow: var(--fx-shadow-lg) !important;
  backdrop-filter: blur(20px);
}

.fx-cat-dropdown-menu::-webkit-scrollbar {
  width: 6px;
}

.fx-cat-dropdown-menu::-webkit-scrollbar-thumb {
  background: rgba(249, 115, 22, 0.3);
  border-radius: 10px;
}

.fx-cat-menu-item {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem !important;
  border-radius: var(--fx-radius-sm) !important;
  color: var(--fx-text-main) !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  transition: all var(--fx-transition) !important;
  background: transparent !important;
}

.fx-cat-menu-item:hover {
  background: var(--fx-bg-hover) !important;
  color: var(--fx-primary) !important;
  transform: translateX(-3px);
}

[dir="ltr"] .fx-cat-menu-item:hover {
  transform: translateX(3px);
}

.fx-cat-menu-item.active {
  background: rgba(249, 115, 22, 0.12) !important;
  color: var(--fx-primary) !important;
  border: 1px solid rgba(249, 115, 22, 0.25) !important;
}

.fx-cat-item-badge {
  font-size: 0.75rem;
  background: var(--fx-bg-input);
  border: 1px solid var(--fx-border);
  padding: 0.2rem 0.55rem;
  border-radius: var(--fx-radius-xs);
  color: var(--fx-text-muted);
}

.fx-cat-item-check {
  color: var(--fx-primary);
  font-size: 1.15rem;
}

/* Currency Filter Button */
.fx-btn-curr-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--fx-bg-card, #151822);
  border: 1px solid var(--fx-border);
  color: var(--fx-text-title);
  padding: 0.75rem 1.25rem;
  border-radius: var(--fx-radius-md);
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: all var(--fx-transition);
}

.fx-btn-curr-filter:hover {
  border-color: rgba(249, 115, 22, 0.4);
  color: var(--fx-primary);
  background: var(--fx-bg-card-alt, #1a1e2a);
}

/* Search Box */
.fx-serv-search-box {
  flex: 1;
  min-width: 280px;
  max-width: 480px;
  position: relative;
  display: flex;
  align-items: center;
}

.fx-search-input {
  width: 100%;
  background: var(--fx-bg-card, #151822);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-md);
  padding: 0.75rem 2.85rem 0.75rem 2.5rem;
  color: var(--fx-text-title);
  font-size: 0.92rem;
  font-weight: 600;
  outline: none;
  backdrop-filter: blur(12px);
  transition: all var(--fx-transition);
}

.fx-search-input:focus {
  border-color: var(--fx-primary);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.18);
  background: var(--fx-bg-card-alt, #1a1e2a);
}

.fx-search-icon {
  position: absolute;
  right: 1rem;
  color: var(--fx-text-dim);
  font-size: 1.2rem;
  pointer-events: none;
}

[dir="ltr"] .fx-search-icon {
  right: auto;
  left: 1rem;
}

[dir="ltr"] .fx-search-input {
  padding: 0.75rem 2.5rem 0.75rem 2.85rem;
}

.fx-search-clear-btn {
  position: absolute;
  left: 0.85rem;
  background: none;
  border: none;
  color: var(--fx-text-dim);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color var(--fx-transition);
}

[dir="ltr"] .fx-search-clear-btn {
  left: auto;
  right: 0.85rem;
}

.fx-search-clear-btn:hover {
  color: var(--fx-primary);
}

/* 2. Categories & Services Cards Layout */
.fx-services-feed {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.fx-category-block {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* Harmonious Luxury Category Banner */
.fx-category-banner {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.08) 0%, rgba(21, 24, 34, 0.95) 100%);
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-right: 4px solid var(--fx-primary);
  border-radius: var(--fx-radius-md);
  padding: 0.85rem 1.35rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

[dir="ltr"] .fx-category-banner {
  border-right: 1px solid rgba(249, 115, 22, 0.2);
  border-left: 4px solid var(--fx-primary);
}

.fx-cat-banner-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.fx-cat-banner-icon {
  font-size: 1.35rem;
  color: var(--fx-primary);
  filter: drop-shadow(0 0 6px rgba(249, 115, 22, 0.4));
  flex-shrink: 0;
}

.fx-cat-banner-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--fx-text-title);
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.2px;
}

/* Services List (Stacked Cards) */
.fx-services-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* Service Card (Modern Luxury SMM Theme) */
.fx-service-card {
  background: var(--fx-bg-card, #151822);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-lg);
  padding: 1.15rem 1.4rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all var(--fx-transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.fx-service-card:hover {
  border-color: rgba(249, 115, 22, 0.3);
  background: var(--fx-bg-card-alt, #1a1e2a);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

/* Card Top Row */
.fx-sc-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.95rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--fx-border-subtle, rgba(255, 255, 255, 0.05));
}

.fx-sc-title-wrap {
  flex: 1;
}

.fx-sc-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--fx-text-title);
  margin: 0;
  line-height: 1.55;
}

/* ID Badge with Copy Option (Refined Pill) */
.fx-sc-id-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.22);
  color: var(--fx-primary);
  padding: 0.3rem 0.75rem;
  border-radius: var(--fx-radius-sm);
  font-family: var(--fx-font-en);
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  transition: all var(--fx-transition);
  user-select: none;
  flex-shrink: 0;
}

.fx-sc-id-badge:hover {
  background: var(--fx-primary);
  color: #ffffff;
  border-color: var(--fx-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
}

.fx-sc-id-badge.copied {
  background: var(--fx-success, #34d399);
  color: #ffffff;
  border-color: var(--fx-success, #34d399);
  box-shadow: 0 4px 12px rgba(52, 211, 153, 0.35);
}

.fx-sc-copy-icon {
  font-size: 0.9rem;
}

/* Specs Row / Grid */
.fx-sc-specs-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.fx-sc-spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.fx-spec-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--fx-text-muted);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.fx-label-info-icon {
  font-size: 0.85rem;
  color: var(--fx-text-dim);
}

.fx-spec-val {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--fx-text-title);
}

.fx-price-val {
  font-size: 1.18rem;
  font-weight: 900;
  color: var(--fx-primary);
  font-family: var(--fx-font-en);
  letter-spacing: -0.3px;
}

.fx-pill-val {
  background: var(--fx-bg-input, #1c2030);
  border: 1px solid var(--fx-border);
  color: var(--fx-text-title);
  padding: 0.22rem 0.75rem;
  border-radius: var(--fx-radius-xs);
  display: inline-block;
  text-align: center;
  font-family: var(--fx-font-en);
  font-weight: 700;
  font-size: 0.88rem;
}

.fx-avg-pill {
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
  color: var(--fx-info, #22d3ee);
  padding: 0.22rem 0.75rem;
  border-radius: var(--fx-radius-xs);
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-block;
}

/* View Description Button */
.fx-btn-view-desc {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.2);
  color: var(--fx-primary);
  padding: 0.4rem 1.05rem;
  border-radius: var(--fx-radius-sm);
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: all var(--fx-transition);
}

.fx-btn-view-desc:hover {
  background: var(--fx-gradient);
  border-color: transparent;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}

/* 3. Description Modal */
.fx-desc-modal .modal-content {
  background: var(--fx-bg-card, #151822) !important;
  border: 1px solid var(--fx-border) !important;
  border-radius: var(--fx-radius-xl) !important;
  box-shadow: var(--fx-shadow-lg) !important;
  overflow: hidden;
}

.fx-modal-header {
  border-bottom: 1px solid var(--fx-border) !important;
  padding: 1.25rem 1.5rem !important;
}

.fx-modal-badge-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--fx-text-muted);
}

.fx-modal-full-title {
  color: var(--fx-text-title);
  font-size: 1.05rem;
  line-height: 1.5;
}

.fx-modal-body {
  padding: 1.5rem !important;
  color: var(--fx-text-main);
  font-size: 0.92rem;
  line-height: 1.8;
}

.fx-modal-footer {
  border-top: 1px solid var(--fx-border) !important;
  padding: 1rem 1.5rem !important;
}

.fx-btn-modal-close {
  background: var(--fx-bg-input);
  border: 1px solid var(--fx-border);
  color: var(--fx-text-muted);
  border-radius: var(--fx-radius-md);
  padding: 0.55rem 1.25rem;
  font-weight: 700;
  transition: all var(--fx-transition);
}

.fx-btn-modal-close:hover {
  background: var(--fx-bg-hover);
  color: var(--fx-text-title);
}

.fx-btn-modal-order {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--fx-gradient);
  color: #ffffff !important;
  border-radius: var(--fx-radius-md);
  padding: 0.55rem 1.35rem;
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.35);
  transition: all var(--fx-transition);
}

.fx-btn-modal-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(249, 115, 22, 0.45);
}

/* 4. No Results Placeholder */
.fx-no-results {
  text-align: center;
  padding: 4rem 1.5rem;
  background: var(--fx-bg-card, #151822);
  border: 1px dashed var(--fx-border);
  border-radius: var(--fx-radius-xl);
}

.fx-nr-icon {
  font-size: 3.5rem;
  color: var(--fx-primary);
  margin-bottom: 1rem;
}

.fx-no-results h4 {
  color: var(--fx-text-title);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.fx-no-results p {
  color: var(--fx-text-muted);
  max-width: 450px;
  margin: 0 auto 1.5rem;
}

.fx-btn-reset-search {
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.3);
  color: var(--fx-primary);
  padding: 0.65rem 1.5rem;
  border-radius: var(--fx-radius-md);
  font-weight: 800;
  cursor: pointer;
  transition: all var(--fx-transition);
}

.fx-btn-reset-search:hover {
  background: var(--fx-primary);
  color: #ffffff;
}

/* 5. Services Light Mode Overrides */
html.light .fx-category-banner {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.06) 0%, #ffffff 100%);
  border-color: #e2e8f0;
  border-right-color: var(--fx-primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

[dir="ltr"] html.light .fx-category-banner {
  border-left-color: var(--fx-primary);
}

html.light .fx-service-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

html.light .fx-service-card:hover {
  background: #fafafa;
  border-color: rgba(249, 115, 22, 0.4);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

html.light .fx-btn-curr-filter,
html.light .fx-search-input {
  background: #ffffff;
  border-color: #e2e8f0;
  color: #0f172a;
}

html.light .fx-pill-val {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #0f172a;
}

html.light .fx-desc-modal .modal-content,
html.light .fx-no-results {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
}

/* ==========================================================================
   SERVICES MOBILE CARD VIEW (EXACTLY MATCHING SCREENSHOT 3)
   ========================================================================== */

@media (max-width: 768px) {
  .fx-services-page {
    padding: 1rem 0.5rem 3rem;
  }

  .fx-serv-top-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .fx-serv-top-left {
    display: flex;
    width: 100%;
  }

  .fx-custom-cat-dropdown {
    flex: 1;
  }

  .fx-btn-cat-filter {
    width: 100%;
    justify-content: space-between;
    padding: 0.75rem 1rem;
  }

  .fx-serv-search-box {
    max-width: 100%;
    width: 100%;
  }

  .fx-category-banner {
    padding: 0.75rem 1rem;
    border-radius: 12px;
  }

  .fx-cat-banner-title {
    font-size: 1rem;
  }

  .fx-service-card {
    padding: 1.15rem 1rem;
    border-radius: 14px;
  }

  /* In mobile: Vertical Rows Layout like Screenshot 3 */
  .fx-sc-top-row {
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
  }

  .fx-sc-id-badge {
    align-self: flex-start;
    padding: 0.25rem 0.75rem;
    font-size: 0.82rem;
  }

  .fx-sc-title {
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .fx-sc-specs-grid {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
  }

  .fx-sc-spec-item {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
    padding-bottom: 0.45rem;
  }

  .fx-sc-spec-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-top: 0.25rem;
  }

  .fx-spec-label {
    font-size: 0.82rem;
  }

  .fx-pill-val {
    padding: 0.15rem 0.65rem;
    font-size: 0.85rem;
  }

  .fx-btn-view-desc {
    width: 100%;
    justify-content: center;
    padding: 0.55rem 1rem;
  }
}



/* ==========================================================================
   PERFECT LIGHT MODE PALETTE & CONTRAST (LANDING & SERVICES SECTIONS)
   ========================================================================== */

html.light {
  --fx-bg-body: #f8fafc;
  --fx-bg-card: #ffffff;
  --fx-border: #e2e8f0;
  --fx-text-title: #0f172a;
  --fx-text-main: #334155;
  --fx-text-muted: #64748b;
}

/* 1. Section Headers & Badges in Light Mode */
html.light .fx-section-title {
  color: #0f172a !important;
}

html.light .fx-section-desc {
  color: #475569 !important;
}

html.light .fx-section-pill {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  color: #ea580c !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

/* 2. Live Metrics Ticker in Light Mode */
html.light .fx-metrics-ticker-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03) !important;
}

html.light .fx-mi-value {
  color: #0f172a !important;
}

html.light .fx-mi-value small {
  color: #64748b !important;
}

html.light .fx-mi-label {
  color: #64748b !important;
}

html.light .fx-metric-divider {
  background: #e2e8f0 !important;
}

/* 3. Luxury Bento Grid in Light Mode */
html.light .fx-bento-lux-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04) !important;
}

html.light .fx-bento-lux-card:hover {
  border-color: rgba(255, 98, 0, 0.4) !important;
  box-shadow: 0 15px 35px rgba(255, 98, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04) !important;
}

html.light .fx-bento-hero-tile {
  background: linear-gradient(135deg, #ffffff 0%, #fff7ed 100%) !important;
  border-color: rgba(255, 98, 0, 0.3) !important;
}

html.light .fx-bl-title {
  color: #0f172a !important;
}

html.light .fx-bl-sub {
  color: #64748b !important;
}

html.light .fx-bl-text {
  color: #475569 !important;
}

html.light .fx-bl-badge-top {
  background: #ecfdf5 !important;
  border-color: #a7f3d0 !important;
  color: #059669 !important;
}

html.light .fx-bl-speed-meter {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

html.light .fx-bs-label {
  color: #334155 !important;
}

html.light .fx-bs-bar {
  background: #e2e8f0 !important;
}

html.light .fx-bl-tag-list span {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
  color: #334155 !important;
}

/* 4. Steps Flow in Light Mode */
html.light .fx-step-lux-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04) !important;
}

html.light .fx-step-lux-card:hover {
  border-color: rgba(255, 98, 0, 0.4) !important;
  box-shadow: 0 15px 35px rgba(255, 98, 0, 0.08) !important;
}

html.light .fx-step-badge-num {
  color: #f1f5f9 !important;
}

html.light .fx-step-lux-title {
  color: #0f172a !important;
}

html.light .fx-step-lux-desc {
  color: #475569 !important;
}

html.light .fx-step-feature {
  background: #ecfdf5 !important;
  border-color: #a7f3d0 !important;
  color: #059669 !important;
}

html.light .fx-step-flow-arrow {
  color: #cbd5e1 !important;
}

/* 5. Services Cards in Light Mode */
html.light .fx-serv-lux-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04) !important;
}

html.light .fx-serv-lux-card:hover {
  border-color: rgba(255, 98, 0, 0.4) !important;
  box-shadow: 0 15px 35px rgba(255, 98, 0, 0.08) !important;
}

html.light .fx-slc-badge {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
  color: #475569 !important;
}

html.light .fx-slc-title {
  color: #0f172a !important;
}

html.light .fx-slc-desc {
  color: #475569 !important;
}

html.light .fx-slc-footer {
  border-top-color: #f1f5f9 !important;
}

html.light .fx-slc-plabel {
  color: #64748b !important;
}

html.light .fx-slc-pnum {
  color: #ff6200 !important;
}

html.light .fx-slc-btn {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
  color: #334155 !important;
}

html.light .fx-slc-btn:hover {
  background: #ff6200 !important;
  border-color: #ff6200 !important;
  color: #ffffff !important;
}

html.light .fx-btn-view-all-lux {
  background: #fff7ed !important;
  border-color: rgba(255, 98, 0, 0.3) !important;
  color: #ea580c !important;
  box-shadow: 0 4px 15px rgba(255, 98, 0, 0.08) !important;
}

html.light .fx-btn-view-all-lux:hover {
  background: #ff6200 !important;
  color: #ffffff !important;
}

/* 6. Reviews in Light Mode */
html.light .fx-trust-summary-badge {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}

html.light .fx-tsb-text strong {
  color: #0f172a !important;
}

html.light .fx-tsb-text span {
  color: #64748b !important;
}

html.light .fx-rev-lux-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04) !important;
}

html.light .fx-rlc-name {
  color: #0f172a !important;
}

html.light .fx-rlc-role {
  color: #64748b !important;
}

html.light .fx-rlc-quote {
  color: #334155 !important;
}

html.light .fx-rlc-foot {
  border-top-color: #f1f5f9 !important;
}

html.light .fx-rlc-badge {
  color: #059669 !important;
}

html.light .fx-rlc-date {
  color: #94a3b8 !important;
}

/* 7. FAQ Accordion in Light Mode */
html.light .fx-faq-lux-item {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
}

html.light .fx-faq-lux-item.active {
  border-color: rgba(255, 98, 0, 0.4) !important;
  box-shadow: 0 10px 25px rgba(255, 98, 0, 0.08) !important;
}

html.light .fx-faq-lux-title {
  color: #0f172a !important;
}

html.light .fx-faq-lux-body p {
  color: #475569 !important;
}

/* 8. Final CTA in Light Mode */
html.light .fx-final-lux-cta-card {
  background: radial-gradient(circle at center, #fff7ed 0%, #ffffff 100%) !important;
  border-color: rgba(255, 98, 0, 0.3) !important;
  box-shadow: 0 20px 50px rgba(255, 98, 0, 0.1), 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

html.light .fx-cta-lux-title {
  color: #0f172a !important;
}

html.light .fx-cta-lux-desc {
  color: #475569 !important;
}

html.light .fx-btn-cta-glass {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

html.light .fx-btn-cta-glass:hover {
  background: #f1f5f9 !important;
}

html.light .fx-cta-trust-items span {
  color: #334155 !important;
}

/* 9. Services Page Feed in Light Mode */
html.light .fx-btn-curr-filter {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  color: #0f172a !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

html.light .fx-search-input {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
}

html.light .fx-search-input:focus {
  border-color: #ff6200 !important;
  background: #ffffff !important;
}

html.light .fx-service-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}

html.light .fx-service-card:hover {
  border-color: rgba(255, 98, 0, 0.4) !important;
  box-shadow: 0 10px 25px rgba(255, 98, 0, 0.08) !important;
}

html.light .fx-sc-top-row {
  border-bottom-color: #f1f5f9 !important;
}

html.light .fx-sc-title {
  color: #0f172a !important;
}

html.light .fx-spec-label {
  color: #64748b !important;
}

html.light .fx-spec-val {
  color: #0f172a !important;
}

html.light .fx-price-val {
  color: #0f172a !important;
}

html.light .fx-pill-val {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
  color: #0f172a !important;
}

html.light .fx-avg-pill {
  background: #e0f2fe !important;
  border-color: #bae6fd !important;
  color: #0284c7 !important;
}

html.light .fx-btn-view-desc {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
  color: #ea580c !important;
}

html.light .fx-btn-view-desc:hover {
  background: #fff7ed !important;
  border-color: #ff6200 !important;
  color: #ea580c !important;
}

html.light .fx-desc-modal .modal-content {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15) !important;
}

html.light .fx-modal-header {
  border-bottom-color: #f1f5f9 !important;
}

html.light .fx-modal-header .modal-title {
  color: #0f172a !important;
}

html.light .fx-modal-header .btn-close {
  filter: none !important;
}

html.light .fx-modal-body {
  color: #334155 !important;
}

html.light .fx-modal-footer {
  border-top-color: #f1f5f9 !important;
}

html.light .fx-btn-modal-close {
  background: #f1f5f9 !important;
  color: #475569 !important;
}

html.light .fx-cat-dropdown-menu {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12) !important;
}

html.light .fx-cat-menu-item {
  color: #334155 !important;
}

html.light .fx-cat-menu-item:hover {
  background: #fff7ed !important;
  color: #ea580c !important;
}

html.light .fx-cat-item-badge {
  background: #f1f5f9 !important;
  color: #64748b !important;
}

html.light .fx-no-results {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
}

html.light .fx-no-results h4 {
  color: #0f172a !important;
}

html.light .fx-no-results p {
  color: #64748b !important;
}



/* ==========================================================================
   PERFECT MODAL POSITIONING & BACKDROP OVERRIDES
   ========================================================================== */

.modal-backdrop {
  z-index: 10400 !important;
  background-color: rgba(5, 7, 12, 0.75) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

.modal,
.service-description-modal {
  z-index: 10500 !important;
}

.modal-backdrop,
.service-description-modal-backdrop {
  z-index: 10400 !important;
}

#service-description {
  display: none !important;
}

.modal-dialog {
  z-index: 10600 !important;
}

/* ==================== ULTRA-LUXURY GLOBAL MODAL STYLING ==================== */
#serviceDescriptionModal .modal-dialog {
  max-width: 540px !important;
  margin: 1.25rem auto !important;
}

#serviceDescriptionModal .modal-content {
  background: #151822 !important;
  border: 1px solid rgba(249, 115, 22, 0.3) !important;
  border-radius: 20px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(249, 115, 22, 0.12) !important;
  backdrop-filter: blur(25px) !important;
  -webkit-backdrop-filter: blur(25px) !important;
  overflow: hidden !important;
}

#serviceDescriptionModal .modal-header {
  background: linear-gradient(180deg, rgba(249, 115, 22, 0.08) 0%, rgba(21, 24, 34, 0.4) 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 14px 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

#serviceDescriptionModal .fx-modal-header-icon {
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
  background: rgba(249, 115, 22, 0.15) !important;
  border: 1px solid rgba(249, 115, 22, 0.35) !important;
  color: var(--fx-primary) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.35rem !important;
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.2) !important;
}

#serviceDescriptionModal .modal-title {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 !important;
}

.fx-modal-close-btn,
#serviceDescriptionModal .fx-modal-close-btn {
  position: static !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #94a3b8 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.25rem !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  padding: 0 !important;
  line-height: 1 !important;
  outline: none !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
}

[dir="ltr"] .modal-header .fx-modal-close-btn,
[dir="ltr"] .fx-modal-header .fx-modal-close-btn {
  margin-left: auto !important;
  margin-right: 0 !important;
}

[dir="rtl"] .modal-header .fx-modal-close-btn,
[dir="rtl"] .fx-modal-header .fx-modal-close-btn {
  margin-right: auto !important;
  margin-left: 0 !important;
}

.fx-modal-close-btn iconify-icon,
#serviceDescriptionModal .fx-modal-close-btn iconify-icon {
  font-size: 1.35rem !important;
  color: inherit !important;
  display: block !important;
}

.fx-modal-close-btn:hover,
#serviceDescriptionModal .fx-modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.15) !important;
  border-color: rgba(239, 68, 68, 0.45) !important;
  color: #ef4444 !important;
  transform: rotate(90deg) scale(1.08) !important;
}

html.light .fx-modal-close-btn,
html[data-bs-theme="light"] .fx-modal-close-btn,
.light .fx-modal-close-btn {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #475569 !important;
}

html.light .fx-modal-close-btn:hover,
html[data-bs-theme="light"] .fx-modal-close-btn:hover,
.light .fx-modal-close-btn:hover {
  background: #fee2e2 !important;
  border-color: #fca5a5 !important;
  color: #dc2626 !important;
}

#serviceDescriptionModal .modal-body {
  padding: 18px !important;
}

#serviceDescriptionModal .fx-modal-service-card {
  background: rgba(255, 255, 255, 0.025) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  padding: 12px 14px !important;
}

#serviceDescriptionModal .fx-modal-service-id {
  background: rgba(249, 115, 22, 0.15) !important;
  border: 1px solid rgba(249, 115, 22, 0.35) !important;
  color: var(--fx-primary) !important;
  font-weight: 800 !important;
  font-size: 0.82rem !important;
  padding: 2px 8px !important;
  border-radius: 6px !important;
  font-family: var(--fx-font-en) !important;
}

#serviceDescriptionModal .fx-modal-service-tag {
  color: var(--fx-text-muted) !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
}

#serviceDescriptionModal .fx-modal-service-title {
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  line-height: 1.55 !important;
  margin-top: 6px !important;
}

#serviceDescriptionModal .fx-modal-desc-box {
  background: rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 14px !important;
  padding: 16px !important;
  max-height: 52vh !important;
  overflow-y: auto !important;
}

#serviceDescriptionModal .fx-desc-text-content {
  color: #cbd5e1 !important;
  font-size: 0.92rem !important;
  line-height: 1.85 !important;
  word-break: break-word !important;
  white-space: pre-line !important;
}

#serviceDescriptionModal .modal-footer {
  background: rgba(255, 255, 255, 0.015) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 14px 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

#serviceDescriptionModal .fx-modal-order-btn {
  flex: 1 !important;
  height: 46px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 18px rgba(249, 115, 22, 0.35) !important;
}

#serviceDescriptionModal .fx-modal-cancel-btn {
  height: 46px !important;
  padding: 0 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #94a3b8 !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  transition: all 0.2s ease !important;
}

#serviceDescriptionModal .fx-modal-cancel-btn:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}

@media (max-width: 768px) {
  #serviceDescriptionModal .modal-dialog {
    max-width: calc(100% - 1.25rem) !important;
    margin: 0.6rem auto !important;
  }

  #serviceDescriptionModal .modal-content {
    border-radius: 16px !important;
  }

  #serviceDescriptionModal .modal-header {
    padding: 10px 14px !important;
  }

  #serviceDescriptionModal .fx-modal-header-icon {
    width: 32px !important;
    height: 32px !important;
    font-size: 1.15rem !important;
    border-radius: 8px !important;
  }

  #serviceDescriptionModal .modal-title {
    font-size: 0.92rem !important;
  }

  #serviceDescriptionModal .fx-modal-close-btn {
    width: 30px !important;
    height: 30px !important;
    font-size: 1.2rem !important;
  }

  #serviceDescriptionModal .modal-body {
    padding: 12px 14px !important;
  }

  #serviceDescriptionModal .fx-modal-service-card {
    padding: 8px 10px !important;
    margin-bottom: 8px !important;
    border-radius: 10px !important;
  }

  #serviceDescriptionModal .fx-modal-service-id {
    font-size: 0.75rem !important;
    padding: 1px 6px !important;
  }

  #serviceDescriptionModal .fx-modal-service-tag {
    font-size: 0.72rem !important;
  }

  #serviceDescriptionModal .fx-modal-service-title {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    margin-top: 3px !important;
    font-weight: 700 !important;
  }

  #serviceDescriptionModal .fx-modal-desc-box {
    padding: 12px !important;
    border-radius: 10px !important;
    max-height: 44vh !important;
  }

  #serviceDescriptionModal .fx-desc-text-content {
    font-size: 0.82rem !important;
    line-height: 1.65 !important;
  }

  #serviceDescriptionModal .modal-footer {
    padding: 10px 14px !important;
    gap: 8px !important;
  }

  #serviceDescriptionModal .fx-modal-order-btn {
    height: 40px !important;
    font-size: 0.86rem !important;
    border-radius: 10px !important;
  }

  #serviceDescriptionModal .fx-modal-cancel-btn {
    height: 40px !important;
    font-size: 0.82rem !important;
    padding: 0 14px !important;
    border-radius: 10px !important;
  }
}

.modal-content,
#service-description .modal-content,
.fx-desc-modal .modal-content {
  background: var(--fx-bg-card, #151822) !important;
  border: 1.5px solid rgba(249, 115, 22, 0.3) !important;
  border-radius: var(--fx-radius-xl, 24px) !important;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.85), 0 0 40px rgba(249, 115, 22, 0.15) !important;
  color: var(--fx-text-main, #cbd5e1) !important;
  overflow: hidden !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

.modal-header,
#service-description .modal-header,
.fx-modal-header {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.1) 0%, rgba(21, 24, 34, 0.6) 100%) !important;
  border-bottom: 1px solid rgba(249, 115, 22, 0.2) !important;
  padding: 1.25rem 1.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.modal-header .modal-title,
.modal-header h4,
.modal-header h5,
#service-description .modal-title,
.fx-modal-header .modal-title {
  color: var(--fx-text-title, #ffffff) !important;
  font-weight: 800 !important;
  font-size: 1.1rem !important;
  line-height: 1.5 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

.modal-header .close,
.modal-header .btn-close,
#service-description .close,
.fx-modal-header .btn-close {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0.9 !important;
  font-size: 1.2rem !important;
  text-shadow: none !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  outline: none !important;
}

.modal-header .close:hover,
.modal-header .btn-close:hover,
#service-description .close:hover,
.fx-modal-header .btn-close:hover {
  background: rgba(239, 68, 68, 0.2) !important;
  border-color: rgba(239, 68, 68, 0.4) !important;
  color: #ef4444 !important;
  transform: rotate(90deg) scale(1.08) !important;
  opacity: 1 !important;
}

.modal-body,
#service-description .modal-body,
.fx-modal-body {
  padding: 1.5rem !important;
  color: var(--fx-text-main, #cbd5e1) !important;
  font-size: 0.95rem !important;
  line-height: 1.8 !important;
  max-height: 70vh !important;
  overflow-y: auto !important;
}

.modal-body::-webkit-scrollbar,
#service-description .modal-body::-webkit-scrollbar {
  width: 5px;
}

.modal-body::-webkit-scrollbar-thumb,
#service-description .modal-body::-webkit-scrollbar-thumb {
  background: rgba(249, 115, 22, 0.4);
  border-radius: 10px;
}

.modal-footer,
#service-description .modal-footer,
.fx-modal-footer {
  background: rgba(255, 255, 255, 0.02) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  padding: 1rem 1.5rem !important;
}

.modal-footer .btn-primary,
.modal-footer .btn-order,
#service-description .modal-footer a,
#service-description .modal-footer button.btn-primary,
#service-description .btn-primary {
  background: linear-gradient(135deg, #ff6b00 0%, #f97316 100%) !important;
  border: none !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 1rem !important;
  border-radius: var(--fx-radius-md, 12px) !important;
  padding: 0.75rem 1.75rem !important;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4) !important;
  transition: all var(--fx-transition) !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  text-decoration: none !important;
}

.modal-footer .btn-primary:hover,
#service-description .btn-primary:hover,
#service-description .modal-footer a:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.55) !important;
  color: #ffffff !important;
}

.modal-footer .btn-secondary,
.modal-footer .btn-default {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid var(--fx-border) !important;
  color: var(--fx-text-title) !important;
  font-weight: 700 !important;
  border-radius: var(--fx-radius-md, 12px) !important;
  padding: 0.65rem 1.5rem !important;
  transition: all var(--fx-transition) !important;
}

.modal-footer .btn-secondary:hover,
.modal-footer .btn-default:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}

/* Light Mode Overrides for Modal */
html.light .fx-desc-modal .modal-content {
  background: #ffffff !important;
  border-color: rgba(249, 115, 22, 0.35) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15), 0 0 25px rgba(249, 115, 22, 0.1) !important;
  color: #0f172a !important;
}

html.light .fx-modal-header {
  border-bottom-color: #f1f5f9 !important;
  background: #f8fafc !important;
}

html.light .fx-modal-header .modal-title {
  color: #0f172a !important;
}

html.light .fx-modal-header .btn-close {
  filter: none !important;
  opacity: 0.6 !important;
}

html.light .fx-modal-body {
  color: #334155 !important;
}

html.light .fx-modal-footer {
  border-top-color: #f1f5f9 !important;
  background: #f8fafc !important;
}



/* ==========================================================================
   MOBILE TYPOGRAPHY & COMPACT CARD REFINEMENTS FOR SERVICES PAGE
   ========================================================================== */

@media (max-width: 768px) {
  .fx-services-page {
    padding: 0.75rem 0.35rem 3rem !important;
  }

  .fx-services-feed {
    gap: 1.5rem !important;
  }

  .fx-category-block {
    gap: 0.65rem !important;
  }

  /* Compact Category Banner */
  .fx-category-banner {
    padding: 0.65rem 0.95rem !important;
    border-radius: 10px !important;
  }

  .fx-cat-banner-title {
    font-size: 0.88rem !important;
    font-weight: 800 !important;
  }

  .fx-cat-banner-icon {
    font-size: 1.1rem !important;
  }

  /* Compact Service Card */
  .fx-service-card {
    padding: 0.9rem 0.95rem !important;
    border-radius: 12px !important;
  }

  .fx-sc-top-row {
    margin-bottom: 0.65rem !important;
    padding-bottom: 0.65rem !important;
    gap: 0.5rem !important;
  }

  .fx-sc-title {
    font-size: 0.86rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
  }

  .fx-sc-id-badge {
    padding: 0.2rem 0.55rem !important;
    font-size: 0.75rem !important;
    border-radius: 7px !important;
  }

  .fx-sc-copy-icon {
    font-size: 0.82rem !important;
  }

  /* Compact Specs Row */
  .fx-sc-specs-grid {
    gap: 0.45rem !important;
  }

  .fx-sc-spec-item {
    padding-bottom: 0.35rem !important;
  }

  .fx-spec-label {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
  }

  .fx-price-val {
    font-size: 0.98rem !important;
    font-weight: 800 !important;
  }

  .fx-pill-val {
    padding: 0.12rem 0.55rem !important;
    font-size: 0.78rem !important;
    border-radius: 6px !important;
  }

  .fx-avg-pill {
    padding: 0.15rem 0.65rem !important;
    font-size: 0.75rem !important;
    border-radius: 6px !important;
  }

  .fx-btn-view-desc {
    padding: 0.42rem 0.85rem !important;
    font-size: 0.8rem !important;
    border-radius: 8px !important;
  }

  /* Compact Filter & Search on Mobile */
  .fx-btn-cat-filter {
    padding: 0.6rem 0.95rem !important;
    font-size: 0.85rem !important;
    border-radius: 10px !important;
  }

  .fx-btn-curr-filter {
    padding: 0.6rem 0.95rem !important;
    font-size: 0.85rem !important;
    border-radius: 10px !important;
  }

  .fx-search-input {
    padding: 0.6rem 2.4rem 0.6rem 2rem !important;
    font-size: 0.85rem !important;
    border-radius: 10px !important;
  }

  .fx-search-icon {
    font-size: 1.1rem !important;
  }
}



/* ==========================================================================
   PERFECT MODAL MOBILE LAYOUT & TYPOGRAPHY REFINEMENTS
   ========================================================================== */

.fx-desc-modal .modal-dialog {
  margin: 1rem auto;
  max-width: 540px;
  padding: 0 0.75rem;
}

.fx-desc-modal .modal-content {
  border-radius: 18px !important;
  overflow: hidden;
}

.fx-modal-header {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  padding: 1.15rem 1.25rem !important;
  position: relative;
}

.fx-modal-header-content {
  flex: 1;
  padding-left: 0.75rem;
}

.fx-modal-badge-label {
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 600;
}

.fx-modal-full-title {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  line-height: 1.5 !important;
  color: #ffffff !important;
  margin: 0 !important;
  word-break: break-word !important;
  white-space: normal !important;
}

.fx-modal-body {
  padding: 1.25rem !important;
  font-size: 0.92rem !important;
  line-height: 1.75 !important;
  color: #cbd5e1 !important;
}

.fx-desc-text {
  word-break: break-word;
}

.fx-modal-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.75rem !important;
  padding: 0.95rem 1.25rem !important;
}

.fx-btn-modal-close {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #cbd5e1 !important;
  border-radius: 10px !important;
  padding: 0.6rem 1.25rem !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fx-btn-modal-close:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}

.fx-btn-modal-order {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #ff6200 0%, #ff4500 100%) !important;
  color: #ffffff !important;
  border-radius: 10px !important;
  padding: 0.6rem 1.25rem !important;
  font-weight: 800 !important;
  font-size: 0.92rem !important;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(255, 98, 0, 0.35) !important;
  transition: all 0.25s ease;
}

.fx-btn-modal-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 98, 0, 0.5) !important;
  color: #ffffff !important;
}

/* Light Mode Overrides */
html.light .fx-modal-full-title {
  color: #0f172a !important;
}

html.light .fx-btn-modal-close {
  background: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
  color: #334155 !important;
}

html.light .fx-btn-modal-close:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

@media (max-width: 576px) {
  .fx-modal-full-title {
    font-size: 0.92rem !important;
  }

  .fx-modal-body {
    padding: 1rem !important;
    font-size: 0.86rem !important;
  }

  .fx-modal-footer {
    padding: 0.75rem 1rem !important;
  }
}



/* ==========================================================================
   DROPDOWN POSITIONING & VISIBILITY FIXES
   ========================================================================== */

.custom-fx-dropdown {
  position: relative !important;
}

.custom-fx-dropdown .dropdown-menu {
  display: none;
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  left: auto !important;
  margin-top: 0.5rem !important;
  z-index: 1050 !important;
}

.custom-fx-dropdown .dropdown-menu.show {
  display: block !important;
  animation: fxDropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fxDropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fx-curr-dropdown-menu {
  background: #0f141f !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 16px !important;
  padding: 0.5rem !important;
  min-width: 160px !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7) !important;
}

.fx-curr-menu-item {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.85rem !important;
  border-radius: 10px !important;
  color: #cbd5e1 !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  transition: all 0.2s ease !important;
}

.fx-curr-menu-item:hover {
  background: rgba(255, 98, 0, 0.15) !important;
  color: #ff7a18 !important;
}

.fx-curr-rate-badge {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  font-size: 0.78rem;
  color: #ff6200;
}

html.light .fx-curr-dropdown-menu {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

html.light .fx-curr-menu-item {
  color: #334155 !important;
}

html.light .fx-curr-menu-item:hover {
  background: #fff7ed !important;
  color: #ea580c !important;
}



/* ==========================================================================
   SUPER COMPACT & SLEEK MODAL POPUP (MOBILE & DESKTOP)
   ========================================================================== */

.fx-desc-modal .modal-dialog {
  max-width: 440px !important;
  margin: 1.5rem auto !important;
  padding: 0 1rem !important;
}

.fx-desc-modal .modal-content {
  border-radius: 16px !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75) !important;
}

.fx-modal-header {
  padding: 0.85rem 1rem !important;
}

.fx-modal-badge-label {
  font-size: 0.72rem !important;
}

.fx-modal-header .fx-sc-id-badge {
  padding: 0.15rem 0.5rem !important;
  font-size: 0.72rem !important;
  border-radius: 6px !important;
}

.fx-modal-full-title {
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
}

.fx-modal-body {
  padding: 0.85rem 1rem !important;
  font-size: 0.82rem !important;
  line-height: 1.6 !important;
}

.fx-modal-footer {
  padding: 0.65rem 1rem !important;
  gap: 0.5rem !important;
}

.fx-btn-modal-close {
  padding: 0.4rem 0.95rem !important;
  font-size: 0.8rem !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
}

.fx-btn-modal-order {
  padding: 0.45rem 1rem !important;
  font-size: 0.82rem !important;
  border-radius: 8px !important;
  font-weight: 800 !important;
}

@media (max-width: 576px) {
  .fx-desc-modal .modal-dialog {
    max-width: 90% !important;
    margin: 1rem auto !important;
  }

  .fx-modal-full-title {
    font-size: 0.82rem !important;
  }

  .fx-modal-body {
    padding: 0.75rem 0.85rem !important;
    font-size: 0.78rem !important;
  }

  .fx-btn-modal-order,
  .fx-btn-modal-close {
    font-size: 0.78rem !important;
    padding: 0.38rem 0.75rem !important;
  }
}



/* ==========================================================================
   SUPER COMPACT & SLEEK MOBILE GUEST NAVBAR & MENU
   ========================================================================== */

@media (max-width: 991px) {

  /* Navbar Container */
  .fx-guest-header {
    padding: 0.5rem 0.75rem !important;
  }

  .fx-guest-header .logo-img {
    max-height: 28px !important;
  }

  /* Nav Toggle & Theme Icons */
  .fx-guest-header .fx-icon-btn,
  .fx-guest-header .fx-mobile-nav-toggle {
    width: 38px !important;
    height: 38px !important;
    font-size: 1.25rem !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .fx-guest-header .fx-guest-burger-btn {
    background: var(--fx-gradient, #f97316) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4) !important;
    font-size: 1.35rem !important;
  }

  .fx-guest-header .fx-guest-burger-btn:hover {
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.55) !important;
  }

  /* Mobile Dropdown / Drawer Menu */
  .fx-guest-mobile-menu {
    border-radius: 14px !important;
    margin: 0.4rem 0.75rem 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(14, 18, 28, 0.96) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7) !important;
  }

  .fx-guest-m-content {
    padding: 0.85rem !important;
  }

  /* Header of Mobile Menu */
  .fx-guest-m-content .d-flex.border-bottom {
    padding-bottom: 0.5rem !important;
    margin-bottom: 0.6rem !important;
  }

  .fx-guest-m-content .fx-icon-btn {
    width: 34px !important;
    height: 34px !important;
    font-size: 1.25rem !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #cbd5e1 !important;
    transition: all 0.2s ease !important;
  }

  .fx-guest-m-content .fx-icon-btn:hover {
    background: rgba(239, 68, 68, 0.2) !important;
    border-color: #ef4444 !important;
    color: #ef4444 !important;
    transform: rotate(90deg) scale(1.08) !important;
  }

  /* Menu Links */
  .fx-guest-m-link {
    padding: 0.55rem 0.85rem !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    gap: 0.55rem !important;
    border-radius: 8px !important;
  }

  .fx-guest-m-link iconify-icon {
    font-size: 1.05rem !important;
  }

  /* Signup Action Button in Menu */
  .fx-btn-primary-glow.w-100 {
    padding: 0.6rem 1rem !important;
    font-size: 0.85rem !important;
    border-radius: 9px !important;
    font-weight: 800 !important;
  }

  .fx-btn-primary-glow.w-100 iconify-icon {
    font-size: 1rem !important;
  }
}



/* ==========================================================================
   PERFECT DROPDOWN ALIGNMENT & SCREEN BOUNDS PROTECTION
   ========================================================================== */

.fx-custom-cat-dropdown {
  position: relative !important;
}

.fx-cat-dropdown-menu {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: auto !important;
  transform: none !important;
  margin-top: 0.5rem !important;
  min-width: 290px !important;
  max-width: 380px !important;
  border-radius: 14px !important;
  z-index: 1050 !important;
}

[dir="rtl"] .fx-cat-dropdown-menu {
  left: auto !important;
  right: 0 !important;
}

@media (max-width: 768px) {
  .fx-cat-dropdown-menu {
    position: fixed !important;
    top: auto !important;
    bottom: auto !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: calc(100vw - 24px) !important;
    max-height: 60vh !important;
    border-radius: 14px !important;
  }

  .fx-cat-menu-item {
    font-size: 0.82rem !important;
    padding: 0.6rem 0.85rem !important;
  }
}



/* ==========================================================================
   DROPDOWN POSITIONING DEFINITIVE CLAMP
   ========================================================================== */

.fx-custom-cat-dropdown {
  position: relative !important;
}

.fx-cat-dropdown-menu {
  right: 0 !important;
  left: auto !important;
  top: 100% !important;
  margin-top: 0.4rem !important;
  max-width: calc(100vw - 20px) !important;
  width: max-content !important;
  min-width: 260px !important;
  max-height: 400px !important;
  overflow-y: auto !important;
  border-radius: 14px !important;
  z-index: 1050 !important;
}

@media (max-width: 576px) {
  .fx-cat-dropdown-menu {
    right: 0 !important;
    left: auto !important;
    min-width: 250px !important;
    max-width: calc(100vw - 24px) !important;
  }
}



/* ==========================================================================
   PIXEL PERFECT DROPDOWN ALIGNMENT (MATCHING EXACT SCREENSHOT 2)
   ========================================================================== */

.fx-custom-cat-dropdown {
  position: relative !important;
}

.fx-cat-dropdown-menu {
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  left: auto !important;
  transform: none !important;
  margin-top: 0.35rem !important;
  min-width: 280px !important;
  max-width: 320px !important;
  width: max-content !important;
  border-radius: 16px !important;
  background: #0d121c !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8) !important;
  z-index: 1050 !important;
}

@media (max-width: 768px) {
  .fx-custom-cat-dropdown {
    position: relative !important;
    width: 100% !important;
  }

  .fx-cat-dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    border-radius: 14px !important;
  }
}



/* ==========================================================================
   FULL-WIDTH STACKED CONTROLS & DROPDOWN (MOBILE & CLEAN LAYOUT)
   ========================================================================== */

@media (max-width: 768px) {
  .fx-serv-top-bar {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    width: 100% !important;
  }

  .fx-serv-top-left {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.65rem !important;
    width: 100% !important;
  }

  .fx-custom-cat-dropdown,
  .fx-currency-dropdown,
  .fx-serv-search-box {
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
  }

  /* Full Width Buttons */
  .fx-btn-cat-filter,
  .fx-btn-curr-filter {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0.75rem 1rem !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
  }

  /* Full Width Dropdown Menu (Matches Button Width 100%) */
  .fx-cat-dropdown-menu,
  .fx-curr-dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    margin-top: 0.35rem !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;
    z-index: 1050 !important;
  }
}



/* ==========================================================================
   DROPDOWN TEXT WRAPPING & NO HORIZONTAL SCROLLBAR
   ========================================================================== */

.fx-cat-dropdown-menu {
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

.fx-cat-menu-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.65rem !important;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
  line-height: 1.45 !important;
  text-align: right !important;
}

.fx-cat-item-name {
  flex: 1 !important;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
  text-align: right !important;
}

.fx-cat-item-check {
  flex-shrink: 0 !important;
}

.fx-cat-item-badge {
  flex-shrink: 0 !important;
}

@media (max-width: 768px) {
  .fx-cat-dropdown-menu {
    overflow-x: hidden !important;
  }

  .fx-cat-menu-item {
    white-space: normal !important;
    word-break: break-word !important;
  }
}



/* ==========================================================================
   ULTRA-COMPACT SLEEK LUXURY MOBILE MENU (NO BULKY PADDING/FONTS)
   ========================================================================== */

@media (max-width: 991px) {

  /* Guest Drawer Container */
  .fx-guest-mobile-menu {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 8px !important;
    right: 8px !important;
    margin: 0 !important;
    background: rgba(13, 17, 26, 0.98) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 12px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(20px) !important;
  }

  .fx-guest-m-content {
    padding: 0.6rem 0.75rem !important;
  }

  /* Drawer Top Bar */
  .fx-guest-m-content .d-flex.border-bottom {
    padding-bottom: 0.35rem !important;
    margin-bottom: 0.45rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  .fx-guest-m-content span.text-white {
    font-size: 0.76rem !important;
    font-weight: 800 !important;
    color: #94a3b8 !important;
    letter-spacing: 0.5px;
  }

  .fx-guest-m-content .fx-icon-btn {
    width: 22px !important;
    height: 22px !important;
    font-size: 0.85rem !important;
    background: transparent !important;
    border: none !important;
    color: #64748b !important;
  }

  .fx-guest-m-content .fx-icon-btn:hover {
    color: #ffffff !important;
  }

  /* Compact List of Links */
  .fx-guest-m-content .d-flex.flex-column.gap-2 {
    gap: 0.3rem !important;
    margin-bottom: 0.45rem !important;
  }

  .fx-guest-m-link {
    display: flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    padding: 0.42rem 0.65rem !important;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    color: #cbd5e1 !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 7px !important;
    transition: all 0.2s ease !important;
  }

  .fx-guest-m-link iconify-icon {
    font-size: 0.95rem !important;
    color: #ff6200 !important;
  }

  .fx-guest-m-link:hover {
    background: rgba(255, 98, 0, 0.12) !important;
    border-color: rgba(255, 98, 0, 0.3) !important;
    color: #ffffff !important;
  }

  /* Compact Signup Button */
  .fx-btn-signup-m-drawer,
  .fx-btn-primary-glow.w-100 {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.4rem !important;
    background: linear-gradient(135deg, #ff6200 0%, #ff4500 100%) !important;
    color: #ffffff !important;
    padding: 0.45rem 0.85rem !important;
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(255, 98, 0, 0.3) !important;
  }

  .fx-btn-signup-m-drawer iconify-icon,
  .fx-btn-primary-glow.w-100 iconify-icon {
    font-size: 0.88rem !important;
  }

  /* Light Mode Overrides */
  html.light .fx-guest-mobile-menu {
    background: rgba(255, 255, 255, 0.98) !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
  }

  html.light .fx-guest-m-content span.text-white {
    color: #64748b !important;
  }

  html.light .fx-guest-m-link {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #334155 !important;
  }

  html.light .fx-guest-m-link:hover {
    background: #fff7ed !important;
    color: #ea580c !important;
  }
}



/* ==========================================================================
   MINIMAL & ZERO EXTRA PADDING FOR MOBILE GUEST MENU
   ========================================================================== */

@media (max-width: 991px) {
  .fx-guest-mobile-menu {
    padding: 0 !important;
    border-radius: 12px !important;
  }

  .fx-guest-m-content {
    padding: 0.45rem !important;
  }

  .fx-guest-m-content .d-flex.flex-column {
    gap: 0.25rem !important;
    margin-bottom: 0.35rem !important;
  }

  .fx-guest-m-link {
    padding: 0.38rem 0.6rem !important;
    font-size: 0.78rem !important;
    border-radius: 6px !important;
  }

  .fx-btn-signup-m-drawer {
    padding: 0.42rem 0.75rem !important;
    font-size: 0.78rem !important;
    border-radius: 7px !important;
  }
}



/* ==========================================================================
   FULL-WIDTH FLUSH ACCORDION MOBILE DRAWER (EXACTLY LIKE SCREENSHOT)
   ========================================================================== */

@media (max-width: 991px) {
  .fx-guest-header {
    position: relative !important;
    padding: 0 !important;
  }

  .fx-guest-header .wrap {
    padding: 0.65rem 1rem !important;
  }

  /* Full Bleed Flush Drawer directly attached under header */
  .fx-guest-mobile-menu {
    position: static !important;
    width: 100% !important;
    margin: 0 !important;
    left: 0 !important;
    right: 0 !important;
    border-radius: 0 !important;
    background: #0b0e14 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-left: none !important;
    border-right: none !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5) !important;
    padding: 0.75rem 1rem 1rem !important;
  }

  .fx-guest-m-content {
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
  }

  .fx-guest-m-content .d-flex.flex-column {
    gap: 0.45rem !important;
    margin-bottom: 0.45rem !important;
  }

  /* Wide Flush Action Links with Right-aligned text & Left-aligned orange icons */
  .fx-guest-m-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-direction: row-reverse !important;
    width: 100% !important;
    padding: 0.65rem 1rem !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
  }

  .fx-guest-m-link iconify-icon {
    font-size: 1.15rem !important;
    color: #ff6200 !important;
    flex-shrink: 0 !important;
  }

  .fx-guest-m-link span {
    color: #ffffff !important;
  }

  .fx-guest-m-link:hover {
    background: rgba(255, 98, 0, 0.1) !important;
    border-color: rgba(255, 98, 0, 0.3) !important;
  }

  /* Full Width Vivid Orange Signup Button */
  .fx-btn-signup-m-drawer {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    width: 100% !important;
    background: linear-gradient(135deg, #ff6200 0%, #ff4500 100%) !important;
    color: #ffffff !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.92rem !important;
    font-weight: 900 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(255, 98, 0, 0.35) !important;
    box-sizing: border-box !important;
  }

  .fx-btn-signup-m-drawer iconify-icon {
    font-size: 1.1rem !important;
  }
}



/* ==========================================================================
   LUXURY ULTRA-MODERN ORDER SUCCESS & ALERT CARDS
   ========================================================================== */

.alert.alert-success,
.fx-order-success-card {
  position: relative !important;
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.12) 0%, rgba(13, 20, 30, 0.95) 100%) !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
  border-radius: 16px !important;
  padding: 1.25rem 1.4rem !important;
  color: #e2e8f0 !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(16, 185, 129, 0.1) !important;
  backdrop-filter: blur(10px) !important;
}

.fx-osc-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-bottom: 0.85rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fx-osc-icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10b981;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.25);
}

.fx-osc-title {
  color: #ffffff !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
}

.fx-osc-subtitle {
  color: #94a3b8 !important;
  font-size: 0.8rem !important;
}

.fx-osc-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem 1rem;
}

.fx-osc-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.fx-osc-item-full {
  grid-column: 1 / -1;
}

.fx-osc-label {
  font-size: 0.74rem;
  color: #64748b;
  font-weight: 700;
}

.fx-osc-value {
  font-size: 0.88rem;
  font-weight: 700;
  color: #f1f5f9;
  word-break: break-all;
}

.fx-osc-id {
  color: #ff6200 !important;
  font-weight: 900;
  font-size: 0.95rem;
}

.fx-osc-charge {
  color: #10b981 !important;
  font-weight: 900;
}

.fx-osc-balance {
  color: #38bdf8 !important;
  font-weight: 900;
}

.fx-osc-link {
  color: #cbd5e1;
  font-size: 0.82rem;
  direction: ltr;
  text-align: right;
}

.fx-alert-close-btn,
.alert-success .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%) !important;
  opacity: 0.6 !important;
  position: absolute !important;
  top: 1rem !important;
  left: 1rem !important;
  right: auto !important;
  margin: 0 !important;
  transition: all 0.2s ease;
}

.fx-alert-close-btn:hover,
.alert-success .btn-close:hover {
  opacity: 1 !important;
}

/* Light Mode Overrides for Success Alert */
html.light .alert.alert-success,
html.light .fx-order-success-card {
  background: linear-gradient(145deg, #ecfdf5 0%, #ffffff 100%) !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
  color: #0f172a !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06), 0 0 20px rgba(16, 185, 129, 0.08) !important;
}

html.light .fx-osc-title {
  color: #065f46 !important;
}

html.light .fx-osc-subtitle {
  color: #64748b !important;
}

html.light .fx-osc-item {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

html.light .fx-osc-label {
  color: #64748b !important;
}

html.light .fx-osc-value {
  color: #1e293b !important;
}

html.light .fx-alert-close-btn,
html.light .alert-success .btn-close {
  filter: none !important;
  opacity: 0.6 !important;
}

@media (max-width: 576px) {
  .fx-osc-details-grid {
    grid-template-columns: 1fr !important;
  }

  .alert.alert-success,
  .fx-order-success-card {
    padding: 1rem !important;
  }

  .fx-osc-icon-badge {
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
  }
}

/* ==========================================================================
   ORDERS PAGE STYLES & MOBILE CARDS SYSTEM
   ========================================================================== */

.fx-orders-page {
  width: 100%;
  max-width: 100% !important;
  margin: 0;
  padding: 0 0.5rem 3rem;
}

/* Redesigned Luxury Orders Header Card */
.fx-orders-header-card {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.08) 0%, rgba(21, 24, 34, 0.95) 100%);
  border: 1px solid rgba(249, 115, 22, 0.22);
  border-right: 4px solid var(--fx-primary);
  border-radius: var(--fx-radius-xl);
  padding: 1.35rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}

[dir="ltr"] .fx-orders-header-card {
  border-right: 1px solid rgba(249, 115, 22, 0.22);
  border-left: 4px solid var(--fx-primary);
}

.fx-orders-header-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--fx-radius-md);
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.3);
  color: var(--fx-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.2);
}

.fx-orders-header-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--fx-text-title);
  margin: 0 0 0.25rem 0;
  line-height: 1.25;
}

.fx-orders-header-subtitle {
  font-size: 0.85rem;
  color: var(--fx-text-muted);
  margin: 0;
  line-height: 1.4;
}

/* Refined Search Box */
.fx-orders-search-box {
  min-width: 320px;
  max-width: 440px;
  flex: 1;
}

.fx-orders-search-input {
  width: 100%;
  background: var(--fx-bg-card, #151822) !important;
  border: 1.5px solid var(--fx-border) !important;
  border-radius: var(--fx-radius-md) !important;
  padding: 0.75rem 2.85rem 0.75rem 1.15rem !important;
  color: var(--fx-text-title) !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  transition: all var(--fx-transition) !important;
}

[dir="ltr"] .fx-orders-search-input {
  padding: 0.75rem 1.15rem 0.75rem 2.85rem !important;
}

.fx-orders-search-input:focus {
  border-color: var(--fx-primary) !important;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2) !important;
  background: var(--fx-bg-card-alt, #1a1e2a) !important;
}

.fx-orders-search-icon {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  color: var(--fx-text-dim);
  font-size: 1.2rem;
  pointer-events: none;
}

[dir="ltr"] .fx-orders-search-icon,
[dir="ltr"] .fx-orders-search-submit {
  right: auto !important;
  left: 1rem !important;
}

/* ==================== REDESIGNED STATUS TABS ==================== */
.fx-orders-tabs-wrapper {
  background: var(--fx-bg-card, #151822);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-lg);
  padding: 0.65rem 0.85rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.fx-orders-tabs-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.fx-order-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.52rem 1.15rem;
  background: var(--fx-bg-input, #1c2030);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-sm);
  color: var(--fx-text-main);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: all var(--fx-transition);
  cursor: pointer;
}

.fx-order-tab-btn .fx-tab-icon {
  font-size: 1.1rem;
  transition: transform var(--fx-transition);
}

.fx-tab-pending {
  color: #fbbf24;
}

.fx-tab-inprogress {
  color: #22d3ee;
}

.fx-tab-completed {
  color: #34d399;
}

.fx-tab-partial {
  color: #818cf8;
}

.fx-tab-canceled {
  color: #f87171;
}

.fx-order-tab-btn:hover {
  background: rgba(249, 115, 22, 0.1);
  border-color: rgba(249, 115, 22, 0.35);
  color: var(--fx-text-title);
  transform: translateY(-1px);
}

.fx-order-tab-btn.active,
.fx-account-tab-link.active {
  background: rgba(249, 115, 22, 0.18) !important;
  color: #ffffff !important;
  border: 1.5px solid var(--fx-primary) !important;
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.25) !important;
  transform: translateY(-1px);
}

.fx-order-tab-btn.active .fx-tab-icon,
.fx-account-tab-link.active iconify-icon {
  color: #fdba74 !important;
}

/* Account & Notifications Navigation Tabs */
.fx-account-nav-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fx-account-tab-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.52rem 1.15rem;
  background: var(--fx-bg-input, #1c2030);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-sm);
  color: var(--fx-text-main);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: all var(--fx-transition);
  cursor: pointer;
}

.fx-account-tab-link iconify-icon {
  font-size: 1.1rem;
  color: var(--fx-text-muted);
  transition: color var(--fx-transition);
}

.fx-account-tab-link:hover {
  background: rgba(249, 115, 22, 0.1);
  border-color: rgba(249, 115, 22, 0.35);
  color: var(--fx-text-title);
  transform: translateY(-1px);
}

.fx-account-tab-link:hover iconify-icon {
  color: var(--fx-primary);
}

/* Light Mode Overrides for Header & Tabs */
html.light .fx-orders-header-card {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.06) 0%, #ffffff 100%);
  border-color: #e2e8f0;
  border-right-color: var(--fx-primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

html.light .fx-orders-search-input {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

html.light .fx-orders-tabs-wrapper {
  background: #ffffff;
  border-color: #e2e8f0;
}

html.light .fx-order-tab-btn,
html.light .fx-account-tab-link,
html[data-bs-theme="light"] .fx-account-tab-link,
.light .fx-account-tab-link {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #475569;
}

html.light .fx-order-tab-btn:hover,
html.light .fx-account-tab-link:hover,
html[data-bs-theme="light"] .fx-account-tab-link:hover,
.light .fx-account-tab-link:hover {
  background: #fff7ed;
  border-color: var(--fx-primary);
  color: #0f172a;
}

html.light .fx-order-tab-btn.active,
html.light .fx-account-tab-link.active,
html[data-bs-theme="light"] .fx-order-tab-btn.active,
html[data-bs-theme="light"] .fx-account-tab-link.active,
.light .fx-order-tab-btn.active,
.light .fx-account-tab-link.active {
  background: #fff7ed !important;
  border: 1.5px solid var(--fx-primary) !important;
  color: #9a3412 !important;
  box-shadow: 0 2px 10px rgba(249, 115, 22, 0.15) !important;
}

html.light .fx-order-tab-btn.active .fx-tab-icon,
html.light .fx-account-tab-link.active iconify-icon,
html[data-bs-theme="light"] .fx-account-tab-link.active iconify-icon,
.light .fx-account-tab-link.active iconify-icon {
  color: #c2410c !important;
}

/* Custom Styled Checkbox */
.fx-custom-checkbox {
  width: 18px !important;
  height: 18px !important;
  background-color: var(--fx-bg-input) !important;
  border: 1.5px solid var(--fx-border) !important;
  border-radius: 5px !important;
  cursor: pointer;
  margin: 0 !important;
  transition: all var(--fx-transition);
}

.fx-custom-checkbox:checked {
  background-color: var(--fx-primary) !important;
  border-color: var(--fx-primary) !important;
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.4) !important;
}

.fx-custom-checkbox:focus {
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2) !important;
}

/* ==================== Unified Orders Table & Mobile Responsive Cards ==================== */
.fx-orders-page .fx-table-container {
  border-radius: var(--fx-radius-lg);
  border: 1px solid var(--fx-border);
  background: var(--fx-bg-card);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.fx-orders-table {
  margin-bottom: 0;
  width: 100%;
  border-collapse: collapse;
}

.fx-orders-table thead,
.fx-orders-table thead tr,
.fx-orders-table th {
  padding: 1rem 1.15rem;
  font-size: 0.82rem;
  color: var(--fx-text-muted);
  font-weight: 800;
  white-space: nowrap;
  background: var(--fx-bg-input, #1c2030);
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.fx-orders-table td {
  padding: 1.1rem 1.15rem;
  vertical-align: middle;
  border-top: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  transition: background-color var(--fx-transition);
}

.fx-order-row:hover td {
  background: var(--fx-bg-hover, rgba(249, 115, 22, 0.04));
}

@media (min-width: 769px) {
  .fx-order-row.fx-row-selected td {
    background: rgba(249, 115, 22, 0.08) !important;
    border-bottom-color: rgba(249, 115, 22, 0.2) !important;
  }
}

/* Order ID Clickable Copy Badge */
.fx-order-id-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--fx-bg-input, #1c2030);
  border: 1px solid var(--fx-border);
  padding: 0.28rem 0.65rem;
  border-radius: var(--fx-radius-sm);
  cursor: pointer;
  user-select: none;
  transition: all var(--fx-transition);
  font-family: var(--fx-font-en);
}

.fx-order-id-badge .fx-order-id-num {
  font-family: var(--fx-font-en);
  font-weight: 800;
  color: var(--fx-text-title);
  font-size: 0.92rem;
  letter-spacing: -0.2px;
  transition: color var(--fx-transition);
}

.fx-order-id-badge .fx-id-copy-icon {
  font-size: 0.95rem;
  color: var(--fx-primary, #f97316);
  opacity: 0.9;
  transition: all var(--fx-transition);
}

.fx-order-id-badge:hover {
  background: rgba(249, 115, 22, 0.12);
  border-color: rgba(249, 115, 22, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.15);
}

.fx-order-id-badge:hover .fx-order-id-num,
.fx-order-id-badge:hover .fx-id-copy-icon {
  color: var(--fx-primary);
}

.fx-order-id-badge.copied {
  background: var(--fx-success, #34d399) !important;
  border-color: var(--fx-success, #34d399) !important;
  box-shadow: 0 4px 12px rgba(52, 211, 153, 0.35) !important;
}

.fx-order-id-badge.copied .fx-order-id-num,
.fx-order-id-badge.copied .fx-id-copy-icon {
  color: #ffffff !important;
}

/* Header Quick Copy All Button */
.fx-btn-copy-header {
  width: 26px;
  height: 26px;
  font-size: 0.85rem;
  background: rgba(249, 115, 22, 0.1);
  border-color: rgba(249, 115, 22, 0.25);
  color: var(--fx-primary);
  transition: all 0.2s ease;
}

.fx-btn-copy-header:hover {
  background: var(--fx-primary);
  color: #ffffff;
  border-color: var(--fx-primary);
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.4);
}

.fx-btn-copy-header.copied,
.fx-btn-icon-copy.copied {
  background: #10b981 !important;
  border-color: #10b981 !important;
  color: #ffffff !important;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4) !important;
  transform: scale(1.1) !important;
}

.fx-btn-copy-header.copied iconify-icon,
.fx-btn-icon-copy.copied iconify-icon {
  color: #ffffff !important;
}

a.fx-order-id-badge,
a.fx-order-service-name {
  text-decoration: none !important;
  color: inherit;
  transition: all var(--fx-transition);
  display: inline-flex;
  align-items: center;
}

a.fx-order-service-name:hover {
  color: var(--fx-primary) !important;
  text-decoration: underline !important;
}

/* Table Typography & Details */
.fx-order-date {
  font-size: 0.78rem;
  color: var(--fx-text-muted);
  font-family: var(--fx-font-en);
  white-space: nowrap;
}

.fx-orders-table td.fx-td-link {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fx-order-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 100%;
  color: var(--fx-primary);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  vertical-align: middle;
  overflow: hidden;
  transition: color var(--fx-transition);
}

.fx-order-link-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  direction: ltr;
  display: inline-block;
  max-width: 140px;
}

.fx-order-link-icon {
  font-size: 0.95rem;
  flex-shrink: 0;
  color: var(--fx-primary);
}

.fx-order-link:hover {
  color: var(--fx-primary-hover);
  text-decoration: underline !important;
}

.fx-order-charge {
  font-family: var(--fx-font-en);
  font-weight: 800;
  color: var(--fx-primary);
  font-size: 0.95rem;
  white-space: nowrap;
}

.fx-order-count,
.fx-order-qty {
  font-family: var(--fx-font-en);
  font-weight: 700;
  color: var(--fx-text-title);
  font-size: 0.9rem;
}

.fx-orders-table td.fx-td-service {
  min-width: 280px !important;
  max-width: 480px !important;
}

.fx-order-service-wrap {
  display: block !important;
  line-height: 1.6 !important;
  word-break: break-word !important;
  text-align: start !important;
}

.fx-service-id-link {
  display: inline !important;
  text-decoration: none !important;
  vertical-align: baseline !important;
}

.fx-service-id-num,
.fx-service-id-pill {
  font-family: var(--fx-font-en, inherit) !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  color: var(--fx-primary, #f97316) !important;
  transition: all var(--fx-transition) !important;
  display: inline !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  line-height: inherit !important;
}

.fx-service-id-link:hover .fx-service-id-num,
.fx-service-id-link:hover .fx-service-id-pill {
  color: var(--fx-primary-hover, #ea580c) !important;
  text-decoration: underline !important;
}

.fx-service-sep {
  color: var(--fx-text-muted, #94a3b8) !important;
  font-weight: 700 !important;
  margin: 0 0.35rem !important;
  display: inline !important;
}

.fx-order-service-name {
  color: var(--fx-text-title, #ffffff) !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  line-height: 1.6 !important;
  display: inline !important;
  word-break: break-word !important;
  text-decoration: none !important;
}

a.fx-order-service-name:hover {
  color: var(--fx-primary, #f97316) !important;
  text-decoration: underline !important;
}

html.light .fx-order-service-name {
  color: #1e293b !important;
}

html.light .fx-service-id-num,
html.light .fx-service-id-pill {
  color: var(--fx-primary, #f97316) !important;
}

.fx-order-id-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.45rem !important;
  padding: 0.28rem 0.65rem !important;
  white-space: nowrap !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: var(--fx-radius-xs, 8px) !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  user-select: none !important;
  color: var(--fx-text-title, #f8fafc) !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  line-height: 1 !important;
  min-height: 28px !important;
  flex-shrink: 0 !important;
}

.fx-td-id {
  white-space: nowrap !important;
}

[dir="rtl"] .fx-order-id-badge,
html[dir="rtl"] .fx-order-id-badge,
html.rtl .fx-order-id-badge,
body.rtl .fx-order-id-badge {
  direction: rtl !important;
  flex-direction: row !important;
}

[dir="ltr"] .fx-order-id-badge,
html[dir="ltr"] .fx-order-id-badge {
  direction: ltr !important;
  flex-direction: row !important;
}

.fx-order-id-badge:hover {
  background: rgba(249, 115, 22, 0.12) !important;
  border-color: rgba(249, 115, 22, 0.4) !important;
  transform: translateY(-1px);
}

.fx-order-id-badge .fx-id-copy-icon {
  font-size: 0.95rem !important;
  color: var(--fx-primary, #f97316) !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
}

.fx-order-id-badge .fx-order-id-num {
  font-family: var(--fx-font-en, inherit) !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.2px !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  display: inline-block !important;
}

.fx-order-id-badge.copied {
  background: rgba(16, 185, 129, 0.16) !important;
  border-color: rgba(16, 185, 129, 0.45) !important;
  color: #6ee7b7 !important;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.25) !important;
}

.fx-order-id-badge.copied .fx-id-copy-icon {
  color: #34d399 !important;
  font-size: 0.95rem !important;
}

.fx-order-id-badge.copied .fx-order-id-num {
  font-family: var(--fx-font-ar, inherit) !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  color: #6ee7b7 !important;
  white-space: nowrap !important;
  line-height: 1 !important;
}

html.light .fx-order-id-badge {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
  color: #1e293b !important;
}

html.light .fx-order-id-badge:hover {
  background: #ffffff !important;
  border-color: var(--fx-primary, #f97316) !important;
}

html.light .fx-order-id-badge.copied {
  background: #ecfdf5 !important;
  border-color: #a7f3d0 !important;
  color: #065f46 !important;
}

html.light .fx-order-id-badge.copied .fx-id-copy-icon {
  color: #059669 !important;
}

html.light .fx-order-id-badge.copied .fx-order-id-num {
  color: #065f46 !important;
  white-space: nowrap !important;
}

html.light .fx-order-id-badge.copied .fx-id-copy-icon {
  color: #059669 !important;
}

html.light .fx-order-id-badge.copied .fx-order-id-num {
  color: #065f46 !important;
}

.fx-refill-order-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.6rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: #818cf8;
  border-radius: var(--fx-radius-xs, 6px);
  font-family: var(--fx-font-en);
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none !important;
  transition: all var(--fx-transition);
}

.fx-refill-order-link:hover {
  background: #6366f1;
  color: #ffffff;
  border-color: #6366f1;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.35);
}

html.light .fx-refill-order-link {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: #4f46e5;
}

/* Hidden Alert Override */
.alert[style*="display: none"],
.alert[style*="display:none"],
.ticket-danger[style*="display: none"],
.ticket-danger[style*="display:none"],
.alert.d-none,
.alert.hide,
.alert:empty {
  display: none !important;
}

/* ==================== GLOBAL COMPACT LUXURY ALERT BANNERS ==================== */
.alert:not([style*="display: none"]):not([style*="display:none"]):not(.d-none):not(.hide),
.alert-dismissible:not([style*="display: none"]):not([style*="display:none"]):not(.d-none):not(.hide),
.fx-alert-lux {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 0.75rem 1.15rem !important;
  min-height: auto !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  border-radius: var(--fx-radius-md, 12px) !important;
  margin-bottom: 1.25rem !important;
  line-height: 1.5 !important;
  gap: 0.75rem !important;
  text-align: right !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
}

.alert-success {
  background: rgba(16, 185, 129, 0.1) !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
  color: #34d399 !important;
}

.alert-danger {
  background: rgba(239, 68, 68, 0.1) !important;
  border: 1px solid rgba(239, 68, 68, 0.3) !important;
  color: #f87171 !important;
}

.alert-info,
.fx-alert-lux {
  background: rgba(99, 102, 241, 0.08) !important;
  border: 1px solid rgba(99, 102, 241, 0.25) !important;
  color: #cbd5e1 !important;
}

.alert-dismissible .close,
.alert-dismissible button.close,
.alert .btn-close,
.alert button.close {
  position: static !important;
  transform: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  min-height: 26px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: var(--fx-text-title) !important;
  font-size: 0.95rem !important;
  line-height: 22px !important;
  text-align: center !important;
  opacity: 0.8 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  transition: all var(--fx-transition) !important;
  text-shadow: none !important;
}

.alert-dismissible .close:hover,
.alert .btn-close:hover {
  opacity: 1 !important;
  background: rgba(239, 68, 68, 0.25) !important;
  border-color: rgba(239, 68, 68, 0.4) !important;
  color: #ef4444 !important;
}

.fx-alert-lux .fx-alert-icon {
  font-size: 1.35rem;
  color: #818cf8;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {

  .alert:not([style*="display: none"]):not([style*="display:none"]):not(.d-none):not(.hide),
  .alert-dismissible:not([style*="display: none"]):not([style*="display:none"]):not(.d-none):not(.hide),
  .fx-alert-lux {
    padding: 0.45rem 0.75rem !important;
    font-size: 0.76rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    gap: 0.45rem !important;
    margin-bottom: 0.85rem !important;
    line-height: 1.4 !important;
  }

  .alert p,
  .alert span,
  .alert div,
  .alert h4,
  .alert h5,
  .alert .alert-content {
    font-size: 0.76rem !important;
    font-weight: 600 !important;
    margin-bottom: 0 !important;
    line-height: 1.4 !important;
  }

  .alert-dismissible .close,
  .alert-dismissible button.close,
  .alert .btn-close {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    font-size: 0.72rem !important;
    line-height: 18px !important;
  }
}

.fx-refund-amount {
  font-family: var(--fx-font-en) !important;
  font-weight: 900 !important;
  font-size: 0.98rem !important;
  color: #10b981 !important;
  direction: ltr !important;
  display: inline-block !important;
  unicode-bidi: isolate !important;
}

html.light .fx-alert-lux,
html[data-bs-theme="light"] .fx-alert-lux,
.light .fx-alert-lux,
html.light .alert-info,
html[data-bs-theme="light"] .alert-info,
.light .alert-info {
  background: #eff6ff !important;
  border: 1.5px solid #bfdbfe !important;
  color: #1e40af !important;
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.05) !important;
}

html.light .fx-alert-lux .fx-alert-icon,
html[data-bs-theme="light"] .fx-alert-lux .fx-alert-icon,
.light .fx-alert-lux .fx-alert-icon {
  color: #2563eb !important;
}

html.light .fx-alert-lux .fx-alert-content,
html.light .fx-alert-lux .fx-alert-content p,
html[data-bs-theme="light"] .fx-alert-lux .fx-alert-content,
html[data-bs-theme="light"] .fx-alert-lux .fx-alert-content p,
.light .fx-alert-lux .fx-alert-content,
.light .fx-alert-lux .fx-alert-content p {
  color: #1e3a8a !important;
  font-weight: 600 !important;
}

.fx-order-service-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--fx-text-main);
  max-width: 480px;
  display: block;
  line-height: 1.45;
}

/* ==================== ORDER ACTIONS & BADGES ==================== */
.fx-actions-cell-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  white-space: nowrap;
}

.fx-order-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.75rem;
  border-radius: var(--fx-radius-xs, 8px);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none !important;
  transition: all var(--fx-transition);
  cursor: pointer;
}

.fx-order-btn .fx-action-icon {
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* Refill Action Button */
.fx-btn-refill {
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.3);
  color: var(--fx-primary);
}

.fx-btn-refill:hover {
  background: var(--fx-primary);
  color: #ffffff;
  border-color: var(--fx-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
}

/* Cancel Action Button */
.fx-btn-cancel {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.fx-btn-cancel:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

/* Refilling Indicator (Cyan) */
.fx-order-refilling-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.65rem;
  border-radius: var(--fx-radius-xs, 8px);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: #06b6d4;
}

.fx-refill-spinner {
  font-size: 0.95rem;
  animation: fx-spin 2s linear infinite;
}

/* Refill Timer Badge (Amber) */
.fx-order-refill-timer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.65rem;
  border-radius: var(--fx-radius-xs, 8px);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #f59e0b;
}

.fx-timer-icon {
  font-size: 0.95rem;
}

/* Cancel Task Indicator (Purple) */
.fx-order-cancel-task-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.65rem;
  border-radius: var(--fx-radius-xs, 8px);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: #a855f7;
}

.fx-cancel-task-icon {
  font-size: 0.95rem;
}

@keyframes fx-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Mobile Quick Select All Bar */
.fx-mobile-select-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--fx-bg-card, #151822);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-md);
  padding: 0.75rem 1rem;
}

.fx-mobile-order-count-badge {
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.2);
  color: var(--fx-primary);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.2rem 0.65rem;
  border-radius: var(--fx-radius-full);
}

/* Desktop Specific Layout */
@media (min-width: 769px) {
  .fx-orders-table {
    table-layout: auto !important;
  }

  .fx-orders-table td.fx-td-check {
    text-align: center;
  }

  .fx-orders-table td.fx-td-date {
    white-space: nowrap;
  }

  .fx-orders-table td.fx-td-link {
    max-width: 180px;
  }

  .fx-orders-table td.fx-td-charge {
    white-space: nowrap;
  }

  .fx-orders-table td.fx-td-start {
    white-space: nowrap;
  }

  .fx-orders-table td.fx-td-qty {
    white-space: nowrap;
  }

  .fx-orders-table td.fx-td-service {
    white-space: normal;
  }

  .fx-orders-table td.fx-td-status {
    white-space: nowrap;
  }

  .fx-orders-table td.fx-td-remains {
    white-space: nowrap;
  }

  .fx-orders-table td.fx-td-refill {
    text-align: center;
  }
}

/* ==================== MOBILE CONVERSION TO CARDS ==================== */
@media (max-width: 768px) {

  /* Mobile Header Card & Search */
  .fx-orders-header-card {
    padding: 1.15rem 1rem !important;
    gap: 1rem !important;
    border-radius: var(--fx-radius-lg, 16px) !important;
    border: 1px solid rgba(249, 115, 22, 0.22) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
  }

  [dir="ltr"] .fx-orders-header-card {
    border: 1px solid rgba(249, 115, 22, 0.22) !important;
  }

  .fx-orders-header-icon {
    width: 42px !important;
    height: 42px !important;
    font-size: 1.3rem !important;
  }

  .fx-orders-header-title {
    font-size: 1.15rem !important;
  }

  .fx-orders-header-subtitle {
    font-size: 0.8rem !important;
  }

  .fx-orders-search-box {
    min-width: 100% !important;
    max-width: 100% !important;
  }

  .fx-orders-search-input {
    padding: 0.65rem 2.6rem 0.65rem 1rem !important;
    font-size: 0.88rem !important;
  }

  [dir="ltr"] .fx-orders-search-input {
    padding: 0.65rem 1rem 0.65rem 2.6rem !important;
  }

  /* Mobile Status Navigation Tabs (Symmetrical 3x2 Grid) */
  .fx-orders-tabs-wrapper {
    padding: 0.4rem !important;
    border-radius: var(--fx-radius-md, 14px) !important;
    overflow: hidden !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .fx-orders-tabs-inner {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 5px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .fx-order-tab-btn {
    width: 100% !important;
    min-width: 0 !important;
    padding: 0.52rem 0.15rem !important;
    font-size: 0.74rem !important;
    gap: 0.25rem !important;
    justify-content: center !important;
    text-align: center !important;
    border-radius: var(--fx-radius-xs, 8px) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .fx-order-tab-btn span {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .fx-order-tab-btn .fx-tab-icon {
    font-size: 0.9rem !important;
    flex-shrink: 0 !important;
  }

  .fx-orders-page .fx-table-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  .fx-orders-page .table-responsive {
    overflow: visible !important;
    border: none !important;
  }

  .fx-orders-table {
    display: block !important;
    width: 100% !important;
    border: none !important;
  }

  .fx-orders-table thead {
    display: none !important;
  }

  .fx-orders-table tbody {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    width: 100% !important;
  }

  /* Table Row transformed into Luxury Mobile Card */
  .fx-order-row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    background: var(--fx-bg-card, #151822) !important;
    border: 1px solid var(--fx-border, rgba(255, 255, 255, 0.08)) !important;
    border-radius: var(--fx-radius-lg, 16px) !important;
    padding: 1.15rem !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35) !important;
    gap: 10px !important;
    position: relative !important;
    transition: all var(--fx-transition);
    box-sizing: border-box !important;
    margin-bottom: 12px !important;
  }

  .fx-order-row.fx-row-selected {
    border: 1.5px solid var(--fx-primary) !important;
    background: rgba(249, 115, 22, 0.05) !important;
    box-shadow: 0 0 0 1px var(--fx-primary), 0 8px 24px rgba(249, 115, 22, 0.22) !important;
  }

  .fx-orders-table td {
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
  }

  /* 1. Header Bar: Checkbox + ID Badge on right, Status Badge on left */
  .fx-orders-table td.fx-td-check {
    order: 1 !important;
    flex: 0 0 auto !important;
    width: auto !important;
  }

  .fx-orders-table td.fx-td-id {
    order: 2 !important;
    flex: 0 0 auto !important;
    width: auto !important;
  }

  .fx-orders-table td.fx-td-status {
    order: 3 !important;
    flex: 0 0 auto !important;
    margin-inline-start: auto !important;
    width: auto !important;
  }

  /* 2. Service Name Box (Full Width Solid High-Contrast Container) */
  .fx-orders-table td.fx-td-service {
    order: 4 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    padding: 11px 14px !important;
    background: var(--fx-bg-input, #1c2030) !important;
    border: 1px solid var(--fx-border, rgba(255, 255, 255, 0.08)) !important;
    border-radius: var(--fx-radius-sm, 10px) !important;
    box-sizing: border-box !important;
  }

  .fx-orders-table td.fx-td-service .fx-order-service-wrap {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .fx-orders-table td.fx-td-service .fx-service-id-link {
    flex-shrink: 0 !important;
    margin-top: 1px !important;
  }

  .fx-orders-table td.fx-td-service .fx-order-service-name {
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    color: var(--fx-text-title, #f8fafc) !important;
    line-height: 1.55 !important;
    white-space: normal !important;
    flex: 1 !important;
    max-width: 100% !important;
  }

  /* 3. Link Row (Full Width Solid High-Contrast Container) */
  .fx-orders-table td.fx-td-link {
    order: 5 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    background: var(--fx-bg-input, #1c2030) !important;
    border: 1px solid var(--fx-border, rgba(255, 255, 255, 0.08)) !important;
    border-radius: var(--fx-radius-sm, 10px) !important;
    padding: 10px 14px !important;
    gap: 8px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .fx-orders-table td.fx-td-link::before {
    content: attr(data-label) ": ";
    font-size: 0.82rem !important;
    color: var(--fx-text-muted, #94a3b8) !important;
    font-weight: 700 !important;
    flex-shrink: 0 !important;
  }

  .fx-orders-table td.fx-td-link .fx-order-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    max-width: 100% !important;
    flex: 1 !important;
    overflow: hidden !important;
    justify-content: flex-end !important;
  }

  .fx-orders-table td.fx-td-link .fx-order-link-text {
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    direction: ltr !important;
    color: var(--fx-primary, #f97316) !important;
    font-weight: 700 !important;
    font-size: 0.88rem !important;
  }

  /* 3.5 Original Order ID (Refill Table) */
  .fx-orders-table td.fx-td-order-id {
    order: 6 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    background: var(--fx-bg-input, #1c2030) !important;
    border: 1px solid var(--fx-border, rgba(255, 255, 255, 0.08)) !important;
    border-radius: var(--fx-radius-sm, 10px) !important;
    padding: 10px 14px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 0.88rem !important;
    box-sizing: border-box !important;
  }

  .fx-orders-table td.fx-td-order-id::before {
    content: attr(data-label) ": ";
    font-size: 0.82rem !important;
    color: var(--fx-text-muted, #94a3b8) !important;
    font-weight: 700 !important;
  }

  /* 4. Specs Grid (2x2 Equal High-End Boxes) */
  .fx-orders-table td.fx-td-charge,
  .fx-orders-table td.fx-td-qty,
  .fx-orders-table td.fx-td-start,
  .fx-orders-table td.fx-td-remains,
  .fx-orders-table td.fx-td-new-posts,
  .fx-orders-table td.fx-td-old-posts,
  .fx-orders-table td.fx-td-delay,
  .fx-orders-table td.fx-td-runs,
  .fx-orders-table td.fx-td-interval,
  .fx-orders-table td.fx-td-quantity {
    flex: 0 0 calc(50% - 5px) !important;
    width: calc(50% - 5px) !important;
    max-width: calc(50% - 5px) !important;
    background: var(--fx-bg-input, #1c2030) !important;
    border: 1px solid var(--fx-border, rgba(255, 255, 255, 0.08)) !important;
    border-radius: var(--fx-radius-sm, 10px) !important;
    padding: 10px 12px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 0.88rem !important;
    box-sizing: border-box !important;
  }

  .fx-orders-table td.fx-td-qty { order: 7 !important; }
  .fx-orders-table td.fx-td-charge { order: 8 !important; }
  .fx-orders-table td.fx-td-start { order: 9 !important; }
  .fx-orders-table td.fx-td-remains { order: 10 !important; }
  .fx-orders-table td.fx-td-new-posts { order: 11 !important; }
  .fx-orders-table td.fx-td-old-posts { order: 12 !important; }
  .fx-orders-table td.fx-td-delay { order: 13 !important; }
  .fx-orders-table td.fx-td-runs { order: 11 !important; }
  .fx-orders-table td.fx-td-interval { order: 12 !important; }
  .fx-orders-table td.fx-td-quantity { order: 13 !important; }

  .fx-orders-table td.fx-td-charge::before,
  .fx-orders-table td.fx-td-qty::before,
  .fx-orders-table td.fx-td-start::before,
  .fx-orders-table td.fx-td-remains::before,
  .fx-orders-table td.fx-td-new-posts::before,
  .fx-orders-table td.fx-td-old-posts::before,
  .fx-orders-table td.fx-td-delay::before,
  .fx-orders-table td.fx-td-runs::before,
  .fx-orders-table td.fx-td-interval::before,
  .fx-orders-table td.fx-td-quantity::before {
    content: attr(data-label) ": ";
    font-size: 0.8rem !important;
    color: var(--fx-text-muted, #94a3b8) !important;
    font-weight: 700 !important;
  }

  /* Reset Nested Badges inside mobile spec grid */
  .fx-orders-table td .fx-sub-posts-badge,
  .fx-orders-table td .fx-sub-delay-badge {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    font-size: 0.88rem !important;
  }

  .fx-orders-table td .fx-sub-posts-badge .fx-sub-posts-link {
    color: #38bdf8 !important;
    font-weight: 800 !important;
    text-decoration: underline !important;
  }

  .fx-orders-table td .fx-sub-delay-badge {
    color: #f8fafc !important;
    font-weight: 700 !important;
  }

  .fx-orders-table td .fx-sub-delay-badge iconify-icon {
    color: #fbbf24 !important;
    font-size: 0.95rem !important;
  }

  /* 5. Date Rows (Clean Separated Full Width Rows) */
  .fx-orders-table td.fx-td-date,
  .fx-orders-table td.fx-td-created,
  .fx-orders-table td.fx-td-updated,
  .fx-orders-table td.fx-td-expiry {
    order: 14 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 0.82rem !important;
    color: var(--fx-text-muted, #94a3b8) !important;
    border: 1px dashed var(--fx-border-subtle, rgba(255, 255, 255, 0.08)) !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    margin-top: 2px !important;
    background: rgba(255, 255, 255, 0.02) !important;
    box-sizing: border-box !important;
  }

  .fx-orders-table td.fx-td-date::before,
  .fx-orders-table td.fx-td-created::before,
  .fx-orders-table td.fx-td-updated::before,
  .fx-orders-table td.fx-td-expiry::before {
    content: attr(data-label) ": ";
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    color: var(--fx-text-muted, #94a3b8) !important;
  }

  .fx-orders-table td.fx-td-date .fx-order-date,
  .fx-orders-table td.fx-td-created .fx-order-date,
  .fx-orders-table td.fx-td-updated .fx-order-date,
  .fx-orders-table td.fx-td-expiry .fx-order-date {
    font-family: var(--fx-font-en) !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: var(--fx-text-main, #e2e8f0) !important;
    direction: ltr !important;
  }

  .fx-order-row.fx-row-selected td.fx-td-check,
  .fx-order-row.fx-row-selected td.fx-td-id,
  .fx-order-row.fx-row-selected td.fx-td-status,
  .fx-order-row.fx-row-selected td.fx-td-actions {
    background: transparent !important;
  }

  .fx-order-row.fx-row-selected td.fx-td-service,
  .fx-order-row.fx-row-selected td.fx-td-link,
  .fx-order-row.fx-row-selected td.fx-td-order-id,
  .fx-order-row.fx-row-selected td.fx-td-charge,
  .fx-order-row.fx-row-selected td.fx-td-qty,
  .fx-order-row.fx-row-selected td.fx-td-start,
  .fx-order-row.fx-row-selected td.fx-td-remains,
  .fx-order-row.fx-row-selected td.fx-td-new-posts,
  .fx-order-row.fx-row-selected td.fx-td-old-posts,
  .fx-order-row.fx-row-selected td.fx-td-delay {
    border-color: rgba(249, 115, 22, 0.25) !important;
  }

  /* 6. Actions Row (Full Width Buttons / Badges) */
  .fx-orders-table td.fx-td-actions,
  .fx-orders-table td.fx-td-refill {
    order: 15 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    margin-top: 4px !important;
  }

  .fx-orders-table td.fx-td-actions .fx-actions-cell-content,
  .fx-orders-table td.fx-td-refill .fx-actions-cell-content,
  .fx-orders-table td.fx-td-actions .d-inline-flex {
    width: 100% !important;
    display: flex !important;
    gap: 8px !important;
  }

  .fx-orders-table td.fx-td-actions .btn,
  .fx-orders-table td.fx-td-actions .fx-order-btn,
  .fx-orders-table td.fx-td-actions .fx-btn-sub-pause,
  .fx-orders-table td.fx-td-actions .fx-btn-sub-resume,
  .fx-orders-table td.fx-td-actions .fx-btn-sub-reorder,
  .fx-orders-table td.fx-td-actions .fx-order-refilling-badge,
  .fx-orders-table td.fx-td-actions .fx-order-refill-timer-badge,
  .fx-orders-table td.fx-td-actions .fx-order-cancel-task-badge,
  .fx-orders-table td.fx-td-refill .fx-btn-refill {
    flex: 1 !important;
    width: 100% !important;
    justify-content: center !important;
    padding: 9px 14px !important;
    font-size: 0.86rem !important;
    border-radius: var(--fx-radius-sm, 10px) !important;
  }

  .fx-orders-table td.fx-td-actions .fx-no-actions-dash,
  .fx-orders-table td.fx-td-refill .fx-no-refill-dash {
    display: none !important;
  }

  /* Services Table Mobile Card Customization */
  .fx-services-page .fx-orders-tabs-wrapper {
    overflow: visible !important;
  }

  .fx-category-dropdown {
    position: relative !important;
    width: 100% !important;
  }

  .fx-category-dropdown .fx-dropdown-menu {
    position: absolute !important;
    top: calc(100% + -35px) !important;
    inset-inline-start: 0 !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    z-index: 99999 !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6) !important;
  }

  .fx-services-page .fx-table-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  .fx-services-table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: none !important;
  }

  .fx-services-table tbody {
    border: none !important;
  }

  .fx-services-table tr.fx-service-category-row {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin-top: 14px !important;
    margin-bottom: 8px !important;
    background: transparent !important;
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
  }

  .fx-services-table tr.fx-service-category-row td {
    display: block !important;
    width: 100% !important;
    padding: 10px 14px !important;
    border-radius: var(--fx-radius-md, 12px) !important;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(21, 24, 34, 0.98) 100%) !important;
    border: 1px solid rgba(249, 115, 22, 0.3) !important;
    box-sizing: border-box !important;
  }

  .fx-services-table tr.fx-service-category-row .fx-category-header-content {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .fx-services-table tr.fx-service-category-row .fx-cat-name-text {
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.4 !important;
  }

  .fx-services-table tr.fx-service-category-row .fx-cat-count-badge {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 20px !important;
    padding: 3px 10px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: var(--fx-text-muted) !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .fx-services-table tr.fx-service-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    background: var(--fx-bg-card, #151822) !important;
    border: 1px solid var(--fx-border) !important;
    border-radius: var(--fx-radius-lg, 16px) !important;
    padding: 12px !important;
    margin-bottom: 10px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
  }

  .fx-service-row td.fx-td-fav {
    order: 1 !important;
    flex: 0 0 auto !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
  }

  .fx-service-row td.fx-td-id {
    order: 2 !important;
    flex: 0 0 auto !important;
    margin-inline-start: auto !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
  }

  .fx-service-row td.fx-td-service {
    order: 3 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    padding: 10px 12px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid var(--fx-border) !important;
    border-radius: var(--fx-radius-sm, 10px) !important;
    margin-bottom: 2px !important;
    box-sizing: border-box !important;
  }

  .fx-service-row td.fx-td-service .fx-order-service-name {
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    color: var(--fx-text-title) !important;
    line-height: 1.5 !important;
    display: block !important;
  }

  .fx-service-row td.fx-td-charge,
  .fx-service-row td.fx-td-qty,
  .fx-service-row td.fx-td-remains,
  .fx-service-row td.fx-td-start {
    flex: 0 0 calc(50% - 4px) !important;
    width: calc(50% - 4px) !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid var(--fx-border) !important;
    border-radius: var(--fx-radius-md, 10px) !important;
    padding: 7px 10px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 3px !important;
    box-sizing: border-box !important;
    min-height: 52px !important;
  }

  .fx-service-row td.fx-td-charge {
    order: 4 !important;
  }

  .fx-service-row td.fx-td-qty {
    order: 5 !important;
  }

  .fx-service-row td.fx-td-remains {
    order: 6 !important;
  }

  .fx-service-row td.fx-td-start {
    order: 7 !important;
  }

  .fx-service-row td.fx-td-charge::before,
  .fx-service-row td.fx-td-qty::before,
  .fx-service-row td.fx-td-remains::before,
  .fx-service-row td.fx-td-start::before {
    content: attr(data-label) !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    color: var(--fx-text-muted) !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    display: block !important;
  }

  .fx-service-row td.fx-td-charge .fx-service-rate-badge {
    color: #10b981 !important;
    font-weight: 800 !important;
    font-size: 0.95rem !important;
    line-height: 1.2 !important;
  }

  .fx-service-row td.fx-td-qty .fx-service-min-val,
  .fx-service-row td.fx-td-remains .fx-service-max-val {
    color: var(--fx-text-title) !important;
    font-weight: 800 !important;
    font-size: 0.88rem !important;
    line-height: 1.2 !important;
  }

  .fx-service-row td.fx-td-start .fx-service-avg-time {
    color: #f59e0b !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    line-height: 1.2 !important;
  }

  .fx-service-row td.fx-td-actions {
    order: 8 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    margin-top: 4px !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
  }

  .fx-service-row td.fx-td-actions .fx-service-actions-wrap {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .fx-service-row td.fx-td-actions .fx-btn-service-desc {
    flex: 1 !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    background: rgba(249, 115, 22, 0.1) !important;
    border: 1px solid rgba(249, 115, 22, 0.3) !important;
    color: var(--fx-primary) !important;
    border-radius: var(--fx-radius-md, 10px) !important;
  }

  .fx-service-row td.fx-td-actions .fx-btn-service-order {
    width: 44px !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.15rem !important;
    background: var(--fx-primary) !important;
    color: #ffffff !important;
    border-radius: var(--fx-radius-md, 10px) !important;
    border: none !important;
    box-shadow: 0 0 14px rgba(249, 115, 22, 0.3) !important;
  }

  html.light .fx-service-row td.fx-td-actions .fx-btn-service-desc,
  html[data-bs-theme="light"] .fx-service-row td.fx-td-actions .fx-btn-service-desc,
  .light .fx-service-row td.fx-td-actions .fx-btn-service-desc {
    background: #fff7ed !important;
    border: 1.5px solid #fed7aa !important;
    color: #ea580c !important;
  }

  html.light .fx-service-row td.fx-td-actions .fx-btn-service-desc iconify-icon,
  html[data-bs-theme="light"] .fx-service-row td.fx-td-actions .fx-btn-service-desc iconify-icon,
  .light .fx-service-row td.fx-td-actions .fx-btn-service-desc iconify-icon {
    color: #ea580c !important;
  }

  html.light .fx-service-row td.fx-td-actions .fx-btn-service-order,
  html[data-bs-theme="light"] .fx-service-row td.fx-td-actions .fx-btn-service-order,
  .light .fx-service-row td.fx-td-actions .fx-btn-service-order {
    background: var(--fx-gradient, linear-gradient(135deg, #ff6200, #ff8c00)) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35) !important;
  }

  html.light .fx-service-row td.fx-td-actions .fx-btn-service-order iconify-icon,
  html[data-bs-theme="light"] .fx-service-row td.fx-td-actions .fx-btn-service-order iconify-icon,
  .light .fx-service-row td.fx-td-actions .fx-btn-service-order iconify-icon {
    color: #ffffff !important;
  }

  .fx-service-row td.fx-td-actions .fx-btn-desc-placeholder {
    display: none !important;
  }

  /* Refunds Table Mobile Card Layout */
  .fx-refunds-table .fx-order-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    padding: 1.15rem !important;
  }

  .fx-refunds-table td.fx-td-id {
    order: 1 !important;
    flex: 0 0 auto !important;
    width: auto !important;
  }

  .fx-refunds-table td.fx-td-status {
    order: 2 !important;
    flex: 0 0 auto !important;
    margin-inline-start: auto !important;
    width: auto !important;
  }

  .fx-refunds-table td.fx-td-charge,
  .fx-refunds-table td.fx-td-refund-amount {
    order: 3 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    background: rgba(16, 185, 129, 0.05) !important;
    border: 1px solid rgba(16, 185, 129, 0.22) !important;
    border-radius: var(--fx-radius-sm, 10px) !important;
    padding: 10px 14px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    box-sizing: border-box !important;
  }

  .fx-refunds-table td.fx-td-charge::before,
  .fx-refunds-table td.fx-td-refund-amount::before {
    content: attr(data-label) ": ";
    font-size: 0.85rem !important;
    color: var(--fx-text-title) !important;
    font-weight: 700 !important;
  }

  .fx-refunds-table td.fx-td-charge .fx-refund-amount {
    font-size: 1.1rem !important;
  }

  .fx-refunds-table td.fx-td-date {
    order: 4 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    margin-top: 0 !important;
  }

  /* Mass Order Mobile Optimizations */
  .fx-massorder-card,
  .fx-massorder-guide-card {
    padding: 1.15rem 1rem !important;
    border-radius: var(--fx-radius-lg, 16px) !important;
  }

  .fx-mass-mode-tabs {
    flex-direction: column !important;
    padding: 0.35rem !important;
    gap: 6px !important;
    width: 100% !important;
  }

  .fx-mass-tab-btn {
    width: 100% !important;
    font-size: 0.88rem !important;
    padding: 0.65rem 0.85rem !important;
    gap: 8px !important;
    justify-content: center !important;
  }

  .fx-mass-tab-btn iconify-icon {
    font-size: 1.1rem !important;
    flex-shrink: 0 !important;
  }

  .fx-badge-new-shine {
    font-size: 0.68rem !important;
    padding: 0.1rem 0.45rem !important;
    flex-shrink: 0 !important;
  }

  .fx-mass-textarea {
    min-height: 220px !important;
    font-size: 0.86rem !important;
    padding: 0.75rem 0.85rem !important;
    line-height: 1.6 !important;
  }

  .fx-adv-qty-box {
    padding: 0.95rem !important;
  }

  .fx-btn-preview-adv {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
  }

  .fx-syntax-box,
  .fx-examples-box {
    padding: 0.85rem !important;
  }

  .fx-example-snippet {
    font-size: 0.76rem !important;
    padding: 0.6rem 0.75rem !important;
  }
}

.fx-m-spec-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--fx-text-title);
}

.fx-m-date {
  font-size: 0.75rem !important;
  color: var(--fx-text-muted) !important;
  font-family: var(--fx-font-en);
}

.fx-m-spec-full {
  grid-column: span 2;
  border-top: 1px dashed var(--fx-border-subtle, rgba(255, 255, 255, 0.05));
  padding-top: 0.45rem;
  margin-top: 0.2rem;
}

.fx-m-card-footer {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--fx-border-subtle, rgba(255, 255, 255, 0.06));
}

/* Empty Orders Box */
.fx-no-orders-box {
  padding: 3rem 1.5rem;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  margin: 0 auto !important;
}

.fx-no-orders-icon {
  font-size: 3.5rem;
  color: var(--fx-text-dim);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.fx-no-orders-box h5 {
  color: var(--fx-text-title);
  font-weight: 800;
  margin-bottom: 0.4rem;
  text-align: center;
}

.fx-btn-quick-order {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--fx-gradient);
  color: #ffffff !important;
  padding: 0.65rem 1.5rem;
  border-radius: var(--fx-radius-md);
  font-weight: 800;
  font-size: 0.92rem;
  margin-top: 1rem;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.35);
  transition: all var(--fx-transition);
}

.fx-btn-quick-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.5);
}

/* ==================== TOAST NOTIFICATION STYLING (BOTTOM) ==================== */
.fx-toast-container {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1080;
  display: flex;
  flex-direction: column-reverse;
  gap: 0.5rem;
  pointer-events: none;
}

.fx-toast {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--fx-bg-card, #151822);
  border: 1.5px solid var(--fx-success, #34d399);
  color: var(--fx-text-title);
  padding: 0.65rem 1.4rem;
  border-radius: var(--fx-radius-full);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(52, 211, 153, 0.25);
  font-weight: 800;
  font-size: 0.92rem;
  opacity: 0;
  transform: translateY(15px) scale(0.95);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

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

.fx-toast iconify-icon {
  font-size: 1.25rem;
  color: var(--fx-success, #34d399);
}

/* ==================== LIGHT MODE OVERRIDES FOR ORDERS ==================== */
html.light .fx-custom-checkbox,
html[data-bs-theme="light"] .fx-custom-checkbox,
.light .fx-custom-checkbox,
html.light .form-check-input,
html[data-bs-theme="light"] .form-check-input,
.light .form-check-input {
  background-color: #f8fafc !important;
  border-color: #cbd5e1 !important;
}

html.light .fx-custom-checkbox:checked,
html[data-bs-theme="light"] .fx-custom-checkbox:checked,
.light .fx-custom-checkbox:checked,
html.light .form-check-input:checked,
html[data-bs-theme="light"] .form-check-input:checked,
.light .form-check-input:checked {
  background-color: #f97316 !important;
  border-color: #f97316 !important;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.35) !important;
}

html.light .fx-order-id-badge {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

html.light .fx-order-id-badge:hover {
  background: #fff7ed;
  border-color: var(--fx-primary);
}

html.light .fx-btn-icon-copy {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #64748b;
}

html.light .fx-order-row:hover td {
  background: #f8fafc;
}

/* ==================== PAGINATION STYLES ==================== */
.fx-pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 0 1rem;
}

.fx-pagination-wrapper .pagination {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-wrap: wrap !important;
  direction: rtl !important;
}

.fx-pagination-wrapper .pagination li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  background: transparent !important;
  border: none !important;
}

.fx-pagination-wrapper .pagination li>a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 40px !important;
  height: 40px !important;
  padding: 0 12px !important;
  border-radius: var(--fx-radius-md, 10px) !important;
  background: var(--fx-bg-card, #151822) !important;
  border: 1px solid var(--fx-border, rgba(255, 255, 255, 0.08)) !important;
  color: var(--fx-text-title, #ffffff) !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  font-family: var(--fx-font-en) !important;
  text-decoration: none !important;
  transition: all var(--fx-transition) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

.fx-pagination-wrapper .pagination li>a iconify-icon {
  font-size: 1.15rem !important;
}

.fx-pagination-wrapper .pagination li>a:hover {
  background: rgba(249, 115, 22, 0.12) !important;
  border-color: var(--fx-primary) !important;
  color: var(--fx-primary) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.25) !important;
}

.fx-pagination-wrapper .pagination li.active>a {
  background: var(--fx-gradient, linear-gradient(135deg, #ff6200, #ff8c00)) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.45) !important;
  transform: translateY(-1px) !important;
}

html.light .fx-pagination-wrapper .pagination li>a {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  color: #1e293b !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
}

html.light .fx-pagination-wrapper .pagination li>a:hover {
  background: #fff7ed !important;
  border-color: var(--fx-primary) !important;
  color: var(--fx-primary) !important;
}

@media (min-width: 769px) {
  html.light .fx-orders-table tbody tr.fx-order-row.fx-row-selected td {
    background: #fff7ed !important;
  }
}

html.light .fx-order-m-card,
html.light .fx-mobile-select-bar,
html[data-bs-theme="light"] .fx-mobile-select-bar {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}

html.light .fx-order-row,
html[data-bs-theme="light"] .fx-order-row {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
}

html.light .fx-orders-table td.fx-td-service,
html.light .fx-orders-table td.fx-td-link,
html.light .fx-orders-table td.fx-td-order-id,
html.light .fx-orders-table td.fx-td-charge,
html.light .fx-orders-table td.fx-td-qty,
html.light .fx-orders-table td.fx-td-start,
html.light .fx-orders-table td.fx-td-remains,
html.light .fx-orders-table td.fx-td-new-posts,
html.light .fx-orders-table td.fx-td-old-posts,
html.light .fx-orders-table td.fx-td-delay,
html.light .fx-orders-table td.fx-td-runs,
html.light .fx-orders-table td.fx-td-interval,
html.light .fx-orders-table td.fx-td-quantity {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

html.light .fx-orders-table td::before {
  color: #64748b !important;
}

html.light .fx-orders-table td.fx-td-service .fx-order-service-name {
  color: #0f172a !important;
}

html.light .fx-orders-table td.fx-td-qty .fx-order-qty,
html.light .fx-orders-table td.fx-td-start,
html.light .fx-orders-table td.fx-td-remains,
html.light .fx-orders-table td .fx-sub-delay-badge {
  color: #0f172a !important;
}

html.light .fx-orders-table td.fx-td-date,
html.light .fx-orders-table td.fx-td-created,
html.light .fx-orders-table td.fx-td-updated,
html.light .fx-orders-table td.fx-td-expiry {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

html.light .fx-orders-table td.fx-td-date .fx-order-date,
html.light .fx-orders-table td.fx-td-created .fx-order-date,
html.light .fx-orders-table td.fx-td-updated .fx-order-date,
html.light .fx-orders-table td.fx-td-expiry .fx-order-date {
  color: #334155 !important;
}

html.light .fx-order-m-card.fx-card-selected {
  background: #ffffff !important;
  border: 1.5px solid var(--fx-primary) !important;
  box-shadow: 0 4px 18px rgba(249, 115, 22, 0.14) !important;
}

html.light .fx-m-card-link-row,
html.light .fx-m-specs-grid {
  background: #f8fafc;
  border-color: #e2e8f0;
}

html.light .fx-toast {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ==================== SERVICES LIST LUXURY STYLES ==================== */
.fx-services-toolbar {
  min-width: 320px;
}

.fx-category-dropdown {
  min-width: 280px;
}

.fx-dropdown-btn {
  background: var(--fx-bg-input, #1c2030) !important;
  border: 1.5px solid var(--fx-border) !important;
  border-radius: var(--fx-radius-md) !important;
  padding: 0.65rem 1rem !important;
  color: var(--fx-text-title) !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  transition: all var(--fx-transition) !important;
  white-space: nowrap;
}

.fx-dropdown-btn::after {
  display: none !important;
}

.fx-dropdown-btn .fx-caret-icon {
  font-size: 1.1rem;
  color: var(--fx-text-muted);
  transition: transform var(--fx-transition);
}

.fx-dropdown-btn:hover,
.fx-dropdown-btn:focus {
  border-color: var(--fx-primary) !important;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15) !important;
}

.fx-dropdown-menu {
  background: var(--fx-bg-card, #151822) !important;
  border: 1px solid var(--fx-border) !important;
  border-radius: var(--fx-radius-md, 12px) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45) !important;
  max-height: 360px;
  overflow-y: auto;
  padding: 0.4rem !important;
  z-index: 1050;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.fx-dropdown-menu::-webkit-scrollbar {
  width: 5px;
}

.fx-dropdown-menu::-webkit-scrollbar-track {
  background: transparent;
}

.fx-dropdown-menu::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}

.fx-dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: var(--fx-primary);
}

.fx-dropdown-item {
  display: flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
  padding: 0.52rem 0.8rem !important;
  margin-bottom: 2px !important;
  border-radius: var(--fx-radius-xs, 7px) !important;
  color: var(--fx-text-main) !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
  transition: all var(--fx-transition) !important;
}

.fx-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  color: var(--fx-text-title) !important;
}

.fx-dropdown-item.active {
  background: rgba(249, 115, 22, 0.12) !important;
  color: var(--fx-primary) !important;
  font-weight: 700 !important;
}

.fx-avg-time-new {
  font-size: 0.75rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 0.15rem 0.55rem;
  border-radius: 12px;
  display: inline-block;
  white-space: nowrap;
}

.fx-cat-img-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  border-radius: 4px;
}

/* Category Section Header Row & Service Rows with Hardware-Accelerated Virtual Lazy Rendering */
.fx-service-category-row {
  content-visibility: auto;
  contain-intrinsic-size: 0 52px;
}

.fx-service-row {
  content-visibility: auto;
  contain-intrinsic-size: 0 65px;
}

.fx-service-category-row td {
  background: linear-gradient(90deg, rgba(249, 115, 22, 0.08) 0%, rgba(21, 24, 34, 0.95) 100%) !important;
  border-top: 1px solid rgba(249, 115, 22, 0.2) !important;
  border-bottom: 1px solid rgba(249, 115, 22, 0.2) !important;
  padding: 0.85rem 1.25rem !important;
}

.fx-cat-icon-badge {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--fx-primary);
  font-size: 1.1rem;
}

.fx-cat-name-text {
  font-size: 1rem;
  font-weight: 800;
  color: var(--fx-text-title);
}

.fx-cat-count-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--fx-text-muted);
  background: var(--fx-bg-input, #1c2030);
  border: 1px solid var(--fx-border);
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
}

/* Favorite Star */
.fx-fav-star-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  transition: transform var(--fx-transition);
  font-size: 1.05rem;
  color: var(--fx-text-muted);
}

.fx-fav-star-btn:hover {
  transform: scale(1.2);
}

.fx-fav-star-btn [data-favorite-icon] {
  transition: color var(--fx-transition);
}

.fx-fav-star-btn [data-favorite-icon].far,
.fx-fav-star-btn:not(.favorite-active) [data-favorite-icon].far {
  color: var(--fx-text-dim, rgba(255, 255, 255, 0.35));
}

.fx-fav-star-btn.favorite-active [data-favorite-icon],
.fx-fav-star-btn [data-favorite-icon].fas {
  color: #f59e0b !important;
}

.fx-fav-star-btn:hover [data-favorite-icon] {
  color: #f59e0b !important;
}

/* Service Specs in Table */
.fx-service-rate-badge {
  font-family: var(--fx-font-en);
  font-weight: 800;
  font-size: 0.95rem;
  color: #10b981;
}

.fx-service-min-val,
.fx-service-max-val {
  font-family: var(--fx-font-en);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--fx-text-title);
}

.fx-service-avg-time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--fx-text-muted);
  font-family: var(--fx-font-en);
}

/* Service Action Buttons Container (Always keeps Cart at the end) */
.fx-service-actions-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 110px;
}

.fx-btn-desc-placeholder {
  width: 68px;
  display: inline-block;
}

/* Service Action Buttons */
.fx-btn-service-desc {
  background: rgba(99, 102, 241, 0.12) !important;
  color: #818cf8 !important;
  border: 1px solid rgba(99, 102, 241, 0.25) !important;
  border-radius: var(--fx-radius-xs, 6px) !important;
  padding: 0.25rem 0.6rem !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  transition: all var(--fx-transition) !important;
}

.fx-btn-service-desc:hover {
  background: #6366f1 !important;
  color: #ffffff !important;
  border-color: #6366f1 !important;
  transform: translateY(-1px);
}

.fx-btn-service-order {
  background: var(--fx-gradient) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: var(--fx-radius-xs, 6px) !important;
  padding: 0.28rem 0.6rem !important;
  font-size: 0.85rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all var(--fx-transition) !important;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.25);
}

.fx-btn-service-order:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
  color: #ffffff !important;
}

/* Light Mode Service Action Buttons */
html.light .fx-btn-service-desc,
html[data-bs-theme="light"] .fx-btn-service-desc,
.light .fx-btn-service-desc {
  background: #eff6ff !important;
  color: #2563eb !important;
  border: 1.5px solid #bfdbfe !important;
}

html.light .fx-btn-service-desc:hover,
html[data-bs-theme="light"] .fx-btn-service-desc:hover,
.light .fx-btn-service-desc:hover {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #2563eb !important;
}

html.light .fx-btn-service-desc iconify-icon,
html[data-bs-theme="light"] .fx-btn-service-desc iconify-icon,
.light .fx-btn-service-desc iconify-icon {
  color: #2563eb !important;
}

html.light .fx-btn-service-desc:hover iconify-icon,
html[data-bs-theme="light"] .fx-btn-service-desc:hover iconify-icon,
.light .fx-btn-service-desc:hover iconify-icon {
  color: #ffffff !important;
}

html.light .fx-btn-service-order,
html[data-bs-theme="light"] .fx-btn-service-order,
.light .fx-btn-service-order {
  background: var(--fx-gradient, linear-gradient(135deg, #ff6200, #ff8c00)) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35) !important;
}

html.light .fx-btn-service-order iconify-icon,
html[data-bs-theme="light"] .fx-btn-service-order iconify-icon,
.light .fx-btn-service-order iconify-icon {
  color: #ffffff !important;
}

/* SEO Card */
.fx-services-seo-card {
  background: var(--fx-bg-card, #151822);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-lg);
  padding: 1.5rem 1.75rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  color: var(--fx-text-main);
  line-height: 1.65;
}

/* ==================== GLOBAL LUXURY MODAL STYLING ==================== */
.modal-backdrop {
  z-index: 10400 !important;
  background-color: rgba(5, 7, 12, 0.75) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

.modal {
  z-index: 10500 !important;
}

.modal-dialog {
  z-index: 10600 !important;
  margin: 1.75rem auto;
  max-width: 540px;
}

.modal-content {
  background: var(--fx-bg-card, #151822) !important;
  border: 1px solid rgba(249, 115, 22, 0.25) !important;
  border-radius: var(--fx-radius-xl, 20px) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(249, 115, 22, 0.08) !important;
  overflow: hidden !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

#module-captcha .modal-header {
  justify-content: flex-end !important;
}

.modal-header {
  background: rgba(255, 255, 255, 0.02) !important;
  border-bottom: 1px solid var(--fx-border, rgba(255, 255, 255, 0.07)) !important;
  padding: 1.25rem 1.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  position: relative !important;
}

.modal-title,
.modal-header h4,
.modal-header h5 {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: var(--fx-text-title, #ffffff) !important;
  margin: 0 !important;
  line-height: 1.4 !important;
}

/* Close Button (Supports Bootstrap 3/4 .close and Bootstrap 5 .btn-close) */
.modal-header .close,
.modal-header button.close {
  position: absolute !important;
  top: 1.1rem !important;
  left: 1.25rem !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 32px !important;
  height: 32px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 50% !important;
  color: var(--fx-text-muted, #94a3b8) !important;
  font-size: 1.25rem !important;
  font-weight: 300 !important;
  line-height: 28px !important;
  text-align: center !important;
  opacity: 1 !important;
  text-shadow: none !important;
  cursor: pointer !important;
  transition: all var(--fx-transition) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

[dir="ltr"] .modal-header .close,
[dir="ltr"] .modal-header button.close {
  left: auto !important;
  right: 1.25rem !important;
}

.modal-header .close:hover,
.modal-header button.close:hover {
  background: rgba(239, 68, 68, 0.15) !important;
  border-color: rgba(239, 68, 68, 0.3) !important;
  color: #ef4444 !important;
  transform: rotate(90deg) !important;
}

.modal-header .btn-close {
  width: 32px !important;
  height: 32px !important;
  padding: 0 !important;
  background-color: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 50% !important;
  filter: invert(1) !important;
  opacity: 0.8 !important;
  transition: all var(--fx-transition) !important;
}

.modal-header .btn-close:hover {
  opacity: 1 !important;
  transform: scale(1.1) !important;
}

.modal-body {
  padding: 1.5rem 1.6rem !important;
  color: var(--fx-text-main, #e2e8f0) !important;
  font-size: 0.92rem !important;
  line-height: 1.8 !important;
  max-height: 60vh !important;
  overflow-y: auto !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.modal-body::-webkit-scrollbar {
  width: 5px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}

.modal-footer {
  background: rgba(255, 255, 255, 0.02) !important;
  border-top: 1px solid var(--fx-border, rgba(255, 255, 255, 0.07)) !important;
  padding: 1rem 1.25rem !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.75rem !important;
  flex-wrap: nowrap !important;
}

.modal-footer>* {
  margin: 0 !important;
}

/* Modal Primary Button */
.modal-footer .btn-primary,
.modal-footer a.btn-primary,
.modal-footer .fx-btn-primary {
  flex: 1 !important;
  width: auto !important;
  padding: 0.65rem 1.25rem !important;
  background: var(--fx-gradient, linear-gradient(135deg, #ff6200, #ff8c00)) !important;
  border: none !important;
  border-radius: var(--fx-radius-md, 12px) !important;
  color: #ffffff !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  text-align: center !important;
  box-shadow: 0 4px 18px rgba(249, 115, 22, 0.35) !important;
  transition: all var(--fx-transition) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.45rem !important;
}

.modal-footer .btn-primary:hover,
.modal-footer a.btn-primary:hover,
.modal-footer .fx-btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 25px rgba(249, 115, 22, 0.5) !important;
  color: #ffffff !important;
}

.modal-footer .btn-default,
.modal-footer .btn-secondary {
  flex: 0 0 auto !important;
  background: var(--fx-bg-input, #1c2030) !important;
  border: 1px solid var(--fx-border) !important;
  color: var(--fx-text-main) !important;
  border-radius: var(--fx-radius-md, 12px) !important;
  padding: 0.65rem 1.25rem !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  transition: all var(--fx-transition) !important;
}

/* Light Mode Overrides for Services */
html.light .fx-dropdown-btn {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

html.light .fx-dropdown-menu,
html[data-bs-theme="light"] .fx-dropdown-menu,
.light .fx-dropdown-menu {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

html.light .fx-dropdown-item,
html[data-bs-theme="light"] .fx-dropdown-item,
.light .fx-dropdown-item {
  color: #1e293b !important;
}

html.light .fx-dropdown-item:hover,
html[data-bs-theme="light"] .fx-dropdown-item:hover,
.light .fx-dropdown-item:hover {
  background: #fff7ed !important;
  color: #ea580c !important;
  transform: translateX(-2px) !important;
}

html.light .fx-dropdown-item.active,
html[data-bs-theme="light"] .fx-dropdown-item.active,
.light .fx-dropdown-item.active {
  background: #f97316 !important;
  color: #ffffff !important;
  font-weight: 800 !important;
}

html.light .fx-dropdown-item.active *,
html[data-bs-theme="light"] .fx-dropdown-item.active *,
.light .fx-dropdown-item.active * {
  color: #ffffff !important;
}

html.light .fx-service-category-row td {
  background: linear-gradient(90deg, #fff7ed 0%, #ffffff 100%) !important;
  border-color: #fed7aa !important;
}

html.light .fx-services-seo-card {
  background: #ffffff;
  border-color: #e2e8f0;
}

html.light .fx-modal .fx-modal-content {
  background: #ffffff;
  border-color: #e2e8f0;
}

html.light .fx-btn-close {
  filter: none;
}

/* ==================== SUBSCRIPTIONS PAGE SPECIFIC STYLES ==================== */
.fx-sub-posts-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--fx-bg-input, #1c2030);
  border: 1px solid var(--fx-border);
  padding: 0.22rem 0.55rem;
  border-radius: var(--fx-radius-xs, 6px);
  font-family: var(--fx-font-en);
  font-size: 0.85rem;
  color: var(--fx-text-title);
  white-space: nowrap;
}

.fx-sub-posts-link {
  color: var(--fx-primary);
  font-weight: 800;
  text-decoration: none;
  transition: color var(--fx-transition);
}

.fx-sub-posts-link:hover {
  text-decoration: underline;
  color: #fb923c;
}

.fx-sub-delay-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  color: var(--fx-text-muted);
  font-family: var(--fx-font-en);
  white-space: nowrap;
}

/* Subscription Action Buttons */
.fx-btn-sub-pause {
  background: rgba(239, 68, 68, 0.12) !important;
  color: #f87171 !important;
  border: 1px solid rgba(239, 68, 68, 0.25) !important;
  border-radius: var(--fx-radius-xs, 6px) !important;
  padding: 0.28rem 0.75rem !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  transition: all var(--fx-transition) !important;
  text-decoration: none !important;
}

.fx-btn-sub-pause:hover {
  background: #ef4444 !important;
  color: #ffffff !important;
  border-color: #ef4444 !important;
  transform: translateY(-1px);
}

.fx-btn-sub-resume {
  background: rgba(16, 185, 129, 0.12) !important;
  color: #34d399 !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  border-radius: var(--fx-radius-xs, 6px) !important;
  padding: 0.28rem 0.75rem !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  transition: all var(--fx-transition) !important;
  text-decoration: none !important;
}

.fx-btn-sub-resume:hover {
  background: #10b981 !important;
  color: #ffffff !important;
  border-color: #10b981 !important;
  transform: translateY(-1px);
}

.fx-btn-sub-reorder {
  background: var(--fx-gradient) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: var(--fx-radius-xs, 6px) !important;
  padding: 0.28rem 0.75rem !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.25);
  transition: all var(--fx-transition) !important;
  text-decoration: none !important;
}

.fx-btn-sub-reorder:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
  color: #ffffff !important;
}

html.light .fx-sub-posts-badge {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}

/* ==================== MASS ORDER PAGE STYLES ==================== */
.fx-massorder-card,
.fx-massorder-guide-card {
  background: var(--fx-bg-card, #151822);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-xl, 20px);
  padding: 1.75rem;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.25);
  position: relative;
}

.fx-massorder-guide-card {
  background: linear-gradient(180deg, var(--fx-bg-card, #151822) 0%, rgba(21, 24, 34, 0.75) 100%);
  border-color: rgba(249, 115, 22, 0.2);
}

.fx-line-counter-badge {
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.25);
  color: var(--fx-primary);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: var(--fx-radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.fx-mass-textarea {
  background: var(--fx-bg-input, #1c2030) !important;
  border: 1.5px solid var(--fx-border) !important;
  border-radius: var(--fx-radius-md, 14px) !important;
  color: var(--fx-text-title) !important;
  font-family: 'Consolas', 'Courier New', monospace, var(--fx-font-ar) !important;
  font-size: 0.95rem !important;
  line-height: 1.7 !important;
  padding: 1rem 1.25rem !important;
  resize: vertical;
  min-height: 320px;
  direction: ltr !important;
  text-align: left !important;
  transition: all var(--fx-transition);
}

.fx-mass-textarea:focus {
  border-color: var(--fx-primary) !important;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.15) !important;
  background: #181c2b !important;
}

.fx-btn-submit-mass {
  width: 100% !important;
  background: var(--fx-gradient) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: var(--fx-radius-md, 12px) !important;
  padding: 0.5rem 1.25rem !important;
  height: 42px !important;
  min-height: 42px !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
  transition: all var(--fx-transition);
  cursor: pointer;
}

.fx-btn-submit-mass:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(249, 115, 22, 0.5);
  color: #ffffff !important;
}

.fx-guide-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fx-guide-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--fx-radius-sm, 10px);
  background: rgba(249, 115, 22, 0.12);
  color: var(--fx-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.fx-guide-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--fx-text-title);
}

.fx-guide-desc {
  font-size: 0.88rem;
  line-height: 1.6;
}

.fx-syntax-box {
  background: var(--fx-bg-input, #1c2030);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-md, 12px);
  padding: 1rem;
}

.fx-syntax-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--fx-text-title);
}

.fx-btn-copy-syntax {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--fx-text-muted);
  border-radius: 6px;
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all var(--fx-transition);
}

.fx-btn-copy-syntax:hover {
  background: rgba(249, 115, 22, 0.15);
  color: var(--fx-primary);
  border-color: rgba(249, 115, 22, 0.3);
}

.fx-syntax-code {
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--fx-radius-xs, 6px);
  padding: 0.6rem 0.85rem;
  font-family: 'Consolas', monospace;
  font-size: 0.88rem;
  color: #38bdf8;
  font-weight: 700;
}

.fx-examples-box {
  background: var(--fx-bg-input, #1c2030);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-md, 12px);
  padding: 1rem;
}

.fx-example-snippet {
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--fx-radius-xs, 6px);
  padding: 0.75rem 0.9rem;
  font-family: 'Consolas', monospace;
  font-size: 0.82rem;
  color: #a7f3d0;
  line-height: 1.8;
  white-space: pre !important;
  overflow-x: auto !important;
  direction: ltr !important;
  text-align: left !important;
  word-break: normal !important;
}

.fx-guide-tips {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fx-tip-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--fx-text-main);
  line-height: 1.5;
}

.fx-tip-item iconify-icon {
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 0.95rem;
}

.fx-tip-item code {
  background: rgba(249, 115, 22, 0.15);
  color: var(--fx-primary);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-weight: 800;
}

/* Light mode for mass order */
html.light .fx-massorder-card,
html.light .fx-massorder-guide-card {
  background: #ffffff;
  border-color: #e2e8f0;
}

html.light .fx-mass-textarea,
html.light .fx-syntax-box,
html.light .fx-examples-box {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

html.light .fx-syntax-code,
html.light .fx-example-snippet {
  background: #0f172a;
}

/* Mass Order Mode Tabs */
.fx-mass-mode-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--fx-bg-input, #1c2030);
  border: 1px solid var(--fx-border);
  padding: 0.35rem;
  border-radius: var(--fx-radius-md, 14px);
}

.fx-mass-tab-btn {
  flex: 1;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--fx-radius-sm, 10px);
  padding: 0.65rem 1rem;
  color: var(--fx-text-muted);
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  user-select: none;
}

.fx-mass-tab-btn:hover {
  color: var(--fx-text-title);
  background: rgba(255, 255, 255, 0.04);
}

.fx-mass-tab-btn.active {
  background: var(--fx-bg-card, #151822);
  color: var(--fx-text-title);
  border: 1px solid var(--fx-border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.fx-mass-mode-pane {
  animation: fx-pane-fade-in 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fx-pane-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fx-badge-new-shine {
  background: linear-gradient(135deg, #ff6200, #ff8c00);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.1rem 0.45rem;
  border-radius: 6px;
  animation: fx-pulse-glow 2s infinite;
}

@keyframes fx-pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4);
  }

  50% {
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0);
  }
}

.fx-adv-input {
  background: var(--fx-bg-input, #1c2030) !important;
  border: 1.5px solid var(--fx-border) !important;
  border-radius: var(--fx-radius-sm, 10px) !important;
  color: var(--fx-text-title) !important;
  padding: 0.75rem 1rem !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
}

.fx-adv-input:focus {
  border-color: var(--fx-primary) !important;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15) !important;
}

.fx-adv-qty-box {
  background: var(--fx-bg-input, #1c2030);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-md, 14px);
  padding: 1.15rem;
}

.fx-btn-preview-adv {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1.5px solid var(--fx-border) !important;
  color: var(--fx-text-main) !important;
  border-radius: var(--fx-radius-md, 12px) !important;
  padding: 0.85rem 1.25rem !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  transition: all var(--fx-transition) !important;
  cursor: pointer;
}

.fx-btn-preview-adv:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: var(--fx-text-title) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Light mode overrides */
html.light .fx-mass-mode-tabs {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

html.light .fx-mass-tab-btn.active {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}

html.light .fx-adv-input,
html.light .fx-adv-qty-box {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

html.light .fx-btn-copy-syntax,
html[data-bs-theme="light"] .fx-btn-copy-syntax,
.light .fx-btn-copy-syntax {
  background: #fff7ed !important;
  border: 1px solid #fed7aa !important;
  color: #ea580c !important;
}

html.light .fx-btn-copy-syntax:hover,
html[data-bs-theme="light"] .fx-btn-copy-syntax:hover,
.light .fx-btn-copy-syntax:hover {
  background: #f97316 !important;
  border-color: #f97316 !important;
  color: #ffffff !important;
}

/* ==================== AFFILIATES PROGRAM STYLES ==================== */
.fx-affiliates-intro-card {
  background: var(--fx-bg-card, #151822);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-xl, 20px);
  padding: 1.5rem;
  color: var(--fx-text-main);
  line-height: 1.7;
}

.fx-referral-hero-card {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.08) 0%, var(--fx-bg-card, #151822) 100%);
  border: 1.5px solid rgba(249, 115, 22, 0.25);
  border-radius: var(--fx-radius-xl, 20px);
  padding: 1.75rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.fx-referral-label {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--fx-text-title);
  display: flex;
  align-items: center;
  gap: 6px;
}

.fx-referral-input-wrap {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  background: var(--fx-bg-input, #1c2030) !important;
  border: 1.5px solid var(--fx-border) !important;
  border-radius: var(--fx-radius-md, 14px) !important;
  padding: 0.35rem 0.45rem !important;
  gap: 8px !important;
  min-height: 50px !important;
  height: auto !important;
  transition: all var(--fx-transition);
}

.fx-referral-input-wrap:focus-within {
  border-color: var(--fx-primary) !important;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15) !important;
}

.fx-referral-input {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #38bdf8 !important;
  font-family: 'Consolas', monospace;
  font-size: 0.92rem !important;
  font-weight: 700;
  padding: 0.45rem 0.65rem !important;
  direction: ltr !important;
  text-align: left !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.fx-btn-copy-ref {
  background: var(--fx-gradient) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: var(--fx-radius-sm, 10px) !important;
  padding: 0.5rem 1.15rem !important;
  font-size: 0.84rem !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  cursor: pointer;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  box-shadow: 0 3px 12px rgba(249, 115, 22, 0.35);
  transition: all var(--fx-transition) !important;
  height: 40px !important;
}

.fx-btn-copy-ref:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(249, 115, 22, 0.5);
  color: #ffffff !important;
}

.fx-ref-stat-box {
  background: var(--fx-bg-input, #1c2030);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-md, 14px);
  padding: 0.75rem 0.9rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 80px;
}

.fx-ref-stat-label {
  font-size: 0.76rem;
  color: var(--fx-text-muted);
  font-weight: 700;
}

.fx-ref-stat-value {
  font-size: 1.25rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* KPI Cards */
.fx-aff-kpi-card {
  background: var(--fx-bg-card, #151822);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-lg, 16px);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: all var(--fx-transition);
}

.fx-aff-kpi-card:hover {
  transform: translateY(-3px);
  border-color: rgba(249, 115, 22, 0.3);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.fx-aff-kpi-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--fx-radius-md, 12px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.icon-visits {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
}

.icon-regs {
  background: rgba(168, 85, 247, 0.12);
  color: #a855f7;
}

.icon-paid {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}

.icon-conv {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
}

.icon-total {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}

.icon-avail {
  background: rgba(249, 115, 22, 0.12);
  color: #ff6200;
}

.fx-aff-kpi-label {
  font-size: 0.78rem;
  color: var(--fx-text-muted);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.fx-aff-kpi-value {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--fx-text-title);
  margin-bottom: 0;
  letter-spacing: -0.5px;
}

.fx-kpi-highlight {
  border-color: rgba(249, 115, 22, 0.35);
  background: linear-gradient(180deg, rgba(249, 115, 22, 0.06) 0%, var(--fx-bg-card, #151822) 100%);
}

.fx-btn-request-payout {
  background: var(--fx-gradient) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: var(--fx-radius-xs, 6px) !important;
  padding: 0.35rem 0.85rem !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  box-shadow: 0 3px 10px rgba(249, 115, 22, 0.3);
  transition: all var(--fx-transition) !important;
  text-decoration: none !important;
}

.fx-btn-request-payout:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(249, 115, 22, 0.45);
  color: #ffffff !important;
}

/* Affiliates Mobile Layout */
@media (max-width: 768px) {
  .fx-referral-hero-card {
    padding: 1.15rem 1rem !important;
  }

  .fx-referral-input-wrap,
  html.light .fx-referral-input-wrap,
  html[data-bs-theme="light"] .fx-referral-input-wrap,
  .light .fx-referral-input-wrap {
    flex-direction: column !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    gap: 10px !important;
    min-height: auto !important;
  }

  .fx-referral-input,
  html.light .fx-referral-input,
  html[data-bs-theme="light"] .fx-referral-input,
  .light .fx-referral-input {
    width: 100% !important;
    background: var(--fx-bg-input, #1c2030) !important;
    border: 1.5px solid var(--fx-border) !important;
    border-radius: var(--fx-radius-md, 12px) !important;
    padding: 0.65rem 0.85rem !important;
    text-align: center !important;
    font-size: 0.84rem !important;
    height: 44px !important;
    flex: none !important;
  }

  html.light .fx-referral-input,
  html[data-bs-theme="light"] .fx-referral-input,
  .light .fx-referral-input {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
  }

  .fx-referral-input:focus {
    border-color: var(--fx-primary) !important;
  }

  .fx-btn-copy-ref {
    width: 100% !important;
    height: 44px !important;
    justify-content: center !important;
    font-size: 0.88rem !important;
    border-radius: var(--fx-radius-md, 12px) !important;
    padding: 0.5rem 1rem !important;
  }

  .fx-aff-kpi-card {
    padding: 1rem 0.75rem;
  }

  .fx-aff-kpi-icon {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .fx-aff-kpi-value {
    font-size: 1.15rem;
  }

  .fx-payouts-table .fx-order-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    padding: 1.15rem !important;
  }

  .fx-payouts-table td.fx-td-charge {
    order: 1 !important;
    flex: 0 0 auto !important;
    width: auto !important;
  }

  .fx-payouts-table td.fx-td-status {
    order: 2 !important;
    flex: 0 0 auto !important;
    margin-inline-start: auto !important;
    width: auto !important;
  }

  .fx-payouts-table td.fx-td-date {
    order: 3 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    padding-top: 8px !important;
    border-top: 1px dashed var(--fx-border) !important;
  }
}

/* Light mode for affiliates */
html.light .fx-referral-hero-card,
html.light .fx-aff-kpi-card,
html.light .fx-affiliates-intro-card,
html.light .fx-aff-payout-card,
html[data-bs-theme="light"] .fx-referral-hero-card,
html[data-bs-theme="light"] .fx-aff-kpi-card,
html[data-bs-theme="light"] .fx-affiliates-intro-card,
html[data-bs-theme="light"] .fx-aff-payout-card,
.light .fx-referral-hero-card,
.light .fx-aff-kpi-card,
.light .fx-affiliates-intro-card,
.light .fx-aff-payout-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

html.light .fx-ref-stat-box,
html[data-bs-theme="light"] .fx-ref-stat-box,
.light .fx-ref-stat-box {
  background: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: none !important;
}

@media (min-width: 769px) {

  html.light .fx-referral-input-wrap,
  html[data-bs-theme="light"] .fx-referral-input-wrap,
  .light .fx-referral-input-wrap {
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    box-shadow: none !important;
  }

  html.light .fx-referral-input,
  html[data-bs-theme="light"] .fx-referral-input,
  .light .fx-referral-input {
    background: transparent !important;
    color: #0f172a !important;
  }
}

html.light .fx-ref-stat-label,
html[data-bs-theme="light"] .fx-ref-stat-label,
.light .fx-ref-stat-label {
  color: #64748b !important;
  font-weight: 700 !important;
}

html.light .fx-aff-kpi-label,
html[data-bs-theme="light"] .fx-aff-kpi-label,
.light .fx-aff-kpi-label {
  color: #64748b !important;
}

html.light .fx-aff-kpi-value,
html[data-bs-theme="light"] .fx-aff-kpi-value,
.light .fx-aff-kpi-value {
  color: #0f172a !important;
}

/* ==================== SERVICE UPDATES PAGE STYLES ==================== */
.fx-updates-table {
  margin-bottom: 0;
}

.fx-updates-table th {
  background: var(--fx-bg-input, #1c2030);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--fx-text-muted, #94a3b8);
  border-bottom: 1px solid var(--fx-border) !important;
  padding: 1.1rem 1.25rem !important;
  vertical-align: middle;
}

.fx-updates-table td {
  padding: 1.1rem 1.25rem !important;
  vertical-align: middle;
  border-bottom: 1px solid var(--fx-border) !important;
}

.fx-update-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.25);
  color: var(--fx-primary);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.4rem 0.95rem;
  border-radius: var(--fx-radius-md, 10px);
  line-height: 1.4;
}

.fx-btn-order-service {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(249, 115, 22, 0.28) 100%);
  border: 1px solid rgba(249, 115, 22, 0.45);
  color: var(--fx-primary) !important;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 1rem;
  border-radius: var(--fx-radius-md, 10px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--fx-transition);
  text-decoration: none;
  white-space: nowrap;
}

.fx-btn-order-service:hover {
  background: var(--fx-primary);
  border-color: var(--fx-primary);
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.45);
  transform: translateY(-1px);
}

html.light .fx-updates-table th {
  background: #f1f5f9;
  color: #64748b;
}

html.light .fx-update-pill {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #c2410c;
}

html.light .fx-btn-order-service {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #ea580c !important;
}

html.light .fx-btn-order-service:hover {
  background: var(--fx-primary);
  color: #ffffff !important;
}

/* Responsive Mobile Layout for Updates Table */
@media (max-width: 768px) {

  .fx-updates-page .fx-table-container,
  .fx-updates-page .table-responsive {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  .fx-updates-table thead {
    display: none !important;
  }

  .fx-updates-table tbody {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    padding: 0 !important;
  }

  .fx-updates-table .fx-order-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    padding: 1.25rem 1.25rem !important;
    background: var(--fx-bg-card, #151822) !important;
    border: 1px solid var(--fx-border) !important;
    border-radius: var(--fx-radius-xl, 18px) !important;
    border-right: 4px solid var(--fx-primary) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
    margin-bottom: 0 !important;
  }

  [dir="ltr"] .fx-updates-table .fx-order-row {
    border-right: 1px solid var(--fx-border) !important;
    border-left: 4px solid var(--fx-primary) !important;
  }

  .fx-updates-table td {
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
  }

  .fx-updates-table td::before {
    display: none !important;
  }

  .fx-updates-table td.fx-td-service {
    order: 1 !important;
    display: block !important;
    width: 100% !important;
  }

  .fx-updates-table td.fx-td-service .d-flex {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .fx-updates-table td.fx-td-service .fx-order-id-badge {
    align-self: flex-start !important;
    flex-shrink: 0 !important;
  }

  .fx-updates-table td.fx-td-service .fx-order-service-name {
    display: block !important;
    width: 100% !important;
    font-size: 0.94rem !important;
    font-weight: 700 !important;
    line-height: 1.6 !important;
    color: var(--fx-text-title, #ffffff) !important;
    word-break: break-word !important;
  }

  .fx-updates-table td.fx-td-update-details {
    order: 2 !important;
    display: block !important;
    width: 100% !important;
  }

  .fx-updates-table td.fx-td-update-details .fx-update-pill {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    padding: 0.6rem 0.85rem !important;
    font-size: 0.84rem !important;
    border-radius: 12px !important;
  }

  .fx-updates-table td.fx-td-date {
    order: 3 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    padding-top: 10px !important;
    border-top: 1px dashed var(--fx-border) !important;
    font-size: 0.82rem !important;
    color: var(--fx-text-muted) !important;
  }

  .fx-updates-table td.fx-td-date::before {
    content: 'التاريخ:' !important;
    display: inline-block !important;
    font-weight: 600 !important;
    color: var(--fx-text-muted) !important;
  }

  [dir="ltr"] .fx-updates-table td.fx-td-date::before {
    content: 'Date:' !important;
  }

  .fx-updates-table td.fx-td-action {
    order: 4 !important;
    display: block !important;
    width: 100% !important;
    padding-top: 4px !important;
  }

  .fx-updates-table td.fx-td-action .fx-btn-order-service {
    width: 100% !important;
    padding: 0.65rem 1rem !important;
    font-size: 0.88rem !important;
    justify-content: center !important;
    border-radius: 12px !important;
  }
}

/* ==================== API DOCUMENTATION PAGE STYLES ==================== */
.fx-api-overview-card {
  background: var(--fx-bg-card, #151822);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-xl, 20px);
  padding: 1.5rem 1.75rem;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.25);
}

.fx-api-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fx-api-meta-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--fx-text-muted);
}

.fx-api-endpoint-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--fx-bg-input, #1c2030);
  border: 1.5px solid var(--fx-border);
  border-radius: var(--fx-radius-md, 12px);
  padding: 0.35rem 0.6rem;
  gap: 8px;
}

.fx-api-endpoint-box code {
  color: #38bdf8;
  font-family: 'Consolas', monospace;
  font-size: 0.92rem;
  font-weight: 700;
  word-break: break-all;
}

.fx-btn-copy-api {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--fx-text-title);
  border-radius: 8px;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--fx-transition);
}

.fx-btn-copy-api:hover {
  background: rgba(249, 115, 22, 0.15);
  border-color: rgba(249, 115, 22, 0.35);
  color: var(--fx-primary);
}

.fx-api-key-notice {
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.22);
  border-radius: var(--fx-radius-md, 12px);
  padding: 0.85rem 1.15rem;
  font-size: 0.88rem;
  color: var(--fx-text-title);
  display: flex;
  align-items: center;
  gap: 10px;
}

.fx-api-method-card {
  background: var(--fx-bg-card, #151822);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-xl, 20px);
  padding: 1.5rem 1.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.fx-method-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--fx-text-title);
}

.fx-api-params-table {
  background: var(--fx-bg-input, #1c2030);
  border: 1px solid var(--fx-border) !important;
  border-radius: var(--fx-radius-md, 12px);
  overflow: hidden;
  direction: ltr !important;
  text-align: left !important;
}

.fx-api-params-table th {
  background: rgba(0, 0, 0, 0.25) !important;
  color: var(--fx-text-muted);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--fx-border) !important;
  text-align: left !important;
  direction: ltr !important;
}

.fx-api-params-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
  font-size: 0.88rem;
  text-align: left !important;
  direction: ltr !important;
}

.fx-param-code {
  background: rgba(249, 115, 22, 0.12);
  color: var(--fx-primary);
  font-family: 'Consolas', monospace;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.85rem;
}

.fx-param-desc {
  color: var(--fx-text-main);
  line-height: 1.5;
  text-align: left !important;
  direction: ltr !important;
}

.fx-response-label {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--fx-text-title);
  display: flex;
  align-items: center;
  gap: 6px;
}

.fx-api-code-snippet {
  background: rgba(0, 0, 0, 0.4) !important;
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-md, 12px);
  padding: 1rem 1.25rem;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.85rem;
  color: #a7f3d0;
  line-height: 1.6;
  white-space: pre !important;
  overflow-x: auto;
  margin-bottom: 0;
}

.fx-api-footer-card {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.08) 0%, var(--fx-bg-card, #151822) 100%);
  border: 1.5px solid rgba(249, 115, 22, 0.25);
  border-radius: var(--fx-radius-xl, 20px);
  padding: 2rem 1.5rem;
}

.fx-btn-api-php {
  background: var(--fx-gradient) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: var(--fx-radius-md, 12px) !important;
  padding: 0.75rem 1.75rem !important;
  font-weight: 800 !important;
  font-size: 0.95rem !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  box-shadow: 0 4px 18px rgba(249, 115, 22, 0.35);
  transition: all var(--fx-transition) !important;
  text-decoration: none !important;
}

.fx-btn-api-php:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(249, 115, 22, 0.5);
  color: #ffffff !important;
}

/* Light mode for API docs */
html.light .fx-api-overview-card,
html.light .fx-api-method-card,
html.light .fx-api-footer-card {
  background: #ffffff;
  border-color: #e2e8f0;
}

html.light .fx-api-endpoint-box,
html.light .fx-api-params-table {
  background: #f8fafc;
  border-color: #cbd5e1 !important;
}

html.light .fx-api-code-snippet {
  background: #0f172a !important;
}

/* ==================== TICKETS SUPPORT PAGE STYLES ==================== */
.fx-ticket-title-link {
  color: var(--fx-text-title);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--fx-transition);
}

.fx-ticket-title-link:hover {
  color: var(--fx-primary) !important;
}

.fx-unread-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fx-primary, #ff6200);
  box-shadow: 0 0 8px rgba(249, 115, 22, 0.8);
  display: inline-block;
  flex-shrink: 0;
}

/* Mobile layout for tickets table */
@media (max-width: 768px) {
  .fx-tickets-page .fx-table-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  .fx-tickets-page .fx-table-container>div:first-child {
    background: var(--fx-bg-card, #151822) !important;
    border: 1px solid var(--fx-border) !important;
    border-radius: var(--fx-radius-md, 14px) !important;
    margin-bottom: 12px !important;
  }

  .fx-tickets-table td::before {
    display: none !important;
    content: none !important;
  }

  .fx-tickets-page .table-responsive {
    overflow: visible !important;
    padding-top: 4px !important;
  }

  .fx-tickets-table .fx-order-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    padding: 1.15rem 1rem !important;
    background: var(--fx-bg-card, #151822) !important;
    border: 1.5px solid var(--fx-border) !important;
    border-radius: var(--fx-radius-lg, 16px) !important;
    margin-bottom: 12px !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25) !important;
    transition: all var(--fx-transition) !important;
  }

  .fx-tickets-table .fx-order-row:hover,
  .fx-tickets-table .fx-order-row:active {
    border-color: var(--fx-primary) !important;
    background: rgba(249, 115, 22, 0.04) !important;
    box-shadow: 0 0 16px rgba(249, 115, 22, 0.25) !important;
    transform: none !important;
  }

  .fx-tickets-table td.fx-td-id {
    order: 1 !important;
    flex: 0 0 auto !important;
    width: auto !important;
    padding: 0 !important;
    border: none !important;
  }

  .fx-tickets-table td.fx-td-status {
    order: 2 !important;
    flex: 0 0 auto !important;
    margin-inline-start: auto !important;
    width: auto !important;
    padding: 0 !important;
    border: none !important;
  }

  .fx-tickets-table td.fx-td-subject {
    order: 3 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    padding: 4px 0 !important;
    border: none !important;
  }

  .fx-tickets-table td.fx-td-date {
    order: 4 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    padding-top: 10px !important;
    border-top: 1px dashed var(--fx-border) !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* ==================== VIEW TICKET CONVERSATION STYLES ==================== */
.fx-btn-back-tickets {
  background: var(--fx-bg-input, #1c2030) !important;
  border: 1px solid var(--fx-border) !important;
  color: var(--fx-text-title) !important;
  border-radius: var(--fx-radius-md, 12px) !important;
  padding: 0.5rem 1.15rem !important;
  font-weight: 700 !important;
  font-size: 0.86rem !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: all var(--fx-transition) !important;
}

.fx-btn-back-tickets:hover {
  background: var(--fx-primary) !important;
  border-color: var(--fx-primary) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.35);
}

.fx-ticket-chat-container {
  background: var(--fx-bg-card, #151822);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-xl, 20px);
  overflow: hidden;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

.fx-chat-messages-feed {
  max-height: 480px !important;
  overflow-y: auto !important;
  scroll-behavior: smooth !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
  padding: 1.5rem !important;
}

.fx-chat-messages-feed::-webkit-scrollbar {
  width: 6px;
}

.fx-chat-messages-feed::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

.fx-chat-messages-feed::-webkit-scrollbar-thumb {
  background: rgba(249, 115, 22, 0.35);
  border-radius: 10px;
}

.fx-chat-messages-feed::-webkit-scrollbar-thumb:hover {
  background: var(--fx-primary, #f97316);
}

.fx-chat-bubble {
  border-radius: var(--fx-radius-lg, 16px);
  padding: 1.15rem 1.35rem;
  position: relative;
  transition: all var(--fx-transition);
  width: fit-content;
  max-width: 82%;
  box-sizing: border-box;
}

/* User Message Bubble (Aligned to Start) */
.fx-bubble-user {
  align-self: flex-start !important;
  margin-inline-end: auto !important;
  margin-inline-start: 0 !important;
  background: var(--fx-bg-input, #1c2030);
  border: 1.5px solid var(--fx-border);
  border-radius: 18px 18px 4px 18px;
}

/* Support Message Bubble (Aligned to End with Orange Theme) */
.fx-bubble-support {
  align-self: flex-end !important;
  margin-inline-start: auto !important;
  margin-inline-end: 0 !important;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.14) 0%, rgba(26, 22, 28, 0.98) 100%);
  border: 1.5px solid rgba(249, 115, 22, 0.45);
  border-radius: 18px 18px 18px 4px;
  box-shadow: 0 4px 25px rgba(249, 115, 22, 0.15);
}

.fx-bubble-role-badge {
  background: rgba(255, 255, 255, 0.08);
  color: var(--fx-text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
}

.fx-bubble-role-badge.fx-role-support {
  background: rgba(249, 115, 22, 0.18);
  color: var(--fx-primary);
  font-weight: 800;
}

.fx-bubble-time-footer {
  font-size: 0.72rem;
  color: var(--fx-text-dim);
  white-space: nowrap;
  font-family: var(--fx-font-en);
}

/* Light Mode Ticket Chat Bubbles */
html.light .fx-bubble-user,
html[data-bs-theme="light"] .fx-bubble-user,
.light .fx-bubble-user {
  background: #f1f5f9 !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
}

html.light .fx-bubble-support,
html[data-bs-theme="light"] .fx-bubble-support,
.light .fx-bubble-support {
  background: #fff7ed !important;
  border: 1.5px solid #fed7aa !important;
  color: #0f172a !important;
  box-shadow: 0 2px 12px rgba(249, 115, 22, 0.08) !important;
}

html.light .fx-chat-author,
html[data-bs-theme="light"] .fx-chat-author,
.light .fx-chat-author {
  color: #0f172a !important;
}

html.light .fx-bubble-content,
html[data-bs-theme="light"] .fx-bubble-content,
.light .fx-bubble-content {
  color: #1e293b !important;
}

html.light .fx-bubble-user .fx-chat-avatar,
html[data-bs-theme="light"] .fx-bubble-user .fx-chat-avatar,
.light .fx-bubble-user .fx-chat-avatar {
  background: #e2e8f0 !important;
  color: #475569 !important;
}

html.light .fx-bubble-support .fx-chat-avatar,
html[data-bs-theme="light"] .fx-bubble-support .fx-chat-avatar,
.light .fx-bubble-support .fx-chat-avatar {
  background: #ffedd5 !important;
  color: #ea580c !important;
}

html.light .fx-bubble-role-badge,
html[data-bs-theme="light"] .fx-bubble-role-badge,
.light .fx-bubble-role-badge {
  background: #e2e8f0 !important;
  color: #475569 !important;
}

html.light .fx-bubble-role-badge.fx-role-support,
html[data-bs-theme="light"] .fx-bubble-role-badge.fx-role-support,
.light .fx-bubble-role-badge.fx-role-support {
  background: #ffedd5 !important;
  color: #ea580c !important;
}

html.light .fx-bubble-time-footer,
html[data-bs-theme="light"] .fx-bubble-time-footer,
.light .fx-bubble-time-footer {
  color: #64748b !important;
}

@media (max-width: 768px) {
  .fx-viewticket-page .fx-ticket-chat-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  .fx-chat-messages-feed {
    max-height: 420px !important;
    padding: 0.5rem 0.25rem !important;
    gap: 0.85rem !important;
  }

  .fx-chat-bubble {
    max-width: 90% !important;
    padding: 0.85rem 1rem !important;
  }

  .fx-chat-reply-area {
    background: var(--fx-bg-card, #151822) !important;
    border: 1px solid var(--fx-border) !important;
    border-radius: var(--fx-radius-lg, 16px) !important;
    padding: 1.15rem 1rem !important;
    margin-top: 14px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
  }

  html.light .fx-chat-reply-area,
  html[data-bs-theme="light"] .fx-chat-reply-area,
  .light .fx-chat-reply-area {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
  }
}

.fx-chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.fx-avatar-user {
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

.fx-avatar-support {
  background: rgba(249, 115, 22, 0.2);
  color: var(--fx-primary);
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.3);
}

.fx-chat-author {
  font-size: 0.92rem;
  color: var(--fx-text-title);
}

.fx-bubble-content {
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--fx-text-main, #e2e8f0);
}

.fx-ticket-attachment-chip {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--fx-border);
  color: var(--fx-text-title);
  border-radius: 8px;
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
  transition: all var(--fx-transition);
}

.fx-ticket-attachment-chip:hover {
  background: rgba(249, 115, 22, 0.15);
  border-color: rgba(249, 115, 22, 0.35);
  color: var(--fx-primary);
}

.fx-chat-reply-area {
  background: rgba(0, 0, 0, 0.2);
}

/* Light mode for view ticket */
html.light .fx-ticket-chat-container,
html.light .fx-bubble-user {
  background: #ffffff;
  border-color: #e2e8f0;
}

html.light .fx-bubble-support {
  background: #fff7ed;
  border-color: #fed7aa;
}

html.light .fx-ticket-attachment-chip {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

/* ==================== CHILD PANELS PAGE STYLES ==================== */
.fx-renew-alert-card {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(21, 24, 34, 0.95) 100%);
  border: 1.5px solid rgba(239, 68, 68, 0.35);
  border-radius: var(--fx-radius-md, 14px);
  padding: 1rem 1.25rem;
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.15);
}

.fx-btn-renew-panel {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: var(--fx-radius-sm, 10px) !important;
  padding: 0.45rem 1.15rem !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.35);
  transition: all var(--fx-transition) !important;
  text-decoration: none !important;
}

.fx-btn-renew-panel:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
  color: #ffffff !important;
}

.fx-panel-domain-link {
  font-family: 'Consolas', monospace;
  font-size: 0.92rem;
  font-weight: 700;
  color: #38bdf8;
  text-decoration: none !important;
  transition: all var(--fx-transition);
}

.fx-panel-domain-link:hover {
  color: #7dd3fc;
  text-decoration: underline !important;
}

.fx-btn-admin-panel {
  background: var(--fx-bg-input, #1c2030) !important;
  border: 1px solid var(--fx-border) !important;
  color: var(--fx-text-title) !important;
  border-radius: var(--fx-radius-sm, 8px) !important;
  padding: 0.38rem 0.85rem !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: all var(--fx-transition) !important;
  text-decoration: none !important;
}

.fx-btn-admin-panel:hover {
  background: var(--fx-primary) !important;
  border-color: var(--fx-primary) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.35);
}

/* Mobile layout for child panels table */
@media (max-width: 768px) {
  .fx-childpanels-table td::before {
    display: none !important;
    content: none !important;
  }

  .fx-childpanels-table .fx-order-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    padding: 1.15rem 1rem !important;
    background: var(--fx-bg-card, #151822) !important;
    border: 1.5px solid var(--fx-border) !important;
    border-radius: var(--fx-radius-lg, 16px) !important;
    margin-bottom: 12px !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25) !important;
  }

  .fx-childpanels-table td.fx-td-domain {
    order: 1 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    padding: 0 !important;
    border: none !important;
  }

  .fx-childpanels-table td.fx-td-status {
    order: 2 !important;
    flex: 0 0 auto !important;
    width: auto !important;
    padding: 0 !important;
    border: none !important;
  }

  .fx-childpanels-table td.fx-td-created,
  .fx-childpanels-table td.fx-td-expiry {
    order: 3 !important;
    flex: 0 0 auto !important;
    width: auto !important;
    padding: 0 !important;
    border: none !important;
  }

  .fx-childpanels-table td.fx-td-actions {
    order: 4 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    padding-top: 10px !important;
    border-top: 1px dashed var(--fx-border) !important;
  }

  .fx-childpanels-table td.fx-td-actions .fx-btn-admin-panel {
    width: 100% !important;
    justify-content: center !important;
    height: 40px !important;
  }
}

/* ==================== CHILD PANEL ORDER PAGE STYLES ==================== */
.fx-ns-info-box {
  background: var(--fx-bg-input, #1c2030);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-md, 14px);
  padding: 1.15rem;
}

.fx-ns-item {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 0.4rem 0.65rem;
}

.fx-ns-code {
  color: #38bdf8;
  font-family: 'Consolas', monospace;
  font-size: 0.88rem;
  font-weight: 700;
}

.fx-price-preview-box {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.08) 0%, var(--fx-bg-input, #1c2030) 100%);
  border: 1.5px solid rgba(249, 115, 22, 0.25);
  border-radius: var(--fx-radius-md, 12px);
  padding: 1rem 1.25rem;
}

.fx-price-label {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--fx-text-title);
  display: flex;
  align-items: center;
  gap: 8px;
}

.fx-price-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.fx-price-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--fx-primary);
  font-family: var(--fx-font-en);
}

.fx-price-period {
  font-size: 0.82rem;
  color: var(--fx-text-muted);
  font-weight: 700;
}

/* Light mode */
html.light .fx-ns-info-box {
  background: #f8fafc;
  border-color: #cbd5e1;
}

html.light .fx-ns-item {
  background: #ffffff;
  border-color: #e2e8f0;
}

html.light .fx-price-preview-box {
  background: #fff7ed;
  border-color: #fed7aa;
}

/* Child Panel Setup Guide & Benefits */
.fx-cp-step-card {
  background: var(--fx-bg-card, #151822);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-lg, 16px);
  padding: 1.35rem 1.15rem;
  position: relative;
  transition: all var(--fx-transition);
  height: 100%;
}

.fx-cp-step-card:hover {
  border-color: rgba(249, 115, 22, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.fx-cp-step-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--fx-font-en);
  font-size: 0.82rem;
  font-weight: 800;
  color: #fb923c !important;
  background: rgba(249, 115, 22, 0.16) !important;
  border: 1px solid rgba(249, 115, 22, 0.35) !important;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
}

[dir="ltr"] .fx-cp-step-badge {
  left: auto;
  right: 1rem;
}

.fx-cp-step-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(249, 115, 22, 0.12);
  color: var(--fx-primary);
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.fx-cp-step-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--fx-text-title);
  margin-bottom: 0.4rem;
}

.fx-cp-step-desc {
  font-size: 0.82rem;
  color: #94a3b8 !important;
  line-height: 1.5;
  margin-bottom: 0;
}

.fx-cp-benefits-card {
  background: var(--fx-bg-card, #151822);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-xl, 20px);
  padding: 1.35rem;
}

.fx-cp-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fx-cp-benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.fx-benefit-icon {
  color: #10b981;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.fx-cp-tip-card {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.1) 0%, var(--fx-bg-card, #151822) 100%);
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: var(--fx-radius-lg, 16px);
  padding: 1.15rem;
}

/* Light mode for steps & high contrast */
html.light .fx-cp-step-card,
html[data-bs-theme="light"] .fx-cp-step-card,
.light .fx-cp-step-card,
html.light .fx-cp-benefits-card,
html[data-bs-theme="light"] .fx-cp-benefits-card,
.light .fx-cp-benefits-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
}

html.light .fx-cp-step-badge,
html[data-bs-theme="light"] .fx-cp-step-badge,
.light .fx-cp-step-badge {
  background: #fff7ed !important;
  border: 1px solid #fed7aa !important;
  color: #c2410c !important;
}

html.light .fx-cp-step-desc,
html[data-bs-theme="light"] .fx-cp-step-desc,
.light .fx-cp-step-desc {
  color: #475569 !important;
}

.fx-cp-tip-title {
  color: #ffffff;
  font-weight: 800;
}

html.light .fx-cp-tip-card,
html[data-bs-theme="light"] .fx-cp-tip-card,
.light .fx-cp-tip-card {
  background: #fff7ed !important;
  border: 1.5px solid #fed7aa !important;
  box-shadow: none !important;
}

html.light .fx-cp-tip-title,
html[data-bs-theme="light"] .fx-cp-tip-title,
.light .fx-cp-tip-title {
  color: #9a3412 !important;
  font-weight: 800 !important;
}

html.light .fx-cp-tip-card p,
html[data-bs-theme="light"] .fx-cp-tip-card p,
.light .fx-cp-tip-card p {
  color: #475569 !important;
}

/* Mobile Slider for Child Panel Steps */
@media (max-width: 768px) {
  .fx-cp-guide-wrapper .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 12px !important;
    padding: 0 4px 14px 4px !important;
    scrollbar-width: none !important;
    margin: 0 !important;
  }

  .fx-cp-guide-wrapper .row::-webkit-scrollbar {
    display: none !important;
  }

  .fx-cp-guide-wrapper .row>[class*="col-"] {
    flex: 0 0 78% !important;
    max-width: 78% !important;
    scroll-snap-align: start !important;
    padding: 0 !important;
  }

  .fx-cp-step-card {
    padding: 1.15rem 1rem !important;
  }
}

/* ==================== NOTIFICATIONS & ACCOUNT STYLES ==================== */
.fx-account-nav-tabs {
  background: var(--fx-bg-input, #1c2030);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-md, 12px);
  padding: 4px;
}

.fx-account-tab-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.45rem 0.95rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--fx-text-muted);
  border-radius: var(--fx-radius-sm, 8px);
  text-decoration: none;
  transition: all var(--fx-transition);
}

.fx-account-tab-link:hover {
  color: var(--fx-text-title);
}

.fx-account-tab-link.active {
  background: var(--fx-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
}

.fx-notif-channel-card {
  background: var(--fx-bg-card, #151822);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-xl, 20px);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all var(--fx-transition);
}

.fx-notif-channel-card:hover {
  border-color: rgba(249, 115, 22, 0.3);
  transform: translateY(-2px);
}

.fx-channel-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.fx-channel-icon-wrap.email {
  background: rgba(249, 115, 22, 0.12);
  color: var(--fx-primary);
}

.fx-channel-icon-wrap.telegram {
  background: rgba(14, 165, 233, 0.12);
  color: #0ea5e9;
}

.fx-btn-telegram {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: #ffffff !important;
  font-weight: 700;
  border-radius: var(--fx-radius-md, 10px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
  border: none;
  transition: all var(--fx-transition);
}

.fx-btn-telegram:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.5);
}

/* Modern iOS Style Switch Toggle */
.fx-switch-checkbox {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  cursor: pointer;
}

.fx-switch-checkbox input {
  opacity: 0;
  width: 0;
  height: 0;
}

.fx-switch-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--fx-bg-input, #242938);
  border: 1.5px solid var(--fx-border);
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 34px;
}

.fx-switch-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 2.5px;
  background-color: #94a3b8;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
}

.fx-switch-checkbox input:checked+.fx-switch-slider {
  background-color: var(--fx-primary);
  border-color: var(--fx-primary);
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.4);
}

.fx-switch-checkbox input:checked+.fx-switch-slider:before {
  transform: translateX(19px);
  background-color: #ffffff;
}

html.light .fx-notif-channel-card {
  background: #ffffff;
  border-color: #e2e8f0;
}

/* ==================== LUXURY CURRENCY DROPDOWN ==================== */
#currencies-list,
.fx-currencies-dropdown {
  max-height: 260px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  min-width: 175px !important;
  border-radius: var(--fx-radius-lg, 16px) !important;
  background: var(--fx-bg-card, #151822) !important;
  border: 1px solid rgba(249, 115, 22, 0.25) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(249, 115, 22, 0.08) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 6px !important;
  direction: ltr !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(249, 115, 22, 0.4) transparent;
}

#currencies-list::-webkit-scrollbar,
.fx-currencies-dropdown::-webkit-scrollbar {
  width: 4px;
}

#currencies-list::-webkit-scrollbar-track,
.fx-currencies-dropdown::-webkit-scrollbar-track {
  background: transparent;
}

#currencies-list::-webkit-scrollbar-thumb,
.fx-currencies-dropdown::-webkit-scrollbar-thumb {
  background: rgba(249, 115, 22, 0.4);
  border-radius: 10px;
}

#currencies-list::-webkit-scrollbar-thumb:hover,
.fx-currencies-dropdown::-webkit-scrollbar-thumb:hover {
  background: var(--fx-primary);
}

#currencies-list li,
.fx-currencies-dropdown li {
  margin-bottom: 2px;
  direction: rtl !important;
}

#currencies-list li:last-child,
.fx-currencies-dropdown li:last-child {
  margin-bottom: 0;
}

#currencies-list .dropdown-item,
.fx-currencies-dropdown .dropdown-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  direction: rtl !important;
  padding: 0.55rem 0.85rem !important;
  border-radius: var(--fx-radius-md, 10px) !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  color: var(--fx-text-title, #ffffff) !important;
  transition: all var(--fx-transition);
  border: 1px solid transparent;
}

#currencies-list .dropdown-item strong,
.fx-currencies-dropdown .dropdown-item strong,
#currencies-list .dropdown-item .text-primary,
.fx-currencies-dropdown .dropdown-item .text-primary {
  color: var(--fx-primary, #f97316) !important;
  font-size: 0.92rem !important;
  transition: color var(--fx-transition);
}

#currencies-list .dropdown-item:hover,
.fx-currencies-dropdown .dropdown-item:hover {
  background: rgba(249, 115, 22, 0.12) !important;
  color: var(--fx-primary, #f97316) !important;
  border-color: rgba(249, 115, 22, 0.25) !important;
  transform: translateX(-2px) !important;
}

#currencies-list .dropdown-item:hover strong,
.fx-currencies-dropdown .dropdown-item:hover strong,
#currencies-list .dropdown-item:hover .text-primary,
.fx-currencies-dropdown .dropdown-item:hover .text-primary {
  color: var(--fx-primary, #f97316) !important;
}

#currencies-list .dropdown-item.active,
#currencies-list .dropdown-item:active,
.fx-currencies-dropdown .dropdown-item.active {
  background: var(--fx-gradient, #f97316) !important;
  border: 1px solid transparent !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.35) !important;
}

#currencies-list .dropdown-item.active strong,
.fx-currencies-dropdown .dropdown-item.active strong,
#currencies-list .dropdown-item.active .text-primary,
.fx-currencies-dropdown .dropdown-item.active .text-primary {
  color: #ffffff !important;
}

/* Light Mode Currency Dropdown */
html.light #currencies-list,
html.light .fx-currencies-dropdown,
html[data-bs-theme="light"] #currencies-list,
html[data-bs-theme="light"] .fx-currencies-dropdown,
.light #currencies-list,
.light .fx-currencies-dropdown {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

html.light #currencies-list .dropdown-item,
html.light .fx-currencies-dropdown .dropdown-item,
html[data-bs-theme="light"] #currencies-list .dropdown-item,
html[data-bs-theme="light"] .fx-currencies-dropdown .dropdown-item,
.light #currencies-list .dropdown-item,
.light .fx-currencies-dropdown .dropdown-item {
  color: #1e293b !important;
}

html.light #currencies-list .dropdown-item strong,
html.light .fx-currencies-dropdown .dropdown-item strong,
html[data-bs-theme="light"] #currencies-list .dropdown-item strong,
html[data-bs-theme="light"] .fx-currencies-dropdown .dropdown-item strong,
.light #currencies-list .dropdown-item strong,
.light .fx-currencies-dropdown .dropdown-item strong {
  color: #ea580c !important;
}

html.light #currencies-list .dropdown-item:hover,
html.light .fx-currencies-dropdown .dropdown-item:hover,
html[data-bs-theme="light"] #currencies-list .dropdown-item:hover,
html[data-bs-theme="light"] .fx-currencies-dropdown .dropdown-item:hover,
.light #currencies-list .dropdown-item:hover,
.light .fx-currencies-dropdown .dropdown-item:hover {
  background: #fff7ed !important;
  border-color: #fed7aa !important;
  color: #ea580c !important;
  transform: translateX(-2px) !important;
}

html.light #currencies-list .dropdown-item:hover strong,
html.light .fx-currencies-dropdown .dropdown-item:hover strong,
html[data-bs-theme="light"] #currencies-list .dropdown-item:hover strong,
html[data-bs-theme="light"] .fx-currencies-dropdown .dropdown-item:hover strong,
.light #currencies-list .dropdown-item:hover strong,
.light .fx-currencies-dropdown .dropdown-item:hover strong {
  color: #ea580c !important;
}

html.light #currencies-list .dropdown-item.active,
html.light .fx-currencies-dropdown .dropdown-item.active,
html[data-bs-theme="light"] #currencies-list .dropdown-item.active,
html[data-bs-theme="light"] .fx-currencies-dropdown .dropdown-item.active,
.light #currencies-list .dropdown-item.active,
.light .fx-currencies-dropdown .dropdown-item.active {
  background: #f97316 !important;
  border-color: #f97316 !important;
  color: #ffffff !important;
}

html.light #currencies-list .dropdown-item.active strong,
html.light .fx-currencies-dropdown .dropdown-item.active strong,
html[data-bs-theme="light"] #currencies-list .dropdown-item.active strong,
html[data-bs-theme="light"] .fx-currencies-dropdown .dropdown-item.active strong,
.light #currencies-list .dropdown-item.active strong,
.light .fx-currencies-dropdown .dropdown-item.active strong {
  color: #ffffff !important;
}

html.light .fx-account-nav-tabs {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

html.light .fx-switch-slider {
  background-color: #e2e8f0;
  border-color: #cbd5e1;
}

.fx-notif-item-card {
  background: var(--fx-bg-input, #1c2030);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-lg, 16px);
  transition: all var(--fx-transition);
}

.fx-notif-item-card:hover {
  border-color: rgba(249, 115, 22, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.fx-notif-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(249, 115, 22, 0.12);
  color: var(--fx-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

html.light .fx-notif-item-card {
  background: #ffffff;
  border-color: #e2e8f0;
}

/* ==================== ULTRA-LUXURY ADD FUNDS / PAYMENT PAGE ==================== */
.fx-addfunds-page {
  max-width: 1200px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 0 !important;
  overflow-x: hidden !important;
  box-sizing: border-box !important;
}

.fx-addfunds-balance-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: var(--fx-radius-lg, 16px);
  padding: 8px 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.fx-balance-pill-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(249, 115, 22, 0.18);
  color: var(--fx-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.25);
}

.fx-balance-pill-info {
  display: flex;
  flex-direction: column;
}

.fx-balance-pill-label {
  font-size: 0.72rem;
  color: var(--fx-text-muted);
  font-weight: 600;
}

.fx-balance-pill-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--fx-font-en);
}

.fx-addfunds-main-card {
  background: var(--fx-bg-card, #151822) !important;
  border: 1px solid var(--fx-border) !important;
  border-radius: var(--fx-radius-xl, 20px) !important;
  padding: 24px !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35) !important;
  max-width: 900px !important;
  width: 100% !important;
  margin: 0 auto 1.5rem auto !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.fx-step-block,
.fx-quick-amounts-wrap {
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.fx-step-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--fx-primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.45);
  flex-shrink: 0;
}

.fx-step-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
}

.fx-step-subtag {
  font-size: 0.76rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 20px;
  padding: 3px 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Payment Methods List (Modern 2-Column Luxury Grid) */
.fx-payment-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.fx-payment-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1.5px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 10px 14px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  user-select: none;
  display: flex;
  align-items: center;
  min-height: 58px;
}

.fx-payment-item:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(249, 115, 22, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.fx-payment-item.active {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.14) 0%, rgba(21, 24, 34, 0.95) 100%) !important;
  border-color: var(--fx-primary) !important;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.25) !important;
}

.fx-payment-radio-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.fx-payment-item.active .fx-payment-radio-circle {
  border-color: var(--fx-primary);
}

.fx-radio-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fx-primary);
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s ease;
}

.fx-payment-item.active .fx-radio-dot {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 0 6px rgba(249, 115, 22, 0.8);
}

.fx-payment-logo-wrap {
  width: 32px;
  height: 32px;
  background: transparent !important;
  border: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0 !important;
}

.fx-payment-img-logo {
  width: 28px;
  height: 28px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.fx-payment-title-text {
  font-size: 0.86rem;
  font-weight: 800;
  color: #ffffff;
  display: block;
  line-height: 1.35;
  word-break: break-word;
}

.fx-method-hidden {
  display: none !important;
}

#toggleMethodsWrap {
  margin-top: 10px !important;
  margin-bottom: 4px !important;
}

.fx-toggle-methods-btn {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px dashed rgba(249, 115, 22, 0.35) !important;
  color: var(--fx-primary) !important;
  border-radius: 10px !important;
  padding: 6px 18px !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: all 0.25s ease !important;
}

.fx-toggle-methods-btn:hover {
  background: rgba(249, 115, 22, 0.08) !important;
  border-color: var(--fx-primary) !important;
  transform: translateY(-1px) !important;
}

.fx-p-badge {
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 6px;
  padding: 2px 8px;
  display: inline-block;
  white-space: nowrap;
}

.fx-badge-instant {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.fx-badge-manual {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.fx-badge-auto {
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Dynamic Instruction Card Styling (Transparent & Clean) */
.form-group.instruction,
#instruction_instruction,
#instruction_instruction .well,
#instructions,
.fx-manual-instructions-card,
.fx-instructions-content .well {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 8px 0 !important;
  color: #cbd5e1 !important;
  font-size: 0.92rem !important;
  line-height: 1.8 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

/* Quick Amounts Preset */
.fx-quick-amounts-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.fx-quick-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--fx-text-muted);
  flex-shrink: 0;
}

.fx-quick-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.fx-amount-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-family: var(--fx-font-en);
  font-weight: 800;
  font-size: 0.86rem;
  padding: 6px 14px;
  border-radius: 10px;
  transition: all 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.fx-amount-chip:hover {
  background: rgba(249, 115, 22, 0.15);
  border-color: rgba(249, 115, 22, 0.4);
  color: var(--fx-primary);
  transform: translateY(-1px);
}

.fx-amount-chip.active {
  background: var(--fx-primary) !important;
  border-color: var(--fx-primary) !important;
  color: #ffffff !important;
  box-shadow: 0 0 14px rgba(249, 115, 22, 0.4) !important;
}

/* Amount Input Box */
.fx-amount-input-container {
  position: relative;
}

.fx-amount-input-container .fx-amount-currency-symbol {
  position: absolute;
  inset-inline-start: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--fx-primary);
  font-family: var(--fx-font-en);
  pointer-events: none;
  z-index: 2;
}

.fx-amount-input-container .fx-amount-calc-icon {
  position: absolute;
  inset-inline-end: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.15rem;
  color: #64748b;
  pointer-events: none;
  z-index: 2;
}

.fx-amount-input {
  background: rgba(0, 0, 0, 0.35) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  padding: 10px 38px !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  font-family: var(--fx-font-en);
  transition: all 0.25s ease !important;
  text-align: start !important;
  height: 48px !important;
}

.fx-amount-input:focus {
  border-color: var(--fx-primary) !important;
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.2) !important;
  background: rgba(0, 0, 0, 0.45) !important;
}

.fx-pay-cta-btn {
  height: 52px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 25px rgba(249, 115, 22, 0.4) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.fx-payments-table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

.fx-payments-table thead th {
  background: rgba(255, 255, 255, 0.03) !important;
  color: #94a3b8 !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  padding: 14px 16px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  white-space: nowrap !important;
  vertical-align: middle !important;
}

.fx-payments-table tbody td {
  padding: 14px 16px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  color: #cbd5e1 !important;
  font-size: 0.88rem !important;
  vertical-align: middle !important;
}

.fx-payments-table tbody tr {
  transition: all 0.25s ease !important;
}

.fx-payments-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.02) !important;
}

.fx-btn-invoice {
  background: rgba(249, 115, 22, 0.12) !important;
  border: 1px solid rgba(249, 115, 22, 0.35) !important;
  color: #f97316 !important;
  border-radius: 8px !important;
  padding: 5px 12px !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: all 0.2s ease !important;
}

.fx-btn-invoice:hover,
.fx-btn-invoice:focus {
  background: rgba(249, 115, 22, 0.25) !important;
  color: #ffaa66 !important;
  border-color: #f97316 !important;
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.35) !important;
  transform: translateY(-1px) !important;
  text-decoration: none !important;
}

/* Mobile Responsiveness for Add Funds */
@media (max-width: 768px) {
  .fx-addfunds-main-card {
    padding: 16px 12px !important;
    border-radius: 16px !important;
  }

  .fx-payment-list {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .fx-payment-item {
    padding: 8px 10px !important;
    min-height: 48px !important;
    border-radius: 12px !important;
  }

  .fx-payment-logo-wrap {
    width: 28px !important;
    height: 28px !important;
    border-radius: 7px !important;
    padding: 2px !important;
  }

  .fx-payment-radio-circle {
    width: 16px !important;
    height: 16px !important;
  }

  .fx-radio-dot {
    width: 7px !important;
    height: 7px !important;
  }

  .fx-payment-title-text {
    font-size: 0.78rem !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
  }

  .fx-step-badge {
    width: 22px;
    height: 22px;
    font-size: 0.75rem;
  }

  .fx-step-title {
    font-size: 0.92rem;
  }

  .fx-quick-amounts-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .fx-quick-chips {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .fx-amount-chip {
    padding: 5px 12px;
    font-size: 0.8rem;
    flex-shrink: 0;
  }

  .fx-amount-input {
    font-size: 1.15rem !important;
    padding: 12px 42px !important;
    border-radius: 12px !important;
  }

  .fx-pay-cta-btn {
    height: 46px !important;
    font-size: 0.92rem !important;
    border-radius: 12px !important;
  }

  .form-group.instruction,
  #instruction_instruction,
  #instructions {
    padding: 4px 0 !important;
    background: transparent !important;
    border: none !important;
    font-size: 0.82rem !important;
  }

  .form-group.instruction img,
  #instruction_instruction img {
    max-height: 50px !important;
  }

  /* Payment History Mobile Cards (Transparent Container, Elegant Cards) */
  .fx-addfunds-page .fx-table-container,
  .fx-addfunds-page .table-responsive {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  .fx-payments-table thead {
    display: none !important;
  }

  .fx-payments-table tbody,
  .fx-payments-table tbody tr {
    display: block !important;
    width: 100% !important;
  }

  .fx-payments-table tbody tr {
    background: rgba(255, 255, 255, 0.025) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 14px !important;
    padding: 12px 14px !important;
    margin-bottom: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25) !important;
  }

  .fx-payments-table tbody td {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 7px 0 !important;
    border: none !important;
    font-size: 0.84rem !important;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.06) !important;
  }

  .fx-payments-table tbody td:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }

  .fx-payments-table tbody td:before {
    content: attr(data-label) !important;
    font-weight: 700 !important;
    color: #94a3b8 !important;
    font-size: 0.8rem !important;
    flex-shrink: 0 !important;
  }

  .fx-payments-table .fx-td-id {
    padding-top: 0 !important;
  }
}

@media (max-width: 340px) {
  .fx-payment-list {
    grid-template-columns: 1fr !important;
  }

  .fx-payment-item {
    min-height: 42px !important;
    padding: 6px 10px !important;
  }
}

/* ==========================================================================
   Custom Wallet & Manual Payment Gateway Styling (Vodafone Cash / InstaPay)
   ========================================================================== */
.fx-vf-gateway {
  padding: 0 0;
  color: #e2e8f0;
  direction: rtl;
  text-align: right;
  max-width: 100%;
  overflow: hidden;
}

.fx-vf-header-logo {
  text-align: center;
  margin-bottom: 0;
}

.fx-vf-header-logo img {
  max-height: 42px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(230, 0, 0, 0.25));
}

.fx-vf-rate-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(21, 24, 34, 0.85) 100%);
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.fx-vf-rate-title {
  color: #10b981;
  font-size: 0.84rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.fx-vf-rate-display {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 800;
}

.fx-rate-base {
  color: #ffffff;
  white-space: nowrap;
}

.fx-rate-eq {
  color: #10b981;
  font-weight: 700;
}

.fx-rate-val {
  color: #10b981;
  white-space: nowrap;
  font-weight: 900;
}

.fx-vf-wallet-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 8px 10px;
  margin-bottom: 12px;
}

.fx-vf-wallet-title {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
}

.fx-vf-wallet-copy-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.5);
  border: 1.5px solid rgba(16, 185, 129, 0.4);
  border-radius: 12px;
  padding: 4px;
  width: 100%;
  max-width: 100%;
}

.fx-vf-wallet-number {
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: #ffffff;
  padding: 0;
  font-family: 'Courier New', monospace, sans-serif;
  user-select: all;
  flex-grow: 1;
  text-align: center;
  direction: ltr !important;
  unicode-bidi: isolate !important;
}

.fx-vf-copy-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 8px 16px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  flex-shrink: 0 !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3) !important;
}

.fx-vf-copy-btn:hover {
  filter: brightness(1.15) !important;
  transform: translateY(-1px) !important;
}

.fx-vf-steps-list {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fx-vf-step-item {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 0.78rem;
  color: #cbd5e1;
  line-height: 1.4;
}

.fx-vf-step-num {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.15);
  color: var(--fx-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.fx-vf-alert-box {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.76rem;
  color: #fbbf24;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.fx-vf-help-links {
  font-size: 0.76rem;
  color: #94a3b8;
  margin-bottom: 14px;
  line-height: 1.4;
  text-align: center;
}

.fx-vf-help-links a {
  color: var(--fx-primary) !important;
  text-decoration: underline !important;
  font-weight: 700 !important;
}

.fx-vf-form-group {
  margin-bottom: 10px;
}

.fx-vf-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 4px;
}

.fx-vf-input {
  width: 100% !important;
  background: rgba(0, 0, 0, 0.35) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px !important;
  padding: 8px 14px !important;
  color: #ffffff !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  height: 44px !important;
  transition: all 0.25s ease !important;
  text-align: right !important;
  direction: rtl !important;
}

.fx-vf-input::placeholder {
  text-align: right !important;
  direction: rtl !important;
}

.fx-vf-input:focus {
  border-color: var(--fx-primary) !important;
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.25) !important;
  outline: none !important;
}

.fx-vf-submit-btn {
  width: 100% !important;
  height: 46px !important;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
  border: none !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3) !important;
  transition: all 0.25s ease !important;
}

.fx-vf-submit-btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.45) !important;
}

.fx-vf-gateway #message {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  margin-bottom: 12px;
}

.fx-vf-gateway #message .alert {
  margin-bottom: 0 !important;
  padding: 10px 16px !important;
  border-radius: 12px !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  text-align: center !important;
  box-shadow: none !important;
}

.fx-vf-gateway #message .alert-danger {
  background: rgba(239, 68, 68, 0.12) !important;
  border: 1.5px solid rgba(239, 68, 68, 0.35) !important;
  color: #f87171 !important;
}

.fx-vf-gateway #message .alert-success {
  background: rgba(16, 185, 129, 0.12) !important;
  border: 1.5px solid rgba(16, 185, 129, 0.35) !important;
  color: #10b981 !important;
}

/* ==========================================================================
   InstaPay Luxury Manual Gateway Styling
   ========================================================================== */
.fx-ip-gateway {
  max-width: 100%;
  margin: 0 auto;
  direction: rtl;
  text-align: right;
  padding: 4px 0;
  box-sizing: border-box;
}

.fx-ip-header {
  text-align: center;
  margin-bottom: 12px;
}

.fx-ip-logo,
.form-group.instruction img[src*="instapay"],
.form-group.instruction img[src*="r2xxngnzwladdm46"],
#instruction_instruction img {
  max-height: 38px !important;
  max-width: 180px !important;
  width: auto !important;
  margin: 0 auto 8px auto !important;
  display: block !important;
  object-fit: contain !important;
}

.fx-ip-title {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0;
}

.fx-ip-address-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
  box-sizing: border-box;
}

.fx-ip-address-label {
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 700;
  margin-bottom: 6px;
  text-align: center;
}

.fx-ip-address-box {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: rgba(0, 0, 0, 0.5) !important;
  border: 1.5px solid rgba(249, 115, 22, 0.4) !important;
  border-radius: 10px !important;
  padding: 4px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.fx-ip-address-text {
  font-size: 0.92rem !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  padding: 6px 8px !important;
  font-family: 'Courier New', monospace, sans-serif !important;
  user-select: all !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  text-align: center !important;
  direction: ltr !important;
  unicode-bidi: isolate !important;
  letter-spacing: 0.5px !important;
}

.fx-ip-copy-btn {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 6px 14px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  flex-shrink: 0 !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3) !important;
}

.fx-ip-copy-btn:hover {
  filter: brightness(1.15) !important;
  transform: translateY(-1px) !important;
}

.fx-ip-direct-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #111827 !important;
  text-decoration: none !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  font-size: 0.9rem !important;
  font-weight: 800 !important;
  margin-bottom: 12px !important;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3) !important;
  transition: all 0.25s ease !important;
}

.fx-ip-direct-btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45) !important;
  color: #000000 !important;
}

.fx-ip-bonus-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(21, 24, 34, 0.8) 100%);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  box-sizing: border-box;
}

.fx-ip-bonus-badge {
  color: #fbbf24;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}

.fx-ip-bonus-info {
  font-size: 0.76rem;
  color: #94a3b8;
}

.fx-ip-no-fees {
  font-size: 0.74rem;
  color: #10b981;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.fx-ip-steps-card {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fx-ip-wa-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  font-size: 0.86rem !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3) !important;
  transition: all 0.25s ease !important;
}

.fx-ip-wa-btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45) !important;
  color: #ffffff !important;
}

/* ==========================================================================
   New Order Page & Account Tier Progress Bar
   ========================================================================== */
.fx-tier-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: rgba(168, 85, 247, 0.15) !important;
  border: 1px solid rgba(168, 85, 247, 0.35) !important;
  color: #c084fc !important;
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  padding: 2px 8px !important;
  border-radius: 20px !important;
  letter-spacing: 0.2px !important;
}

.fx-tier-progress-wrap {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  width: 100% !important;
  margin-top: 6px !important;
}

.fx-tier-progress-bar {
  width: 100% !important;
  height: 6px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  position: relative !important;
}

.fx-tier-progress-fill {
  height: 100% !important;
  background: linear-gradient(90deg, #a855f7 0%, #ec4899 50%, #f97316 100%) !important;
  border-radius: 10px !important;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.5) !important;
}

.fx-tier-progress-labels {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: #94a3b8 !important;
}

.hidden,
[hidden],
.form-group.hidden,
.fields.hidden {
  display: none !important;
}

/* ==========================================================================
   Compact Order Success Receipt Banner (.fx-order-success-card)
   ========================================================================== */
.fx-order-success-card,
.alert.fx-order-success-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(21, 24, 34, 0.95) 100%) !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
  border-radius: 14px !important;
  padding: 14px 16px !important;
  margin-bottom: 20px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  clear: both !important;
  color: #ffffff !important;
}

.fx-osc-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  padding-bottom: 10px !important;
  padding-left: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  width: 100% !important;
}

.fx-osc-actions {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.fx-osc-icon-badge {
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  background: rgba(16, 185, 129, 0.15) !important;
  border: 1px solid rgba(16, 185, 129, 0.4) !important;
  color: #10b981 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.15rem !important;
  flex-shrink: 0 !important;
}

.fx-osc-title {
  color: #ffffff !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  margin: 0 !important;
}

.fx-osc-subtitle {
  color: #94a3b8 !important;
  font-size: 0.74rem !important;
  margin: 0 !important;
  display: block !important;
}

.fx-osc-id-badge-wrap {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: rgba(249, 115, 22, 0.08) !important;
  border: 1px solid rgba(249, 115, 22, 0.3) !important;
  border-radius: 8px !important;
  padding: 3px 6px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

.fx-osc-id {
  color: #f97316 !important;
  font-family: var(--fx-font-en), monospace !important;
  font-weight: 900 !important;
  font-size: 0.88rem !important;
  user-select: all !important;
}

.fx-btn-copy-id {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  padding: 2px 6px !important;
  height: 20px !important;
  min-height: 20px !important;
  border-radius: 5px !important;
  background: rgba(249, 115, 22, 0.18) !important;
  border: 1px solid rgba(249, 115, 22, 0.35) !important;
  color: var(--fx-primary, #f97316) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
  text-decoration: none !important;
}
.fx-btn-copy-id:hover,
.fx-btn-copy-id.copied {
  background: #10b981 !important;
  border-color: #10b981 !important;
  color: #ffffff !important;
}

.fx-osc-grid {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr) !important;
  gap: 8px !important;
  align-items: stretch !important;
  width: 100% !important;
}

.fx-osc-cell-service {
  grid-column: span 3 !important;
}

.fx-osc-cell-link {
  grid-column: span 3 !important;
}

.fx-osc-cell-stat {
  grid-column: span 2 !important;
  padding: 8px 12px !important;
}

.fx-osc-cell {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 8px !important;
  padding: 6px 10px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 2px !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.fx-osc-label {
  font-size: 0.68rem !important;
  color: #94a3b8 !important;
  font-weight: 600 !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.fx-osc-label iconify-icon {
  font-size: 0.76rem !important;
}

.fx-osc-val {
  font-size: 0.82rem !important;
  color: #f8fafc !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: block !important;
}

.fx-osc-cell-stat .fx-osc-val {
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
  font-weight: 800 !important;
  font-size: 0.84rem !important;
  letter-spacing: -0.2px !important;
}

.fx-osc-link-text {
  color: #38bdf8 !important;
  text-decoration: none !important;
  display: block !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.fx-osc-link-text:hover {
  text-decoration: underline !important;
}

.fx-alert-close-btn {
  position: static !important;
  transform: none !important;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: none !important;
  border-radius: 50% !important;
  color: #94a3b8 !important;
  font-size: 1.25rem !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  opacity: 0.75 !important;
  z-index: 10 !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
  box-shadow: none !important;
}

.fx-alert-close-btn:hover {
  opacity: 1 !important;
  background: rgba(239, 68, 68, 0.15) !important;
  color: #ef4444 !important;
  transform: scale(1.1) !important;
}

@media (max-width: 768px) {
  .fx-osc-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding-left: 0 !important;
    gap: 8px !important;
  }

  .fx-osc-actions {
    width: 100% !important;
    justify-content: space-between !important;
  }

  .fx-osc-id-badge-wrap {
    width: auto !important;
    margin-top: 2px !important;
  }

  .fx-osc-grid {
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 6px !important;
  }

  .fx-osc-cell-service,
  .fx-osc-cell-link {
    grid-column: span 6 !important;
  }

  .fx-osc-cell-stat {
    grid-column: span 2 !important;
  }

  .fx-osc-cell {
    padding: 6px 8px !important;
  }

  .fx-osc-label {
    font-size: 0.65rem !important;
  }

  .fx-osc-val {
    font-size: 0.78rem !important;
  }

  .fx-osc-cell-stat .fx-osc-val {
    font-size: 0.84rem !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
  }

  @media (max-width: 440px) {
    .fx-osc-cell-stat:nth-child(3) {
      grid-column: span 6 !important;
    }

    .fx-osc-cell-stat:nth-child(4),
    .fx-osc-cell-stat:nth-child(5) {
      grid-column: span 3 !important;
    }
  }
}

/* ==========================================================================
   Order Card Header & Title Size Optimization
   ========================================================================== */
.fx-order-card-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin-bottom: 20px !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.fx-order-card-title {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.fx-order-card-title iconify-icon {
  color: var(--fx-primary, #f97316) !important;
  font-size: 1.25rem !important;
  flex-shrink: 0 !important;
}

.fx-order-title-text {
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  color: var(--fx-text-title, #ffffff) !important;
  margin: 0 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.2px !important;
}

.fx-order-card-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 4px 10px !important;
  background: rgba(16, 185, 129, 0.1) !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  border-radius: 20px !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  color: #10b981 !important;
  white-space: nowrap !important;
}

/* ==========================================================================
   Light Mode for Order Success Receipt Card (.fx-order-success-card)
   ========================================================================== */
html.light .fx-order-success-card,
html.light .alert.fx-order-success-card,
html[data-bs-theme="light"] .fx-order-success-card,
html[data-bs-theme="light"] .alert.fx-order-success-card,
.light .fx-order-success-card,
.light .alert.fx-order-success-card {
  background: #ffffff !important;
  border: 1.5px solid #a7f3d0 !important;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  color: #0f172a !important;
}

html.light .fx-osc-header,
html[data-bs-theme="light"] .fx-osc-header,
.light .fx-osc-header {
  border-bottom: 1px solid #f1f5f9 !important;
}

html.light .fx-osc-title,
html[data-bs-theme="light"] .fx-osc-title,
.light .fx-osc-title {
  color: #065f46 !important;
}

html.light .fx-osc-subtitle,
html[data-bs-theme="light"] .fx-osc-subtitle,
.light .fx-osc-subtitle {
  color: #64748b !important;
}

html.light .fx-osc-icon-badge,
html[data-bs-theme="light"] .fx-osc-icon-badge,
.light .fx-osc-icon-badge {
  background: #ecfdf5 !important;
  border: 1.5px solid #a7f3d0 !important;
  color: #059669 !important;
}

html.light .fx-osc-id-badge-wrap,
html[data-bs-theme="light"] .fx-osc-id-badge-wrap,
.light .fx-osc-id-badge-wrap {
  background: #fff7ed !important;
  border: 1.5px solid #fed7aa !important;
}

html.light .fx-osc-id,
html[data-bs-theme="light"] .fx-osc-id,
.light .fx-osc-id {
  color: #ea580c !important;
}

html.light .fx-btn-copy-id,
html[data-bs-theme="light"] .fx-btn-copy-id,
.light .fx-btn-copy-id {
  background: #ffffff !important;
  border: 1px solid #fed7aa !important;
  color: #ea580c !important;
}

html.light .fx-btn-copy-id:hover,
html.light .fx-btn-copy-id.copied,
html[data-bs-theme="light"] .fx-btn-copy-id:hover,
html[data-bs-theme="light"] .fx-btn-copy-id.copied,
.light .fx-btn-copy-id:hover,
.light .fx-btn-copy-id.copied {
  background: #10b981 !important;
  border-color: #10b981 !important;
  color: #ffffff !important;
}

html.light .fx-osc-cell,
html[data-bs-theme="light"] .fx-osc-cell,
.light .fx-osc-cell {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}

html.light .fx-osc-label,
html[data-bs-theme="light"] .fx-osc-label,
.light .fx-osc-label {
  color: #475569 !important;
  font-weight: 700 !important;
}

html.light .fx-osc-val,
html[data-bs-theme="light"] .fx-osc-val,
.light .fx-osc-val {
  color: #0f172a !important;
  font-weight: 700 !important;
}

html.light .fx-osc-link-text,
html[data-bs-theme="light"] .fx-osc-link-text,
.light .fx-osc-link-text {
  color: #2563eb !important;
}

html.light .fx-alert-close-btn,
html[data-bs-theme="light"] .fx-alert-close-btn,
.light .fx-alert-close-btn {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #64748b !important;
}

html.light .fx-alert-close-btn:hover,
html[data-bs-theme="light"] .fx-alert-close-btn:hover,
.light .fx-alert-close-btn:hover {
  background: #fee2e2 !important;
  border-color: #fca5a5 !important;
  color: #ef4444 !important;
}

html.light .fx-order-card-header,
html[data-bs-theme="light"] .fx-order-card-header,
.light .fx-order-card-header {
  border-bottom-color: #f1f5f9 !important;
}

html.light .fx-order-title-text,
html[data-bs-theme="light"] .fx-order-title-text,
.light .fx-order-title-text {
  color: #0f172a !important;
}

/* ==========================================================================
   Global Error Alert & Close Button Styles
   ========================================================================== */
.alert-danger,
.fx-alert-glass.alert-danger {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(21, 24, 34, 0.95) 100%) !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
  color: #fca5a5 !important;
  border-radius: 14px !important;
  padding: 12px 16px !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
}

.alert-dismissible {
  position: relative !important;
}

.alert-dismissible .btn-close,
.alert .btn-close {
  position: absolute !important;
  top: 50% !important;
  left: 12px !important;
  transform: translateY(-50%) !important;
  width: 26px !important;
  height: 26px !important;
  background: rgba(255, 255, 255, 0.08) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/0.65em auto no-repeat !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 50% !important;
  opacity: 0.8 !important;
  filter: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  z-index: 10 !important;
  padding: 0 !important;
}

.alert-dismissible .btn-close:hover,
.alert .btn-close:hover {
  opacity: 1 !important;
  background-color: rgba(239, 68, 68, 0.3) !important;
  border-color: #ef4444 !important;
  transform: translateY(-50%) scale(1.1) !important;
}

.fx-order-card {
  background: var(--fx-bg-card, #151822) !important;
  border: 1px solid var(--fx-border, rgba(255, 255, 255, 0.08)) !important;
  border-radius: var(--fx-radius-xl, 20px) !important;
  padding: 24px !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35) !important;
}

.fx-order-card-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding-bottom: 14px !important;
  margin-bottom: 20px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.fx-order-card-title {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #ffffff !important;
  white-space: nowrap !important;
}

.fx-order-card-title h4 {
  color: #ffffff !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

.fx-order-card-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: rgba(16, 185, 129, 0.1) !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  color: #10b981 !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  padding: 4px 10px !important;
  border-radius: 20px !important;
  white-space: nowrap !important;
}

.fx-order-card-badge .fx-pulse-dot {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  box-shadow: 0 0 8px #10b981 !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
}

/* ==========================================================================
   Uniform Order Form Spacing System (Exact Pixel Alignment)
   ========================================================================== */
#order-form {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

#order-form>.form-group:not(.hidden),
#fields>.form-group:not(.hidden),
#fields>div>.form-group:not(.hidden),
.fx-order-card .form-group:not(.hidden) {
  margin-bottom: 20px !important;
  margin-top: 0 !important;
}

#order-form>.form-group:not(.hidden):last-of-type,
#fields>.form-group:not(.hidden):last-of-type {
  margin-bottom: 20px !important;
}

#fields {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Strict Complete Removal of Hidden Elements and Empty Containers */
.hidden,
[hidden],
.form-group.hidden,
#fields .hidden,
#fields .form-group.hidden,
#fields .fields.hidden,
#service_description.hidden,
#order_average_time.hidden,
.depend-fields.hidden,
#dripfeed:empty,
#dripfeed:not(:has(.form-group:not(.hidden))) {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  border: none !important;
}

.fx-order-card label,
.fx-order-card .control-label,
#fields .control-label {
  color: #f1f5f9 !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  margin-top: 0 !important;
  margin-bottom: 8px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.fx-order-card .form-control,
.fx-order-card input[type="text"],
.fx-order-card input[type="number"],
.fx-order-card textarea {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  color: #ffffff !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  padding: 10px 14px !important;
  height: 48px !important;
  transition: all 0.25s ease !important;
  outline: none !important;
  margin: 0 !important;
  display: block !important;
  width: 100% !important;
}

.fx-order-card textarea {
  height: auto !important;
  min-height: 90px !important;
}

.fx-order-card .form-control:focus,
.fx-order-card input[type="text"]:focus,
.fx-order-card input[type="number"]:focus,
.fx-order-card textarea:focus {
  border-color: #f97316 !important;
  box-shadow: 0 0 14px rgba(249, 115, 22, 0.3) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  color: #ffffff !important;
}

.fx-order-card .help-block,
.fx-order-card small,
#fields .help-block,
#fields small {
  color: #94a3b8 !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  margin: 6px 0 0 0 !important;
  padding: 0 !important;
  display: block !important;
}

/* Average Time Field (#order_average_time) */
#order_average_time {
  margin-bottom: 20px !important;
}

#order_average_time .form-control {
  background: rgba(255, 255, 255, 0.02) !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
  color: #e2e8f0 !important;
  font-weight: 700 !important;
  cursor: default !important;
}

#order_average_time .fa-exclamation-circle {
  color: #38bdf8 !important;
  cursor: pointer !important;
}

/* Checkbox & Dripfeed Options Spacing */
.form-group__checkbox {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 6px 0 !important;
}

#dripfeed-options {
  background: rgba(0, 0, 0, 0.25) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  padding: 14px !important;
  margin-top: 10px !important;
  margin-bottom: 10px !important;
}

#dripfeed-options.hidden {
  display: none !important;
}

#service_description {
  margin-bottom: 20px !important;
}

#service_description .panel-body,
.fx-service-desc-box {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.04) 0%, rgba(21, 24, 34, 0.8) 100%) !important;
  border: 1.5px solid rgba(249, 115, 22, 0.25) !important;
  border-radius: 14px !important;
  padding: 14px 16px !important;
  color: #e2e8f0 !important;
  font-size: 0.86rem !important;
  line-height: 1.75 !important;
  max-height: 200px !important;
  overflow-y: auto !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(249, 115, 22, 0.4) rgba(255, 255, 255, 0.02) !important;
  margin: 0 !important;
}

#service_description .panel-body::-webkit-scrollbar,
.fx-service-desc-box::-webkit-scrollbar {
  width: 5px !important;
}

#service_description .panel-body::-webkit-scrollbar-track,
.fx-service-desc-box::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02) !important;
  border-radius: 10px !important;
}

#service_description .panel-body::-webkit-scrollbar-thumb,
.fx-service-desc-box::-webkit-scrollbar-thumb {
  background: rgba(249, 115, 22, 0.45) !important;
  border-radius: 10px !important;
}

#service_description .panel-body::-webkit-scrollbar-thumb:hover,
.fx-service-desc-box::-webkit-scrollbar-thumb:hover {
  background: #f97316 !important;
}

.fx-charge-input,
#charge {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%) !important;
  border: 1.5px solid rgba(249, 115, 22, 0.4) !important;
  color: #f97316 !important;
  font-size: 1.25rem !important;
  font-weight: 900 !important;
  font-family: var(--fx-font-en), monospace !important;
  border-radius: 12px !important;
  height: 50px !important;
  padding: 0 16px !important;
}

.fx-btn-submit-order,
.fx-order-card button[type="submit"] {
  height: 50px !important;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
  border: none !important;
  border-radius: 12px !important;
  color: #ffffff !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-shadow: 0 6px 22px rgba(249, 115, 22, 0.4) !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
  width: 100% !important;
  margin-top: 10px !important;
}

.fx-btn-submit-order:hover,
.fx-order-card button[type="submit"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.55) !important;
  filter: brightness(1.08) !important;
  color: #ffffff !important;
}

.fx-updates-sidebar {
  background: var(--fx-bg-card, #151822) !important;
  border: 1px solid var(--fx-border) !important;
  border-radius: var(--fx-radius-xl, 20px) !important;
  padding: 20px !important;
}

html.light .fx-updates-sidebar,
html[data-bs-theme="light"] .fx-updates-sidebar,
.light .fx-updates-sidebar {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

html.light .fx-updates-sidebar h5,
html.light .fx-updates-sidebar .text-white,
html[data-bs-theme="light"] .fx-updates-sidebar h5,
html[data-bs-theme="light"] .fx-updates-sidebar .text-white,
.light .fx-updates-sidebar h5,
.light .fx-updates-sidebar .text-white {
  color: #0f172a !important;
}

html.light .fx-updates-sidebar .fx-update-item,
html[data-bs-theme="light"] .fx-updates-sidebar .fx-update-item,
.light .fx-updates-sidebar .fx-update-item {
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
}

html.light .fx-updates-sidebar .fx-update-service-link,
html[data-bs-theme="light"] .fx-updates-sidebar .fx-update-service-link,
.light .fx-updates-sidebar .fx-update-service-link {
  color: #0f172a !important;
}

html.light .fx-updates-sidebar .fx-update-service-link:hover,
html[data-bs-theme="light"] .fx-updates-sidebar .fx-update-service-link:hover,
.light .fx-updates-sidebar .fx-update-service-link:hover {
  color: #ea580c !important;
}

html.light .fx-updates-sidebar .fx-toggle-methods-btn,
html[data-bs-theme="light"] .fx-updates-sidebar .fx-toggle-methods-btn,
.light .fx-updates-sidebar .fx-toggle-methods-btn {
  background: #fff7ed !important;
  border: 1.5px solid #fed7aa !important;
  color: #ea580c !important;
  font-weight: 700 !important;
}

.fx-order-success-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(21, 24, 34, 0.95) 100%) !important;
  border: 1.5px solid rgba(16, 185, 129, 0.35) !important;
  border-radius: 16px !important;
  padding: 18px 20px !important;
  position: relative !important;
}

.fx-osc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.fx-osc-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.fx-osc-title {
  color: #ffffff;
  font-weight: 800;
  font-size: 1.05rem;
}

.fx-osc-subtitle {
  color: #94a3b8;
  font-size: 0.78rem;
}

.fx-osc-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px;
}

.fx-osc-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fx-osc-item-full {
  grid-column: span 2;
}

.fx-osc-label {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 700;
}

.fx-osc-value {
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
  word-break: break-all;
}

.fx-osc-id {
  color: #f97316;
}

.fx-osc-charge {
  color: #10b981;
}

.fx-osc-balance {
  color: #38bdf8;
}

/* ==========================================================================
   PerfectPanel Select2 High-Contrast Dark Theme (Complete Overrides)
   ========================================================================== */
.select2-container {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  margin-bottom: 0 !important;
}

.select2-container--default .select2-selection--single,
.select2-selection--single,
.select2-selection.select2-selection--single {
  height: 48px !important;
  min-height: 48px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  transition: all 0.25s ease !important;
  outline: none !important;
  padding: 0 14px 0 36px !important;
  box-shadow: none !important;
  position: relative !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

[dir="ltr"] .select2-container--default .select2-selection--single,
[dir="ltr"] .select2-selection--single,
[dir="ltr"] .select2-selection.select2-selection--single {
  padding: 0 36px 0 14px !important;
}

.select2-container--default .select2-selection--single:focus,
.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--open .select2-selection--single {
  border-color: #f97316 !important;
  box-shadow: 0 0 14px rgba(249, 115, 22, 0.35) !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

.select2-selection__rendered,
.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #ffffff !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 46px !important;
  height: 46px !important;
  display: block !important;
  width: 100% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  text-align: right !important;
  direction: rtl !important;
}

.select2-selection__rendered span,
.select2-selection__rendered .select2-selection__text {
  color: #ffffff !important;
  font-weight: 700 !important;
  display: inline !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 46px !important;
  width: 24px !important;
  left: 12px !important;
  right: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: absolute !important;
  top: 0 !important;
}

[dir="ltr"] .select2-container--default .select2-selection--single .select2-selection__arrow {
  right: 12px !important;
  left: auto !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #f97316 transparent transparent transparent !important;
  border-width: 6px 5px 0 5px !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent #f97316 transparent !important;
  border-width: 0 5px 6px 5px !important;
}

/* Dropdown Container */
.select2-dropdown.dropdown-menu,
.select2-container .select2-dropdown,
.select2-dropdown {
  background-color: #151822 !important;
  background: #151822 !important;
  border: 1.5px solid rgba(249, 115, 22, 0.4) !important;
  border-radius: 14px !important;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.85) !important;
  overflow: hidden !important;
  z-index: 99999 !important;
  margin: 4px 0 0 0 !important;
  padding: 4px 0 !important;
  float: none !important;
}

.select2-search--dropdown {
  padding: 10px 14px !important;
  background: rgba(0, 0, 0, 0.4) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.select2-search--dropdown .select2-search__field {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  font-size: 0.88rem !important;
  padding: 8px 12px !important;
  outline: none !important;
  transition: all 0.2s ease !important;
  text-align: right !important;
  direction: rtl !important;
}

.select2-search--dropdown .select2-search__field:focus {
  border-color: #f97316 !important;
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.35) !important;
}

.select2-results__options.dropdown-menu,
.select2-results__options {
  max-height: 330px !important;
  overflow-y: auto !important;
  padding: 4px 0 !important;
  margin: 0 !important;
  background-color: #151822 !important;
  background: #151822 !important;
  border: none !important;
  box-shadow: none !important;
  list-style: none !important;
}

/* Dropdown Option List Item */
.select2-results__option {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
  transition: all 0.15s ease !important;
  list-style: none !important;
  white-space: normal !important;
}

.select2-results__option:last-child {
  border-bottom: none !important;
}

/* Dropdown Option Anchor Tag (Graceful text wrap) */
.select2-results__option>a {
  color: #f1f5f9 !important;
  text-decoration: none !important;
  display: block !important;
  padding: 9px 12px !important;
  width: 100% !important;
  background: transparent !important;
  box-sizing: border-box !important;
  font-size: 0.84rem !important;
  line-height: 1.6 !important;
  text-align: right !important;
  direction: rtl !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  transition: background 0.15s ease !important;
}

/* Service ID Badges in Selection Box & Dropdown Options */
.select2-selection__id,
.select2-selection__rendered .select2-selection__id,
.select2-results__option .select2-selection__id,
.select2-selection__rendered .badge,
.select2-results__option .badge,
.select2-selection__rendered .label,
.select2-results__option .label {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.25) 0%, rgba(249, 115, 22, 0.12) 100%) !important;
  color: #f97316 !important;
  border: 1px solid rgba(249, 115, 22, 0.4) !important;
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  padding: 3px 8px !important;
  border-radius: 8px !important;
  margin-left: 8px !important;
  margin-right: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
  line-height: normal !important;
  letter-spacing: 0.3px !important;
  box-shadow: 0 0 8px rgba(249, 115, 22, 0.15) !important;
  transition: all 0.2s ease !important;
}

/* Icon Container */
.select2-results__option .select2-selection__icon,
.select2-selection__rendered .select2-selection__icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
  width: 20px !important;
  height: 20px !important;
  margin: 0 0 0 6px !important;
  padding: 0 !important;
}

.select2-results__option img,
.select2-selection__rendered img {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  object-fit: contain !important;
  margin: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

.select2-results__option .fas,
.select2-results__option .fa,
.select2-results__option [class*="fa-"],
.select2-selection__rendered .fas,
.select2-selection__rendered .fa {
  font-size: 0.9rem !important;
  color: #f97316 !important;
  vertical-align: middle !important;
}

/* Text Container */
.select2-results__option .select2-selection__text {
  color: inherit !important;
  font-size: inherit !important;
  font-weight: 600 !important;
  line-height: inherit !important;
  text-align: right !important;
  display: inline !important;
  padding: 0 !important;
  margin: 0 !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

/* Hover & Highlighted State */
.select2-results__option:hover>a,
.select2-results__option.select2-results__option--highlighted>a {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
}

.select2-results__option:hover .select2-selection__id,
.select2-results__option.select2-results__option--highlighted .select2-selection__id,
.select2-results__option:hover .badge,
.select2-results__option.select2-results__option--highlighted .badge {
  background: #f97316 !important;
  color: #ffffff !important;
  border-color: #f97316 !important;
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.5) !important;
}

/* Active / Selected State */
.select2-results__option.active>a,
.select2-results__option[aria-selected="true"]>a,
.select2-results__option--selected>a {
  background: rgba(249, 115, 22, 0.2) !important;
  color: #f97316 !important;
  font-weight: 700 !important;
}

.select2-results__option.active .select2-selection__id,
.select2-results__option[aria-selected="true"] .select2-selection__id,
.select2-results__option.active .badge,
.select2-results__option[aria-selected="true"] .badge {
  background: #f97316 !important;
  color: #ffffff !important;
  border-color: #f97316 !important;
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.5) !important;
}

@media (max-width: 768px) {
  .fx-order-card {
    padding: 16px 14px !important;
    border-radius: 16px !important;
  }

  .fx-order-card-header {
    padding-bottom: 10px !important;
    margin-bottom: 14px !important;
    gap: 6px !important;
  }

  .fx-order-card-title h4 {
    font-size: 0.95rem !important;
  }

  .fx-order-card-badge {
    font-size: 0.68rem !important;
    padding: 3px 7px !important;
    gap: 4px !important;
  }

  .fx-order-card label,
  .fx-order-card .control-label,
  #fields .control-label {
    font-size: 0.82rem !important;
    margin-bottom: 6px !important;
  }

  .fx-order-card .form-control,
  .fx-order-card input[type="text"],
  .fx-order-card input[type="number"],
  .fx-order-card textarea {
    height: 42px !important;
    min-height: 42px !important;
    font-size: 0.84rem !important;
    padding: 0 12px !important;
    border-radius: 10px !important;
  }

  .fx-order-card textarea {
    height: auto !important;
    min-height: 80px !important;
    padding: 10px 12px !important;
  }

  .select2-container--default .select2-selection--single,
  .select2-selection--single,
  .select2-selection.select2-selection--single {
    height: 42px !important;
    min-height: 42px !important;
    font-size: 0.82rem !important;
    padding: 0 12px 0 32px !important;
    border-radius: 10px !important;
  }

  [dir="ltr"] .select2-container--default .select2-selection--single,
  [dir="ltr"] .select2-selection--single,
  [dir="ltr"] .select2-selection.select2-selection--single {
    padding: 0 32px 0 12px !important;
  }

  .select2-selection__rendered,
  .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px !important;
    height: 40px !important;
    font-size: 0.82rem !important;
  }

  .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px !important;
    left: 8px !important;
    right: auto !important;
  }

  [dir="ltr"] .select2-container--default .select2-selection--single .select2-selection__arrow {
    right: 8px !important;
    left: auto !important;
  }

  .select2-selection__id,
  .select2-selection__rendered .select2-selection__id,
  .select2-results__option .select2-selection__id,
  .select2-selection__rendered .badge,
  .select2-results__option .badge {
    font-size: 0.70rem !important;
    padding: 2px 6px !important;
    margin-left: 5px !important;
  }

  #order-form>.form-group,
  #order-form.rtl-form>.form-group,
  .rtl-form .form-group,
  #fields>.form-group,
  #fields>div>.form-group,
  .fx-order-card .form-group,
  #order_average_time,
  #service_description {
    margin-bottom: 14px !important;
    margin-top: 0 !important;
    padding: 0 !important;
  }

  #order-form>.form-group:last-of-type,
  #order-form.rtl-form>.form-group:last-of-type,
  #fields>.form-group:last-of-type {
    margin-bottom: 14px !important;
  }

  .rtl-form .form-group label,
  .rtl-form .control-label,
  .rtl-form .fx-label {
    text-align: right !important;
    direction: rtl !important;
    margin-bottom: 6px !important;
  }

  .rtl-form .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .rtl-form .row>[class*="col-"] {
    padding-left: 4px !important;
    padding-right: 4px !important;
    margin-bottom: 8px !important;
  }

  .rtl-form .row>[class*="col-"]:last-child {
    margin-bottom: 0 !important;
  }

  .fx-service-desc-box,
  #service_description .panel-body {
    font-size: 0.80rem !important;
    line-height: 1.6 !important;
    padding: 12px 14px !important;
    max-height: 160px !important;
  }

  .fx-charge-input,
  #charge {
    font-size: 1.05rem !important;
    height: 44px !important;
  }

  .fx-btn-submit-order {
    height: 44px !important;
    padding: 8px 16px !important;
    font-size: 0.92rem !important;
    border-radius: 10px !important;
    margin-top: 6px !important;
  }

  .fx-order-card .help-block,
  .fx-order-card small,
  #fields .help-block,
  #fields small {
    font-size: 0.74rem !important;
    margin-top: 4px !important;
    text-align: right !important;
    direction: rtl !important;
  }

  .fx-order-success-card {
    padding: 14px !important;
    border-radius: 14px !important;
  }

  .fx-osc-header {
    gap: 10px !important;
    padding-bottom: 12px !important;
    margin-bottom: 12px !important;
  }

  .fx-osc-icon-badge {
    width: 38px !important;
    height: 38px !important;
    font-size: 1.3rem !important;
    border-radius: 10px !important;
  }

  .fx-osc-title {
    font-size: 1rem !important;
  }

  .fx-osc-subtitle {
    font-size: 0.74rem !important;
  }

  .fx-osc-row {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .fx-osc-cell {
    padding: 8px 12px !important;
  }
}

/* ==========================================================================
   Comprehensive Light Mode Design System (New Order & Components)
   ========================================================================== */
html.light .fx-order-card,
html[data-bs-theme="light"] .fx-order-card,
.light .fx-order-card,
html.light .fx-tier-card,
html[data-bs-theme="light"] .fx-tier-card,
.light .fx-tier-card,
html.light .fx-updates-card,
html[data-bs-theme="light"] .fx-updates-card,
.light .fx-updates-card,
html.light .fx-card,
html[data-bs-theme="light"] .fx-card,
.light .fx-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  color: #0f172a !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

html.light .fx-order-card-title h4,
html[data-bs-theme="light"] .fx-order-card-title h4,
.light .fx-order-card-title h4,
html.light .fx-tier-card h6,
html[data-bs-theme="light"] .fx-tier-card h6,
.light .fx-tier-card h6,
html.light .fx-updates-card h6,
html[data-bs-theme="light"] .fx-updates-card h6,
.light .fx-updates-card h6 {
  color: #0f172a !important;
}

html.light .fx-order-card-header,
html[data-bs-theme="light"] .fx-order-card-header,
.light .fx-order-card-header,
html.light .fx-tier-header,
html[data-bs-theme="light"] .fx-tier-header,
.light .fx-tier-header {
  border-bottom-color: #e2e8f0 !important;
}

/* Light Mode Labels */
html.light .fx-order-card label,
html.light .fx-order-card .control-label,
html.light #fields .control-label,
html.light .fx-label,
html.light label,
html[data-bs-theme="light"] .fx-order-card label,
html[data-bs-theme="light"] .fx-order-card .control-label,
html[data-bs-theme="light"] #fields .control-label,
html[data-bs-theme="light"] .fx-label,
html[data-bs-theme="light"] label,
.light .fx-order-card label,
.light .fx-order-card .control-label,
.light #fields .control-label,
.light .fx-label,
.light label {
  color: #1e293b !important;
}

/* Light Mode Inputs, Textarea, Selects & Select2 */
html.light .fx-order-card .form-control,
html.light #order-form .form-control,
html.light #fields .form-control,
html.light .select2-container--default .select2-selection--single,
html[data-bs-theme="light"] .fx-order-card .form-control,
html[data-bs-theme="light"] #order-form .form-control,
html[data-bs-theme="light"] #fields .form-control,
html[data-bs-theme="light"] .select2-container--default .select2-selection--single,
.light .fx-order-card .form-control,
.light #order-form .form-control,
.light #fields .form-control,
.light .select2-container--default .select2-selection--single {
  background: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
}

html.light .select2-container--default .select2-selection--single .select2-selection__rendered,
html[data-bs-theme="light"] .select2-container--default .select2-selection--single .select2-selection__rendered,
.light .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #0f172a !important;
}

html.light .fx-order-card .form-control:focus,
html.light #order-form .form-control:focus,
html.light #fields .form-control:focus,
html.light .select2-container--default.select2-container--open .select2-selection--single,
html[data-bs-theme="light"] .fx-order-card .form-control:focus,
html[data-bs-theme="light"] #order-form .form-control:focus,
html[data-bs-theme="light"] #fields .form-control:focus,
html[data-bs-theme="light"] .select2-container--default.select2-container--open .select2-selection--single,
.light .fx-order-card .form-control:focus,
.light #order-form .form-control:focus,
.light #fields .form-control:focus,
.light .select2-container--default.select2-container--open .select2-selection--single {
  background: #ffffff !important;
  border-color: #f97316 !important;
  color: #0f172a !important;
  box-shadow: 0 0 0 3.5px rgba(249, 115, 22, 0.15) !important;
}

/* ==========================================================================
   Light Mode Select2 Complete Color Theme
   ========================================================================== */
html.light .select2-container--default .select2-selection--single,
html[data-bs-theme="light"] .select2-container--default .select2-selection--single,
.light .select2-container--default .select2-selection--single {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
}

html.light .select2-container--default .select2-selection--single .select2-selection__rendered,
html[data-bs-theme="light"] .select2-container--default .select2-selection--single .select2-selection__rendered,
.light .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #0f172a !important;
}

html.light .select2-container--default .select2-selection--single .select2-selection__rendered .select2-selection__text,
html[data-bs-theme="light"] .select2-container--default .select2-selection--single .select2-selection__rendered .select2-selection__text,
.light .select2-container--default .select2-selection--single .select2-selection__rendered .select2-selection__text {
  color: #0f172a !important;
}

html.light .select2-dropdown,
html.light .select2-results__options.dropdown-menu,
html.light .select2-results__options,
html[data-bs-theme="light"] .select2-dropdown,
html[data-bs-theme="light"] .select2-results__options.dropdown-menu,
html[data-bs-theme="light"] .select2-results__options,
.light .select2-dropdown,
.light .select2-results__options.dropdown-menu,
.light .select2-results__options {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12) !important;
}

html.light .select2-results__option,
html[data-bs-theme="light"] .select2-results__option,
.light .select2-results__option {
  background: transparent !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

html.light .select2-results__option>a,
html.light .select2-results__option .select2-selection__text,
html[data-bs-theme="light"] .select2-results__option>a,
html[data-bs-theme="light"] .select2-results__option .select2-selection__text,
.light .select2-results__option>a,
.light .select2-results__option .select2-selection__text {
  color: #1e293b !important;
}

/* Category Optgroups in Light Mode */
html.light .select2-results__group,
html.light .select2-results__option.select2-results__option--group,
html[data-bs-theme="light"] .select2-results__group,
html[data-bs-theme="light"] .select2-results__option.select2-results__option--group,
.light .select2-results__group,
.light .select2-results__option.select2-results__option--group {
  background: #f1f5f9 !important;
  color: #475569 !important;
  font-weight: 800 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

/* Hover & Highlighted State in Light Mode - Styled identically to Dark Mode */
html.light .select2-results__option:hover,
html.light .select2-results__option:hover>a,
html.light .select2-results__option.select2-results__option--highlighted,
html.light .select2-results__option.select2-results__option--highlighted>a,
html.light .select2-container--default .select2-results__option--highlighted[aria-selected],
html[data-bs-theme="light"] .select2-results__option:hover,
html[data-bs-theme="light"] .select2-results__option:hover>a,
html[data-bs-theme="light"] .select2-results__option.select2-results__option--highlighted,
html[data-bs-theme="light"] .select2-results__option.select2-results__option--highlighted>a,
html[data-bs-theme="light"] .select2-container--default .select2-results__option--highlighted[aria-selected],
.light .select2-results__option:hover,
.light .select2-results__option:hover>a,
.light .select2-results__option.select2-results__option--highlighted,
.light .select2-results__option.select2-results__option--highlighted>a,
.light .select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: #f1f5f9 !important;
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
}

html.light .select2-results__option:hover .select2-selection__id,
html.light .select2-results__option.select2-results__option--highlighted .select2-selection__id,
html.light .select2-results__option:hover .badge,
html.light .select2-results__option.select2-results__option--highlighted .badge,
html[data-bs-theme="light"] .select2-results__option:hover .select2-selection__id,
html[data-bs-theme="light"] .select2-results__option.select2-results__option--highlighted .select2-selection__id,
html[data-bs-theme="light"] .select2-results__option:hover .badge,
html[data-bs-theme="light"] .select2-results__option.select2-results__option--highlighted .badge,
.light .select2-results__option:hover .select2-selection__id,
.light .select2-results__option.select2-results__option--highlighted .select2-selection__id,
.light .select2-results__option:hover .badge,
.light .select2-results__option.select2-results__option--highlighted .badge {
  background: #f97316 !important;
  color: #ffffff !important;
  border-color: #f97316 !important;
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.4) !important;
}

html.light .select2-results__option .select2-selection__text,
html.light .select2-results__option:hover .select2-selection__text,
html.light .select2-results__option.select2-results__option--highlighted .select2-selection__text,
html[data-bs-theme="light"] .select2-results__option .select2-selection__text,
html[data-bs-theme="light"] .select2-results__option:hover .select2-selection__text,
html[data-bs-theme="light"] .select2-results__option.select2-results__option--highlighted .select2-selection__text,
.light .select2-results__option .select2-selection__text,
.light .select2-results__option:hover .select2-selection__text,
.light .select2-results__option.select2-results__option--highlighted .select2-selection__text {
  background: transparent !important;
  background-color: transparent !important;
  color: inherit !important;
}

/* Selected Active State in Light Mode */
html.light .select2-results__option.active>a,
html.light .select2-results__option[aria-selected="true"]>a,
html.light .select2-results__option--selected>a,
html[data-bs-theme="light"] .select2-results__option.active>a,
html[data-bs-theme="light"] .select2-results__option[aria-selected="true"]>a,
html[data-bs-theme="light"] .select2-results__option--selected>a,
.light .select2-results__option.active>a,
.light .select2-results__option[aria-selected="true"]>a,
.light .select2-results__option--selected>a {
  background: #f97316 !important;
  color: #ffffff !important;
}

html.light .select2-results__option.active .select2-selection__text,
html.light .select2-results__option[aria-selected="true"] .select2-selection__text,
html[data-bs-theme="light"] .select2-results__option.active .select2-selection__text,
html[data-bs-theme="light"] .select2-results__option[aria-selected="true"] .select2-selection__text,
.light .select2-results__option.active .select2-selection__text,
.light .select2-results__option[aria-selected="true"] .select2-selection__text {
  color: #ffffff !important;
}

html.light .select2-search--dropdown .select2-search__field,
html[data-bs-theme="light"] .select2-search--dropdown .select2-search__field,
.light .select2-search--dropdown .select2-search__field {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

/* Service ID Badge in Light Mode */
html.light .select2-selection__id,
html.light .select2-selection__rendered .select2-selection__id,
html.light .select2-results__option .select2-selection__id,
html.light .select2-selection__rendered .badge,
html.light .select2-results__option .badge,
html[data-bs-theme="light"] .select2-selection__id,
html[data-bs-theme="light"] .select2-selection__rendered .select2-selection__id,
html[data-bs-theme="light"] .select2-results__option .select2-selection__id,
html[data-bs-theme="light"] .select2-selection__rendered .badge,
html[data-bs-theme="light"] .select2-results__option .badge,
.light .select2-selection__id,
.light .select2-selection__rendered .select2-selection__id,
.light .select2-results__option .select2-selection__id,
.light .select2-selection__rendered .badge,
.light .select2-results__option .badge {
  background: rgba(249, 115, 22, 0.12) !important;
  color: #ea580c !important;
  border: 1px solid rgba(249, 115, 22, 0.35) !important;
}

/* Light Mode Description Box */
html.light #service_description .panel-body,
html.light .fx-service-desc-box,
html[data-bs-theme="light"] #service_description .panel-body,
html[data-bs-theme="light"] .fx-service-desc-box,
.light #service_description .panel-body,
.light .fx-service-desc-box {
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  color: #334155 !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02) !important;
}

/* Light Mode Average Time & Charge Fields */
html.light #order_average_time .form-control,
html.light #order_average_time,
html.light #charge,
html.light #charge_converted,
html[data-bs-theme="light"] #order_average_time .form-control,
html[data-bs-theme="light"] #order_average_time,
html[data-bs-theme="light"] #charge,
html[data-bs-theme="light"] #charge_converted,
.light #order_average_time .form-control,
.light #order_average_time,
.light #charge,
.light #charge_converted {
  color: #0f172a !important;
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
}

/* Light Mode Helper Text */
html.light .fx-help-text,
html.light .help-block,
html.light .text-muted,
html[data-bs-theme="light"] .fx-help-text,
html[data-bs-theme="light"] .help-block,
html[data-bs-theme="light"] .text-muted,
.light .fx-help-text,
.light .help-block,
.light .text-muted {
  color: #64748b !important;
}

/* Light Mode Sidebar & Updates */
html.light .fx-update-item,
html[data-bs-theme="light"] .fx-update-item,
.light .fx-update-item {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

html.light .fx-update-item .text-white,
html[data-bs-theme="light"] .fx-update-item .text-white,
.light .fx-update-item .text-white {
  color: #0f172a !important;
}

html.light .fx-tier-progress-track,
html.light .fx-tier-progress-bar,
html[data-bs-theme="light"] .fx-tier-progress-track,
html[data-bs-theme="light"] .fx-tier-progress-bar,
.light .fx-tier-progress-track,
.light .fx-tier-progress-bar {
  background: #e2e8f0 !important;
}

html.light .fx-tier-badge,
html[data-bs-theme="light"] .fx-tier-badge,
.light .fx-tier-badge {
  background: #fdf4ff !important;
  border: 1px solid #f0abfc !important;
  color: #a855f7 !important;
}

/* Light Mode Platform Filter Pills */
html.light .fx-cat-btn,
html[data-bs-theme="light"] .fx-cat-btn,
.light .fx-cat-btn {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #334155 !important;
}

html.light .fx-cat-btn:hover,
html.light .fx-cat-btn.active,
html[data-bs-theme="light"] .fx-cat-btn:hover,
html[data-bs-theme="light"] .fx-cat-btn.active,
.light .fx-cat-btn:hover,
.light .fx-cat-btn.active {
  background: #f97316 !important;
  border-color: #f97316 !important;
  color: #ffffff !important;
}

/* ==========================================================================
   Light Mode Alerts & Notice Bars (Zero Harsh Shadows)
   ========================================================================== */
html.light .alert,
html.light .fx-alert-glass,
html.light .fx-order-alert,
html[data-bs-theme="light"] .alert,
html[data-bs-theme="light"] .fx-alert-glass,
html[data-bs-theme="light"] .fx-order-alert,
.light .alert,
.light .fx-alert-glass,
.light .fx-order-alert {
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
}

html.light .alert-danger,
html.light .fx-alert-glass.alert-danger,
html.light .fx-order-alert.alert-danger,
html[data-bs-theme="light"] .alert-danger,
html[data-bs-theme="light"] .fx-alert-glass.alert-danger,
html[data-bs-theme="light"] .fx-order-alert.alert-danger,
.light .alert-danger,
.light .fx-alert-glass.alert-danger,
.light .fx-order-alert.alert-danger {
  background: #fef2f2 !important;
  background-color: #fef2f2 !important;
  border: 1.5px solid #fca5a5 !important;
  color: #991b1b !important;
  box-shadow: none !important;
}

html.light .alert-danger span,
html.light .alert-danger div,
html.light .alert-danger p,
html[data-bs-theme="light"] .alert-danger span,
html[data-bs-theme="light"] .alert-danger div,
html[data-bs-theme="light"] .alert-danger p,
.light .alert-danger span,
.light .alert-danger div,
.light .alert-danger p {
  color: #991b1b !important;
  font-weight: 700 !important;
  text-shadow: none !important;
}

html.light .alert-danger iconify-icon,
html[data-bs-theme="light"] .alert-danger iconify-icon,
.light .alert-danger iconify-icon {
  color: #dc2626 !important;
}

html.light .alert-danger .btn-close,
html.light .alert-danger .fx-alert-close-btn,
html[data-bs-theme="light"] .alert-danger .btn-close,
html[data-bs-theme="light"] .alert-danger .fx-alert-close-btn,
.light .alert-danger .btn-close,
.light .alert-danger .fx-alert-close-btn {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  color: #dc2626 !important;
  box-shadow: none !important;
}

html.light .alert-danger .btn-close:hover,
html.light .alert-danger .fx-alert-close-btn:hover,
html[data-bs-theme="light"] .alert-danger .btn-close:hover,
html[data-bs-theme="light"] .alert-danger .fx-alert-close-btn:hover,
.light .alert-danger .btn-close:hover,
.light .alert-danger .fx-alert-close-btn:hover {
  background: rgba(220, 38, 38, 0.12) !important;
  background-color: rgba(220, 38, 38, 0.12) !important;
  border: none !important;
  color: #b91c1c !important;
  transform: scale(1.1) !important;
}

/* Light Mode Success Alert */
html.light .alert-success,
html.light .fx-alert-glass.alert-success,
html.light .fx-order-alert.alert-success,
html[data-bs-theme="light"] .alert-success,
html[data-bs-theme="light"] .fx-alert-glass.alert-success,
html[data-bs-theme="light"] .fx-order-alert.alert-success,
.light .alert-success,
.light .fx-alert-glass.alert-success,
.light .fx-order-alert.alert-success {
  background: #f0fdf4 !important;
  background-color: #f0fdf4 !important;
  border: 1.5px solid #86efac !important;
  color: #15803d !important;
  box-shadow: none !important;
}

html.light .alert-success span,
html.light .alert-success div,
html.light .alert-success p,
html[data-bs-theme="light"] .alert-success span,
html[data-bs-theme="light"] .alert-success div,
html[data-bs-theme="light"] .alert-success p,
.light .alert-success span,
.light .alert-success div,
.light .alert-success p {
  color: #15803d !important;
  font-weight: 700 !important;
  text-shadow: none !important;
}

html.light .alert-success iconify-icon,
html[data-bs-theme="light"] .alert-success iconify-icon,
.light .alert-success iconify-icon {
  color: #16a34a !important;
}

/* Light Mode Info & Warning Alerts */
html.light .alert-info,
html[data-bs-theme="light"] .alert-info,
.light .alert-info {
  background: #f0f9ff !important;
  background-color: #f0f9ff !important;
  border: 1.5px solid #7dd3fc !important;
  color: #0369a1 !important;
  box-shadow: none !important;
}

html.light .alert-info *,
html[data-bs-theme="light"] .alert-info *,
.light .alert-info * {
  color: #0369a1 !important;
  text-shadow: none !important;
}

html.light .alert-warning,
html[data-bs-theme="light"] .alert-warning,
.light .alert-warning {
  background: #fffbeb !important;
  background-color: #fffbeb !important;
  border: 1.5px solid #fcd34d !important;
  color: #b45309 !important;
  box-shadow: none !important;
}

html.light .alert-warning *,
html[data-bs-theme="light"] .alert-warning *,
.light .alert-warning * {
  color: #b45309 !important;
  text-shadow: none !important;
}

/* ==========================================================================
   Comprehensive Light Mode Design for Tables, Services, Orders & Updates
   ========================================================================== */
html.light .fx-orders-header-card,
html[data-bs-theme="light"] .fx-orders-header-card,
.light .fx-orders-header-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-right: 4px solid var(--fx-primary, #f97316) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

[dir="ltr"] html.light .fx-orders-header-card,
[dir="ltr"] html[data-bs-theme="light"] .fx-orders-header-card,
[dir="ltr"] .light .fx-orders-header-card {
  border-right: 1px solid #e2e8f0 !important;
  border-left: 4px solid var(--fx-primary, #f97316) !important;
}

html.light .fx-orders-header-title,
html[data-bs-theme="light"] .fx-orders-header-title,
.light .fx-orders-header-title {
  color: #0f172a !important;
}

html.light .fx-orders-header-subtitle,
html[data-bs-theme="light"] .fx-orders-header-subtitle,
.light .fx-orders-header-subtitle {
  color: #64748b !important;
}

html.light .fx-orders-search-input,
html[data-bs-theme="light"] .fx-orders-search-input,
.light .fx-orders-search-input {
  background: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: none !important;
}

html.light .fx-orders-search-input:focus,
html[data-bs-theme="light"] .fx-orders-search-input:focus,
.light .fx-orders-search-input:focus {
  background: #ffffff !important;
  border-color: #f97316 !important;
  box-shadow: 0 0 0 3.5px rgba(249, 115, 22, 0.15) !important;
}

html.light .fx-orders-tabs-wrapper,
html[data-bs-theme="light"] .fx-orders-tabs-wrapper,
.light .fx-orders-tabs-wrapper {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
}

html.light .fx-dropdown-btn,
html[data-bs-theme="light"] .fx-dropdown-btn,
.light .fx-dropdown-btn {
  background: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #1e293b !important;
}

html.light .fx-dropdown-btn:hover,
html[data-bs-theme="light"] .fx-dropdown-btn:hover,
.light .fx-dropdown-btn:hover {
  background: #ffffff !important;
  border-color: #f97316 !important;
  color: #f97316 !important;
}

/* Light Mode Table Container */
html.light .fx-table-container,
html.light .fx-orders-page .fx-table-container,
html[data-bs-theme="light"] .fx-table-container,
html[data-bs-theme="light"] .fx-orders-page .fx-table-container,
.light .fx-table-container,
.light .fx-orders-page .fx-table-container {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
  border-radius: 16px !important;
}

/* Light Mode Table Headers (thead) */
html.light .fx-orders-table thead,
html.light .fx-orders-table thead tr,
html.light .fx-orders-table th,
html[data-bs-theme="light"] .fx-orders-table thead,
html[data-bs-theme="light"] .fx-orders-table thead tr,
html[data-bs-theme="light"] .fx-orders-table th,
.light .fx-orders-table thead,
.light .fx-orders-table thead tr,
.light .fx-orders-table th {
  background: #f8fafc !important;
  color: #475569 !important;
  font-weight: 800 !important;
  border-bottom: 1.5px solid #e2e8f0 !important;
}

/* Light Mode Category Rows */
html.light .fx-service-category-row,
html.light .fx-service-category-row td,
html[data-bs-theme="light"] .fx-service-category-row,
html[data-bs-theme="light"] .fx-service-category-row td,
.light .fx-service-category-row,
.light .fx-service-category-row td {
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
  border-bottom: 1.5px solid #e2e8f0 !important;
}

html.light .fx-cat-name-text,
html[data-bs-theme="light"] .fx-cat-name-text,
.light .fx-cat-name-text {
  color: #0f172a !important;
  font-weight: 800 !important;
}

html.light .fx-cat-count-badge,
html[data-bs-theme="light"] .fx-cat-count-badge,
.light .fx-cat-count-badge {
  background: rgba(249, 115, 22, 0.1) !important;
  color: #ea580c !important;
  border: 1px solid rgba(249, 115, 22, 0.25) !important;
  font-weight: 700 !important;
}

/* Light Mode Service & Order Rows */
html.light .fx-orders-table td,
html.light .fx-service-row td,
html.light .fx-order-row td,
html[data-bs-theme="light"] .fx-orders-table td,
html[data-bs-theme="light"] .fx-service-row td,
html[data-bs-theme="light"] .fx-order-row td,
.light .fx-orders-table td,
.light .fx-service-row td,
.light .fx-order-row td {
  border-bottom: 1px solid #f1f5f9 !important;
  color: #1e293b !important;
}

html.light .fx-order-row:hover td,
html.light .fx-service-row:hover td,
html[data-bs-theme="light"] .fx-order-row:hover td,
html[data-bs-theme="light"] .fx-service-row:hover td,
.light .fx-order-row:hover td,
.light .fx-service-row:hover td {
  background: #fafaf9 !important;
}

html.light .fx-service-name,
html.light .fx-order-service-name,
html.light a.fx-order-service-name,
html[data-bs-theme="light"] .fx-service-name,
html[data-bs-theme="light"] .fx-order-service-name,
html[data-bs-theme="light"] a.fx-order-service-name,
.light .fx-service-name,
.light .fx-order-service-name,
.light a.fx-order-service-name {
  color: #0f172a !important;
  font-weight: 700 !important;
}

html.light a.fx-order-service-name:hover,
html[data-bs-theme="light"] a.fx-order-service-name:hover,
.light a.fx-order-service-name:hover {
  color: #ea580c !important;
}

html.light .fx-order-id-badge,
html[data-bs-theme="light"] .fx-order-id-badge,
.light .fx-order-id-badge {
  background: #fff7ed !important;
  border: 1px solid rgba(249, 115, 22, 0.3) !important;
  color: #ea580c !important;
  box-shadow: none !important;
}

html.light .fx-order-id-badge .fx-order-id-num,
html[data-bs-theme="light"] .fx-order-id-badge .fx-order-id-num,
.light .fx-order-id-badge .fx-order-id-num {
  color: #ea580c !important;
  font-weight: 800 !important;
}

html.light .fx-order-id-badge:hover,
html.light .fx-service-id-pill:hover,
html.light .fx-service-id-link:hover .fx-service-id-pill,
html[data-bs-theme="light"] .fx-order-id-badge:hover,
html[data-bs-theme="light"] .fx-service-id-pill:hover,
html[data-bs-theme="light"] .fx-service-id-link:hover .fx-service-id-pill,
.light .fx-order-id-badge:hover,
.light .fx-service-id-pill:hover,
.light .fx-service-id-link:hover .fx-service-id-pill {
  background: #ffedd5 !important;
  border-color: #f97316 !important;
  color: #c2410c !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.2) !important;
}

html.light .fx-order-id-badge:hover .fx-order-id-num,
html.light .fx-order-id-badge:hover .fx-id-copy-icon,
html[data-bs-theme="light"] .fx-order-id-badge:hover .fx-order-id-num,
html[data-bs-theme="light"] .fx-order-id-badge:hover .fx-id-copy-icon,
.light .fx-order-id-badge:hover .fx-order-id-num,
.light .fx-order-id-badge:hover .fx-id-copy-icon {
  color: #c2410c !important;
}

html.light .fx-service-rate,
html.light .fx-td-rate,
html[data-bs-theme="light"] .fx-service-rate,
html[data-bs-theme="light"] .fx-td-rate,
.light .fx-service-rate,
.light .fx-td-rate {
  color: #059669 !important;
  font-weight: 800 !important;
}

html.light .fx-service-minmax,
html.light .fx-td-minmax,
html[data-bs-theme="light"] .fx-service-minmax,
html[data-bs-theme="light"] .fx-td-minmax,
.light .fx-service-minmax,
.light .fx-td-minmax {
  color: #334155 !important;
  font-weight: 700 !important;
}

html.light .fx-service-avg-time,
html.light .fx-td-avg-time,
html[data-bs-theme="light"] .fx-service-avg-time,
html[data-bs-theme="light"] .fx-td-avg-time,
.light .fx-service-avg-time,
.light .fx-td-avg-time {
  color: #64748b !important;
  font-weight: 600 !important;
}

/* Light Mode Action Buttons in Tables */
html.light .fx-btn-view-service,
html.light .btn-service-view,
html.light .fx-orders-table .btn:not(.fx-btn-service-order):not(.fx-btn-service-desc),
html[data-bs-theme="light"] .fx-btn-view-service,
html[data-bs-theme="light"] .btn-service-view,
html[data-bs-theme="light"] .fx-orders-table .btn:not(.fx-btn-service-order):not(.fx-btn-service-desc),
.light .fx-btn-view-service,
.light .btn-service-view,
.light .fx-orders-table .btn:not(.fx-btn-service-order):not(.fx-btn-service-desc) {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

html.light .fx-btn-view-service:hover,
html.light .btn-service-view:hover,
html.light .fx-orders-table .btn:not(.fx-btn-service-order):not(.fx-btn-service-desc):hover,
html[data-bs-theme="light"] .fx-btn-view-service:hover,
html[data-bs-theme="light"] .btn-service-view:hover,
html[data-bs-theme="light"] .fx-orders-table .btn:not(.fx-btn-service-order):not(.fx-btn-service-desc):hover,
.light .fx-btn-view-service:hover,
.light .btn-service-view:hover,
.light .fx-orders-table .btn:not(.fx-btn-service-order):not(.fx-btn-service-desc):hover {
  background: #f97316 !important;
  border-color: #f97316 !important;
  color: #ffffff !important;
}

/* Light Mode Quick Order Cart Button (.fx-btn-service-order) */
html.light .fx-btn-service-order,
html.light .fx-orders-table .fx-btn-service-order,
html.light .fx-services-table .fx-btn-service-order,
html.light td.fx-td-actions .fx-btn-service-order,
html[data-bs-theme="light"] .fx-btn-service-order,
html[data-bs-theme="light"] .fx-orders-table .fx-btn-service-order,
html[data-bs-theme="light"] .fx-services-table .fx-btn-service-order,
html[data-bs-theme="light"] td.fx-td-actions .fx-btn-service-order,
.light .fx-btn-service-order,
.light .fx-orders-table .fx-btn-service-order,
.light .fx-services-table .fx-btn-service-order,
.light td.fx-td-actions .fx-btn-service-order {
  background: var(--fx-gradient, linear-gradient(135deg, #ff6200, #ff8c00)) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: var(--fx-radius-xs, 7px) !important;
  box-shadow: 0 3px 10px rgba(249, 115, 22, 0.35) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

html.light .fx-btn-service-order iconify-icon,
html.light .fx-orders-table .fx-btn-service-order iconify-icon,
html.light .fx-services-table .fx-btn-service-order iconify-icon,
html.light td.fx-td-actions .fx-btn-service-order iconify-icon,
html[data-bs-theme="light"] .fx-btn-service-order iconify-icon,
html[data-bs-theme="light"] .fx-orders-table .fx-btn-service-order iconify-icon,
html[data-bs-theme="light"] .fx-services-table .fx-btn-service-order iconify-icon,
html[data-bs-theme="light"] td.fx-td-actions .fx-btn-service-order iconify-icon,
.light .fx-btn-service-order iconify-icon,
.light .fx-orders-table .fx-btn-service-order iconify-icon,
.light .fx-services-table .fx-btn-service-order iconify-icon,
.light td.fx-td-actions .fx-btn-service-order iconify-icon {
  color: #ffffff !important;
}

html.light .fx-btn-service-order:hover,
html.light .fx-orders-table .fx-btn-service-order:hover,
html.light .fx-services-table .fx-btn-service-order:hover,
html[data-bs-theme="light"] .fx-btn-service-order:hover,
.light .fx-btn-service-order:hover {
  background: linear-gradient(135deg, #ea580c, #c2410c) !important;
  color: #ffffff !important;
  box-shadow: 0 5px 16px rgba(249, 115, 22, 0.5) !important;
  transform: translateY(-1px) !important;
}

/* ==========================================================================
   Light Mode Mobile Table Cards & Category Header Customization
   ========================================================================== */
@media (max-width: 768px) {

  html.light .fx-table-container,
  html.light .fx-orders-page .fx-table-container,
  html.light .fx-services-page .fx-table-container,
  html[data-bs-theme="light"] .fx-table-container,
  html[data-bs-theme="light"] .fx-orders-page .fx-table-container,
  html[data-bs-theme="light"] .fx-services-page .fx-table-container,
  .light .fx-table-container,
  .light .fx-orders-page .fx-table-container,
  .light .fx-services-page .fx-table-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  html.light .fx-services-table,
  html.light .fx-services-table tbody,
  html.light .fx-services-table tr.fx-service-category-row,
  html[data-bs-theme="light"] .fx-services-table,
  html[data-bs-theme="light"] .fx-services-table tbody,
  html[data-bs-theme="light"] .fx-services-table tr.fx-service-category-row,
  .light .fx-services-table,
  .light .fx-services-table tbody,
  .light .fx-services-table tr.fx-service-category-row {
    background: transparent !important;
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
  }

  html.light .fx-services-table tr.fx-service-category-row td,
  html[data-bs-theme="light"] .fx-services-table tr.fx-service-category-row td,
  .light .fx-services-table tr.fx-service-category-row td {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: var(--fx-radius-md, 12px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  }

  [dir="ltr"] html.light .fx-services-table tr.fx-service-category-row td,
  [dir="ltr"] html[data-bs-theme="light"] .fx-services-table tr.fx-service-category-row td,
  [dir="ltr"] .light .fx-services-table tr.fx-service-category-row td {
    border: 1.5px solid #e2e8f0 !important;
  }

  html.light .fx-services-table tr.fx-service-category-row .fx-cat-name-text,
  html[data-bs-theme="light"] .fx-services-table tr.fx-service-category-row .fx-cat-name-text,
  .light .fx-services-table tr.fx-service-category-row .fx-cat-name-text {
    color: #0f172a !important;
    font-weight: 800 !important;
  }

  html.light .fx-services-table tr.fx-service-category-row .fx-cat-icon-badge,
  html[data-bs-theme="light"] .fx-services-table tr.fx-service-category-row .fx-cat-icon-badge,
  .light .fx-services-table tr.fx-service-category-row .fx-cat-icon-badge {
    background: #fff7ed !important;
    border: 1px solid #fed7aa !important;
    color: #ea580c !important;
  }

  html.light .fx-services-table tr.fx-service-category-row .fx-cat-count-badge,
  html[data-bs-theme="light"] .fx-services-table tr.fx-service-category-row .fx-cat-count-badge,
  .light .fx-services-table tr.fx-service-category-row .fx-cat-count-badge {
    background: #fff7ed !important;
    border: 1px solid #fed7aa !important;
    color: #ea580c !important;
    font-weight: 700 !important;
  }

  html.light .fx-services-table tr.fx-service-row,
  html.light .fx-orders-table tr.fx-order-row,
  html[data-bs-theme="light"] .fx-services-table tr.fx-service-row,
  html[data-bs-theme="light"] .fx-orders-table tr.fx-order-row,
  .light .fx-services-table tr.fx-service-row,
  .light .fx-orders-table tr.fx-order-row {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
  }

  /* Selected Card State in Light Mode */
  html.light .fx-orders-table tr.fx-order-row.fx-row-selected,
  html[data-bs-theme="light"] .fx-orders-table tr.fx-order-row.fx-row-selected,
  .light .fx-orders-table tr.fx-order-row.fx-row-selected {
    background: #ffffff !important;
    border: 1.5px solid #f97316 !important;
    box-shadow: 0 4px 18px rgba(249, 115, 22, 0.14) !important;
  }

  /* Inner Elements of Card in Light Mode */
  html.light .fx-service-row td.fx-td-rate,
  html.light .fx-service-row td.fx-td-min,
  html.light .fx-service-row td.fx-td-max,
  html.light .fx-service-row td.fx-td-time,
  html.light .fx-order-row td.fx-td-service,
  html.light .fx-order-row td.fx-td-link,
  html.light .fx-order-row td.fx-td-order-id,
  html.light .fx-order-row td.fx-td-date,
  html.light .fx-order-row td.fx-td-stat,
  html[data-bs-theme="light"] .fx-service-row td.fx-td-rate,
  html[data-bs-theme="light"] .fx-service-row td.fx-td-min,
  html[data-bs-theme="light"] .fx-service-row td.fx-td-max,
  html[data-bs-theme="light"] .fx-service-row td.fx-td-time,
  html[data-bs-theme="light"] .fx-order-row td.fx-td-service,
  html[data-bs-theme="light"] .fx-order-row td.fx-td-link,
  html[data-bs-theme="light"] .fx-order-row td.fx-td-order-id,
  html[data-bs-theme="light"] .fx-order-row td.fx-td-date,
  html[data-bs-theme="light"] .fx-order-row td.fx-td-stat,
  .light .fx-service-row td.fx-td-rate,
  .light .fx-service-row td.fx-td-min,
  .light .fx-service-row td.fx-td-max,
  .light .fx-service-row td.fx-td-time,
  .light .fx-order-row td.fx-td-service,
  .light .fx-order-row td.fx-td-link,
  .light .fx-order-row td.fx-td-order-id,
  .light .fx-order-row td.fx-td-date,
  .light .fx-order-row td.fx-td-stat {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
  }

  /* Selected Card Inner Boxes in Light Mode */
  html.light .fx-order-row.fx-row-selected td.fx-td-service,
  html.light .fx-order-row.fx-row-selected td.fx-td-link,
  html.light .fx-order-row.fx-row-selected td.fx-td-order-id,
  html.light .fx-order-row.fx-row-selected td.fx-td-date,
  html.light .fx-order-row.fx-row-selected td.fx-td-stat,
  html[data-bs-theme="light"] .fx-order-row.fx-row-selected td.fx-td-service,
  html[data-bs-theme="light"] .fx-order-row.fx-row-selected td.fx-td-link,
  html[data-bs-theme="light"] .fx-order-row.fx-row-selected td.fx-td-order-id,
  html[data-bs-theme="light"] .fx-order-row.fx-row-selected td.fx-td-date,
  html[data-bs-theme="light"] .fx-order-row.fx-row-selected td.fx-td-stat,
  .light .fx-order-row.fx-row-selected td.fx-td-service,
  .light .fx-order-row.fx-row-selected td.fx-td-link,
  .light .fx-order-row.fx-row-selected td.fx-td-order-id,
  .light .fx-order-row.fx-row-selected td.fx-td-date,
  .light .fx-order-row.fx-row-selected td.fx-td-stat {
    background: #fffaf5 !important;
    border: 1.5px solid #fed7aa !important;
  }

  html.light .fx-order-row td.fx-td-service .fx-order-service-name,
  html[data-bs-theme="light"] .fx-order-row td.fx-td-service .fx-order-service-name,
  .light .fx-order-row td.fx-td-service .fx-order-service-name {
    color: #0f172a !important;
    font-weight: 700 !important;
  }

  html.light .fx-order-row td.fx-td-link .fx-order-link-text,
  html[data-bs-theme="light"] .fx-order-row td.fx-td-link .fx-order-link-text,
  .light .fx-order-row td.fx-td-link .fx-order-link-text {
    color: #ea580c !important;
  }

  html.light .fx-order-row td.fx-td-date .fx-order-date,
  html[data-bs-theme="light"] .fx-order-row td.fx-td-date .fx-order-date,
  .light .fx-order-row td.fx-td-date .fx-order-date {
    color: #475569 !important;
    font-weight: 600 !important;
  }

  html.light .fx-service-row td::before,
  html.light .fx-order-row td::before,
  html[data-bs-theme="light"] .fx-service-row td::before,
  html[data-bs-theme="light"] .fx-order-row td::before,
  .light .fx-service-row td::before,
  .light .fx-order-row td::before {
    color: #64748b !important;
  }
}

/* Light Mode ID badge and Copy Buttons */
html.light .fx-order-id-badge,
html[data-bs-theme="light"] .fx-order-id-badge,
.light .fx-order-id-badge,
html.light .fx-btn-icon-copy,
html[data-bs-theme="light"] .fx-btn-icon-copy,
.light .fx-btn-icon-copy,
html.light .fx-btn-copy-header,
html[data-bs-theme="light"] .fx-btn-copy-header,
.light .fx-btn-copy-header {
  background: #fff7ed !important;
  border: 1px solid #fed7aa !important;
  color: #ea580c !important;
  box-shadow: none !important;
  outline: none !important;
}

html.light .fx-btn-copy-header:focus,
html.light .fx-btn-icon-copy:focus,
html.light .fx-btn-copy-header:focus-visible,
html.light .fx-btn-icon-copy:focus-visible,
html[data-bs-theme="light"] .fx-btn-copy-header:focus,
html[data-bs-theme="light"] .fx-btn-icon-copy:focus,
.light .fx-btn-copy-header:focus,
.light .fx-btn-icon-copy:focus {
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.25) !important;
}

/* Copied State for All Badges and Copy Buttons in Light Mode */
html.light .fx-order-id-badge.copied,
html[data-bs-theme="light"] .fx-order-id-badge.copied,
.light .fx-order-id-badge.copied,
html.light .fx-btn-copy-header.copied,
html[data-bs-theme="light"] .fx-btn-copy-header.copied,
.light .fx-btn-copy-header.copied,
html.light .fx-btn-icon-copy.copied,
html[data-bs-theme="light"] .fx-btn-icon-copy.copied,
.light .fx-btn-icon-copy.copied {
  background: #10b981 !important;
  border-color: #10b981 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35) !important;
  outline: none !important;
}

html.light .fx-order-id-badge.copied .fx-order-id-num,
html.light .fx-order-id-badge.copied .fx-id-copy-icon,
html.light .fx-btn-copy-header.copied iconify-icon,
html.light .fx-btn-icon-copy.copied iconify-icon,
html[data-bs-theme="light"] .fx-order-id-badge.copied .fx-order-id-num,
html[data-bs-theme="light"] .fx-order-id-badge.copied .fx-id-copy-icon,
html[data-bs-theme="light"] .fx-btn-copy-header.copied iconify-icon,
html[data-bs-theme="light"] .fx-btn-icon-copy.copied iconify-icon,
.light .fx-order-id-badge.copied .fx-order-id-num,
.light .fx-order-id-badge.copied .fx-id-copy-icon,
.light .fx-btn-copy-header.copied iconify-icon,
.light .fx-btn-icon-copy.copied iconify-icon {
  color: #ffffff !important;
}

html.light .fx-mobile-select-bar,
html[data-bs-theme="light"] .fx-mobile-select-bar,
.light .fx-mobile-select-bar {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

html.light .fx-mobile-order-count-badge,
html[data-bs-theme="light"] .fx-mobile-order-count-badge,
.light .fx-mobile-order-count-badge {
  background: #fff7ed !important;
  border: 1px solid #fed7aa !important;
  color: #ea580c !important;
}

/* ==========================================================================
   Light Mode Service Description Modal & All Modals
   ========================================================================== */
html.light #serviceDescriptionModal .modal-content,
html.light .modal-content,
html[data-bs-theme="light"] #serviceDescriptionModal .modal-content,
html[data-bs-theme="light"] .modal-content,
.light #serviceDescriptionModal .modal-content,
.light .modal-content {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12) !important;
  color: #0f172a !important;
}

html.light #serviceDescriptionModal .modal-header,
html.light .modal-header,
html[data-bs-theme="light"] #serviceDescriptionModal .modal-header,
html[data-bs-theme="light"] .modal-header,
.light #serviceDescriptionModal .modal-header,
.light .modal-header {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

html.light #serviceDescriptionModal .fx-modal-header-icon,
html[data-bs-theme="light"] #serviceDescriptionModal .fx-modal-header-icon,
.light #serviceDescriptionModal .fx-modal-header-icon {
  background: #fff7ed !important;
  border: 1px solid #fed7aa !important;
  color: #ea580c !important;
  box-shadow: none !important;
}

html.light #serviceDescriptionModal .modal-title,
html.light .modal-title,
html[data-bs-theme="light"] #serviceDescriptionModal .modal-title,
html[data-bs-theme="light"] .modal-title,
.light #serviceDescriptionModal .modal-title,
.light .modal-title {
  color: #0f172a !important;
}

html.light #serviceDescriptionModal .fx-modal-close-btn,
html.light .modal-header .btn-close,
html[data-bs-theme="light"] #serviceDescriptionModal .fx-modal-close-btn,
html[data-bs-theme="light"] .modal-header .btn-close,
.light #serviceDescriptionModal .fx-modal-close-btn,
.light .modal-header .btn-close {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #64748b !important;
}

html.light #serviceDescriptionModal .fx-modal-close-btn:hover,
html[data-bs-theme="light"] #serviceDescriptionModal .fx-modal-close-btn:hover,
.light #serviceDescriptionModal .fx-modal-close-btn:hover {
  background: #fee2e2 !important;
  border-color: #fca5a5 !important;
  color: #dc2626 !important;
}

html.light #serviceDescriptionModal .fx-modal-service-card,
html[data-bs-theme="light"] #serviceDescriptionModal .fx-modal-service-card,
.light #serviceDescriptionModal .fx-modal-service-card {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}

html.light #serviceDescriptionModal .fx-modal-service-id,
html[data-bs-theme="light"] #serviceDescriptionModal .fx-modal-service-id,
.light #serviceDescriptionModal .fx-modal-service-id {
  background: #fff7ed !important;
  border: 1px solid rgba(249, 115, 22, 0.35) !important;
  color: #ea580c !important;
}

html.light #serviceDescriptionModal .fx-modal-service-tag,
html[data-bs-theme="light"] #serviceDescriptionModal .fx-modal-service-tag,
.light #serviceDescriptionModal .fx-modal-service-tag {
  color: #64748b !important;
}

html.light #serviceDescriptionModal .fx-modal-service-title,
html[data-bs-theme="light"] #serviceDescriptionModal .fx-modal-service-title,
.light #serviceDescriptionModal .fx-modal-service-title {
  color: #0f172a !important;
}

html.light #serviceDescriptionModal .fx-modal-desc-box,
html[data-bs-theme="light"] #serviceDescriptionModal .fx-modal-desc-box,
.light #serviceDescriptionModal .fx-modal-desc-box {
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
}

html.light #serviceDescriptionModal .fx-desc-text-content,
html[data-bs-theme="light"] #serviceDescriptionModal .fx-desc-text-content,
.light #serviceDescriptionModal .fx-desc-text-content {
  color: #334155 !important;
}

html.light #serviceDescriptionModal .modal-footer,
html.light .modal-footer,
html[data-bs-theme="light"] #serviceDescriptionModal .modal-footer,
html[data-bs-theme="light"] .modal-footer,
.light #serviceDescriptionModal .modal-footer,
.light .modal-footer {
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
}

html.light #serviceDescriptionModal .fx-modal-cancel-btn,
html[data-bs-theme="light"] #serviceDescriptionModal .fx-modal-cancel-btn,
.light #serviceDescriptionModal .fx-modal-cancel-btn {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
}

html.light #serviceDescriptionModal .fx-modal-cancel-btn:hover,
html[data-bs-theme="light"] #serviceDescriptionModal .fx-modal-cancel-btn:hover,
.light #serviceDescriptionModal .fx-modal-cancel-btn:hover {
  background: #e2e8f0 !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
}

/* ==========================================================================
   Light Mode Guest Mobile Navigation Drawer
   ========================================================================== */
html.light .fx-guest-mobile-menu,
html[data-bs-theme="light"] .fx-guest-mobile-menu,
.light .fx-guest-mobile-menu {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
}

html.light .fx-guest-m-title,
html.light .fx-guest-mobile-menu .fw-bold,
html[data-bs-theme="light"] .fx-guest-m-title,
html[data-bs-theme="light"] .fx-guest-mobile-menu .fw-bold,
.light .fx-guest-m-title,
.light .fx-guest-mobile-menu .fw-bold {
  color: #0f172a !important;
}

html.light .fx-guest-m-link,
html[data-bs-theme="light"] .fx-guest-m-link,
.light .fx-guest-m-link {
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  color: #1e293b !important;
}

html.light .fx-guest-m-link span,
html.light .fx-guest-m-link i,
html.light .fx-guest-m-link iconify-icon,
html[data-bs-theme="light"] .fx-guest-m-link span,
html[data-bs-theme="light"] .fx-guest-m-link i,
html[data-bs-theme="light"] .fx-guest-m-link iconify-icon,
.light .fx-guest-m-link span,
.light .fx-guest-m-link i,
.light .fx-guest-m-link iconify-icon {
  color: #1e293b !important;
}

html.light .fx-guest-m-link:hover,
html[data-bs-theme="light"] .fx-guest-m-link:hover,
.light .fx-guest-m-link:hover {
  background: #fff7ed !important;
  border-color: #f97316 !important;
  color: #ea580c !important;
  transform: translateX(-3px) !important;
}

html.light .fx-guest-m-link:hover span,
html.light .fx-guest-m-link:hover i,
html.light .fx-guest-m-link:hover iconify-icon,
html[data-bs-theme="light"] .fx-guest-m-link:hover span,
html[data-bs-theme="light"] .fx-guest-m-link:hover i,
html[data-bs-theme="light"] .fx-guest-m-link:hover iconify-icon,
.light .fx-guest-m-link:hover span,
.light .fx-guest-m-link:hover i,
.light .fx-guest-m-link:hover iconify-icon {
  color: #ea580c !important;
}

/* ==========================================================================
   Comprehensive Light Mode & Mobile System for API Documentation
   ========================================================================== */
html.light .fx-api-overview-card,
html.light .fx-api-method-card,
html.light .fx-api-footer-card,
html[data-bs-theme="light"] .fx-api-overview-card,
html[data-bs-theme="light"] .fx-api-method-card,
html[data-bs-theme="light"] .fx-api-footer-card,
.light .fx-api-overview-card,
.light .fx-api-method-card,
.light .fx-api-footer-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
  color: #0f172a !important;
}

html.light .fx-api-meta-label,
html[data-bs-theme="light"] .fx-api-meta-label,
.light .fx-api-meta-label {
  color: #64748b !important;
}

html.light .fx-api-endpoint-box,
html[data-bs-theme="light"] .fx-api-endpoint-box,
.light .fx-api-endpoint-box {
  background: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
}

html.light .fx-api-endpoint-box code,
html[data-bs-theme="light"] .fx-api-endpoint-box code,
.light .fx-api-endpoint-box code {
  color: #0284c7 !important;
}

html.light .fx-btn-copy-api,
html[data-bs-theme="light"] .fx-btn-copy-api,
.light .fx-btn-copy-api {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
}

html.light .fx-btn-copy-api:hover,
html[data-bs-theme="light"] .fx-btn-copy-api:hover,
.light .fx-btn-copy-api:hover {
  background: #f97316 !important;
  border-color: #f97316 !important;
  color: #ffffff !important;
}

html.light .fx-api-key-notice,
html[data-bs-theme="light"] .fx-api-key-notice,
.light .fx-api-key-notice {
  background: #fff7ed !important;
  border: 1.5px solid #fed7aa !important;
  color: #9a3412 !important;
}

html.light .fx-api-key-notice a,
html[data-bs-theme="light"] .fx-api-key-notice a,
.light .fx-api-key-notice a {
  color: #ea580c !important;
}

html.light .fx-method-title,
html[data-bs-theme="light"] .fx-method-title,
.light .fx-method-title {
  color: #0f172a !important;
}

html.light .fx-api-method-card .badge,
html[data-bs-theme="light"] .fx-api-method-card .badge,
.light .fx-api-method-card .badge {
  color: #64748b !important;
  background: #f1f5f9 !important;
}

html.light .fx-api-params-table,
html[data-bs-theme="light"] .fx-api-params-table,
.light .fx-api-params-table {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}

html.light .fx-api-params-table th,
html[data-bs-theme="light"] .fx-api-params-table th,
.light .fx-api-params-table th {
  background: #f8fafc !important;
  color: #475569 !important;
  border-bottom: 1.5px solid #e2e8f0 !important;
}

html.light .fx-api-params-table td,
html[data-bs-theme="light"] .fx-api-params-table td,
.light .fx-api-params-table td {
  border-bottom: 1px solid #f1f5f9 !important;
  color: #1e293b !important;
}

html.light .fx-param-code,
html[data-bs-theme="light"] .fx-param-code,
.light .fx-param-code {
  background: #fff7ed !important;
  border: 1px solid rgba(249, 115, 22, 0.3) !important;
  color: #ea580c !important;
}

html.light .fx-param-desc,
html[data-bs-theme="light"] .fx-param-desc,
.light .fx-param-desc {
  color: #334155 !important;
}

html.light .fx-response-label,
html[data-bs-theme="light"] .fx-response-label,
.light .fx-response-label {
  color: #0f172a !important;
}

html.light .fx-api-code-snippet,
html[data-bs-theme="light"] .fx-api-code-snippet,
.light .fx-api-code-snippet {
  background: #0f172a !important;
  border: 1px solid #1e293b !important;
  color: #34d399 !important;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

/* API Responsive Rules for Mobile */
@media (max-width: 768px) {

  .fx-api-page .fx-api-overview-card,
  .fx-api-page .fx-api-method-card,
  .fx-api-page .fx-api-footer-card {
    padding: 1.15rem 1rem !important;
    border-radius: 14px !important;
  }

  .fx-api-endpoint-box {
    flex-wrap: wrap !important;
    padding: 0.5rem 0.75rem !important;
    gap: 8px !important;
  }

  .fx-api-endpoint-box code {
    font-size: 0.82rem !important;
    word-break: break-all !important;
    flex: 1 1 100% !important;
    order: 1 !important;
  }

  .fx-api-endpoint-box .fx-btn-copy-api {
    order: 2 !important;
    margin-right: auto !important;
  }

  .fx-api-response-wrapper .d-flex {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .fx-response-label {
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
    flex: 1 1 auto !important;
  }

  .fx-api-code-snippet {
    padding: 0.85rem 1rem !important;
    font-size: 0.78rem !important;
    border-radius: 10px !important;
  }

  .fx-api-params-table th,
  .fx-api-params-table td {
    padding: 0.6rem 0.75rem !important;
    font-size: 0.82rem !important;
  }
}

/* ==========================================================================
   Light Mode Auth & Hero Stats Widget
   ========================================================================== */
html.light .fx-hero-stats-row,
html[data-bs-theme="light"] .fx-hero-stats-row,
.light .fx-hero-stats-row {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

html.light .fx-stat-num,
html[data-bs-theme="light"] .fx-stat-num,
.light .fx-stat-num {
  color: #0f172a !important;
  font-weight: 900 !important;
}

html.light .fx-stat-lbl,
html[data-bs-theme="light"] .fx-stat-lbl,
.light .fx-stat-lbl {
  color: #475569 !important;
  font-weight: 700 !important;
}

html.light .fx-stat-divider,
html[data-bs-theme="light"] .fx-stat-divider,
.light .fx-stat-divider {
  background: #cbd5e1 !important;
}

html.light .fx-h-badge-pill,
html[data-bs-theme="light"] .fx-h-badge-pill,
.light .fx-h-badge-pill {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #1e293b !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
}

html.light .fx-h-badge-pill span,
html[data-bs-theme="light"] .fx-h-badge-pill span,
.light .fx-h-badge-pill span {
  color: #1e293b !important;
}

/* Light Mode Guest Mobile Header & Drawer Buttons */
html.light .fx-guest-header #themeToggleBtn,
html[data-bs-theme="light"] .fx-guest-header #themeToggleBtn,
.light .fx-guest-header #themeToggleBtn {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

html.light .fx-guest-m-content .fx-icon-btn,
html[data-bs-theme="light"] .fx-guest-m-content .fx-icon-btn,
.light .fx-guest-m-content .fx-icon-btn {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
}

html.light .fx-guest-m-content .fx-icon-btn:hover,
html[data-bs-theme="light"] .fx-guest-m-content .fx-icon-btn:hover,
.light .fx-guest-m-content .fx-icon-btn:hover {
  background: #fee2e2 !important;
  border-color: #fca5a5 !important;
  color: #dc2626 !important;
}

/* API Page Mobile Optimization */
@media (max-width: 768px) {
  .fx-api-page {
    padding-bottom: 95px !important;
  }

  .fx-api-footer-card {
    padding: 1.5rem 1rem !important;
    margin-bottom: 1.5rem !important;
  }

  .fx-api-footer-card h5 {
    font-size: 1.05rem !important;
    line-height: 1.4 !important;
  }

  .fx-btn-api-php {
    width: 100% !important;
    padding: 0.85rem 1.15rem !important;
    font-size: 0.88rem !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
  }
}

/* ==========================================================================
   Light Mode Clean Card & Shadow Standardization
   ========================================================================== */
html.light .fx-massorder-card,
html.light .fx-massorder-guide-card,
html.light .fx-order-card,
html.light .fx-card,
html.light .fx-table-container,
html.light .fx-ticket-chat-card,
html.light .fx-affiliates-intro-card,
html.light .fx-affiliates-stat-card,
html.light .fx-funds-method-card,
html.light .fx-funds-history-card,
html.light .fx-account-card,
html.light .fx-api-overview-card,
html.light .fx-api-method-card,
html.light .fx-api-footer-card,
html.light .fx-tier-card,
html.light .fx-updates-card,
html.light .fx-orders-header-card,
html.light .fx-orders-tabs-wrapper,
html[data-bs-theme="light"] .fx-massorder-card,
html[data-bs-theme="light"] .fx-massorder-guide-card,
html[data-bs-theme="light"] .fx-order-card,
html[data-bs-theme="light"] .fx-card,
html[data-bs-theme="light"] .fx-table-container,
html[data-bs-theme="light"] .fx-ticket-chat-card,
html[data-bs-theme="light"] .fx-affiliates-intro-card,
html[data-bs-theme="light"] .fx-affiliates-stat-card,
html[data-bs-theme="light"] .fx-funds-method-card,
html[data-bs-theme="light"] .fx-funds-history-card,
html[data-bs-theme="light"] .fx-account-card,
html[data-bs-theme="light"] .fx-api-overview-card,
html[data-bs-theme="light"] .fx-api-method-card,
html[data-bs-theme="light"] .fx-api-footer-card,
html[data-bs-theme="light"] .fx-tier-card,
html[data-bs-theme="light"] .fx-updates-card,
html[data-bs-theme="light"] .fx-orders-header-card,
html[data-bs-theme="light"] .fx-orders-tabs-wrapper,
.light .fx-massorder-card,
.light .fx-massorder-guide-card,
.light .fx-order-card,
.light .fx-card,
.light .fx-table-container,
.light .fx-ticket-chat-card,
.light .fx-affiliates-intro-card,
.light .fx-affiliates-stat-card,
.light .fx-funds-method-card,
.light .fx-funds-history-card,
.light .fx-account-card,
.light .fx-api-overview-card,
.light .fx-api-method-card,
.light .fx-api-footer-card,
.light .fx-tier-card,
.light .fx-updates-card,
.light .fx-orders-header-card,
.light .fx-orders-tabs-wrapper {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
  color: #0f172a !important;
}

/* Light Mode Form Controls Across All Pages */
html.light .form-control,
html.light .form-select,
html.light .fx-adv-input,
html.light textarea,
html[data-bs-theme="light"] .form-control,
html[data-bs-theme="light"] .form-select,
html[data-bs-theme="light"] .fx-adv-input,
html[data-bs-theme="light"] textarea,
.light .form-control,
.light .form-select,
.light .fx-adv-input,
.light textarea {
  background: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: none !important;
}

html.light .form-control:focus,
html.light .form-select:focus,
html.light .fx-adv-input:focus,
html.light textarea:focus,
html[data-bs-theme="light"] .form-control:focus,
html[data-bs-theme="light"] .form-select:focus,
html[data-bs-theme="light"] .fx-adv-input:focus,
html[data-bs-theme="light"] textarea:focus,
.light .form-control:focus,
.light .form-select:focus,
.light .fx-adv-input:focus,
.light textarea:focus {
  background: #ffffff !important;
  border-color: #f97316 !important;
  color: #0f172a !important;
  box-shadow: 0 0 0 3.5px rgba(249, 115, 22, 0.15) !important;
}

/* Light Mode Form Labels */
html.light .fx-form-label,
html.light .form-label,
html.light label,
html[data-bs-theme="light"] .fx-form-label,
html[data-bs-theme="light"] .form-label,
html[data-bs-theme="light"] label,
.light .fx-form-label,
.light .form-label,
.light label {
  color: #1e293b !important;
  font-weight: 700 !important;
}

/* Light Mode Ticket ID Badges */
html.light .fx-ticket-id,
html.light .badge-ticket-id,
html[data-bs-theme="light"] .fx-ticket-id,
html[data-bs-theme="light"] .badge-ticket-id,
.light .fx-ticket-id,
.light .badge-ticket-id {
  background: #fff7ed !important;
  border: 1px solid rgba(249, 115, 22, 0.3) !important;
  color: #ea580c !important;
  font-weight: 800 !important;
}

/* ==========================================================================
   Comprehensive Light Mode System for Add Funds (شحن الرصيد والدفع)
   ========================================================================== */

/* Main Card Container */
html.light .fx-addfunds-main-card,
html[data-bs-theme="light"] .fx-addfunds-main-card,
.light .fx-addfunds-main-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

/* 1. Current Balance Pill in Header */
html.light .fx-addfunds-balance-pill,
html[data-bs-theme="light"] .fx-addfunds-balance-pill,
.light .fx-addfunds-balance-pill {
  background: #fff7ed !important;
  border: 1.5px solid #fed7aa !important;
  box-shadow: 0 2px 10px rgba(249, 115, 22, 0.06) !important;
}

html.light .fx-balance-pill-label,
html[data-bs-theme="light"] .fx-balance-pill-label,
.light .fx-balance-pill-label {
  color: #9a3412 !important;
  font-weight: 700 !important;
}

html.light .fx-balance-pill-val,
html[data-bs-theme="light"] .fx-balance-pill-val,
.light .fx-balance-pill-val {
  color: #ea580c !important;
  font-weight: 900 !important;
}

html.light .fx-balance-pill-icon,
html[data-bs-theme="light"] .fx-balance-pill-icon,
.light .fx-balance-pill-icon {
  background: #ffedd5 !important;
  color: #ea580c !important;
  border: 1px solid rgba(249, 115, 22, 0.3) !important;
}

/* 2. Step Titles & Badges */
html.light .fx-step-badge,
html[data-bs-theme="light"] .fx-step-badge,
.light .fx-step-badge {
  background: var(--fx-gradient, #f97316) !important;
  color: #ffffff !important;
}

html.light .fx-step-title,
html[data-bs-theme="light"] .fx-step-title,
.light .fx-step-title {
  color: #0f172a !important;
  font-weight: 800 !important;
}

/* 3. Payment Method Items (Grid / List) */
html.light .fx-payment-item,
html[data-bs-theme="light"] .fx-payment-item,
.light .fx-payment-item {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
}

html.light .fx-payment-title-text,
html[data-bs-theme="light"] .fx-payment-title-text,
.light .fx-payment-title-text {
  color: #1e293b !important;
  font-weight: 800 !important;
}

html.light .fx-payment-item:hover,
html[data-bs-theme="light"] .fx-payment-item:hover,
.light .fx-payment-item:hover {
  background: #fff7ed !important;
  border-color: #fdba74 !important;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.12) !important;
}

html.light .fx-payment-item:hover .fx-payment-title-text,
html[data-bs-theme="light"] .fx-payment-item:hover .fx-payment-title-text,
.light .fx-payment-item:hover .fx-payment-title-text {
  color: #ea580c !important;
}

/* Active Selected Payment Method */
html.light .fx-payment-item.active,
html[data-bs-theme="light"] .fx-payment-item.active,
.light .fx-payment-item.active {
  background: #fff7ed !important;
  border-color: #f97316 !important;
  box-shadow: 0 4px 18px rgba(249, 115, 22, 0.18) !important;
}

html.light .fx-payment-item.active .fx-payment-title-text,
html[data-bs-theme="light"] .fx-payment-item.active .fx-payment-title-text,
.light .fx-payment-item.active .fx-payment-title-text {
  color: #ea580c !important;
  font-weight: 900 !important;
}

/* Radio Circles & Logos */
html.light .fx-payment-radio-circle,
html[data-bs-theme="light"] .fx-payment-radio-circle,
.light .fx-payment-radio-circle {
  border: 2px solid #cbd5e1 !important;
  background: #ffffff !important;
}

html.light .fx-payment-item.active .fx-payment-radio-circle,
html[data-bs-theme="light"] .fx-payment-item.active .fx-payment-radio-circle,
.light .fx-payment-item.active .fx-payment-radio-circle {
  border-color: #f97316 !important;
}

html.light .fx-payment-logo-wrap,
html[data-bs-theme="light"] .fx-payment-logo-wrap,
.light .fx-payment-logo-wrap {
  background: transparent !important;
  border: none !important;
}

/* 4. Toggle More Methods Button */
html.light .fx-toggle-methods-btn,
html[data-bs-theme="light"] .fx-toggle-methods-btn,
.light .fx-toggle-methods-btn {
  background: #f8fafc !important;
  border: 1.5px dashed #fed7aa !important;
  color: #ea580c !important;
}

html.light .fx-toggle-methods-btn:hover,
html[data-bs-theme="light"] .fx-toggle-methods-btn:hover,
.light .fx-toggle-methods-btn:hover {
  background: #fff7ed !important;
  border-color: #f97316 !important;
  color: #ea580c !important;
}

/* 5. Instructions Box / Notes */
html.light .form-group.instruction,
html.light #instruction_instruction,
html.light #instruction_instruction .well,
html.light #instructions,
html.light .fx-manual-instructions-card,
html.light .fx-instructions-content .well,
html[data-bs-theme="light"] .form-group.instruction,
html[data-bs-theme="light"] #instruction_instruction,
html[data-bs-theme="light"] #instruction_instruction .well,
html[data-bs-theme="light"] #instructions,
html[data-bs-theme="light"] .fx-manual-instructions-card,
html[data-bs-theme="light"] .fx-instructions-content .well,
.light .form-group.instruction,
.light #instruction_instruction,
.light #instruction_instruction .well,
.light #instructions,
.light .fx-manual-instructions-card,
.light .fx-instructions-content .well {
  color: #334155 !important;
}

/* 6. Quick Amount Preset Chips */
html.light .fx-quick-label,
html[data-bs-theme="light"] .fx-quick-label,
.light .fx-quick-label {
  color: #64748b !important;
}

html.light .fx-amount-chip,
html[data-bs-theme="light"] .fx-amount-chip,
.light .fx-amount-chip {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #1e293b !important;
}

html.light .fx-amount-chip:hover,
html[data-bs-theme="light"] .fx-amount-chip:hover,
.light .fx-amount-chip:hover {
  background: #fff7ed !important;
  border-color: #fdba74 !important;
  color: #ea580c !important;
}

html.light .fx-amount-chip.active,
html[data-bs-theme="light"] .fx-amount-chip.active,
.light .fx-amount-chip.active {
  background: #f97316 !important;
  border-color: #f97316 !important;
  color: #ffffff !important;
}

/* 7. Amount Input */
html.light .fx-amount-input,
html[data-bs-theme="light"] .fx-amount-input,
.light .fx-amount-input {
  background: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
}

html.light .fx-amount-input:focus,
html[data-bs-theme="light"] .fx-amount-input:focus,
.light .fx-amount-input:focus {
  background: #ffffff !important;
  border-color: #f97316 !important;
  box-shadow: 0 0 0 3.5px rgba(249, 115, 22, 0.15) !important;
}

html.light .fx-amount-calc-icon,
html[data-bs-theme="light"] .fx-amount-calc-icon,
.light .fx-amount-calc-icon {
  color: #94a3b8 !important;
}

/* 8. Payments History Table */
html.light .fx-payments-table thead th,
html[data-bs-theme="light"] .fx-payments-table thead th,
.light .fx-payments-table thead th {
  background: #f8fafc !important;
  color: #475569 !important;
  border-bottom: 1.5px solid #e2e8f0 !important;
}

html.light .fx-payments-table tbody td,
html[data-bs-theme="light"] .fx-payments-table tbody td,
.light .fx-payments-table tbody td {
  border-bottom: 1px solid #f1f5f9 !important;
  color: #1e293b !important;
}

html.light .fx-payment-method-badge,
html[data-bs-theme="light"] .fx-payment-method-badge,
.light .fx-payment-method-badge {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #1e293b !important;
}

/* Mobile Payments Table Cards in Light Mode */
@media (max-width: 768px) {

  html.light .fx-addfunds-page .fx-table-container,
  html[data-bs-theme="light"] .fx-addfunds-page .fx-table-container,
  .light .fx-addfunds-page .fx-table-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  html.light .fx-payments-table tbody tr,
  html[data-bs-theme="light"] .fx-payments-table tbody tr,
  .light .fx-payments-table tbody tr {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
  }

  html.light .fx-payments-table tbody td,
  html[data-bs-theme="light"] .fx-payments-table tbody td,
  .light .fx-payments-table tbody td {
    border-bottom: 1px dashed #e2e8f0 !important;
  }

  html.light .fx-payments-table tbody td:before,
  html[data-bs-theme="light"] .fx-payments-table tbody td:before,
  .light .fx-payments-table tbody td:before {
    color: #64748b !important;
    font-weight: 700 !important;
  }

  html.light .fx-btn-invoice,
  html[data-bs-theme="light"] .fx-btn-invoice,
  .light .fx-btn-invoice {
    background: #fff7ed !important;
    border: 1px solid #fed7aa !important;
    color: #ea580c !important;
  }
}

/* ==========================================================================
   Light Mode for Vodafone Cash & Manual Wallets (fx-vf-*)
   ========================================================================== */
html.light .fx-vf-gateway,
html[data-bs-theme="light"] .fx-vf-gateway,
.light .fx-vf-gateway {
  color: #1e293b !important;
}

/* Rate Card */
html.light .fx-vf-rate-card,
html[data-bs-theme="light"] .fx-vf-rate-card,
.light .fx-vf-rate-card {
  background: #ecfdf5 !important;
  border: 1.5px solid #a7f3d0 !important;
  box-shadow: none !important;
}

html.light .fx-vf-rate-title,
html[data-bs-theme="light"] .fx-vf-rate-title,
.light .fx-vf-rate-title {
  color: #065f46 !important;
}

html.light .fx-vf-rate-val font,
html[data-bs-theme="light"] .fx-vf-rate-val font,
.light .fx-vf-rate-val font,
html.light .fx-rate-base,
html.light .fx-rate-eq,
html.light .fx-rate-val,
html[data-bs-theme="light"] .fx-rate-base,
html[data-bs-theme="light"] .fx-rate-eq,
html[data-bs-theme="light"] .fx-rate-val,
.light .fx-rate-base,
.light .fx-rate-eq,
.light .fx-rate-val {
  color: #047857 !important;
}

/* Wallet Box & Copy */
html.light .fx-vf-wallet-card,
html[data-bs-theme="light"] .fx-vf-wallet-card,
.light .fx-vf-wallet-card {
  background: transparent !important;
  border: none !important;
}

html.light .fx-vf-wallet-title,
html[data-bs-theme="light"] .fx-vf-wallet-title,
.light .fx-vf-wallet-title {
  color: #475569 !important;
  font-weight: 700 !important;
}

html.light .fx-vf-wallet-copy-wrap,
html[data-bs-theme="light"] .fx-vf-wallet-copy-wrap,
.light .fx-vf-wallet-copy-wrap {
  background: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: none !important;
}

html.light .fx-vf-wallet-number,
html.light .fx-vf-wallet-number b,
html.light .fx-vf-wallet-number #numbercash0,
html[data-bs-theme="light"] .fx-vf-wallet-number,
html[data-bs-theme="light"] .fx-vf-wallet-number b,
html[data-bs-theme="light"] .fx-vf-wallet-number #numbercash0,
.light .fx-vf-wallet-number,
.light .fx-vf-wallet-number b,
.light .fx-vf-wallet-number #numbercash0 {
  color: #0f172a !important;
  font-weight: 900 !important;
}

/* Steps List */
html.light .fx-vf-steps-list,
html[data-bs-theme="light"] .fx-vf-steps-list,
.light .fx-vf-steps-list {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}

html.light .fx-vf-step-item,
html[data-bs-theme="light"] .fx-vf-step-item,
.light .fx-vf-step-item {
  color: #334155 !important;
}

html.light .fx-vf-step-item strong,
html[data-bs-theme="light"] .fx-vf-step-item strong,
.light .fx-vf-step-item strong {
  color: #0f172a !important;
}

html.light .fx-vf-step-num,
html[data-bs-theme="light"] .fx-vf-step-num,
.light .fx-vf-step-num {
  background: #ffedd5 !important;
  color: #ea580c !important;
}

/* Alert Box */
html.light .fx-vf-alert-box,
html[data-bs-theme="light"] .fx-vf-alert-box,
.light .fx-vf-alert-box {
  background: #fffbeb !important;
  border: 1.5px solid #fde68a !important;
  color: #b45309 !important;
  font-weight: 700 !important;
}

/* Help Links */
html.light .fx-vf-help-links,
html[data-bs-theme="light"] .fx-vf-help-links,
.light .fx-vf-help-links {
  color: #64748b !important;
}

/* Form Inputs & Labels */
html.light .fx-vf-label,
html[data-bs-theme="light"] .fx-vf-label,
.light .fx-vf-label {
  color: #1e293b !important;
  font-weight: 700 !important;
}

html.light .fx-vf-input,
html[data-bs-theme="light"] .fx-vf-input,
.light .fx-vf-input {
  background: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
}

html.light .fx-vf-input:focus,
html[data-bs-theme="light"] .fx-vf-input:focus,
.light .fx-vf-input:focus {
  background: #ffffff !important;
  border-color: #f97316 !important;
  box-shadow: 0 0 0 3.5px rgba(249, 115, 22, 0.15) !important;
}

/* ==========================================================================
   Light Mode for InstaPay Gateway (fx-ip-*)
   ========================================================================== */
html.light .fx-ip-gateway,
html[data-bs-theme="light"] .fx-ip-gateway,
.light .fx-ip-gateway {
  color: #1e293b !important;
}

html.light .fx-ip-title,
html[data-bs-theme="light"] .fx-ip-title,
.light .fx-ip-title {
  color: #0f172a !important;
}

/* Address Card & Copy Box */
html.light .fx-ip-address-card,
html[data-bs-theme="light"] .fx-ip-address-card,
.light .fx-ip-address-card {
  background: transparent !important;
  border: none !important;
}

html.light .fx-ip-address-label,
html[data-bs-theme="light"] .fx-ip-address-label,
.light .fx-ip-address-label {
  color: #475569 !important;
  font-weight: 700 !important;
}

html.light .fx-ip-address-box,
html[data-bs-theme="light"] .fx-ip-address-box,
.light .fx-ip-address-box {
  background: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: none !important;
}

html.light .fx-ip-address-text,
html[data-bs-theme="light"] .fx-ip-address-text,
.light .fx-ip-address-text {
  color: #0f172a !important;
  font-weight: 900 !important;
}

/* Bonus Card */
html.light .fx-ip-bonus-card,
html[data-bs-theme="light"] .fx-ip-bonus-card,
.light .fx-ip-bonus-card {
  background: #fffbeb !important;
  border: 1.5px solid #fde68a !important;
  box-shadow: none !important;
}

html.light .fx-ip-bonus-badge,
html[data-bs-theme="light"] .fx-ip-bonus-badge,
.light .fx-ip-bonus-badge {
  color: #b45309 !important;
}

html.light .fx-ip-bonus-info,
html[data-bs-theme="light"] .fx-ip-bonus-info,
.light .fx-ip-bonus-info {
  color: #92400e !important;
  font-weight: 600 !important;
}

html.light .fx-ip-no-fees,
html[data-bs-theme="light"] .fx-ip-no-fees,
.light .fx-ip-no-fees {
  background: #dcfce7 !important;
  border: 1px solid #86efac !important;
  color: #15803d !important;
  font-weight: 700 !important;
}

/* Steps Card */
html.light .fx-ip-steps-card,
html[data-bs-theme="light"] .fx-ip-steps-card,
.light .fx-ip-steps-card {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}

/* Light Mode Alert Message for Wallet App */
html.light .fx-vf-gateway #message,
html[data-bs-theme="light"] .fx-vf-gateway #message,
.light .fx-vf-gateway #message {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

html.light .fx-vf-gateway #message .alert-danger,
html[data-bs-theme="light"] .fx-vf-gateway #message .alert-danger,
.light .fx-vf-gateway #message .alert-danger {
  background: #fef2f2 !important;
  border: 1.5px solid #fecaca !important;
  color: #dc2626 !important;
  box-shadow: none !important;
  text-align: center !important;
}

html.light .fx-vf-gateway #message .alert-success,
html[data-bs-theme="light"] .fx-vf-gateway #message .alert-success,
.light .fx-vf-gateway #message .alert-success {
  background: #ecfdf5 !important;
  border: 1.5px solid #a7f3d0 !important;
  color: #059669 !important;
  box-shadow: none !important;
  text-align: center !important;
}

/* ==========================================================================
   Comprehensive Light Mode & Mobile Overhaul for Tickets Page (.fx-tickets-page)
   ========================================================================== */

/* 1. Ticket Form Inputs & Textarea */
html.light .fx-tickets-page .fx-massorder-card,
html[data-bs-theme="light"] .fx-tickets-page .fx-massorder-card,
.light .fx-tickets-page .fx-massorder-card {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

html.light .fx-tickets-page .form-control,
html.light .fx-tickets-page .form-select,
html.light .fx-tickets-page .fx-adv-input,
html.light .fx-tickets-page textarea#message,
html.light #ticketsend textarea,
html.light #ticketsend input[type="text"],
html.light #ticketsend select,
html[data-bs-theme="light"] .fx-tickets-page textarea#message,
html[data-bs-theme="light"] #ticketsend textarea,
.light .fx-tickets-page textarea#message,
.light #ticketsend textarea {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
  font-size: 0.88rem !important;
}

html.light .fx-tickets-page textarea#message:focus,
html.light #ticketsend textarea:focus,
html.light #ticketsend input[type="text"]:focus,
html.light #ticketsend select:focus,
html[data-bs-theme="light"] .fx-tickets-page textarea#message:focus,
.light .fx-tickets-page textarea#message:focus {
  background: #ffffff !important;
  border-color: #f97316 !important;
  box-shadow: 0 0 0 3.5px rgba(249, 115, 22, 0.15) !important;
}

html.light .fx-tickets-page textarea#message::placeholder,
html.light #ticketsend textarea::placeholder,
html.light #ticketsend input::placeholder {
  color: #94a3b8 !important;
}

/* 2. File Uploader in Tickets */
html.light .tickets-uploader,
html[data-bs-theme="light"] .tickets-uploader,
.light .tickets-uploader {
  background: #f8fafc !important;
  border: 1.5px dashed #cbd5e1 !important;
  border-radius: 12px !important;
  padding: 14px 18px !important;
  color: #334155 !important;
  transition: all var(--fx-transition) !important;
}

html.light .tickets-uploader:hover,
html[data-bs-theme="light"] .tickets-uploader:hover,
.light .tickets-uploader:hover {
  background: #fffaf5 !important;
  border-color: #f97316 !important;
}

html.light .tickets-uploader button,
html.light .tickets-uploader .btn {
  background: #ffffff !important;
  border: 1.5px solid #fed7aa !important;
  color: #ea580c !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
}

/* 3. Tickets Sidebar Search Field */
.fx-tickets-page .fx-orders-search-box {
  position: relative !important;
}

.fx-tickets-page .fx-orders-search-input {
  padding-right: 44px !important;
  padding-left: 14px !important;
  height: 42px !important;
  border-radius: 10px !important;
  font-size: 0.86rem !important;
}

.fx-tickets-page .fx-orders-search-icon {
  position: absolute !important;
  right: 14px !important;
  left: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: var(--fx-primary, #f97316) !important;
  font-size: 1.15rem !important;
  z-index: 5 !important;
  pointer-events: auto !important;
}

[dir="ltr"] .fx-tickets-page .fx-orders-search-input {
  padding-left: 44px !important;
  padding-right: 14px !important;
}

[dir="ltr"] .fx-tickets-page .fx-orders-search-icon {
  left: 14px !important;
  right: auto !important;
}

html.light .fx-tickets-page .fx-orders-search-input,
html[data-bs-theme="light"] .fx-tickets-page .fx-orders-search-input,
.light .fx-tickets-page .fx-orders-search-input {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
}

html.light .fx-tickets-page .fx-orders-search-input:focus,
html[data-bs-theme="light"] .fx-tickets-page .fx-orders-search-input:focus,
.light .fx-tickets-page .fx-orders-search-input:focus {
  border-color: #f97316 !important;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15) !important;
}

/* 4. Ticket Table Cards & Inner Row Styling */
.fx-tickets-table td.fx-td-date,
html.light .fx-tickets-table td.fx-td-date,
html.light .fx-tickets-table .fx-order-row td.fx-td-date,
html[data-bs-theme="light"] .fx-tickets-table td.fx-td-date,
html[data-bs-theme="light"] .fx-tickets-table .fx-order-row td.fx-td-date,
.light .fx-tickets-table td.fx-td-date,
.light .fx-tickets-table .fx-order-row td.fx-td-date {
  background: transparent !important;
  border: none !important;
  border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
  padding: 10px 0 0 0 !important;
  box-shadow: none !important;
}

html.light .fx-tickets-table td.fx-td-date,
html.light .fx-tickets-table .fx-order-row td.fx-td-date,
html[data-bs-theme="light"] .fx-tickets-table td.fx-td-date,
.light .fx-tickets-table td.fx-td-date {
  border-top: 1px solid #f1f5f9 !important;
}

html.light .fx-tickets-table .fx-order-id-badge,
html[data-bs-theme="light"] .fx-tickets-table .fx-order-id-badge,
.light .fx-tickets-table .fx-order-id-badge {
  background: #fff7ed !important;
  border: 1.5px solid #fed7aa !important;
  color: #ea580c !important;
  font-weight: 800 !important;
  border-radius: 8px !important;
}

html.light .fx-tickets-table .fx-ticket-title-link,
html[data-bs-theme="light"] .fx-tickets-table .fx-ticket-title-link,
.light .fx-tickets-table .fx-ticket-title-link {
  color: #0f172a !important;
  font-weight: 800 !important;
}

/* ==================== TICKETS TABLE DESKTOP VS MOBILE LAYOUT ==================== */

/* Desktop Layout (min-width: 769px): Unified Luxury Card */
@media (min-width: 769px) {
  .fx-tickets-page .fx-table-container {
    background: var(--fx-bg-card, #151822) !important;
    border: 1.5px solid var(--fx-border) !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
    overflow: hidden !important;
    padding: 0 !important;
  }

  html.light .fx-tickets-page .fx-table-container,
  html[data-bs-theme="light"] .fx-tickets-page .fx-table-container,
  .light .fx-tickets-page .fx-table-container {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
  }

  .fx-tickets-page .fx-table-container>.d-flex:first-child,
  .fx-tickets-page .fx-table-container>div:first-child {
    background: transparent !important;
    border: none !important;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 0 !important;
    margin-bottom: 0 !important;
    padding: 1.15rem 1.35rem !important;
    box-shadow: none !important;
  }

  html.light .fx-tickets-page .fx-table-container>.d-flex:first-child,
  html.light .fx-tickets-page .fx-table-container>div:first-child,
  html[data-bs-theme="light"] .fx-tickets-page .fx-table-container>.d-flex:first-child,
  html[data-bs-theme="light"] .fx-tickets-page .fx-table-container>div:first-child,
  .light .fx-tickets-page .fx-table-container>.d-flex:first-child,
  .light .fx-tickets-page .fx-table-container>div:first-child {
    background: #ffffff !important;
    border-bottom: 1.5px solid #f1f5f9 !important;
  }

  .fx-tickets-table tbody tr td {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding: 1.1rem 1.25rem !important;
  }

  html.light .fx-tickets-table tbody tr td,
  html[data-bs-theme="light"] .fx-tickets-table tbody tr td,
  .light .fx-tickets-table tbody tr td {
    border-bottom: 1px solid #f1f5f9 !important;
    color: #334155 !important;
  }

  .fx-tickets-table td.fx-td-date {
    min-width: 180px !important;
    width: 190px !important;
    white-space: nowrap !important;
  }

  .fx-tickets-table td.fx-td-date .d-flex {
    gap: 16px !important;
  }
}

/* Mobile Layout (max-width: 768px): Individual Floating Cards */
@media (max-width: 768px) {
  .fx-tickets-page .fx-table-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  .fx-tickets-page .fx-table-container>.d-flex:first-child,
  .fx-tickets-page .fx-table-container>div:first-child {
    background: var(--fx-bg-card, #151822) !important;
    border: 1.5px solid var(--fx-border) !important;
    border-radius: var(--fx-radius-md, 14px) !important;
    margin-bottom: 12px !important;
    padding: 0.95rem 1.15rem !important;
  }

  html.light .fx-tickets-page .fx-table-container>.d-flex:first-child,
  html.light .fx-tickets-page .fx-table-container>div:first-child,
  html[data-bs-theme="light"] .fx-tickets-page .fx-table-container>.d-flex:first-child,
  html[data-bs-theme="light"] .fx-tickets-page .fx-table-container>div:first-child,
  .light .fx-tickets-page .fx-table-container>.d-flex:first-child,
  .light .fx-tickets-page .fx-table-container>div:first-child {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
  }

  .fx-tickets-table .fx-order-row {
    background: var(--fx-bg-card, #151822) !important;
    border: 1.5px solid var(--fx-border) !important;
    border-radius: 16px !important;
    margin-bottom: 12px !important;
    padding: 1rem !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25) !important;
  }

  html.light .fx-tickets-table .fx-order-row,
  html[data-bs-theme="light"] .fx-tickets-table .fx-order-row,
  .light .fx-tickets-table .fx-order-row {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
  }
}

/* ==========================================================================
   Platform Live Services Search Dropdown (.search-dropdown & #new-order-search)
   ========================================================================== */
.search-dropdown,
#new-order-search {
  position: relative !important;
  width: 100% !important;
}

.search-dropdown .input-wrapper,
#new-order-search .input-wrapper {
  position: relative !important;
  width: 100% !important;
  display: block !important;
}

/* Position search button / icon on the RIGHT in RTL (48px Touch Target) */
.search-dropdown .input-wrapper button,
.search-dropdown .input-wrapper__prepend,
.search-dropdown button.input-wrapper__prepend,
#new-order-search .input-wrapper button {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  right: 14px !important;
  left: auto !important;
  z-index: 10 !important;
  pointer-events: none !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  color: var(--fx-primary, #f97316) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.1rem !important;
  line-height: 1 !important;
}

.search-dropdown .input-wrapper button .fas,
.search-dropdown .input-wrapper button span,
.search-dropdown .input-wrapper button iconify-icon,
.search-dropdown .input-wrapper__prepend span,
.search-dropdown .input-wrapper__prepend .fas {
  color: var(--fx-primary, #f97316) !important;
  font-size: 1.05rem !important;
}

/* Search input touch target & spacing (48px Height) */
.search-dropdown input,
.search-dropdown .form-control,
.search-dropdown input.select2-selection,
.search-dropdown input.select2-selection--single,
.search-dropdown input.form-control,
.search-dropdown input#template-input,
#new-order-search input {
  height: 48px !important;
  min-height: 48px !important;
  border-radius: 10px !important;
}

/* RTL Search Input & Icon */
html[dir="rtl"] .search-dropdown .input-wrapper button,
body.site_rtl .search-dropdown .input-wrapper button,
[dir="rtl"] .search-dropdown .input-wrapper button,
.search-dropdown[data-dir="rtl"] .input-wrapper button,
html[dir="rtl"] #new-order-search .input-wrapper button,
body.site_rtl #new-order-search .input-wrapper button,
[dir="rtl"] #new-order-search .input-wrapper button,
#new-order-search[data-dir="rtl"] .input-wrapper button {
  right: 14px !important;
  left: auto !important;
}

html[dir="rtl"] .search-dropdown input,
html[dir="rtl"] .search-dropdown .form-control,
html[dir="rtl"] .search-dropdown input#template-input,
html[dir="rtl"] #new-order-search input,
body.site_rtl .search-dropdown input,
body.site_rtl .search-dropdown .form-control,
body.site_rtl .search-dropdown input#template-input,
body.site_rtl #new-order-search input,
[dir="rtl"] .search-dropdown input,
[dir="rtl"] #new-order-search input,
.search-dropdown[data-dir="rtl"] input,
#new-order-search[data-dir="rtl"] input {
  padding-right: 48px !important;
  padding-left: 28px !important;
  text-align: right !important;
  direction: rtl !important;
}

/* LTR Search Input & Icon */
html[dir="ltr"] .search-dropdown .input-wrapper button,
body.site_ltr .search-dropdown .input-wrapper button,
[dir="ltr"] .search-dropdown .input-wrapper button,
html[dir="ltr"] #new-order-search .input-wrapper button,
body.site_ltr #new-order-search .input-wrapper button,
[dir="ltr"] #new-order-search .input-wrapper button {
  left: 14px !important;
  right: auto !important;
}

html[dir="ltr"] .search-dropdown input,
html[dir="ltr"] .search-dropdown .form-control,
html[dir="ltr"] .search-dropdown input#template-input,
html[dir="ltr"] #new-order-search input,
body.site_ltr .search-dropdown input,
body.site_ltr .search-dropdown .form-control,
body.site_ltr .search-dropdown input#template-input,
body.site_ltr #new-order-search input,
[dir="ltr"] .search-dropdown input,
[dir="ltr"] #new-order-search input {
  padding-left: 48px !important;
  padding-right: 28px !important;
  text-align: left !important;
  direction: ltr !important;
}

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION BAR (Ultra-Premium Native App Experience)
   ========================================================================== */
.fx-mobile-bottom-nav {
  display: none !important;
}

@media (max-width: 991px) {
  .integration-fixed__bottom-left {
    bottom: 50px !important;
  }

  .fx-mobile-bottom-nav {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 64px !important;
    background: rgba(16, 19, 26, 0.94) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    z-index: 1045 !important;
    padding: 0 10px !important;
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
    align-items: center !important;
    justify-content: space-around !important;
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.5) !important;
  }

  /* When mobile sidebar drawer is open, keep bottom nav behind it */
  .fx-app.sidebar-open .fx-mobile-bottom-nav {
    z-index: 1030 !important;
  }

  html.light .fx-mobile-bottom-nav {
    background: rgba(255, 255, 255, 0.96) !important;
    border-top: 1px solid #e2e8f0 !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06) !important;
  }

  /* Ensure page content has bottom clearance on mobile */
  .fx-body {
    padding-bottom: calc(82px + env(safe-area-inset-bottom, 10px)) !important;
  }

  .fx-bnav-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    flex: 1 !important;
    height: 100% !important;
    color: var(--fx-text-dim, #6b7a90) !important;
    text-decoration: none !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    padding-top: 4px !important;
  }

  .fx-bnav-item iconify-icon {
    font-size: 1.38rem !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }

  .fx-bnav-item span {
    font-size: 0.68rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .fx-bnav-item:hover,
  .fx-bnav-item.active {
    color: var(--fx-primary, #f97316) !important;
  }

  .fx-bnav-item.active iconify-icon {
    transform: scale(1.12) !important;
    color: var(--fx-primary, #f97316) !important;
    filter: drop-shadow(0 0 10px rgba(249, 115, 22, 0.55)) !important;
  }

  .fx-bnav-item.active::after {
    content: '' !important;
    position: absolute !important;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 2px) !important;
    width: 14px !important;
    height: 3px !important;
    border-radius: 3px !important;
    background: var(--fx-gradient, linear-gradient(135deg, #f97316, #fbbf24)) !important;
    box-shadow: 0 0 8px rgba(249, 115, 22, 0.6) !important;
  }

  /* Center Elevated Hero Button (New Order) */
  .fx-bnav-hero {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    top: -12px !important;
    text-decoration: none !important;
    flex: 1 !important;
    z-index: 2 !important;
  }

  .fx-bnav-hero-circle {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background: var(--fx-gradient, linear-gradient(135deg, #f97316 0%, #ea580c 45%, #fbbf24 100%)) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.55rem !important;
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.55), 0 0 0 4px var(--fx-bg-sidebar, #10131a) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  html.light .fx-bnav-hero-circle {
    box-shadow: 0 6px 18px rgba(249, 115, 22, 0.45), 0 0 0 4px #ffffff !important;
  }

  .fx-bnav-hero:active .fx-bnav-hero-circle,
  .fx-bnav-hero:hover .fx-bnav-hero-circle,
  .fx-bnav-hero.active .fx-bnav-hero-circle {
    transform: scale(1.08) translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.75), 0 0 0 4px var(--fx-bg-sidebar, #10131a) !important;
  }

  .fx-bnav-hero span {
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    color: var(--fx-primary, #f97316) !important;
    margin-top: 3px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }
}

/* ==========================================================================
   ORGANIZED RECENT ORDERS FEED CARDS (v2.0 Redesign)
   ========================================================================== */
#recentOrdersFeed {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding: 4px 2px !important;
}

.fx-recent-order-item {
  background: var(--fx-bg-card, #151822) !important;
  border-radius: var(--fx-radius-md, 14px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 0.95rem 1.05rem !important;
  transition: all var(--fx-transition) !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 9px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22) !important;
}

.fx-recent-order-item:hover {
  background: var(--fx-bg-card-alt, #1a1e2a) !important;
  border-color: rgba(249, 115, 22, 0.35) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32) !important;
}

html.light .fx-recent-order-item {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
}

html.light .fx-recent-order-item:hover {
  background: #fffaf5 !important;
  border-color: #fed7aa !important;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.1) !important;
}

.fx-recent-order-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
}

.fx-recent-order-time {
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  color: var(--fx-text-muted, #94a3b8) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  white-space: nowrap !important;
  background: rgba(255, 255, 255, 0.04) !important;
  padding: 2px 7px !important;
  border-radius: 6px !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

html.light .fx-recent-order-time {
  background: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
  color: #64748b !important;
}

.fx-recent-order-service {
  color: var(--fx-text-title, #ffffff) !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  word-break: break-word !important;
}

html.light .fx-recent-order-service {
  color: #0f172a !important;
}

.fx-recent-order-link-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 8px !important;
  padding: 0.32rem 0.6rem !important;
  min-width: 0 !important;
}

html.light .fx-recent-order-link-wrap {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

.fx-link-ico {
  font-size: 0.95rem !important;
  color: #38bdf8 !important;
  flex-shrink: 0 !important;
}

html.light .fx-link-ico {
  color: #0284c7 !important;
}

.fx-recent-order-link {
  color: #38bdf8 !important;
  text-decoration: none !important;
  font-size: 0.74rem !important;
  font-family: monospace, sans-serif !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  flex: 1 !important;
  min-width: 0 !important;
  direction: ltr !important;
  text-align: left !important;
}

html.light .fx-recent-order-link {
  color: #0284c7 !important;
}

.fx-link-copy-btn {
  background: transparent !important;
  border: none !important;
  color: var(--fx-text-dim, #6b7a90) !important;
  cursor: pointer !important;
  font-size: 0.85rem !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: color var(--fx-transition) !important;
  flex-shrink: 0 !important;
}

.fx-link-copy-btn:hover {
  color: var(--fx-primary, #f97316) !important;
}

.fx-recent-order-stats-bar {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  margin-top: 1px !important;
}

.fx-recent-stat-pill {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 8px !important;
  padding: 0.35rem 0.65rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-size: 0.76rem !important;
}

html.light .fx-recent-stat-pill {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

.fx-stat-pill-label {
  color: var(--fx-text-muted, #94a3b8) !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
}

html.light .fx-stat-pill-label {
  color: #64748b !important;
}

.fx-stat-pill-val {
  color: var(--fx-text-title, #ffffff) !important;
  font-weight: 800 !important;
  font-size: 0.82rem !important;
}

html.light .fx-stat-pill-val {
  color: #0f172a !important;
}

.fx-stat-pill-price {
  background: rgba(249, 115, 22, 0.06) !important;
  border-color: rgba(249, 115, 22, 0.2) !important;
}

.fx-stat-pill-price .fx-stat-pill-val {
  color: var(--fx-primary, #f97316) !important;
}

/* ==========================================================================
   Bento Hero Tile & Live Badge - RTL / LTR Perfection
   ========================================================================== */
.fx-bento-hero-tile {
  position: relative !important;
}

@media (min-width: 641px) {
  html[dir="ltr"] .fx-bento-hero-tile .fx-bl-header,
  body.site_ltr .fx-bento-hero-tile .fx-bl-header,
  [dir="ltr"] .fx-bento-hero-tile .fx-bl-header {
    padding-right: 150px;
  }
  html[dir="rtl"] .fx-bento-hero-tile .fx-bl-header,
  body.site_rtl .fx-bento-hero-tile .fx-bl-header,
  [dir="rtl"] .fx-bento-hero-tile .fx-bl-header {
    padding-left: 150px;
  }
}

.fx-bl-badge-top {
  position: absolute !important;
  top: 22px !important;
  bottom: auto !important;
  z-index: 5 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  white-space: nowrap !important;
  background: rgba(16, 185, 129, 0.12) !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
  color: #10b981 !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  padding: 0.3rem 0.75rem !important;
  border-radius: 999px !important;
  line-height: 1.2 !important;
}

.fx-bl-badge-top .fx-live-dot,
.fx-live-dot {
  position: static !important;
  display: inline-block !important;
  width: 7px !important;
  height: 7px !important;
  min-width: 7px !important;
  min-height: 7px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  box-shadow: 0 0 8px #10b981 !important;
  animation: fxPulse 1.6s infinite !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  bottom: auto !important;
  vertical-align: middle !important;
}

/* LTR (English): Rocket & Title on left -> Badge on the RIGHT */
html[dir="ltr"] .fx-bl-badge-top,
html:not([dir="rtl"]) .fx-bl-badge-top,
body.site_ltr .fx-bl-badge-top,
[dir="ltr"] .fx-bl-badge-top {
  right: 24px !important;
  left: auto !important;
}

/* RTL (Arabic): Rocket & Title on right -> Badge on the LEFT */
html[dir="rtl"] .fx-bl-badge-top,
body.site_rtl .fx-bl-badge-top,
[dir="rtl"] .fx-bl-badge-top {
  left: 24px !important;
  right: auto !important;
}

/* Mobile & Small Screens Responsive */
@media (max-width: 640px) {
  .fx-bento-hero-tile {
    display: flex !important;
    flex-direction: column !important;
  }
  .fx-bento-hero-tile .fx-bl-header {
    padding-inline-end: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
  .fx-bl-badge-top {
    position: static !important;
    align-self: flex-start !important;
    margin-bottom: 14px !important;
    inset-inline-end: auto !important;
    right: auto !important;
    left: auto !important;
  }
}

/* ==========================================================================
   Step Cards (01, 02, 03) - RTL / LTR Perfection
   ========================================================================== */
.fx-step-lux-card {
  position: relative !important;
}

.fx-step-badge-num {
  position: absolute !important;
  top: 22px !important;
  bottom: auto !important;
  font-family: var(--fx-font-en, 'Outfit', sans-serif) !important;
  font-size: 2rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  pointer-events: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  z-index: 1 !important;
}

/* LTR (English): Icon is on the left -> Step badge on the RIGHT */
html[dir="ltr"] .fx-step-badge-num,
html:not([dir="rtl"]) .fx-step-badge-num,
body.site_ltr .fx-step-badge-num,
[dir="ltr"] .fx-step-badge-num {
  right: 24px !important;
  left: auto !important;
}

/* RTL (Arabic): Icon is on the right -> Step badge on the LEFT */
html[dir="rtl"] .fx-step-badge-num,
body.site_rtl .fx-step-badge-num,
[dir="rtl"] .fx-step-badge-num {
  left: 24px !important;
  right: auto !important;
}

/* Base typography & containers */
.fx-summernote-content {
    font-size: 1rem;
    line-height: 1.95;
    color: var(--fx-text-main);
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Headings with luxury accents */
.fx-summernote-content h1,
.fx-summernote-content h2,
.fx-summernote-content h3,
.fx-summernote-content h4,
.fx-summernote-content h5,
.fx-summernote-content h6 {
    color: var(--fx-text-title);
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -0.2px;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.fx-summernote-content h1 { font-size: 1.85rem; border-bottom: 1px solid var(--fx-border); padding-bottom: 0.75rem; }
.fx-summernote-content h2 { font-size: 1.55rem; }
.fx-summernote-content h3 { font-size: 1.3rem; color: var(--fx-primary); }
.fx-summernote-content h4 { font-size: 1.15rem; }
.fx-summernote-content h5 { font-size: 1.05rem; }
.fx-summernote-content h6 { font-size: 0.95rem; text-transform: uppercase; }

/* Paragraphs & Text */
.fx-summernote-content p {
    margin-bottom: 1.25rem;
}

.fx-summernote-content strong,
.fx-summernote-content b {
    color: var(--fx-text-title);
    font-weight: 700;
}

/* Links */
.fx-summernote-content a {
    color: var(--fx-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
    transition: color var(--fx-transition);
}

.fx-summernote-content a:hover {
    color: var(--fx-primary-hover, #ea580c);
}

/* Lists */
.fx-summernote-content ul,
.fx-summernote-content ol {
    padding-inline-start: 1.75rem;
    margin-bottom: 1.5rem;
}

.fx-summernote-content li {
    margin-bottom: 0.6rem;
    line-height: 1.8;
}

.fx-summernote-content ul li::marker {
    color: var(--fx-primary);
}

/* Blockquotes */
.fx-summernote-content blockquote {
    border-inline-start: 4px solid var(--fx-primary);
    background: var(--fx-bg-input);
    padding: 1.1rem 1.4rem;
    border-radius: var(--fx-radius-sm);
    margin: 1.75rem 0;
    color: var(--fx-text-title);
    font-style: italic;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.03);
}

/* Images & Media (Summernote responsive wrappers) */
.fx-summernote-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: var(--fx-radius-md);
    border: 1px solid var(--fx-border);
    margin: 1.25rem auto;
    display: block;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.fx-summernote-content figure {
    margin: 1.5rem 0;
    text-align: center;
}

.fx-summernote-content figcaption {
    font-size: 0.85rem;
    color: var(--fx-text-muted);
    margin-top: 0.5rem;
}

/* Embedded Videos & Iframes */
.fx-summernote-content iframe,
.fx-summernote-content video {
    max-width: 100%;
    border-radius: var(--fx-radius-md);
    border: 1px solid var(--fx-border);
    margin: 1.5rem auto;
    display: block;
}

/* Tables (Summernote tables full responsive restyling) */
.fx-summernote-content table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    margin: 1.75rem 0 !important;
    background: var(--fx-bg-card);
    border: 1px solid var(--fx-border) !important;
    border-radius: var(--fx-radius-md);
    overflow: hidden;
}

.fx-summernote-content table th,
.fx-summernote-content table td {
    padding: 0.85rem 1.15rem;
    border-bottom: 1px solid var(--fx-border) !important;
    border-inline-end: 1px solid var(--fx-border) !important;
    color: var(--fx-text-main);
    font-size: 0.92rem;
}

.fx-summernote-content table th {
    background: var(--fx-bg-input);
    color: var(--fx-text-title);
    font-weight: 700;
    text-align: inherit;
}

.fx-summernote-content table tr:last-child td {
    border-bottom: none !important;
}

.fx-summernote-content table tr:hover td {
    background: rgba(249, 115, 22, 0.03);
}

/* Code & Pre */
.fx-summernote-content pre,
.fx-summernote-content code {
    font-family: 'Outfit', Consolas, Monaco, monospace;
    border-radius: var(--fx-radius-sm);
}

.fx-summernote-content code:not(pre code) {
    background: var(--fx-bg-input);
    color: var(--fx-primary);
    padding: 0.2rem 0.45rem;
    font-size: 0.88em;
    border: 1px solid var(--fx-border);
}

.fx-summernote-content pre {
    background: #0f172a;
    color: #e2e8f0;
    padding: 1.25rem;
    overflow-x: auto;
    margin: 1.5rem 0;
    border: 1px solid var(--fx-border);
    font-size: 0.88rem;
    line-height: 1.7;
    direction: ltr;
    text-align: left;
}

/* Horizontal Rules */
.fx-summernote-content hr {
    border: 0;
    border-top: 1px solid var(--fx-border);
    margin: 2.25rem 0;
    opacity: 0.7;
}

/* Alerts or Wells inserted via Summernote */
.fx-summernote-content .well,
.fx-summernote-content .card {
    background: var(--fx-bg-input);
    border: 1px solid var(--fx-border);
    border-radius: var(--fx-radius-md);
    padding: 1.25rem;
    margin: 1.5rem 0;
}

/* ==========================================================================
   Blog & BlogPost Styles
   ========================================================================== */
.fx-blog-title-link:hover {
    color: var(--fx-primary) !important;
}

.fx-page-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--fx-radius-sm);
    color: var(--fx-text-muted);
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all var(--fx-transition);
}

.fx-page-btn:hover {
    background: var(--fx-bg-hover);
    color: var(--fx-text-title);
}

.fx-page-btn.active {
    background: var(--fx-gradient) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
}

.fx-article-body h2, 
.fx-article-body h3, 
.fx-article-body h4 {
    color: var(--fx-text-title);
    font-weight: 800;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.fx-article-body p {
    margin-bottom: 1.25rem;
}

.fx-article-body ul, 
.fx-article-body ol {
    padding-inline-start: 1.5rem;
    margin-bottom: 1.5rem;
}

.fx-article-body li {
    margin-bottom: 0.5rem;
}

.fx-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--fx-radius-md);
    margin: 1.5rem 0;
}

.fx-article-body blockquote {
    border-inline-start: 4px solid var(--fx-primary);
    background: var(--fx-bg-input);
    padding: 1rem 1.25rem;
    border-radius: 0 var(--fx-radius-md) var(--fx-radius-md) 0;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--fx-text-title);
}

.fx-share-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    text-decoration: none;
    transition: all var(--fx-transition);
}

.fx-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   Compact Blog SEO Footer Card
   ========================================================================== */
.fx-blog-seo-section {
  border-top: 1px solid var(--fx-border-subtle, rgba(255, 255, 255, 0.06));
}

.fx-blog-seo-card {
  background: rgba(18, 22, 32, 0.4);
  border: 1px solid var(--fx-border-subtle, rgba(255, 255, 255, 0.06));
  border-radius: var(--fx-radius-lg, 16px);
  padding: 1.5rem 1.75rem;
}

html.light .fx-blog-seo-card {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.fx-blog-seo-content {
  font-size: 0.84rem;
  line-height: 1.75;
  color: var(--fx-text-muted, #94a3b8);
  opacity: 0.9;
}

.fx-blog-seo-content h1,
.fx-blog-seo-content h2,
.fx-blog-seo-content h3,
.fx-blog-seo-content h4 {
  font-size: 0.98rem !important;
  font-weight: 800 !important;
  color: var(--fx-text-title, #ffffff) !important;
  margin-top: 1rem !important;
  margin-bottom: 0.4rem !important;
  line-height: 1.4 !important;
}

.fx-blog-seo-content h1:first-child,
.fx-blog-seo-content h2:first-child,
.fx-blog-seo-content h3:first-child,
.fx-blog-seo-content h4:first-child {
  margin-top: 0 !important;
  font-size: 1.05rem !important;
}

.fx-blog-seo-content p {
  margin-bottom: 0.65rem !important;
}

.fx-blog-seo-content p:last-child {
  margin-bottom: 0 !important;
}

.fx-blog-seo-content ul,
.fx-blog-seo-content ol {
  padding-inline-start: 1.25rem;
  margin-bottom: 0.75rem;
}

.fx-blog-seo-content li {
  margin-bottom: 0.25rem;
}

.fx-blog-seo-content a {
  color: var(--fx-primary, #f97316);
  text-decoration: underline;
}

/* ==========================================================================
   Tickets Dynamic Form Fields & Select Styling
   ========================================================================== */
#ticket-fields .form-group,
#ticket-fields > div {
  margin-bottom: 1rem !important;
}

#ticket-fields .form-group:last-child,
#ticket-fields > div:last-child {
  margin-bottom: 0 !important;
}

#ticket-fields label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--fx-text-title, #ffffff);
  margin-bottom: 0.45rem;
}

#ticket-fields .form-control,
#ticket-fields select,
#ticket-fields input,
#ticket-fields textarea {
  width: 100%;
  background: var(--fx-bg-input, rgba(18, 22, 32, 0.6));
  border: 1px solid var(--fx-border, rgba(255, 255, 255, 0.08));
  border-radius: var(--fx-radius-md, 12px);
  color: var(--fx-text-title, #ffffff);
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
  transition: all var(--fx-transition, 0.2s ease);
}

#ticket-fields select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 1rem) center;
  background-size: 1rem;
  padding-inline-end: 2.5rem !important;
  cursor: pointer;
}

[dir="rtl"] #ticket-fields select,
body.rtl #ticket-fields select,
.rtl-form #ticket-fields select,
.rtl #ticket-fields select {
  background-position: 1rem center !important;
}

#ticket-fields .form-control:focus,
#ticket-fields select:focus,
#ticket-fields input:focus,
#ticket-fields textarea:focus {
  border-color: var(--fx-primary, #f97316);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
  outline: none;
}

html.light #ticket-fields .form-control,
html.light #ticket-fields select,
html.light #ticket-fields input,
html.light #ticket-fields textarea {
  background: #ffffff;
  border-color: #e2e8f0;
  color: #0f172a;
}

html.light #ticket-fields label {
  color: #1e293b;
}

/* ==========================================================================
   View Ticket Conversation Chat Feed & Bubbles
   ========================================================================== */
.fx-ticket-chat-container {
  background: var(--fx-bg-card, #151822);
  border: 1px solid var(--fx-border, rgba(255, 255, 255, 0.08));
  border-radius: var(--fx-radius-lg, 16px);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.fx-chat-messages-feed {
  max-height: 650px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
}

.fx-chat-messages-feed::-webkit-scrollbar {
  width: 6px;
}

.fx-chat-messages-feed::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
}

.fx-chat-bubble {
  width: 100% !important;
  box-sizing: border-box !important;
  border-radius: var(--fx-radius-md, 14px);
  padding: 1.15rem 1.35rem;
  transition: all var(--fx-transition);
}

.fx-bubble-user {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.fx-bubble-support {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.08) 0%, rgba(99, 102, 241, 0.04) 100%);
  border: 1px solid rgba(249, 115, 22, 0.22);
}

.fx-chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.fx-avatar-user {
  background: rgba(255, 255, 255, 0.08);
  color: var(--fx-text-title, #ffffff);
}

.fx-avatar-support {
  background: rgba(249, 115, 22, 0.15);
  color: var(--fx-primary, #f97316);
}

.fx-chat-author {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--fx-text-title, #ffffff);
}

.fx-bubble-role-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--fx-text-muted, #94a3b8);
}

.fx-bubble-role-badge.fx-role-support {
  background: rgba(249, 115, 22, 0.15);
  color: var(--fx-primary, #f97316);
  border: 1px solid rgba(249, 115, 22, 0.25);
}

.fx-bubble-content {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--fx-text-title, #e2e8f0);
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.fx-bubble-content b,
.fx-bubble-content strong {
  font-weight: 700;
  color: #ffffff;
}

.fx-bubble-content hr {
  border: 0;
  height: 1px;
  background: var(--fx-border, rgba(255, 255, 255, 0.08));
  margin: 0.65rem 0;
}

.fx-bubble-content a {
  color: #38bdf8;
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-all;
}

.fx-bubble-content a:hover {
  color: #7dd3fc;
}

.fx-ticket-attachment-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--fx-radius-sm, 8px);
  color: var(--fx-text-title, #ffffff);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: all var(--fx-transition);
}

.fx-ticket-attachment-chip:hover {
  background: rgba(249, 115, 22, 0.12);
  border-color: rgba(249, 115, 22, 0.35);
  color: var(--fx-primary, #f97316);
  transform: translateY(-1px);
}

.fx-bubble-time-footer {
  font-size: 0.76rem;
  color: var(--fx-text-muted, #94a3b8);
}

.fx-chat-reply-area {
  background: rgba(0, 0, 0, 0.15);
}

/* Light Mode Overrides */
html.light .fx-ticket-chat-container {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

html.light .fx-bubble-user {
  background: #f8fafc;
  border-color: #e2e8f0;
}

html.light .fx-bubble-support {
  background: #fffaf5;
  border-color: #fed7aa;
}

html.light .fx-chat-author {
  color: #0f172a;
}

html.light .fx-bubble-content {
  color: #1e293b;
}

html.light .fx-bubble-content a {
  color: #0284c7;
}

html.light .fx-avatar-user {
  background: #e2e8f0;
  color: #334155;
}

html.light .fx-chat-reply-area {
  background: #f8fafc;
}

/* Mobile Optimizations for Tickets Chat View */
@media (max-width: 991px) {
  .fx-viewticket-page {
    padding-bottom: 125px !important;
  }
  .fx-viewticket-page .fx-orders-header-card {
    padding: 0.85rem 1rem !important;
    margin-bottom: 0.85rem !important;
  }
  .fx-chat-messages-feed {
    max-height: 42vh !important;
    min-height: 160px !important;
    padding: 0.85rem 1rem !important;
  }
  .fx-chat-bubble {
    padding: 0.75rem 0.9rem !important;
  }
  .fx-chat-reply-area {
    padding: 0.85rem 1rem !important;
  }
  .fx-chat-reply-area textarea {
    min-height: 75px !important;
  }
}

.fx-quick-reply-pill {
  position: fixed;
  bottom: 85px;
  inset-inline-end: 16px;
  z-index: 1040;
  background: var(--fx-primary, #f97316);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--fx-radius-full, 9999px);
  box-shadow: 0 4px 18px rgba(249, 115, 22, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all var(--fx-transition);
}

.fx-quick-reply-pill:hover {
  background: var(--fx-primary-hover, #ea580c);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(249, 115, 22, 0.55);
}

/* ==========================================================================
   SMMFedex Global Alert System (Glassmorphic, RTL/LTR, Accessible, Auto-Icon)
   ========================================================================== */

.alert,
.fx-alert-glass,
.fx-alert-lux {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.85rem !important;
  padding: 0.95rem 1.25rem !important;
  border-radius: var(--fx-radius-md, 14px) !important;
  font-size: 0.9375rem !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  margin-bottom: 1.25rem !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: 1px solid transparent !important;
  word-break: break-word !important;
  box-sizing: border-box !important;
}

/* Alert Content / Text Area */
.alert .content,
.alert .fx-alert-text,
.alert .fx-alert-content,
.alert > span:not([aria-hidden]):not(.close):not(.btn-close),
.alert > div:not(.fx-alert-close-wrap):not(.close):not(.btn-close) {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  order: 1;
  min-width: 0;
  word-break: break-word;
  color: inherit;
}

/* Close Buttons (Supports Bootstrap 3 .close, BS4/5 .btn-close, & .fx-alert-close-btn) */
.alert .close,
.alert .btn-close,
.alert .fx-alert-close-btn,
.alert button[data-dismiss="alert"],
.alert button[data-bs-dismiss="alert"] {
  position: static !important;
  float: none !important;
  order: 2 !important;
  margin: 0 !important;
  margin-inline-start: auto !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: currentColor !important;
  opacity: 0.75 !important;
  text-shadow: none !important;
  font-size: 1.15rem !important;
  line-height: 1 !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  outline: none !important;
  box-shadow: none !important;
  flex-shrink: 0 !important;
}

.alert .close:hover,
.alert .btn-close:hover,
.alert .fx-alert-close-btn:hover,
.alert button[data-dismiss="alert"]:hover,
.alert button[data-bs-dismiss="alert"]:hover {
  opacity: 1 !important;
  background: rgba(255, 255, 255, 0.18) !important;
  transform: scale(1.08) !important;
}

.alert .close:active,
.alert .btn-close:active,
.alert .fx-alert-close-btn:active,
.alert button[data-dismiss="alert"]:active,
.alert button[data-bs-dismiss="alert"]:active {
  transform: scale(0.92) !important;
}

.alert .close span[aria-hidden="true"],
.alert .close span {
  font-size: 1.25rem;
  line-height: 1;
  display: block;
  font-family: inherit;
  font-weight: 300;
}

/* Alert Icons */
.alert iconify-icon,
.alert .fx-alert-icon,
.alert svg {
  font-size: 1.35rem !important;
  flex-shrink: 0 !important;
  order: 0 !important;
}

/* Auto Icons for Injected Alerts Without Markup Icons */
.alert.alert-danger:not(:has(iconify-icon)):not(:has(svg))::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  order: 0;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/%3E") no-repeat center / contain;
}

.alert.alert-success:not(:has(iconify-icon)):not(:has(svg))::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  order: 0;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5l1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5l1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E") no-repeat center / contain;
}

.alert.alert-warning:not(:has(iconify-icon)):not(:has(svg))::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  order: 0;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M1 21h22L12 2L1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z'/%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M1 21h22L12 2L1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z'/%3E") no-repeat center / contain;
}

.alert.alert-info:not(:has(iconify-icon)):not(:has(svg))::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  order: 0;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E") no-repeat center / contain;
}

/* ================= Danger / Error Variant ================= */
.alert-danger,
.fx-alert-danger {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.16) 0%, rgba(185, 28, 28, 0.08) 100%) !important;
  border-color: rgba(239, 68, 68, 0.38) !important;
  color: #fca5a5 !important;
  box-shadow: 0 4px 22px rgba(239, 68, 68, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

html.light .alert-danger,
[data-bs-theme="light"] .alert-danger,
html.light .fx-alert-danger,
[data-bs-theme="light"] .fx-alert-danger {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%) !important;
  border-color: #fca5a5 !important;
  color: #991b1b !important;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.08) !important;
}

html.light .alert-danger .close,
[data-bs-theme="light"] .alert-danger .close {
  background: rgba(153, 27, 27, 0.08) !important;
  border-color: rgba(153, 27, 27, 0.15) !important;
  color: #991b1b !important;
}

/* ================= Success Variant ================= */
.alert-success,
.fx-alert-success {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.16) 0%, rgba(5, 150, 105, 0.08) 100%) !important;
  border-color: rgba(16, 185, 129, 0.38) !important;
  color: #6ee7b7 !important;
  box-shadow: 0 4px 22px rgba(16, 185, 129, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

html.light .alert-success,
[data-bs-theme="light"] .alert-success,
html.light .fx-alert-success,
[data-bs-theme="light"] .fx-alert-success {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%) !important;
  border-color: #6ee7b7 !important;
  color: #065f46 !important;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.08) !important;
}

html.light .alert-success .close,
[data-bs-theme="light"] .alert-success .close {
  background: rgba(6, 95, 70, 0.08) !important;
  border-color: rgba(6, 95, 70, 0.15) !important;
  color: #065f46 !important;
}

/* ================= Warning Variant ================= */
.alert-warning,
.fx-alert-warning {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.16) 0%, rgba(217, 119, 6, 0.08) 100%) !important;
  border-color: rgba(245, 158, 11, 0.38) !important;
  color: #fcd34d !important;
  box-shadow: 0 4px 22px rgba(245, 158, 11, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

html.light .alert-warning,
[data-bs-theme="light"] .alert-warning,
html.light .fx-alert-warning,
[data-bs-theme="light"] .fx-alert-warning {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%) !important;
  border-color: #fcd34d !important;
  color: #92400e !important;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.08) !important;
}

/* ================= Info Variant ================= */
.alert-info,
.fx-alert-info {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.16) 0%, rgba(37, 99, 235, 0.08) 100%) !important;
  border-color: rgba(59, 130, 246, 0.38) !important;
  color: #93c5fd !important;
  box-shadow: 0 4px 22px rgba(59, 130, 246, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

html.light .alert-info,
[data-bs-theme="light"] .alert-info,
html.light .fx-alert-info,
[data-bs-theme="light"] .fx-alert-info {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%) !important;
  border-color: #93c5fd !important;
  color: #1e40af !important;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.08) !important;
}

/* Tab Status Icon Colors */
.fx-tab-partial {
  color: #818cf8 !important;
}

.fx-tab-canceled {
  color: #ef4444 !important;
}

.fx-order-tab-btn.active .fx-tab-partial,
.fx-order-tab-btn.active .fx-tab-canceled {
  color: #ffffff !important;
}

/* ==========================================================================
   SELECT2 LTR / RTL DIRECTION & SPACING SYSTEM
   ========================================================================== */
.select2-selection__icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
}

.select2-selection__icon img,
.select2-selection__icon span {
  display: inline-block !important;
  vertical-align: middle !important;
}

.select2-selection__id {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
}

/* --- English / LTR Direction & Spacings --- */
html[dir="ltr"] .select2-container,
body.site_ltr .select2-container,
.select2-container[dir="ltr"],
html[dir="ltr"] .select2-dropdown,
body.site_ltr .select2-dropdown,
.select2-dropdown[dir="ltr"],
[dir="ltr"] .select2-dropdown {
  direction: ltr !important;
  text-align: left !important;
}

html[dir="ltr"] .select2-selection--single,
body.site_ltr .select2-selection--single,
.select2-container[dir="ltr"] .select2-selection--single,
[dir="ltr"] .select2-selection--single {
  direction: ltr !important;
  text-align: left !important;
  padding-left: 14px !important;
  padding-right: 32px !important;
}

html[dir="ltr"] .select2-selection__rendered,
body.site_ltr .select2-selection__rendered,
.select2-container[dir="ltr"] .select2-selection__rendered,
[dir="ltr"] .select2-selection__rendered {
  direction: ltr !important;
  text-align: left !important;
}

html[dir="ltr"] .select2-selection__icon,
body.site_ltr .select2-selection__icon,
.select2-container[dir="ltr"] .select2-selection__icon,
.select2-dropdown[dir="ltr"] .select2-selection__icon,
[dir="ltr"] .select2-selection__icon {
  margin-right: 10px !important;
  margin-left: 0 !important;
}

html[dir="ltr"] .select2-selection__id,
body.site_ltr .select2-selection__id,
.select2-container[dir="ltr"] .select2-selection__id,
.select2-dropdown[dir="ltr"] .select2-selection__id,
[dir="ltr"] .select2-selection__id {
  margin-right: 10px !important;
  margin-left: 0 !important;
}

html[dir="ltr"] .select2-results__option,
body.site_ltr .select2-results__option,
.select2-dropdown[dir="ltr"] .select2-results__option,
[dir="ltr"] .select2-results__option {
  direction: ltr !important;
  text-align: left !important;
}

html[dir="ltr"] .select2-results__option a,
body.site_ltr .select2-results__option a,
.select2-dropdown[dir="ltr"] .select2-results__option a,
[dir="ltr"] .select2-results__option a {
  direction: ltr !important;
  text-align: left !important;
}

html[dir="ltr"] .select2-selection__arrow,
body.site_ltr .select2-selection__arrow,
.select2-container[dir="ltr"] .select2-selection__arrow,
[dir="ltr"] .select2-selection__arrow {
  right: 10px !important;
  left: auto !important;
}

/* Select2 Dropdown Search - LTR */
html[dir="ltr"] .select2-search--dropdown,
body.site_ltr .select2-search--dropdown,
.select2-dropdown[dir="ltr"] .select2-search--dropdown,
[dir="ltr"] .select2-search--dropdown {
  position: relative !important;
  direction: ltr !important;
}

html[dir="ltr"] .select2-search__field-icon,
body.site_ltr .select2-search__field-icon,
.select2-dropdown[dir="ltr"] .select2-search__field-icon,
[dir="ltr"] .select2-search__field-icon {
  position: absolute !important;
  left: 14px !important;
  right: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 5 !important;
  pointer-events: none !important;
}

html[dir="ltr"] .select2-search--dropdown .select2-search__field,
body.site_ltr .select2-search--dropdown .select2-search__field,
.select2-dropdown[dir="ltr"] .select2-search__field,
[dir="ltr"] .select2-search__field {
  direction: ltr !important;
  text-align: left !important;
  padding-left: 40px !important;
  padding-right: 28px !important;
}

/* --- Arabic / RTL Direction & Spacings --- */
html[dir="rtl"] .select2-container,
body.site_rtl .select2-container,
.select2-container[dir="rtl"],
html[dir="rtl"] .select2-dropdown,
body.site_rtl .select2-dropdown,
.select2-dropdown[dir="rtl"],
[dir="rtl"] .select2-dropdown {
  direction: rtl !important;
  text-align: right !important;
}

html[dir="rtl"] .select2-selection--single,
body.site_rtl .select2-selection--single,
.select2-container[dir="rtl"] .select2-selection--single,
[dir="rtl"] .select2-selection--single {
  direction: rtl !important;
  text-align: right !important;
  padding-right: 14px !important;
  padding-left: 32px !important;
}

html[dir="rtl"] .select2-selection__rendered,
body.site_rtl .select2-selection__rendered,
.select2-container[dir="rtl"] .select2-selection__rendered,
[dir="rtl"] .select2-selection__rendered {
  direction: rtl !important;
  text-align: right !important;
}

html[dir="rtl"] .select2-selection__icon,
body.site_rtl .select2-selection__icon,
.select2-container[dir="rtl"] .select2-selection__icon,
.select2-dropdown[dir="rtl"] .select2-selection__icon,
[dir="rtl"] .select2-selection__icon {
  margin-left: 10px !important;
  margin-right: 0 !important;
}

html[dir="rtl"] .select2-selection__id,
body.site_rtl .select2-selection__id,
.select2-container[dir="rtl"] .select2-selection__id,
.select2-dropdown[dir="rtl"] .select2-selection__id,
[dir="rtl"] .select2-selection__id {
  margin-left: 10px !important;
  margin-right: 0 !important;
}

html[dir="rtl"] .select2-results__option,
body.site_rtl .select2-results__option,
.select2-dropdown[dir="rtl"] .select2-results__option,
[dir="rtl"] .select2-results__option {
  direction: rtl !important;
  text-align: right !important;
}

html[dir="rtl"] .select2-results__option a,
body.site_rtl .select2-results__option a,
.select2-dropdown[dir="rtl"] .select2-results__option a,
[dir="rtl"] .select2-results__option a {
  direction: rtl !important;
  text-align: right !important;
}

html[dir="rtl"] .select2-selection__arrow,
body.site_rtl .select2-selection__arrow,
.select2-container[dir="rtl"] .select2-selection__arrow,
[dir="rtl"] .select2-selection__arrow {
  left: 10px !important;
  right: auto !important;
}

/* Select2 Dropdown Search - RTL */
html[dir="rtl"] .select2-search--dropdown,
body.site_rtl .select2-search--dropdown,
.select2-dropdown[dir="rtl"] .select2-search--dropdown,
[dir="rtl"] .select2-search--dropdown {
  position: relative !important;
  direction: rtl !important;
}

html[dir="rtl"] .select2-search__field-icon,
body.site_rtl .select2-search__field-icon,
.select2-dropdown[dir="rtl"] .select2-search__field-icon,
[dir="rtl"] .select2-search__field-icon {
  position: absolute !important;
  right: 14px !important;
  left: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 5 !important;
  pointer-events: none !important;
}

html[dir="rtl"] .select2-search--dropdown .select2-search__field,
body.site_rtl .select2-search--dropdown .select2-search__field,
.select2-dropdown[dir="rtl"] .select2-search__field,
[dir="rtl"] .select2-search__field {
  direction: rtl !important;
  text-align: right !important;
  padding-right: 40px !important;
  padding-left: 28px !important;
}