:root {
  --fxb-radius-lg: 1rem;
  --fxb-radius-md: 0.75rem;
  --fxb-pill-radius: 999px;
}

html.light-style {
  --fxb-body-bg: #edf3fb;
  --fxb-sidebar-bg: linear-gradient(180deg, #f8fbff 0%, #edf4ff 100%);
  --fxb-sidebar-border: rgba(15, 23, 42, 0.08);
  --fxb-sidebar-text: #1e2a3d;
  --fxb-sidebar-muted: #6c809f;
  --fxb-sidebar-icon: #516687;
  --fxb-sidebar-hover: rgba(37, 99, 235, 0.1);
  --fxb-sidebar-active-bg: rgba(37, 99, 235, 0.12);
  --fxb-sidebar-active-icon: #1d4ed8;
  --fxb-sidebar-active-text: #0f3f8f;
  --fxb-sidebar-active-border: transparent;
  --fxb-brand-text: #0f172a;

  --fxb-pill-bg: rgba(14, 165, 233, 0.12);
  --fxb-pill-border: rgba(14, 165, 233, 0.24);
  --fxb-pill-text: #0f4b74;
  --fxb-pill-dot: #10b981;

  --fxb-topbar-bg: linear-gradient(120deg, rgba(255, 255, 255, 0.96), rgba(245, 249, 255, 0.95));
  --fxb-topbar-border: rgba(15, 23, 42, 0.1);
  --fxb-topbar-text: #0f172a;
  --fxb-topbar-muted: #64748b;

  --fxb-wallet-bg: rgba(37, 99, 235, 0.1);
  --fxb-wallet-border: rgba(37, 99, 235, 0.2);
  --fxb-wallet-text: #1e40af;

  --fxb-time-bg: rgba(15, 23, 42, 0.05);
  --fxb-time-border: rgba(15, 23, 42, 0.12);
  --fxb-time-text: #334155;

  --fxb-header-bg: #ffffff;
  --fxb-header-border: rgba(15, 23, 42, 0.1);
  --fxb-header-title: #0f172a;
  --fxb-header-sub: #64748b;

  --fxb-footer-bg: linear-gradient(120deg, #f8fbff 0%, #eef4ff 100%);
  --fxb-footer-border: rgba(15, 23, 42, 0.1);
  --fxb-footer-title: #0f172a;
  --fxb-footer-muted: #4b5a73;
  --fxb-footer-link: #1e3a8a;
  --fxb-footer-link-hover: #0ea5e9;

  --fxb-card-bg: #ffffff;
  --fxb-card-border: rgba(15, 23, 42, 0.1);
  --fxb-card-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
  --fxb-card-title: #0f172a;
  --fxb-card-muted: #64748b;

  --fxb-badge-bg: rgba(37, 99, 235, 0.12);
  --fxb-badge-border: rgba(37, 99, 235, 0.22);
  --fxb-badge-text: #1d4ed8;
  --fxb-status-primary-bg: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(96, 165, 250, 0.08));
  --fxb-status-primary-border: rgba(37, 99, 235, 0.24);
  --fxb-status-primary-text: #1d4ed8;
  --fxb-status-primary-shadow: 0 10px 20px rgba(37, 99, 235, 0.16);
  --fxb-status-success-bg: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(74, 222, 128, 0.08));
  --fxb-status-success-border: rgba(16, 185, 129, 0.24);
  --fxb-status-success-text: #047857;
  --fxb-status-success-shadow: 0 10px 20px rgba(16, 185, 129, 0.16);
  --fxb-status-info-bg: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(96, 165, 250, 0.08));
  --fxb-status-info-border: rgba(14, 165, 233, 0.24);
  --fxb-status-info-text: #0369a1;
  --fxb-status-info-shadow: 0 10px 20px rgba(14, 165, 233, 0.16);
  --fxb-status-warning-bg: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(251, 191, 36, 0.08));
  --fxb-status-warning-border: rgba(245, 158, 11, 0.26);
  --fxb-status-warning-text: #b45309;
  --fxb-status-warning-shadow: 0 10px 20px rgba(245, 158, 11, 0.16);
  --fxb-status-danger-bg: linear-gradient(135deg, rgba(239, 68, 68, 0.18), rgba(251, 113, 133, 0.08));
  --fxb-status-danger-border: rgba(239, 68, 68, 0.24);
  --fxb-status-danger-text: #b91c1c;
  --fxb-status-danger-shadow: 0 10px 20px rgba(239, 68, 68, 0.16);
  --fxb-status-secondary-bg: linear-gradient(135deg, rgba(100, 116, 139, 0.16), rgba(148, 163, 184, 0.08));
  --fxb-status-secondary-border: rgba(100, 116, 139, 0.22);
  --fxb-status-secondary-text: #475569;
  --fxb-status-secondary-shadow: 0 10px 20px rgba(100, 116, 139, 0.14);
  --fxb-status-dark-bg: linear-gradient(135deg, rgba(15, 23, 42, 0.16), rgba(51, 65, 85, 0.08));
  --fxb-status-dark-border: rgba(15, 23, 42, 0.22);
  --fxb-status-dark-text: #0f172a;
  --fxb-status-dark-shadow: 0 10px 20px rgba(15, 23, 42, 0.14);

  --fxb-surface-glow: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(248, 251, 255, 0.5));

  --fxb-topbar-pill-bg: rgba(37, 99, 235, 0.12);
  --fxb-topbar-pill-muted-bg: rgba(15, 23, 42, 0.06);

  --fxb-dropdown-bg: #ffffff;
  --fxb-dropdown-border: rgba(15, 23, 42, 0.12);
  --fxb-dropdown-item: #1f2d44;
  --fxb-dropdown-muted: #64748b;
  --fxb-dropdown-hover: rgba(37, 99, 235, 0.1);
  --fxb-dropdown-divider: rgba(15, 23, 42, 0.12);

  --fxb-input-bg: #ffffff;
  --fxb-input-bg-focus: #ffffff;
  --fxb-input-border: rgba(15, 23, 42, 0.14);
  --fxb-input-text: #1f2d44;
  --fxb-input-placeholder: #8a9ab2;
  --fxb-input-addon-bg: #f5f8ff;
  --fxb-input-focus-border: rgba(37, 99, 235, 0.45);
  --fxb-input-focus-ring: rgba(37, 99, 235, 0.2);

  --fxb-toast-info-bg: #eef6ff;
  --fxb-toast-info-border: rgba(59, 130, 246, 0.25);
  --fxb-toast-info-text: #1e3a8a;
  --fxb-toast-success-bg: #ecfdf3;
  --fxb-toast-success-border: rgba(16, 185, 129, 0.3);
  --fxb-toast-success-text: #065f46;
  --fxb-toast-warning-bg: #fffbeb;
  --fxb-toast-warning-border: rgba(245, 158, 11, 0.34);
  --fxb-toast-warning-text: #92400e;
  --fxb-toast-danger-bg: #fef2f2;
  --fxb-toast-danger-border: rgba(239, 68, 68, 0.32);
  --fxb-toast-danger-text: #991b1b;
}

html.dark-style {
  --fxb-body-bg: #050608;
  --fxb-sidebar-bg: linear-gradient(180deg, #07090D 0%, #0D1016 100%);
  --fxb-sidebar-border: rgba(255, 255, 255, 0.10);
  --fxb-sidebar-text: #F7F7FA;
  --fxb-sidebar-muted: #848896;
  --fxb-sidebar-icon: #FFC247;
  --fxb-sidebar-hover: rgba(255, 122, 24, 0.12);
  --fxb-sidebar-active-bg: linear-gradient(135deg, rgba(255, 40, 111, 0.22) 0%, rgba(255, 122, 24, 0.18) 100%);
  --fxb-sidebar-active-icon: #FFC247;
  --fxb-sidebar-active-text: #FFFFFF;
  --fxb-sidebar-active-border: rgba(255, 122, 24, 0.35);
  --fxb-brand-text: #FFFFFF;

  --fxb-pill-bg: rgba(255, 122, 24, 0.15);
  --fxb-pill-border: rgba(255, 122, 24, 0.35);
  --fxb-pill-text: #FFD278;
  --fxb-pill-dot: #10B981;

  --fxb-topbar-bg: linear-gradient(120deg, rgba(13, 16, 22, 0.96), rgba(18, 21, 29, 0.94));
  --fxb-topbar-border: rgba(255, 255, 255, 0.12);
  --fxb-topbar-text: #F7F7FA;
  --fxb-topbar-muted: #B8BBC5;

  --fxb-wallet-bg: rgba(255, 194, 71, 0.18);
  --fxb-wallet-border: rgba(255, 194, 71, 0.35);
  --fxb-wallet-text: #FFD278;

  --fxb-time-bg: rgba(255, 255, 255, 0.06);
  --fxb-time-border: rgba(255, 255, 255, 0.14);
  --fxb-time-text: #E2E8F0;

  --fxb-header-bg: #0D1016;
  --fxb-header-border: rgba(255, 255, 255, 0.12);
  --fxb-header-title: #FFFFFF;
  --fxb-header-sub: #B8BBC5;

  --fxb-footer-bg: linear-gradient(120deg, #07090D 0%, #0D1016 100%);
  --fxb-footer-border: rgba(255, 255, 255, 0.10);
  --fxb-footer-title: #FFFFFF;
  --fxb-footer-muted: #848896;
  --fxb-footer-link: #FFD278;
  --fxb-footer-link-hover: #FF7A18;

  --fxb-card-bg: #0D1016;
  --fxb-card-border: rgba(255, 255, 255, 0.10);
  --fxb-card-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
  --fxb-card-title: #FFFFFF;
  --fxb-card-muted: #B8BBC5;

  --fxb-badge-bg: rgba(56, 189, 248, 0.18);
  --fxb-badge-border: rgba(56, 189, 248, 0.28);
  --fxb-badge-text: #bae6fd;
  --fxb-status-primary-bg: linear-gradient(135deg, rgba(37, 99, 235, 0.32), rgba(96, 165, 250, 0.14));
  --fxb-status-primary-border: rgba(96, 165, 250, 0.34);
  --fxb-status-primary-text: #dbeafe;
  --fxb-status-primary-shadow: 0 12px 24px rgba(2, 6, 23, 0.22);
  --fxb-status-success-bg: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(74, 222, 128, 0.12));
  --fxb-status-success-border: rgba(74, 222, 128, 0.32);
  --fxb-status-success-text: #bbf7d0;
  --fxb-status-success-shadow: 0 12px 24px rgba(2, 6, 23, 0.22);
  --fxb-status-info-bg: linear-gradient(135deg, rgba(14, 165, 233, 0.3), rgba(96, 165, 250, 0.12));
  --fxb-status-info-border: rgba(56, 189, 248, 0.34);
  --fxb-status-info-text: #cde9ff;
  --fxb-status-info-shadow: 0 12px 24px rgba(2, 6, 23, 0.22);
  --fxb-status-warning-bg: linear-gradient(135deg, rgba(245, 158, 11, 0.32), rgba(251, 191, 36, 0.14));
  --fxb-status-warning-border: rgba(251, 191, 36, 0.34);
  --fxb-status-warning-text: #fde68a;
  --fxb-status-warning-shadow: 0 12px 24px rgba(2, 6, 23, 0.22);
  --fxb-status-danger-bg: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(251, 113, 133, 0.12));
  --fxb-status-danger-border: rgba(248, 113, 113, 0.34);
  --fxb-status-danger-text: #fecaca;
  --fxb-status-danger-shadow: 0 12px 24px rgba(2, 6, 23, 0.22);
  --fxb-status-secondary-bg: linear-gradient(135deg, rgba(100, 116, 139, 0.28), rgba(148, 163, 184, 0.14));
  --fxb-status-secondary-border: rgba(148, 163, 184, 0.3);
  --fxb-status-secondary-text: #dbe8ff;
  --fxb-status-secondary-shadow: 0 12px 24px rgba(2, 6, 23, 0.22);
  --fxb-status-dark-bg: linear-gradient(135deg, rgba(30, 41, 59, 0.34), rgba(71, 85, 105, 0.16));
  --fxb-status-dark-border: rgba(148, 163, 184, 0.28);
  --fxb-status-dark-text: #f8fafc;
  --fxb-status-dark-shadow: 0 12px 24px rgba(2, 6, 23, 0.22);

  --fxb-surface-glow: linear-gradient(135deg, rgba(10, 16, 30, 0.98), rgba(18, 27, 45, 0.9));

  --fxb-topbar-pill-bg: rgba(56, 189, 248, 0.16);
  --fxb-topbar-pill-muted-bg: rgba(148, 163, 184, 0.14);

  --fxb-dropdown-bg: #0f1b2f;
  --fxb-dropdown-border: rgba(148, 163, 184, 0.3);
  --fxb-dropdown-item: #dbe8ff;
  --fxb-dropdown-muted: #a7b9d5;
  --fxb-dropdown-hover: rgba(56, 189, 248, 0.16);
  --fxb-dropdown-divider: rgba(148, 163, 184, 0.24);

  --fxb-input-bg: #14243c;
  --fxb-input-bg-focus: #172a45;
  --fxb-input-border: rgba(148, 163, 184, 0.34);
  --fxb-input-text: #e2ecff;
  --fxb-input-placeholder: #8ea3c7;
  --fxb-input-addon-bg: #102038;
  --fxb-input-focus-border: rgba(56, 189, 248, 0.56);
  --fxb-input-focus-ring: rgba(56, 189, 248, 0.25);

  --fxb-toast-info-bg: rgba(18, 44, 78, 0.9);
  --fxb-toast-info-border: rgba(56, 189, 248, 0.35);
  --fxb-toast-info-text: #cde9ff;
  --fxb-toast-success-bg: rgba(14, 50, 41, 0.9);
  --fxb-toast-success-border: rgba(52, 211, 153, 0.35);
  --fxb-toast-success-text: #bbf7d0;
  --fxb-toast-warning-bg: rgba(62, 41, 16, 0.9);
  --fxb-toast-warning-border: rgba(251, 191, 36, 0.36);
  --fxb-toast-warning-text: #fde68a;
  --fxb-toast-danger-bg: rgba(70, 22, 30, 0.9);
  --fxb-toast-danger-border: rgba(248, 113, 113, 0.36);
  --fxb-toast-danger-text: #fecaca;
}

body.fxbamboo-app {
  background: radial-gradient(circle at 8% -4%, rgba(59, 130, 246, 0.11) 0, transparent 34%),
    radial-gradient(circle at 92% 2%, rgba(14, 165, 233, 0.09) 0, transparent 36%),
    var(--fxb-body-bg);
}

.card {
  background: var(--fxb-card-bg) !important;
  border: 1px solid var(--fxb-card-border) !important;
  box-shadow: var(--fxb-card-shadow);
}

.card .card-title,
.card h1,
.card h2,
.card h3,
.card h4,
.card h5,
.card h6 {
  color: var(--fxb-card-title) !important;
}

.card .text-muted {
  color: var(--fxb-card-muted) !important;
}

.badge[class*='bg-label-'] {
  --fxb-status-bg: var(--fxb-badge-bg);
  --fxb-status-border: var(--fxb-badge-border);
  --fxb-status-text: var(--fxb-badge-text);
  --fxb-status-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  border: 1px solid var(--fxb-status-border);
  background: var(--fxb-status-bg) !important;
  color: var(--fxb-status-text) !important;
  box-shadow: var(--fxb-status-shadow);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.05;
}

.badge[class*='bg-label-']::before {
  content: '';
  width: 0.46rem;
  height: 0.46rem;
  flex: 0 0 0.46rem;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.92;
  box-shadow: 0 0 0 0.18rem rgba(255, 255, 255, 0.38);
}

html.dark-style .badge[class*='bg-label-']::before {
  box-shadow: 0 0 0 0.18rem rgba(15, 23, 42, 0.32);
}

.badge.bg-label-primary {
  --fxb-status-bg: var(--fxb-status-primary-bg);
  --fxb-status-border: var(--fxb-status-primary-border);
  --fxb-status-text: var(--fxb-status-primary-text);
  --fxb-status-shadow: var(--fxb-status-primary-shadow);
}

.badge.bg-label-success {
  --fxb-status-bg: var(--fxb-status-success-bg);
  --fxb-status-border: var(--fxb-status-success-border);
  --fxb-status-text: var(--fxb-status-success-text);
  --fxb-status-shadow: var(--fxb-status-success-shadow);
}

.badge.bg-label-info {
  --fxb-status-bg: var(--fxb-status-info-bg);
  --fxb-status-border: var(--fxb-status-info-border);
  --fxb-status-text: var(--fxb-status-info-text);
  --fxb-status-shadow: var(--fxb-status-info-shadow);
}

.badge.bg-label-warning {
  --fxb-status-bg: var(--fxb-status-warning-bg);
  --fxb-status-border: var(--fxb-status-warning-border);
  --fxb-status-text: var(--fxb-status-warning-text);
  --fxb-status-shadow: var(--fxb-status-warning-shadow);
}

.badge.bg-label-danger {
  --fxb-status-bg: var(--fxb-status-danger-bg);
  --fxb-status-border: var(--fxb-status-danger-border);
  --fxb-status-text: var(--fxb-status-danger-text);
  --fxb-status-shadow: var(--fxb-status-danger-shadow);
}

.badge.bg-label-secondary {
  --fxb-status-bg: var(--fxb-status-secondary-bg);
  --fxb-status-border: var(--fxb-status-secondary-border);
  --fxb-status-text: var(--fxb-status-secondary-text);
  --fxb-status-shadow: var(--fxb-status-secondary-shadow);
}

.badge.bg-label-dark {
  --fxb-status-bg: var(--fxb-status-dark-bg);
  --fxb-status-border: var(--fxb-status-dark-border);
  --fxb-status-text: var(--fxb-status-dark-text);
  --fxb-status-shadow: var(--fxb-status-dark-shadow);
}

.fx-status-card {
  border: 1px solid var(--fxb-card-border);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0.16));
  padding: 0.95rem 1rem;
}

html.dark-style .fx-status-card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.48), rgba(15, 23, 42, 0.2));
}

.fx-status-card + .fx-status-card {
  margin-top: 0.75rem;
}

.fx-status-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
}

.fx-status-row-meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.fx-status-row-meta .small {
  line-height: 1.45;
}

.fx-status-subtle {
  font-size: 0.8rem;
  color: var(--fxb-card-muted);
}

.fx-sidebar {
  background: var(--fxb-sidebar-bg) !important;
  border-right: 1px solid var(--fxb-sidebar-border);
  box-shadow: 10px 0 26px rgba(15, 23, 42, 0.12);
}

.fx-sidebar .app-brand {
  padding: 1rem 1.1rem 0.8rem;
}

.fx-brand-wrap .app-brand-link {
  gap: 0.65rem;
}

.fx-brand-logo {
  width: 2.15rem;
  height: 2.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.65rem;
  background: var(--fxa-gradient-cta) !important;
  color: #fff;
  box-shadow: var(--fxa-glow-cta) !important;
}

.fx-sidebar .app-brand-text {
  color: var(--fxb-brand-text) !important;
  letter-spacing: 0.03em;
  font-size: 1.03rem;
}

.fx-market-pill {
  margin: 0.2rem 0.9rem 0.75rem;
  border: 1px solid var(--fxb-pill-border);
  background: var(--fxb-pill-bg);
  border-radius: var(--fxb-pill-radius);
  padding: 0.45rem 0.62rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--fxb-pill-text);
  font-size: 0.73rem;
}

.fx-market-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--fxb-pill-dot);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.fx-market-pill[data-status='syncing'] .fx-market-dot {
  --fxb-pill-dot: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.22);
  animation: fx-automation-blink 1s ease-in-out infinite;
}

.fx-market-pill[data-status='offline'] .fx-market-dot {
  --fxb-pill-dot: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.22);
  animation: none;
}

.fx-market-pill[data-status='online'] .fx-market-dot {
  animation: none;
}

@keyframes fx-automation-blink {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(0.8);
  }
}

.layout-menu-collapsed .fx-market-pill {
  display: none;
}

.fx-sidebar .menu-header .menu-header-text {
  color: var(--fxb-sidebar-muted) !important;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

.fx-sidebar .menu-inner > .menu-item > .menu-link {
  margin: 0.2rem 0.62rem;
  border-radius: var(--fxb-pill-radius);
  color: var(--fxb-sidebar-text) !important;
  transition: 0.2s ease;
}

.fx-sidebar .menu-inner > .menu-item > .menu-link .menu-icon {
  color: var(--fxb-sidebar-icon) !important;
}

.fx-sidebar .menu-inner > .menu-item > .menu-link:hover {
  background: var(--fxb-sidebar-hover) !important;
  transform: translateX(2px);
}

.fx-sidebar .menu-inner > .menu-item.active > .menu-link {
  background: var(--fxb-sidebar-active-bg) !important;
  background-image: none !important;
  border: 1px solid var(--fxb-sidebar-active-border) !important;
  outline: none !important;
  box-shadow: none !important;
}

.fx-sidebar .menu-inner > .menu-item.active > .menu-link,
.fx-sidebar .menu-inner > .menu-item.active > .menu-link div {
  color: var(--fxb-sidebar-active-text) !important;
}

.fx-sidebar .menu-inner > .menu-item.active > .menu-link .menu-icon {
  color: var(--fxb-sidebar-active-icon) !important;
}

.fx-sidebar .menu .menu-item.active > .menu-link:not(.menu-toggle) {
  color: var(--fxb-sidebar-active-text) !important;
}

.fx-sidebar.menu-vertical .menu-item.active:not(.open) > .menu-link {
  background: var(--fxb-sidebar-active-bg) !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.fx-sidebar.bg-menu-theme .menu-inner > .menu-item.active,
.fx-sidebar.bg-menu-theme .menu-inner > .menu-item.open:not(.active),
.layout-menu-hover.layout-menu-collapsed .fx-sidebar.bg-menu-theme .menu-inner > .menu-item.active,
.layout-menu-hover.layout-menu-collapsed .fx-sidebar.bg-menu-theme .menu-inner > .menu-item.open:not(.active) {
  background-color: transparent !important;
}

.layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-expanded) .fx-sidebar.bg-menu-theme .menu-inner > .menu-item.active,
html.layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-expanded) .fx-sidebar.bg-menu-theme .menu-inner > .menu-item.active {
  background-color: transparent !important;
}

.layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-expanded) .fx-sidebar.bg-menu-theme .menu-inner > .menu-item.active .menu-link,
html.layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-expanded) .fx-sidebar.bg-menu-theme .menu-inner > .menu-item.active .menu-link {
  background: var(--fxb-sidebar-active-bg) !important;
  background-image: none !important;
  color: var(--fxb-sidebar-active-text) !important;
  box-shadow: none !important;
}

.fx-sidebar .menu .menu-item.active > .menu-link::before,
.fx-sidebar .menu .menu-item.active > .menu-link::after {
  display: none !important;
}

.fx-sidebar .menu .menu-link:focus,
.fx-sidebar .menu .menu-link:active,
.fx-sidebar .menu .menu-link:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.fx-topbar {
  border: 1px solid var(--fxb-topbar-border);
  border-radius: var(--fxb-radius-lg);
  background: var(--fxb-topbar-bg) !important;
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.12);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: visible !important;
}

.fx-topbar .nav-link {
  color: var(--fxb-topbar-text) !important;
}

.fx-topbar .text-muted,
.fx-topbar .small {
  color: var(--fxb-topbar-muted) !important;
}

.fx-topbar .fx-user-menu {
  min-width: 18rem;
  padding: 0.4rem 0.2rem;
  border-radius: 0.95rem;
  border: 1px solid var(--fxb-dropdown-border);
  background: var(--fxb-dropdown-bg);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.22);
}

.fx-topbar .fx-user-menu .dropdown-item {
  width: calc(100% - 0.7rem);
  margin: 0.12rem 0.35rem;
  border-radius: 0.7rem;
  color: var(--fxb-dropdown-item);
}

.fx-topbar .fx-user-menu .dropdown-item:hover,
.fx-topbar .fx-user-menu .dropdown-item:focus,
.fx-topbar .fx-user-menu .dropdown-item:active {
  background: var(--fxb-dropdown-hover);
  color: var(--fxb-dropdown-item);
}

.fx-topbar .fx-user-menu .dropdown-item .text-muted,
.fx-topbar .fx-user-menu .dropdown-item small {
  color: var(--fxb-dropdown-muted) !important;
}

.fx-topbar .fx-user-menu .dropdown-divider {
  border-top-color: var(--fxb-dropdown-divider);
  margin: 0.5rem 0.35rem;
}

.fx-topbar .fx-user-menu .avatar img {
  object-fit: cover;
}

.fx-topbar .navbar-nav-right {
  flex-basis: auto;
  min-width: 0;
}

.fx-topbar .navbar-nav-right .navbar-nav {
  flex-wrap: nowrap;
}

.fx-topbar .navbar-nav-right .navbar-nav > .nav-item {
  flex-shrink: 0;
}

.form-control,
.form-select {
  background-color: var(--fxb-input-bg) !important;
  border-color: var(--fxb-input-border) !important;
  color: var(--fxb-input-text) !important;
}

.form-control::placeholder,
textarea.form-control::placeholder {
  color: var(--fxb-input-placeholder) !important;
  opacity: 1;
}

.input-group-text {
  background-color: var(--fxb-input-addon-bg) !important;
  border-color: var(--fxb-input-border) !important;
  color: var(--fxb-input-placeholder) !important;
}

.form-control:focus,
.form-select:focus,
.input-group:focus-within .form-control,
.input-group:focus-within .form-select,
.input-group:focus-within .input-group-text {
  background-color: var(--fxb-input-bg-focus) !important;
  border-color: var(--fxb-input-focus-border) !important;
  color: var(--fxb-input-text) !important;
  box-shadow: 0 0 0 0.18rem var(--fxb-input-focus-ring) !important;
}

.form-control:disabled,
.form-control[readonly],
.form-select:disabled {
  background-color: var(--fxb-input-addon-bg) !important;
  border-color: var(--fxb-input-border) !important;
  color: var(--fxb-input-placeholder) !important;
  opacity: 1;
}

html.dark-style .form-select {
  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='%23a7b9d5' 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-position: right 1rem center !important;
  background-size: 16px 12px !important;
  padding-right: 2.75rem !important;
}

html.dark-style .form-select option {
  background-color: #12151D !important;
  color: #F7F7FA !important;
}

html.light-style .form-select option {
  background-color: #ffffff !important;
  color: #2b3a4a !important;
}

.fx-topbar-title {
  line-height: 1.15;
}

.fx-topbar-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  white-space: nowrap;
}

.fx-topbar-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.85rem;
  border-radius: 9999px !important;
  background: rgba(255, 122, 24, 0.08);
  border: 1px solid rgba(255, 122, 24, 0.25);
  color: var(--fxb-topbar-text);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
  min-width: 0;
  max-width: 100%;
}

html.dark-style .fx-topbar-pill {
  background: rgba(255, 122, 24, 0.12);
  border: 1px solid rgba(255, 122, 24, 0.35);
  color: #f8fafc;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.fx-topbar-breadcrumb {
  font-weight: 500;
  letter-spacing: 0.02em;
}

.fx-topbar-pill-muted {
  background: var(--fxb-topbar-pill-muted-bg);
  color: var(--fxb-topbar-muted);
}

.fx-topbar-divider {
  width: 1px;
  height: 1.2rem;
  background: var(--fxb-topbar-border);
}

.fx-topbar-path {
  font-size: 0.76rem;
  color: var(--fxb-topbar-muted);
  letter-spacing: 0.01em;
}

.fx-wallet-badge {
  border: 1px solid var(--fxb-wallet-border);
  background: var(--fxb-wallet-bg);
  color: var(--fxb-wallet-text);
  font-weight: 600;
  font-size: 0.74rem;
  border-radius: var(--fxb-pill-radius);
  padding: 0.46rem 0.72rem;
}

.fx-time-chip {
  display: inline-flex;
  align-items: center;
  border-radius: var(--fxb-pill-radius);
  border: 1px solid var(--fxb-time-border);
  background: var(--fxb-time-bg);
  color: var(--fxb-time-text);
  font-size: 0.72rem;
  padding: 0.34rem 0.58rem;
}

.fx-theme-toggle {
  display: inline-flex;
  align-items: center;
  border-radius: var(--fxb-pill-radius);
  border: 1px solid var(--fxb-time-border);
  background: var(--fxb-time-bg);
  color: var(--fxb-time-text);
  padding: 0.34rem 0.56rem;
}

.fx-theme-toggle:hover {
  background: var(--fxb-sidebar-hover);
  color: var(--fxb-topbar-text);
}

.fx-page-header {
  border: 1px solid var(--fxb-header-border);
  border-radius: 0.95rem;
  background: var(--fxb-header-bg);
  box-shadow: var(--fxb-card-shadow);
  padding: 1rem 1.08rem;
}

.fx-page-header h4 {
  margin: 0;
  color: var(--fxb-header-title);
}

.fx-page-header small {
  color: var(--fxb-header-sub);
}

.fx-footer {
  margin-top: 1rem;
  border-top: 1px solid var(--fxb-footer-border);
  background: var(--fxb-footer-bg) !important;
}

.fx-footer .fx-footer-brand {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--fxb-footer-title);
}

.fx-footer .fx-footer-link {
  color: var(--fxb-footer-link);
  text-decoration: none;
  font-size: 0.8rem;
  margin-right: 0.95rem;
}

.fx-footer .fx-footer-link:hover {
  color: var(--fxb-footer-link-hover);
}

.fx-footer .fx-footer-caption {
  color: var(--fxb-footer-muted);
  font-size: 0.76rem;
}

.toast-container .toast {
  border-radius: 0.85rem;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.2);
  backdrop-filter: blur(6px);
  min-width: 18rem;
}

.fxbamboo-app .toast-container.position-fixed.top-0 {
  top: calc(1rem + 4.75rem) !important;
}

@media (max-width: 767.98px) {
  .fxbamboo-app .toast-container.position-fixed.top-0 {
    top: calc(0.75rem + 4.25rem) !important;
  }
}

.toast-container .fx-toast {
  border: 1px solid var(--fxb-card-border) !important;
  border-left-width: 4px !important;
  background: var(--fxb-card-bg);
  color: var(--fxb-card-title);
}

.toast-container .fx-toast .toast-header {
  border-bottom: 1px solid var(--fxb-card-border);
  background: transparent;
  color: inherit;
}

.toast-container .fx-toast .toast-header .btn-close {
  opacity: 0.85;
}

.toast-container .fx-toast .toast-body {
  color: inherit;
}

.toast-container .fx-toast .fx-toast-time {
  color: inherit;
  opacity: 0.72;
}

.toast-container .fx-toast-info {
  background: var(--fxb-toast-info-bg);
  border-color: var(--fxb-toast-info-border) !important;
  color: var(--fxb-toast-info-text);
}

.toast-container .fx-toast-success {
  background: var(--fxb-toast-success-bg);
  border-color: var(--fxb-toast-success-border) !important;
  color: var(--fxb-toast-success-text);
}

.toast-container .fx-toast-warning {
  background: var(--fxb-toast-warning-bg);
  border-color: var(--fxb-toast-warning-border) !important;
  color: var(--fxb-toast-warning-text);
}

.toast-container .fx-toast-danger {
  background: var(--fxb-toast-danger-bg);
  border-color: var(--fxb-toast-danger-border) !important;
  color: var(--fxb-toast-danger-text);
}

html.dark-style .toast-container .fx-toast .toast-header .btn-close {
  filter: invert(1) grayscale(1);
}

html.dark-style .alert {
  border-radius: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

html.dark-style .alert-success {
  background: rgba(8, 24, 48, 0.82) !important;
  border-color: rgba(16, 185, 129, 0.26) !important;
  color: #86efac !important;
}

html.dark-style .alert-success .small {
  color: #6ee7b7 !important;
}

html.dark-style .alert-info {
  background: rgba(8, 47, 73, 0.78) !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
  color: #bae6fd !important;
}

html.dark-style .alert-warning {
  background: rgba(69, 38, 6, 0.78) !important;
  border-color: rgba(251, 191, 36, 0.34) !important;
  color: #fde68a !important;
}

html.dark-style .alert-danger {
  background: rgba(76, 15, 22, 0.78) !important;
  border-color: rgba(248, 113, 113, 0.34) !important;
  color: #fecaca !important;
}

html.dark-style .alert a,
html.dark-style .alert strong {
  color: inherit !important;
}

.template-customizer-open-btn,
.template-customizer {
  display: none !important;
}

/* Force-remove Frest collapsed active item background ring in mini sidebar mode */
html.layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-expanded) .layout-menu.bg-menu-theme .menu-inner > .menu-item.active,
.layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-expanded) .layout-menu.bg-menu-theme .menu-inner > .menu-item.active,
html.layout-menu-collapsed.layout-menu-hover .layout-menu.bg-menu-theme .menu-inner > .menu-item.active,
.layout-menu-collapsed.layout-menu-hover .layout-menu.bg-menu-theme .menu-inner > .menu-item.active {
  background-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

html.layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-expanded) .layout-menu.bg-menu-theme .menu-inner > .menu-item.active > .menu-link,
.layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-expanded) .layout-menu.bg-menu-theme .menu-inner > .menu-item.active > .menu-link,
html.layout-menu-collapsed.layout-menu-hover .layout-menu.bg-menu-theme .menu-inner > .menu-item.active > .menu-link,
.layout-menu-collapsed.layout-menu-hover .layout-menu.bg-menu-theme .menu-inner > .menu-item.active > .menu-link {
  background: var(--fxb-sidebar-active-bg) !important;
  background-image: none !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

html.layout-menu-collapsed .layout-menu.bg-menu-theme .menu-inner > .menu-item.active::before,
html.layout-menu-collapsed .layout-menu.bg-menu-theme .menu-inner > .menu-item.active::after,
.layout-menu-collapsed .layout-menu.bg-menu-theme .menu-inner > .menu-item.active::before,
.layout-menu-collapsed .layout-menu.bg-menu-theme .menu-inner > .menu-item.active::after {
  display: none !important;
  background: transparent !important;
}

@media (max-width: 1199.98px) {
  .fx-topbar {
    border-radius: 0.9rem;
  }

  .fx-topbar-inline {
    gap: 0.45rem;
  }
}

@media (min-width: 1200px) and (max-width: 1366px) {
  html:not(.layout-menu-collapsed) .fx-topbar-left-block .fx-topbar-path {
    max-width: 14rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
  }

  html:not(.layout-menu-collapsed) .fx-topbar-left-block .fx-topbar-pill {
    padding: 0.34rem 0.58rem;
    font-size: 0.74rem;
  }

  html:not(.layout-menu-collapsed) .fx-topbar-clock {
    display: block !important;
  }
}

@media (max-width: 575.98px) {
  .fx-page-header {
    padding: 0.85rem 0.9rem;
  }
}

/* Premium refresh - FX Airlines Auto Spec */
:root {
  --fxb-radius-xl: 1.35rem;
  --fxb-radius-2xl: 1.8rem;
  --fxb-radius-3xl: 2.2rem;
  --fxb-surface-glow: linear-gradient(135deg, rgba(255, 194, 71, 0.15), rgba(255, 122, 24, 0.08));
  --fxb-primary-gradient: linear-gradient(135deg, #FF286F 0%, #FF7A18 52%, #FFC247 100%);
  --fxb-primary-shadow: 0 16px 34px rgba(255, 122, 24, 0.28);
}

body.fxbamboo-app,
body.fxbamboo-auth-shell {
  background-attachment: fixed;
}

body.fxbamboo-app::before,
body.fxbamboo-auth-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 12%, rgba(14, 165, 233, 0.11) 0, transparent 24%),
    radial-gradient(circle at 84% 8%, rgba(37, 99, 235, 0.1) 0, transparent 28%),
    linear-gradient(rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02));
  z-index: 0;
}

.layout-page,
.authentication-wrapper,
.container-xxl,
.content-wrapper {
  position: relative;
  z-index: 1;
}

.container-p-y {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}

.card {
  border-radius: var(--fxb-radius-xl) !important;
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.card-header {
  background: var(--fxb-surface-glow) !important;
  border-bottom: 1px solid var(--fxb-card-border) !important;
  padding: 1.12rem 1.35rem 1rem !important;
  color: var(--fxb-card-title) !important;
}

.card-header h1,
.card-header h2,
.card-header h3,
.card-header h4,
.card-header h5,
.card-header h6,
.card-header .card-title,
.card-header .text-muted {
  color: inherit !important;
}

.card-body {
  padding: 1.35rem !important;
}

.card > .card-body:first-child {
  padding-top: 1.45rem !important;
}

.card-header > :first-child,
.card-body > :first-child {
  margin-top: 0 !important;
}

.table-responsive {
  border-radius: 1.15rem;
}

.table {
  --bs-table-bg: transparent;
  --bs-table-border-color: rgba(148, 163, 184, 0.16);
  margin-bottom: 0;
}

.table thead th {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.71rem;
  font-weight: 800;
  color: var(--fxb-topbar-muted);
  border-bottom-width: 1px;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.table > :not(caption) > * > * {
  padding: 0.92rem 1rem;
  vertical-align: middle;
}

.table tbody tr {
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.table tbody tr:hover {
  background: rgba(14, 165, 233, 0.045);
}

.btn {
  border-radius: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--fxb-primary-gradient) !important;
  border-color: transparent !important;
  box-shadow: var(--fxb-primary-shadow);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  box-shadow: 0 20px 42px rgba(37, 99, 235, 0.28) !important;
}

.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-success,
.btn-outline-danger,
.btn-outline-warning,
.btn-outline-info,
.btn-outline-light {
  border-width: 1px;
  backdrop-filter: blur(12px);
}

.form-control,
.form-select {
  min-height: 3rem;
  border-radius: 1rem;
  background-color: var(--fxb-input-bg);
  color: var(--fxb-input-text);
  border-color: var(--fxb-input-border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.form-select {
  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='%23697a8d' 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-position: right 1rem center !important;
  background-size: 16px 12px !important;
  padding-right: 2.75rem !important;
}

.form-select.form-select-sm {
  min-height: calc(1.5em + 0.5rem + 2px) !important;
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
  padding-left: 0.5rem !important;
  padding-right: 1.75rem !important;
  font-size: 0.8125rem !important;
  background-position: right 0.5rem center !important;
  background-size: 12px 10px !important;
  border-radius: 0.5rem !important;
}

.form-select.form-select-lg {
  min-height: calc(1.5em + 1rem + 2px) !important;
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
  padding-left: 1rem !important;
  padding-right: 3rem !important;
  font-size: 1.0625rem !important;
  background-position: right 1.25rem center !important;
  background-size: 18px 14px !important;
  border-radius: 1rem !important;
}

.form-select[multiple],
.form-select[size]:not([size="1"]) {
  background-image: none !important;
  padding-right: 1rem !important;
}

.form-control::placeholder {
  color: var(--fxb-input-placeholder);
}

.form-control:focus,
.form-select:focus {
  background-color: var(--fxb-input-bg-focus);
  border-color: var(--fxb-input-focus-border);
  box-shadow: 0 0 0 0.28rem var(--fxb-input-focus-ring);
}

.input-group > .form-control,
.input-group > .form-select {
  border-radius: 1rem 0 0 1rem;
}

.input-group-text {
  border-radius: 0 1rem 1rem 0;
  background: var(--fxb-input-addon-bg);
  border-color: var(--fxb-input-border);
  color: var(--fxb-input-placeholder);
}

.form-check-input {
  border-radius: 0.45rem;
}

.badge {
  border-radius: 999px;
  padding: 0.42rem 0.64rem;
  font-weight: 700;
}

.dropdown-menu {
  border-radius: 1.1rem;
  padding: 0.55rem;
  border-color: var(--fxb-dropdown-border);
  background: var(--fxb-dropdown-bg);
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.16);
}

.dropdown-item {
  border-radius: 0.8rem;
  color: var(--fxb-dropdown-item);
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: var(--fxb-dropdown-hover);
}

.pagination {
  gap: 0.35rem;
}

.pagination .page-link {
  border-radius: 0.85rem !important;
  border-color: var(--fxb-card-border);
  color: var(--fxb-topbar-text);
}

.pagination .active > .page-link {
  background: var(--fxb-primary-gradient);
  border-color: transparent;
  box-shadow: var(--fxb-primary-shadow);
}

.fx-topbar {
  border-radius: 1.3rem;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.fx-sidebar {
  backdrop-filter: blur(16px);
}

.fx-sidebar .menu-inner > .menu-item > .menu-link {
  min-height: 2.9rem;
  padding-inline: 0.95rem;
}

.fx-sidebar .menu-inner > .menu-item > .menu-link .menu-icon {
  font-size: 1.18rem;
}

.fx-sidebar .menu-inner > .menu-item.active > .menu-link {
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.14);
}

.fx-user-menu .dropdown-item,
.fx-user-menu .dropdown-item .text-muted {
  transition: color 0.18s ease, background-color 0.18s ease;
}

.alert {
  border-radius: 1rem;
  border-width: 1px;
}

.content-footer {
  margin-top: 1.25rem;
}

.fx-auth-simple-wrap {
  width: min(100%, 31rem);
  margin-inline: auto;
}

.authentication-wrapper.authentication-basic .authentication-inner.fx-auth-simple-wrap {
  max-width: 31rem;
}

.authentication-wrapper.authentication-basic .authentication-inner.fx-auth-simple-wrap::before,
.authentication-wrapper.authentication-basic .authentication-inner.fx-auth-simple-wrap::after {
  display: none;
}

.fx-auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: inherit;
  text-decoration: none;
}

.fx-auth-brand:hover {
  color: inherit;
}

.fx-auth-logo-mark {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  color: #fff;
  font-size: 1.45rem;
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.28);
}

.fx-auth-brand-name {
  display: block;
  font-family: var(--autoset-display-stack);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.fx-auth-brand-sub {
  display: block;
  margin-top: 0.16rem;
  color: var(--fxb-topbar-muted);
  font-size: 0.8rem;
}

.fx-auth-brand-compact {
  color: var(--fxb-topbar-text);
}

.fx-auth-simple-card {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 1.45rem !important;
  border: 1px solid var(--fxb-border-soft);
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.12);
}

.fx-auth-simple-card .card-body {
  padding: 1.6rem 1.55rem 1.45rem;
}

.fx-auth-simple-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.fx-auth-support-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid var(--fxb-input-border);
  background: rgba(37, 99, 235, 0.06);
  color: var(--fxb-topbar-text);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
}

.fx-auth-support-inline:hover {
  color: var(--fxb-topbar-text);
  background: rgba(37, 99, 235, 0.1);
}

.fx-auth-section-head {
  margin-bottom: 1.2rem;
}

.fx-auth-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.16);
  color: #1d4ed8;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.38rem 0.72rem;
}

.fx-auth-trust-note {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 1.1rem;
  color: var(--fxb-card-muted);
  font-size: 0.82rem;
}

.fx-auth-trust-note i {
  font-size: 1rem;
  color: #0284c7;
  margin-top: 0.02rem;
}

.fxbamboo-auth-shell .authentication-wrapper.authentication-basic {
  padding-block: 2rem;
}

@media (max-width: 991.98px) {
  .fx-topbar {
    border-radius: 1rem;
  }

  .card-header,
  .card-body {
    padding-inline: 1rem !important;
  }
}

@media (max-width: 767.98px) {
  .fx-auth-simple-card .card-body {
    padding: 1.15rem 1rem 1rem;
  }

  .fx-auth-simple-head {
    flex-direction: column;
    align-items: stretch;
  }

  .fx-auth-support-inline {
    width: fit-content;
  }

  .table > :not(caption) > * > * {
    padding: 0.8rem 0.75rem;
  }
}

html,
body {
  overflow-x: hidden;
}

.layout-page {
  min-width: 0;
}

.fx-topbar-left-block {
  min-width: 0;
  flex: 1 1 auto;
}

.fx-package-hero {
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.12) 0, transparent 34%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.96), rgba(239, 246, 255, 0.96));
}

html.dark-style .fx-package-hero {
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.16) 0, transparent 34%),
    linear-gradient(140deg, rgba(15, 23, 42, 0.92), rgba(16, 27, 45, 0.95));
}

.fx-package-hero-copy {
  max-width: 42rem;
}

.fx-package-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--fxb-badge-border);
  background: var(--fxb-badge-bg);
  color: var(--fxb-badge-text);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.42rem 0.78rem;
  text-transform: uppercase;
}

.fx-package-hero-side {
  width: min(100%, 24rem);
}

.fx-package-summary {
  border: 1px solid var(--fxb-card-border);
  background: rgba(37, 99, 235, 0.08);
  border-radius: 1rem;
  color: var(--fxb-topbar-text);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.5;
  padding: 0.9rem 1rem;
}

html.dark-style .fx-package-summary {
  background: rgba(56, 189, 248, 0.12);
}

.fx-package-card {
  position: relative;
}

.fx-package-meta {
  color: var(--fxb-topbar-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fx-package-stat {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  border: 1px solid var(--fxb-card-border);
  border-radius: 1.1rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(14, 165, 233, 0.03));
  padding: 0.95rem 1rem;
}

html.dark-style .fx-package-stat {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(14, 165, 233, 0.06));
}

.fx-package-stat-value {
  min-width: 2.9rem;
  color: var(--fxb-status-primary-text);
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  text-align: center;
}

.fx-package-stat-label {
  color: var(--fxb-card-title);
  font-size: 0.92rem;
  font-weight: 700;
}

.fx-package-feature-list {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1rem;
  padding-left: 1.1rem;
}

.fx-package-feature-list li {
  color: var(--fxb-card-muted);
  line-height: 1.5;
}

.fx-package-actions {
  margin-top: auto;
}

.drag-target {
  display: none !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

@media (max-width: 1439.98px) {
  .layout-navbar.container-xxl,
  .content-wrapper .container-xxl,
  .content-footer .container-xxl {
    max-width: 100%;
    padding-inline: 1rem;
  }

  .fx-topbar-inline {
    max-width: 100%;
    flex-wrap: wrap;
    white-space: normal;
  }

  .fx-topbar-path {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

html:not(.layout-menu-expanded) .layout-overlay {
  display: none !important;
  pointer-events: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

html.layout-menu-expanded .layout-menu {
  transform: translate3d(0, 0, 0) !important;
  visibility: visible !important;
}

@media (max-width: 1199.98px) {
  #layout-menu,
  .layout-menu,
  .fx-sidebar {
    z-index: 1105 !important;
    pointer-events: auto !important;
  }

  .layout-overlay {
    z-index: 1095 !important;
  }

  html.layout-menu-expanded .layout-overlay {
    display: block !important;
    pointer-events: auto !important;
    opacity: 0.5 !important;
    visibility: visible !important;
  }

  html.layout-menu-expanded .layout-menu {
    transform: translate3d(0, 0, 0) !important;
    visibility: visible !important;
  }

  .drag-target {
    display: none !important;
    pointer-events: none !important;
    width: 0 !important;
    z-index: -1 !important;
  }

  html.layout-menu-expanded .drag-target {
    display: none !important;
    pointer-events: none !important;
  }

  .fx-sidebar .menu-inner {
    padding-bottom: 1rem;
  }

  .fx-sidebar .menu-link {
    position: relative;
    z-index: 1;
  }
}

.fx-sidebar,
.fx-sidebar .menu-inner,
.fx-sidebar .menu-item,
.fx-sidebar .menu-link {
  pointer-events: auto !important;
}

@media (max-width: 991.98px) {
  .fx-package-hero-side {
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .fx-package-hero .card-body {
    padding: 1.1rem !important;
  }

  .fx-package-summary {
    font-size: 0.78rem;
    padding: 0.8rem 0.85rem;
  }

  .fx-package-stat {
    align-items: flex-start;
  }

  .fx-package-stat-value {
    min-width: 2.4rem;
    font-size: 1.75rem;
  }
}

/* Comprehensive Responsive System for all screen sizes & touch devices */
html {
  -webkit-text-size-adjust: 100%;
}

body {
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

img, svg, canvas {
  max-width: 100%;
  height: auto;
}

.table-responsive {
  -webkit-overflow-scrolling: touch;
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: thin;
}

.table-responsive::-webkit-scrollbar {
  height: 6px;
}

.table-responsive::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.35);
  border-radius: 999px;
}

.pagination {
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
  margin-block: 0.5rem;
}

.pagination .page-item .page-link {
  border-radius: 0.5rem !important;
  min-width: 2.25rem;
  text-align: center;
}

@media (max-width: 991.98px) {
  .container-xxl,
  .container-fluid {
    padding-inline: 1rem !important;
  }

  .content-wrapper {
    padding-bottom: 2rem;
  }

  .fx-topbar {
    margin-bottom: 1rem !important;
  }

  .card-header,
  .card-body,
  .card-footer {
    padding: 1.15rem !important;
  }

  .table th,
  .table td {
    white-space: nowrap;
  }
}

@media (max-width: 767.98px) {
  .container-xxl,
  .container-fluid {
    padding-inline: 0.75rem !important;
  }

  .fx-topbar {
    padding-inline: 0.75rem !important;
    border-radius: 0.85rem !important;
  }

  .fx-topbar .fx-time-chip {
    display: none !important;
  }

  .card {
    border-radius: 0.95rem !important;
    margin-bottom: 1rem !important;
  }

  .card-header,
  .card-body,
  .card-footer {
    padding: 0.95rem !important;
  }

  .modal-dialog {
    margin: 0.5rem !important;
    max-width: calc(100% - 1rem) !important;
  }

  .modal-footer {
    flex-direction: column-reverse;
    gap: 0.5rem;
  }

  .modal-footer > * {
    width: 100% !important;
    margin: 0 !important;
  }

  .form-control,
  .form-select {
    min-height: 2.85rem !important;
    border-radius: 0.75rem !important;
  }

  .input-group > .form-control,
  .input-group > .form-select {
    border-radius: 0.75rem 0 0 0.75rem !important;
  }

  .input-group-text {
    border-radius: 0 0.75rem 0.75rem 0 !important;
  }

  .dropdown-menu {
    max-width: calc(100vw - 1.5rem) !important;
  }

  .fx-user-menu {
    width: calc(100vw - 1.5rem) !important;
    max-width: 20rem !important;
    right: 0 !important;
    left: auto !important;
  }

  .table > :not(caption) > * > * {
    padding: 0.75rem 0.65rem !important;
    font-size: 0.84rem !important;
  }

  .btn:not(.btn-sm):not(.btn-xs) {
    min-height: 2.85rem;
  }
}

@media (max-width: 575.98px) {
  .container-xxl,
  .container-fluid {
    padding-inline: 0.5rem !important;
  }

  .content-wrapper {
    padding-top: 0.25rem;
  }

  .fx-topbar {
    padding-inline: 0.5rem !important;
    border-radius: 0.75rem !important;
  }

  .card {
    border-radius: 0.8rem !important;
  }

  .card-header,
  .card-body,
  .card-footer {
    padding: 0.8rem !important;
  }

  .form-control,
  .form-select {
    font-size: 1rem !important;
    min-height: 2.75rem !important;
  }

  .btn:not(.btn-sm):not(.btn-xs) {
    min-height: 2.75rem;
  }

  .table > :not(caption) > * > * {
    padding: 0.65rem 0.5rem !important;
    font-size: 0.8rem !important;
  }

  .badge {
    font-size: 0.7rem !important;
    padding: 0.25em 0.5em !important;
  }

  .btn-sm {
    padding: 0.25rem 0.5rem !important;
    font-size: 0.75rem !important;
    min-height: 1.85rem !important;
  }

  .app-brand .app-brand-text {
    font-size: 1.15rem !important;
  }

  .fx-market-pill {
    margin-inline: 0.5rem !important;
    font-size: 0.72rem !important;
  }

  .layout-menu.menu-vertical {
    width: min(16.5rem, 85vw) !important;
  }
}

@media (pointer: coarse) {
  .btn,
  .page-link,
  .menu-link,
  .dropdown-item {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .btn-sm {
    min-height: 36px !important;
  }

  .form-check-input {
    width: 1.35em !important;
    height: 1.35em !important;
  }
}

/* Fix navbar frame, box-shadow and prevent clipping on Nest Hub Max (1280x800) and all screens */
.layout-navbar.fx-topbar,
.layout-navbar-fixed .layout-content-navbar .layout-navbar.fx-topbar {
  position: fixed !important;
  top: 0.75rem !important;
  left: calc(16.25rem + 1.25rem) !important;
  right: 1.25rem !important;
  width: auto !important;
  max-width: none !important;
  height: 3.875rem !important;
  min-height: 3.875rem !important;
  margin: 0 !important;
  padding-inline: 1.25rem !important;
  padding-block: 0 !important;
  border: 1px solid var(--fxb-topbar-border) !important;
  border-radius: 1.15rem !important;
  background: var(--fxb-topbar-bg) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.16) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: visible !important;
  z-index: 1075 !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  transition: left 0.25s ease, right 0.25s ease, box-shadow 0.2s ease !important;
}

.layout-navbar.fx-topbar::before,
.layout-navbar-fixed .layout-content-navbar .layout-navbar.fx-topbar::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: inherit !important;
  background: var(--fxb-topbar-bg) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  z-index: -1 !important;
  pointer-events: none !important;
}

.layout-navbar-fixed.layout-menu-collapsed .layout-content-navbar .layout-navbar.fx-topbar,
html.layout-menu-collapsed .layout-navbar.fx-topbar {
  left: calc(5rem + 1.25rem) !important;
  right: 1.25rem !important;
}

@media (max-width: 1199.98px) {
  .layout-navbar.fx-topbar,
  .layout-navbar-fixed .layout-content-navbar .layout-navbar.fx-topbar {
    left: 1rem !important;
    right: 1rem !important;
    top: 0.625rem !important;
    padding-inline: 0.875rem !important;
    border-radius: 1rem !important;
  }
}

@media (max-width: 575.98px) {
  .layout-navbar.fx-topbar,
  .layout-navbar-fixed .layout-content-navbar .layout-navbar.fx-topbar,
  .layout-navbar {
    left: 0.5rem !important;
    right: 0.5rem !important;
    top: 0.5rem !important;
    padding-inline: 0.625rem !important;
    border-radius: 0.85rem !important;
    height: 3.5rem !important;
    min-height: 3.5rem !important;
  }

  .fx-topbar-left-block {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    overflow: hidden !important;
  }

  .fx-topbar-pill {
    font-size: 0.72rem !important;
    padding: 0.25rem 0.55rem !important;
    min-width: 0 !important;
    max-width: 140px !important;
  }
}

.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: calc(0.75rem + 3.875rem + 1.25rem) !important;
}

@media (max-width: 1199.98px) {
  .layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
    padding-top: calc(0.625rem + 3.875rem + 1rem) !important;
  }
}

@media (max-width: 575.98px) {
  .layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
    padding-top: calc(0.5rem + 3.5rem + 0.75rem) !important;
  }
}

.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal) .layout-page:before {
  display: none !important;
}

/* ============================================================
   THEME SWITCHER IN TOPBAR (Simple Icon Toggle: Dark / Light)
   ============================================================ */
.fx-theme-toggle-simple {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.25s ease, transform 0.2s ease;
  line-height: 1;
}

html.light-style .fx-theme-toggle-simple {
  color: #64748b !important;
}

html.light-style .fx-theme-toggle-simple:hover,
html.light-style .fx-theme-toggle-simple:focus {
  color: #f59e0b !important;
  transform: scale(1.12);
}

html.dark-style .fx-theme-toggle-simple {
  color: #94a3b8 !important;
}

html.dark-style .fx-theme-toggle-simple:hover,
html.dark-style .fx-theme-toggle-simple:focus {
  color: #38bdf8 !important;
  transform: scale(1.12);
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.45);
}

/* ============================================================
   NAVBAR MENU TOGGLE BUTTON (All Screen Sizes)
   ============================================================ */
.fx-nav-toggle-wrap {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}

.fx-menu-toggle-btn,
button.fx-menu-toggle-btn {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  border-radius: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  visibility: visible !important;
  opacity: 1 !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  background: rgba(15, 23, 42, 0.06) !important;
  color: #0f172a !important;
  cursor: pointer !important;
  z-index: 1080 !important;
  transition: all 0.2s ease !important;
  padding: 0 !important;
}

html.light-style .fx-menu-toggle-btn,
html.light-style button.fx-menu-toggle-btn {
  background: rgba(15, 23, 42, 0.06) !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  color: #0f172a !important;
}

html.dark-style .fx-menu-toggle-btn,
html.dark-style button.fx-menu-toggle-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  color: #f8fafc !important;
}

html.light-style .fx-menu-toggle-btn:hover,
html.light-style .fx-menu-toggle-btn:focus,
html.light-style button.fx-menu-toggle-btn:hover,
html.light-style button.fx-menu-toggle-btn:focus,
html.dark-style .fx-menu-toggle-btn:hover,
html.dark-style .fx-menu-toggle-btn:focus,
html.dark-style button.fx-menu-toggle-btn:hover,
html.dark-style button.fx-menu-toggle-btn:focus {
  background: rgba(255, 122, 24, 0.16) !important;
  border-color: rgba(255, 122, 24, 0.5) !important;
  color: #ff7a18 !important;
  transform: scale(1.05);
}

.fx-menu-toggle-btn i,
button.fx-menu-toggle-btn i {
  font-size: 1.5rem !important;
  line-height: 1 !important;
  display: inline-block !important;
}

.layout-navbar .layout-menu-toggle {
  display: flex !important;
  align-items: center;
}

.fx-theme-dropdown {
  min-width: 14.5rem;
  padding: 0.45rem 0.35rem !important;
  border-radius: 0.95rem !important;
  border: 1px solid var(--fxb-dropdown-border) !important;
  background: var(--fxb-dropdown-bg) !important;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.24) !important;
}

.fx-theme-dropdown .dropdown-item {
  width: calc(100% - 0.4rem);
  margin: 0.15rem 0.2rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.7rem;
  color: var(--fxb-dropdown-item) !important;
  font-weight: 500;
  font-size: 0.88rem;
  transition: all 0.2s ease;
}

.fx-theme-dropdown .dropdown-item:hover,
.fx-theme-dropdown .dropdown-item:focus {
  background: var(--fxb-dropdown-hover) !important;
  color: var(--fxb-dropdown-item) !important;
  transform: translateX(2px);
}

.fx-theme-dropdown .dropdown-item.active {
  background: var(--fxb-dropdown-hover) !important;
  color: #FF7A18 !important;
  font-weight: 700;
}

html.light-style .fx-theme-dropdown .dropdown-item.active {
  color: #1d4ed8 !important;
  background: rgba(37, 99, 235, 0.12) !important;
}

/* ============================================================
   GLOBAL COLOR CONFLICT GUARDS (Light / Dark Mode)
   ============================================================ */
html.light-style body.fxbamboo-app {
  color: #1e293b;
}

html.dark-style body.fxbamboo-app {
  color: #f1f5f9;
}

html.light-style .card {
  color: #1e293b;
}

html.dark-style .card {
  color: #f1f5f9;
}

html.light-style .card .text-muted,
html.light-style .text-muted {
  color: #64748b !important;
}

html.dark-style .card .text-muted,
html.dark-style .text-muted {
  color: #94a3b8 !important;
}

html.light-style .dropdown-menu {
  background-color: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
}

html.dark-style .dropdown-menu {
  background-color: #0d121c !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

html.light-style .dropdown-menu .dropdown-item {
  color: #1e293b !important;
}

html.dark-style .dropdown-menu .dropdown-item {
  color: #e2e8f0 !important;
}

html.light-style .modal-content {
  background-color: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  color: #1e293b !important;
}

html.dark-style .modal-content {
  background-color: #0d121c !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #f1f5f9 !important;
}

html.dark-style .table > :not(caption) > * > * {
  color: #e2e8f0;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

html.light-style .table > :not(caption) > * > * {
  color: #1e293b;
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

html.dark-style .table tbody tr:hover {
  background: rgba(255, 255, 255, 0.04) !important;
}

/* Safari / WebKit Dropdown & Menu Layout Alignment Fix */
.dropdown-menu-end {
  right: 0 !important;
  left: auto !important;
}

.fx-topbar .navbar-dropdown .dropdown-menu {
  transform: none !important;
}

.fx-topbar .navbar-nav .dropdown-menu,
.fx-topbar .dropdown-user .dropdown-menu {
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  left: auto !important;
  z-index: 1055 !important;
  float: none !important;
}

/* Avatar dropdown toggle cho Safari iOS */
.dropdown-user,
#fx-user-dropdown-container {
  position: relative !important;
  overflow: visible !important;
}

.layout-navbar.fx-topbar,
.layout-navbar-fixed .layout-content-navbar .layout-navbar.fx-topbar,
.layout-navbar .navbar,
.layout-navbar .navbar-nav-right,
.layout-navbar .navbar-nav {
  overflow: visible !important;
}

.dropdown-user .dropdown-toggle,
#fx-user-dropdown-toggle {
  cursor: pointer !important;
  -webkit-tap-highlight-color: transparent !important;
  touch-action: manipulation !important;
}
.dropdown-user .avatar,
.dropdown-user .avatar *,
#fx-user-dropdown-toggle .avatar,
#fx-user-dropdown-toggle .avatar * {
  pointer-events: none !important;
}

#fx-user-dropdown-menu,
.fx-topbar .fx-user-menu {
  background-color: #ffffff !important;
  background: #ffffff !important;
  color: #1e293b !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  min-width: 17rem !important;
  width: auto !important;
  max-width: calc(100vw - 1.5rem) !important;
  isolation: isolate !important;
  -webkit-transform: translateZ(0) !important;
  transform: translateZ(0) !important;
}

html.dark-style #fx-user-dropdown-menu,
html.dark-style .fx-topbar .fx-user-menu {
  background-color: #0f1b2f !important;
  background: #0f1b2f !important;
  color: #f1f5f9 !important;
}

/* Hiển thị chắc chắn khi .show */
#fx-user-dropdown-menu.show,
.dropdown-menu.show#fx-user-dropdown-menu,
.dropdown-user.show > .dropdown-menu,
.dropdown-user > .dropdown-menu.show,
#fx-user-dropdown-container.show > #fx-user-dropdown-menu {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 99999 !important;
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  left: auto !important;
  margin-top: 0.5rem !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35) !important;
  -webkit-transform: translateZ(0) !important;
  transform: translateZ(0) !important;
}

#fx-user-dropdown-menu * {
  visibility: visible !important;
  opacity: 1 !important;
}

#fx-user-dropdown-menu .dropdown-item {
  color: #1e293b !important;
  opacity: 1 !important;
}

html.dark-style #fx-user-dropdown-menu .dropdown-item {
  color: #e2e8f0 !important;
}

@media (max-width: 1199.98px) {
  .layout-navbar .navbar-nav .nav-item.dropdown#fx-user-dropdown-container,
  #fx-user-dropdown-container {
    position: relative !important;
    float: none !important;
    overflow: visible !important;
  }
}

.layout-menu .menu-item.open > .menu-sub {
  display: block !important;
}



