/* ==========================================================================
   PropertyPost — Production-Grade Admin Theme v2.0
   Design System: Stripe Dashboard × Linear × Vercel
   ========================================================================== */

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

/* ==========================================================================
   CSS Custom Properties — Design Tokens
   ========================================================================== */
:root {
  /* Typography */
  --re-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Light Mode Palette */
  --re-bg-primary: #ffffff;
  --re-bg-secondary: #f9fafb;
  --re-bg-tertiary: #f3f4f6;
  --re-bg-elevated: #ffffff;
  --re-border: #e5e7eb;
  --re-border-subtle: #f0f1f3;
  --re-text-primary: #111827;
  --re-text-secondary: #4b5563;
  --re-text-tertiary: #9ca3af;
  --re-text-muted: #6b7280;

  /* Brand Colors */
  --re-accent: #0066ff;
  --re-accent-hover: #0052cc;
  --re-accent-muted: rgba(0, 102, 255, 0.08);
  --re-accent-border: rgba(0, 102, 255, 0.2);
  --re-accent-glow: rgba(0, 102, 255, 0.15);

  /* Status Colors */
  --re-success: #00a63e;
  --re-success-bg: rgba(0, 166, 62, 0.08);
  --re-warning: #e5a000;
  --re-warning-bg: rgba(229, 160, 0, 0.08);
  --re-danger: #dc2626;
  --re-danger-bg: rgba(220, 38, 38, 0.06);

  /* Shadows */
  --re-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --re-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --re-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --re-shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --re-shadow-xl: 0 20px 40px -12px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --re-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --re-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Radii */
  --re-radius-sm: 6px;
  --re-radius-md: 8px;
  --re-radius-lg: 12px;
  --re-radius-xl: 16px;
}

/* Dark Mode Tokens */
.dark {
  --re-bg-primary: #0a0a0f;
  --re-bg-secondary: #111118;
  --re-bg-tertiary: #18181f;
  --re-bg-elevated: #141419;
  --re-border: #1e1e2a;
  --re-border-subtle: #16161f;
  --re-text-primary: #f0f0f5;
  --re-text-secondary: #a0a0b0;
  --re-text-tertiary: #606070;
  --re-text-muted: #70708a;

  --re-accent: #4d8eff;
  --re-accent-hover: #6ba1ff;
  --re-accent-muted: rgba(77, 142, 255, 0.1);
  --re-accent-border: rgba(77, 142, 255, 0.2);
  --re-accent-glow: rgba(77, 142, 255, 0.12);

  --re-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.2);
  --re-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
  --re-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.2);
  --re-shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.2);
  --re-shadow-xl: 0 20px 40px -12px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   1. Global Reset & Typography
   ========================================================================== */
body, html, *, *::before, *::after {
  font-family: var(--re-font) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Main content area background */
.fi-body {
  background-color: var(--re-bg-secondary) !important;
}

/* Ensure main content container is always visible */
.fi-main-ctn {
  opacity: 1 !important;
  display: flex !important;
}

@media (min-width: 1024px) {
  .fi-sidebar {
    display: flex !important;
  }
}

/* ==========================================================================
   2. Sidebar — Industrial Production-Grade Enterprise Navigation Panel
   ========================================================================== */
.fi-sidebar {
  background: linear-gradient(180deg, var(--re-bg-primary) 0%, var(--re-bg-secondary) 100%) !important;
  border-right: 1px solid var(--re-border) !important;
  box-shadow: 4px 0 24px -6px rgba(0, 0, 0, 0.04) !important;
  transition: width 0.25s var(--re-ease), transform 0.25s var(--re-ease) !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100vh !important;
  max-height: 100vh !important;
  overflow: hidden !important;
}

.dark .fi-sidebar {
  background: linear-gradient(180deg, #0d0f17 0%, #090a10 100%) !important;
  box-shadow: 4px 0 24px -6px rgba(0, 0, 0, 0.4) !important;
}

/* Sidebar header / Enterprise Brand Section */
.fi-sidebar-header {
  padding: 1rem 1rem !important;
  border-bottom: 1px solid var(--re-border) !important;
  position: relative !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(240, 244, 255, 0.4) 100%) !important;
  flex-shrink: 0 !important;
  min-height: 4.5rem !important;
  display: flex !important;
  align-items: center !important;
}

.dark .fi-sidebar-header {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(99, 102, 241, 0.05) 100%) !important;
}

.fi-sidebar-header a {
  font-weight: 800 !important;
  color: var(--re-text-primary) !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  height: auto !important;
  text-decoration: none !important;
  overflow: visible !important;
}

/* Sidebar Brand Logo System */
.fi-brand-custom {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  text-decoration: none !important;
  width: 100% !important;
  overflow: visible !important;
}

.fi-brand-custom img {
  max-height: 2.375rem !important;
  max-width: 130px !important;
  object-fit: contain !important;
  border-radius: 0.5rem !important;
  flex-shrink: 0 !important;
}

.fi-brand-icon-box {
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 2.5rem !important;
  height: 2.5rem !important;
  border-radius: 0.75rem !important;
  background: linear-gradient(135deg, #06b6d4 0%, #10b981 100%) !important;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.35) !important;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.fi-sidebar-header a:hover .fi-brand-icon-box {
  transform: scale(1.06) !important;
}

.fi-brand-text {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  text-align: left !important;
}

.dark .fi-brand-text span:first-child {
  color: #ffffff !important;
}

.dark .fi-brand-text .fi-brand-sub {
  color: #94a3b8 !important;
}

/* Sidebar navigation wrapper — comfortable top spacing from header */
.fi-sidebar-nav {
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 1.5rem 0.625rem 0.75rem !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent !important;
}

.fi-sidebar-nav > ul,
.fi-sidebar-nav-groups,
.fi-sidebar-nav > div {
  margin-top: 0.375rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.25rem !important;
}

.fi-sidebar-nav::-webkit-scrollbar {
  width: 4px !important;
}

.fi-sidebar-nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12) !important;
  border-radius: 4px !important;
}

.fi-sidebar-nav::-webkit-scrollbar-track {
  background: transparent !important;
}

/* Nav group labels with sleek industrial accents */
.fi-sidebar-group-label {
  font-size: 0.6875rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: var(--re-text-tertiary) !important;
  padding: 1.125rem 0.75rem 0.375rem !important;
  margin-top: 0.25rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
}

.fi-sidebar-group-label::before {
  content: '' !important;
  display: inline-block !important;
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background-color: var(--re-accent) !important;
  opacity: 0.8 !important;
}

/* Nav item buttons */
.fi-sidebar-item-button,
.fi-sidebar-item-btn,
a.fi-sidebar-item-button {
  border-radius: 0.625rem !important;
  margin: 2px 0 !important;
  padding: 0.45rem 0.75rem !important;
  font-weight: 500 !important;
  font-size: 0.8125rem !important;
  color: var(--re-text-secondary) !important;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
}

/* ==========================================================================
   COLORFUL ICON SYSTEM (Industrial Production Theme)
   ========================================================================== */
.fi-sidebar-item-icon,
svg.fi-sidebar-item-icon {
  box-sizing: content-box !important;
  width: 1.125rem !important;
  height: 1.125rem !important;
  min-width: 1.125rem !important;
  min-height: 1.125rem !important;
  max-width: 1.125rem !important;
  max-height: 1.125rem !important;
  border-radius: 0.5rem !important;
  padding: 0.35rem !important;
  margin-right: 0.5rem !important;
  flex-shrink: 0 !important;
  stroke-width: 2 !important;
  opacity: 1 !important;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
}

/* Micro-hover animation on icons */
.fi-sidebar-item-button:hover .fi-sidebar-item-icon,
.fi-sidebar-item-btn:hover .fi-sidebar-item-icon {
  transform: scale(1.1) translateY(-1px) !important;
}

/* 1. Dashboard / Home — Electric Sapphire & Indigo */
.fi-sidebar-item a[href$="/admin"] .fi-sidebar-item-icon,
.fi-sidebar-item a[href$="/admin/"] .fi-sidebar-item-icon {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%) !important;
  border: 1px solid #bfdbfe !important;
  color: #2563eb !important;
}
.dark .fi-sidebar-item a[href$="/admin"] .fi-sidebar-item-icon,
.dark .fi-sidebar-item a[href$="/admin/"] .fi-sidebar-item-icon {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(30, 58, 138, 0.3) 100%) !important;
  border: 1px solid rgba(96, 165, 250, 0.3) !important;
  color: #60a5fa !important;
}
.fi-sidebar-item a[href$="/admin"]:hover .fi-sidebar-item-icon {
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28) !important;
}

/* 2. Properties (Real Estate) — Vivid Emerald & Mint */
.fi-sidebar-item a[href*="/admin/properties"] .fi-sidebar-item-icon {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%) !important;
  border: 1px solid #a7f3d0 !important;
  color: #059669 !important;
}
.dark .fi-sidebar-item a[href*="/admin/properties"] .fi-sidebar-item-icon {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(6, 95, 70, 0.3) 100%) !important;
  border: 1px solid rgba(52, 211, 153, 0.3) !important;
  color: #34d399 !important;
}
.fi-sidebar-item a[href*="/admin/properties"]:hover .fi-sidebar-item-icon {
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3) !important;
}

/* 3. Categories (Taxonomy) — Royal Purple & Violet */
.fi-sidebar-item a[href*="/admin/categories"] .fi-sidebar-item-icon {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%) !important;
  border: 1px solid #ddd6fe !important;
  color: #7c3aed !important;
}
.dark .fi-sidebar-item a[href*="/admin/categories"] .fi-sidebar-item-icon {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(76, 29, 149, 0.3) 100%) !important;
  border: 1px solid rgba(167, 139, 250, 0.3) !important;
  color: #a78bfa !important;
}
.fi-sidebar-item a[href*="/admin/categories"]:hover .fi-sidebar-item-icon {
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3) !important;
}

/* 4. Tags (Taxonomy) — Warm Amber & Tangerine */
.fi-sidebar-item a[href*="/admin/tags"] .fi-sidebar-item-icon {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%) !important;
  border: 1px solid #fde68a !important;
  color: #d97706 !important;
}
.dark .fi-sidebar-item a[href*="/admin/tags"] .fi-sidebar-item-icon {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.2) 0%, rgba(120, 53, 15, 0.3) 100%) !important;
  border: 1px solid rgba(251, 191, 36, 0.3) !important;
  color: #fbbf24 !important;
}
.fi-sidebar-item a[href*="/admin/tags"]:hover .fi-sidebar-item-icon {
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3) !important;
}

/* 5. Pages (Content) — Radiant Rose & Coral Pink */
.fi-sidebar-item a[href*="/admin/pages"] .fi-sidebar-item-icon {
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%) !important;
  border: 1px solid #fecdd3 !important;
  color: #e11d48 !important;
}
.dark .fi-sidebar-item a[href*="/admin/pages"] .fi-sidebar-item-icon {
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.2) 0%, rgba(136, 19, 55, 0.3) 100%) !important;
  border: 1px solid rgba(251, 113, 133, 0.3) !important;
  color: #fb7185 !important;
}
.fi-sidebar-item a[href*="/admin/pages"]:hover .fi-sidebar-item-icon {
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3) !important;
}

/* 6. API Logs (System & API) — Neon Cyan & Sky */
.fi-sidebar-item a[href*="/admin/api-logs"] .fi-sidebar-item-icon {
  background: linear-gradient(135deg, #ecfeff 0%, #cffafe 100%) !important;
  border: 1px solid #a5f3fc !important;
  color: #0891b2 !important;
}
.dark .fi-sidebar-item a[href*="/admin/api-logs"] .fi-sidebar-item-icon {
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.2) 0%, rgba(22, 78, 99, 0.3) 100%) !important;
  border: 1px solid rgba(34, 211, 238, 0.3) !important;
  color: #22d3ee !important;
}
.fi-sidebar-item a[href*="/admin/api-logs"]:hover .fi-sidebar-item-icon {
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3) !important;
}

/* 6b. API Posting Guide — Electric Violet & Cyber Purple */
.fi-sidebar-item a[href*="/admin/api-guide"] .fi-sidebar-item-icon {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%) !important;
  border: 1px solid #ddd6fe !important;
  color: #7c3aed !important;
}
.dark .fi-sidebar-item a[href*="/admin/api-guide"] .fi-sidebar-item-icon {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(91, 33, 182, 0.3) 100%) !important;
  border: 1px solid rgba(167, 139, 250, 0.3) !important;
  color: #a78bfa !important;
}
.fi-sidebar-item a[href*="/admin/api-guide"]:hover .fi-sidebar-item-icon {
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3) !important;
}

/* 7. Settings — Chrome Steel & Indigo */
.fi-sidebar-item a[href*="/admin/manage-site-settings"] .fi-sidebar-item-icon,
.fi-sidebar-item a[href*="/admin/settings"] .fi-sidebar-item-icon {
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%) !important;
  border: 1px solid #c7d2fe !important;
  color: #4f46e5 !important;
}
.dark .fi-sidebar-item a[href*="/admin/manage-site-settings"] .fi-sidebar-item-icon,
.dark .fi-sidebar-item a[href*="/admin/settings"] .fi-sidebar-item-icon {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.2) 0%, rgba(49, 46, 129, 0.3) 100%) !important;
  border: 1px solid rgba(129, 140, 248, 0.3) !important;
  color: #818cf8 !important;
}
.fi-sidebar-item a[href*="/admin/manage-site-settings"]:hover .fi-sidebar-item-icon,
.fi-sidebar-item a[href*="/admin/settings"]:hover .fi-sidebar-item-icon {
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3) !important;
}

/* Hover state */
.fi-sidebar-item:not(.fi-sidebar-item-active) .fi-sidebar-item-button:hover,
.fi-sidebar-item:not(.fi-sidebar-item-active) .fi-sidebar-item-btn:hover {
  background-color: var(--re-bg-tertiary) !important;
  color: var(--re-text-primary) !important;
  transform: translateX(2px) !important;
}

/* Active state — High-End Industrial Pill with Glowing Bar */
.fi-sidebar-item-active .fi-sidebar-item-button,
.fi-sidebar-item-active .fi-sidebar-item-btn {
  background: linear-gradient(90deg, rgba(0, 102, 255, 0.09) 0%, rgba(0, 102, 255, 0.03) 100%) !important;
  color: var(--re-text-primary) !important;
  font-weight: 700 !important;
  border-right: 2px solid var(--re-accent) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

.dark .fi-sidebar-item-active .fi-sidebar-item-button,
.dark .fi-sidebar-item-active .fi-sidebar-item-btn {
  background: linear-gradient(90deg, rgba(77, 142, 255, 0.15) 0%, rgba(77, 142, 255, 0.04) 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

.fi-sidebar-item-active .fi-sidebar-item-button::before,
.fi-sidebar-item-active .fi-sidebar-item-btn::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 4px !important;
  height: 65% !important;
  border-radius: 0 4px 4px 0 !important;
  background: linear-gradient(180deg, #3b82f6 0%, #06b6d4 100%) !important;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.6) !important;
}

/* Collapsed sidebar tooltip */
.fi-sidebar-item-label {
  white-space: nowrap !important;
  font-weight: 600 !important;
}

/* Sidebar footer (user menu area) */
.fi-sidebar-footer {
  border-top: 1px solid var(--re-border) !important;
  padding: 0 !important;
  background-color: var(--re-bg-secondary) !important;
  flex-shrink: 0 !important;
}

.fi-sidebar-visit-btn:hover {
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
  transform: translateY(-1px) !important;
}

/* ==========================================================================
   3. Top Navigation Bar — Executive Glassmorphism & Search
   ========================================================================== */
.fi-topbar {
  background-color: var(--re-bg-primary) !important;
  border-bottom: 1px solid var(--re-border) !important;
  backdrop-filter: blur(16px) saturate(1.8) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.8) !important;
  height: 4rem !important;
  z-index: 30 !important;
  transition: all 0.2s var(--re-ease) !important;
}

:not(.dark) .fi-topbar {
  background-color: rgba(255, 255, 255, 0.94) !important;
}

.dark .fi-topbar {
  background-color: rgba(13, 15, 23, 0.88) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Breadcrumbs */
.fi-breadcrumbs {
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
}

.fi-breadcrumbs li {
  color: var(--re-text-muted) !important;
}

.fi-breadcrumbs a {
  color: var(--re-text-secondary) !important;
  transition: color 0.15s var(--re-ease) !important;
}

.fi-breadcrumbs a:hover {
  color: var(--re-accent) !important;
}

/* Global Search Input — Modern Command Palette Look */
.fi-global-search-input {
  border-radius: 0.75rem !important;
  background-color: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 0.45rem 0.875rem !important;
  font-size: 0.8125rem !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.fi-global-search-input:focus {
  background-color: rgba(255, 255, 255, 0.07) !important;
  border-color: #06b6d4 !important;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.25) !important;
}

/* Topbar user avatar ring */
.fi-topbar .fi-dropdown-trigger img,
.fi-topbar .fi-user-avatar {
  border-radius: 9999px !important;
  box-shadow: 0 0 0 2px #3b82f6, 0 0 10px rgba(59, 130, 246, 0.4) !important;
}

/* ==========================================================================
   4. Page Header & Titles
   ========================================================================== */
.fi-header {
  margin-bottom: 1.75rem !important;
}

.fi-header-heading {
  font-size: 1.625rem !important;
  font-weight: 900 !important;
  letter-spacing: -0.035em !important;
  color: var(--re-text-primary) !important;
  line-height: 1.25 !important;
}

.dark .fi-header-heading {
  color: #ffffff !important;
}

.fi-header-subheading {
  font-size: 0.875rem !important;
  color: var(--re-text-muted) !important;
  margin-top: 0.35rem !important;
}

/* ==========================================================================
   5. Stats Overview Cards — Executive Jewel-Toned Metric Cards
   ========================================================================== */
.fi-wi-stats-overview-stat {
  background-color: var(--re-bg-elevated) !important;
  border: 1px solid var(--re-border) !important;
  border-radius: 1.125rem !important;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.06) !important;
  padding: 1.25rem 1.5rem !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  overflow: hidden !important;
}

.dark .fi-wi-stats-overview-stat {
  background: linear-gradient(150deg, rgba(22, 26, 40, 0.9) 0%, rgba(13, 16, 26, 0.96) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 8px 30px -5px rgba(0, 0, 0, 0.45) !important;
  backdrop-filter: blur(16px) !important;
}

.fi-wi-stats-overview-stat:hover {
  transform: translateY(-3px) !important;
}

/* Stat 1: Total Listings — Sapphire Blue */
.fi-wi-stats-overview-stat:nth-child(1) {
  border-top: 2px solid #3b82f6 !important;
}
.fi-wi-stats-overview-stat:nth-child(1):hover {
  box-shadow: 0 14px 30px -5px rgba(37, 99, 235, 0.3) !important;
}
.fi-wi-stats-overview-stat:nth-child(1) .fi-wi-stats-overview-stat-description svg {
  color: #60a5fa !important;
}

/* Stat 2: Published Today — Emerald Green */
.fi-wi-stats-overview-stat:nth-child(2) {
  border-top: 2px solid #10b981 !important;
}
.fi-wi-stats-overview-stat:nth-child(2):hover {
  box-shadow: 0 14px 30px -5px rgba(16, 185, 129, 0.3) !important;
}
.fi-wi-stats-overview-stat:nth-child(2) .fi-wi-stats-overview-stat-description svg {
  color: #34d399 !important;
}

/* Stat 3: Categories — Royal Purple */
.fi-wi-stats-overview-stat:nth-child(3) {
  border-top: 2px solid #a855f7 !important;
}
.fi-wi-stats-overview-stat:nth-child(3):hover {
  box-shadow: 0 14px 30px -5px rgba(168, 85, 247, 0.3) !important;
}
.fi-wi-stats-overview-stat:nth-child(3) .fi-wi-stats-overview-stat-description svg {
  color: #c084fc !important;
}

/* Stat 4: CMS Pages — Vibrant Rose */
.fi-wi-stats-overview-stat:nth-child(4) {
  border-top: 2px solid #f43f5e !important;
}
.fi-wi-stats-overview-stat:nth-child(4):hover {
  box-shadow: 0 14px 30px -5px rgba(244, 63, 94, 0.3) !important;
}
.fi-wi-stats-overview-stat:nth-child(4) .fi-wi-stats-overview-stat-description svg {
  color: #fb7185 !important;
}

/* Stat value */
.fi-wi-stats-overview-stat-value {
  font-size: 2.125rem !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
  color: var(--re-text-primary) !important;
  line-height: 1.15 !important;
}

.dark .fi-wi-stats-overview-stat-value {
  color: #ffffff !important;
}

/* Stat label */
.fi-wi-stats-overview-stat-label {
  font-size: 0.6875rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: var(--re-text-tertiary) !important;
  margin-bottom: 0.35rem !important;
}

/* Stat description */
.fi-wi-stats-overview-stat-description {
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  color: var(--re-text-muted) !important;
  margin-top: 0.35rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.375rem !important;
}

/* Stat chart */
.fi-wi-stats-overview-stat-chart {
  opacity: 0.85 !important;
}

/* ==========================================================================
   6. Tables — Modern Glassmorphism Data Grid
   ========================================================================== */
.fi-ta-ctn {
  background-color: var(--re-bg-elevated) !important;
  border: 1px solid var(--re-border) !important;
  border-radius: 1.125rem !important;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08) !important;
  overflow: hidden !important;
}

.dark .fi-ta-ctn {
  background: linear-gradient(180deg, rgba(18, 22, 34, 0.9) 0%, rgba(12, 14, 23, 0.96) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 12px 35px -8px rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(16px) !important;
}

/* Table header */
.fi-ta-header-cell {
  font-size: 0.6875rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: var(--re-text-tertiary) !important;
  background-color: var(--re-bg-secondary) !important;
  padding: 0.875rem 1rem !important;
  border-bottom: 1px solid var(--re-border) !important;
}

.dark .fi-ta-header-cell {
  background-color: rgba(255, 255, 255, 0.02) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #94a3b8 !important;
}

/* Table rows */
.fi-ta-row {
  border-bottom: 1px solid var(--re-border-subtle) !important;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.dark .fi-ta-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
}

.fi-ta-row:last-child {
  border-bottom: none !important;
}

.fi-ta-row:hover {
  background: linear-gradient(90deg, rgba(6, 182, 212, 0.06) 0%, rgba(59, 130, 246, 0.03) 100%) !important;
}

/* Table cells */
.fi-ta-cell {
  padding: 0.875rem 1rem !important;
  font-size: 0.8125rem !important;
  color: var(--re-text-secondary) !important;
}

/* Table thumbnails */
.fi-ta-cell img {
  border-radius: 0.6875rem !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.fi-ta-row:hover .fi-ta-cell img {
  transform: scale(1.08) !important;
}

/* Table search */
.fi-ta-search-field {
  border-radius: 0.625rem !important;
}

/* Pagination */
.fi-ta-pagination {
  border-top: 1px solid var(--re-border) !important;
  padding: 0.875rem 1rem !important;
}

.dark .fi-ta-pagination {
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* Empty state */
.fi-ta-empty-state {
  padding: 3.5rem 1rem !important;
}

.fi-ta-empty-state-icon {
  color: var(--re-text-tertiary) !important;
  opacity: 0.4 !important;
}

/* ==========================================================================
   7. Forms & Sections — High-End Inputs & Cards
   ========================================================================== */
.fi-section {
  background-color: var(--re-bg-elevated) !important;
  border: 1px solid var(--re-border) !important;
  border-radius: 1.125rem !important;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05) !important;
  overflow: hidden !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.dark .fi-section {
  background: linear-gradient(160deg, rgba(18, 22, 34, 0.92) 0%, rgba(12, 14, 23, 0.98) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35) !important;
}

.dark .fi-section:hover {
  border-color: rgba(6, 182, 212, 0.25) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45), 0 0 20px rgba(6, 182, 212, 0.05) !important;
}

.fi-section-header {
  padding: 1.25rem 1.5rem !important;
  border-bottom: 1px solid var(--re-border-subtle) !important;
}

.dark .fi-section-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.fi-section-header-heading {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--re-text-primary) !important;
  letter-spacing: -0.015em !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

.fi-section-header svg {
  color: #06b6d4 !important;
}

.fi-section-header-description {
  font-size: 0.8125rem !important;
  color: var(--re-text-muted) !important;
  margin-top: 0.2rem !important;
}

.fi-section-content {
  padding: 1.35rem 1.5rem !important;
}

/* Input wrappers */
.fi-input-wrp {
  border-radius: 0.625rem !important;
  border: 1px solid var(--re-border) !important;
  background-color: var(--re-bg-primary) !important;
  transition: border-color 0.15s var(--re-ease), box-shadow 0.15s var(--re-ease) !important;
}

.dark .fi-input-wrp {
  background-color: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
}

.fi-input-wrp:focus-within {
  border-color: #06b6d4 !important;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.25) !important;
}

.dark .fi-input-wrp:focus-within {
  background-color: rgba(255, 255, 255, 0.05) !important;
}

/* Input prefixes & suffixes */
.fi-input-wrp-prefix,
.fi-input-wrp-suffix {
  background-color: rgba(255, 255, 255, 0.04) !important;
  color: #94a3b8 !important;
  font-weight: 600 !important;
  font-size: 0.8125rem !important;
  padding: 0 0.625rem !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

/* Input labels */
.fi-fo-field-wrp-label label {
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  color: var(--re-text-primary) !important;
}

/* Helper text */
.fi-fo-field-wrp-helper-text {
  font-size: 0.75rem !important;
  color: var(--re-text-tertiary) !important;
  margin-top: 0.25rem !important;
}

/* Rich Text Editor — Dark Glass Aesthetics */
.fi-fo-rich-editor {
  border-radius: 0.75rem !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.dark .fi-fo-rich-editor-toolbar {
  background: rgba(255, 255, 255, 0.03) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 0.4rem 0.5rem !important;
}

.dark .trix-content,
.dark .fi-fo-rich-editor-main {
  background: rgba(13, 16, 26, 0.75) !important;
  color: #f1f5f9 !important;
  padding: 1rem 1.25rem !important;
  min-height: 12rem !important;
  line-height: 1.7 !important;
}

/* Select inputs & Multiple Choice Tag Pills */
.fi-select-wrp,
.choices__inner {
  border-radius: 0.625rem !important;
}

.choices__list--multiple .choices__item {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25) 0%, rgba(6, 182, 212, 0.25) 100%) !important;
  border: 1px solid rgba(6, 182, 212, 0.45) !important;
  color: #38bdf8 !important;
  border-radius: 9999px !important;
  font-weight: 600 !important;
  font-size: 0.75rem !important;
  padding: 0.15rem 0.625rem !important;
}

/* Toggle Switch */
.fi-toggle-on {
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%) !important;
}

/* Page Header Action Buttons (e.g. View on Website) */
.fi-page-header-actions .fi-btn-color-info,
.fi-ac .fi-btn-color-info {
  background: linear-gradient(135deg, #06b6d4 0%, #10b981 100%) !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.35) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.fi-page-header-actions .fi-btn-color-info:hover,
.fi-ac .fi-btn-color-info:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5) !important;
  filter: brightness(1.08) !important;
}

/* ==========================================================================
   8. Buttons — Executive Action Buttons
   ========================================================================== */
/* Primary button */
.fi-btn-color-primary,
.fi-btn.fi-color-custom[style*="--c-400"] {
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%) !important;
  border: none !important;
  border-radius: 0.625rem !important;
  font-weight: 700 !important;
  font-size: 0.8125rem !important;
  letter-spacing: -0.01em !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  padding: 0.5rem 1.125rem !important;
}

.fi-btn-color-primary:hover {
  filter: brightness(1.08) !important;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.48) !important;
  transform: translateY(-1px) !important;
}

.fi-btn-color-primary:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3) !important;
}

/* All buttons base */
.fi-btn {
  border-radius: 0.625rem !important;
  font-weight: 600 !important;
  font-size: 0.8125rem !important;
  transition: all 0.15s var(--re-ease) !important;
}

/* Secondary / outlined buttons */
.fi-btn-color-gray {
  border: 1px solid var(--re-border) !important;
  color: var(--re-text-secondary) !important;
  background-color: var(--re-bg-secondary) !important;
}

.dark .fi-btn-color-gray {
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background-color: rgba(255, 255, 255, 0.04) !important;
}

.fi-btn-color-gray:hover {
  background-color: var(--re-bg-tertiary) !important;
  color: var(--re-text-primary) !important;
  border-color: var(--re-text-tertiary) !important;
}

/* Danger buttons */
.fi-btn-color-danger {
  background: linear-gradient(135deg, #dc2626 0%, #e11d48 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3) !important;
}

.fi-btn-color-danger:hover {
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.45) !important;
  transform: translateY(-1px) !important;
}

/* Icon buttons */
.fi-icon-btn {
  border-radius: 0.5rem !important;
  transition: all 0.15s var(--re-ease) !important;
}

.fi-icon-btn:hover {
  background-color: var(--re-bg-tertiary) !important;
}

/* ==========================================================================
   Global Slim Scrollbars (Never chunky Windows scrollbars)
   ========================================================================== */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
}

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

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
}

*::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   9. Badges — High-Contrast Jewel Pills
   ========================================================================== */
.fi-badge {
  border-radius: 9999px !important;
  font-weight: 700 !important;
  font-size: 0.6875rem !important;
  letter-spacing: 0.02em !important;
  padding: 0.2rem 0.625rem !important;
  text-transform: capitalize !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

.fi-badge-color-success,
.fi-color-custom.fi-badge[style*="--c-400"] {
  background: rgba(16, 185, 129, 0.14) !important;
  color: #34d399 !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
}

.fi-badge-color-warning {
  background: rgba(245, 158, 11, 0.14) !important;
  color: #fbbf24 !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
}

.fi-badge-color-info {
  background: rgba(6, 182, 212, 0.14) !important;
  color: #22d3ee !important;
  border: 1px solid rgba(6, 182, 212, 0.35) !important;
}

.fi-badge-color-danger {
  background: rgba(225, 29, 72, 0.14) !important;
  color: #fb7185 !important;
  border: 1px solid rgba(225, 29, 72, 0.35) !important;
}

.fi-badge-color-primary {
  background: rgba(37, 99, 235, 0.14) !important;
  color: #60a5fa !important;
  border: 1px solid rgba(37, 99, 235, 0.35) !important;
}


/* ==========================================================================
   10. Cards & Widgets
   ========================================================================== */
.fi-wi {
  background-color: var(--re-bg-elevated) !important;
  border: 1px solid var(--re-border) !important;
  border-radius: var(--re-radius-lg) !important;
  box-shadow: var(--re-shadow-xs) !important;
}

.fi-wi-heading {
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  color: var(--re-text-primary) !important;
  letter-spacing: -0.01em !important;
}

/* ==========================================================================
   11. Modals & Dialogs
   ========================================================================== */
.fi-modal-window {
  border-radius: var(--re-radius-xl) !important;
  border: 1px solid var(--re-border) !important;
  box-shadow: var(--re-shadow-xl) !important;
  background-color: var(--re-bg-elevated) !important;
}

.fi-modal-header {
  border-bottom: 1px solid var(--re-border) !important;
  padding: 1.25rem 1.5rem !important;
}

.fi-modal-content {
  padding: 1.5rem !important;
}

.fi-modal-footer {
  border-top: 1px solid var(--re-border) !important;
  padding: 1rem 1.5rem !important;
}

/* ==========================================================================
   12. Notifications / Toasts
   ========================================================================== */
.fi-no {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  pointer-events: none !important;
}

.fi-no-notification {
  border-radius: var(--re-radius-lg) !important;
  border: 1px solid var(--re-border) !important;
  box-shadow: var(--re-shadow-lg) !important;
  background-color: var(--re-bg-elevated) !important;
  pointer-events: auto !important;
}

.fi-no-title {
  font-weight: 600 !important;
  font-size: 0.875rem !important;
}

.fi-no-body {
  font-size: 0.8125rem !important;
  color: var(--re-text-secondary) !important;
}

/* ==========================================================================
   13. Tabs
   ========================================================================== */
.fi-tabs-item-button {
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  color: var(--re-text-muted) !important;
  transition: all 0.15s var(--re-ease) !important;
  padding: 0.5rem 1rem !important;
  border-radius: var(--re-radius-md) !important;
}

.fi-tabs-item-button:hover {
  color: var(--re-text-primary) !important;
  background-color: var(--re-bg-tertiary) !important;
}

.fi-tabs-item-active .fi-tabs-item-button {
  color: var(--re-accent) !important;
  background-color: var(--re-accent-muted) !important;
  font-weight: 600 !important;
}

/* ==========================================================================
   14. Dropdown Menus
   ========================================================================== */
.fi-dropdown-panel {
  border-radius: var(--re-radius-lg) !important;
  border: 1px solid var(--re-border) !important;
  box-shadow: var(--re-shadow-lg) !important;
  background-color: var(--re-bg-elevated) !important;
  overflow: hidden !important;
  padding: 0.25rem !important;
}

.fi-dropdown-list-item-button {
  border-radius: var(--re-radius-sm) !important;
  font-size: 0.8125rem !important;
  transition: background-color 0.1s var(--re-ease) !important;
}

.fi-dropdown-list-item-button:hover {
  background-color: var(--re-bg-tertiary) !important;
}

/* ==========================================================================
   15. Scrollbars — Minimal
   ========================================================================== */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--re-text-tertiary);
  border-radius: 999px;
  opacity: 0.3;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--re-text-muted);
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--re-text-tertiary) transparent;
}

/* ==========================================================================
   16. Login / Simple Pages — Professional Auth Screen
   ========================================================================== */
.fi-simple-layout {
  background-color: var(--re-bg-secondary) !important;
  min-height: 100vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Subtle geometric pattern for login page */
:not(.dark) .fi-simple-layout {
  background:
    radial-gradient(circle at 15% 85%, rgba(0, 102, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 85% 15%, rgba(0, 102, 255, 0.03) 0%, transparent 50%),
    var(--re-bg-secondary) !important;
}

.dark .fi-simple-layout {
  background:
    radial-gradient(circle at 15% 85%, rgba(77, 142, 255, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 85% 15%, rgba(77, 142, 255, 0.04) 0%, transparent 50%),
    var(--re-bg-primary) !important;
}

.fi-simple-main {
  border-radius: var(--re-radius-xl) !important;
  border: 1px solid var(--re-border) !important;
  box-shadow: var(--re-shadow-lg) !important;
  background-color: var(--re-bg-elevated) !important;
  padding: 2rem !important;
  width: 100% !important;
  max-width: 420px !important;
}

.fi-simple-header {
  text-align: center !important;
  margin-bottom: 1.5rem !important;
}

.fi-simple-header-heading {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: var(--re-text-primary) !important;
  letter-spacing: -0.02em !important;
}

.fi-simple-header-subheading {
  font-size: 0.8125rem !important;
  color: var(--re-text-muted) !important;
  margin-top: 0.25rem !important;
}

/* ==========================================================================
   17. Rich Editor Overrides
   ========================================================================== */
.tiptap-wrapper,
.ProseMirror {
  border-radius: var(--re-radius-md) !important;
}

.fi-fo-rich-editor .tiptap-toolbar {
  background-color: var(--re-bg-secondary) !important;
  border-bottom: 1px solid var(--re-border) !important;
  border-radius: var(--re-radius-md) var(--re-radius-md) 0 0 !important;
}

/* ==========================================================================
   18. File Upload
   ========================================================================== */
.filepond--root {
  border-radius: var(--re-radius-md) !important;
}

.filepond--drop-label {
  font-size: 0.8125rem !important;
  color: var(--re-text-muted) !important;
}

.filepond--panel-root {
  border-radius: var(--re-radius-md) !important;
  background-color: var(--re-bg-secondary) !important;
}

/* ==========================================================================
   19. Infolist / View Pages
   ========================================================================== */
.fi-in-entry-wrp {
  padding: 0.75rem 0 !important;
}

.fi-in-entry-wrp-label {
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  color: var(--re-text-tertiary) !important;
}

/* ==========================================================================
   20. Global Search
   ========================================================================== */
.fi-global-search-modal {
  border-radius: var(--re-radius-xl) !important;
  border: 1px solid var(--re-border) !important;
  box-shadow: var(--re-shadow-xl) !important;
  overflow: hidden !important;
}

/* ==========================================================================
   21. Animations & Micro-interactions
   ========================================================================== */
/* Smooth page transition */
.fi-main {
  animation: fadeIn 0.2s var(--re-ease) !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Smooth section reveal */
.fi-section {
  animation: sectionReveal 0.25s var(--re-ease) !important;
}

@keyframes sectionReveal {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stat card stagger animation */
.fi-wi-stats-overview-stat:nth-child(1) { animation-delay: 0ms !important; }
.fi-wi-stats-overview-stat:nth-child(2) { animation-delay: 50ms !important; }
.fi-wi-stats-overview-stat:nth-child(3) { animation-delay: 100ms !important; }
.fi-wi-stats-overview-stat:nth-child(4) { animation-delay: 150ms !important; }

.fi-wi-stats-overview-stat {
  animation: statReveal 0.35s var(--re-ease) both !important;
}

@keyframes statReveal {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ==========================================================================
   22. Action Bar / Sticky Header
   ========================================================================== */
.fi-ac {
  gap: 0.5rem !important;
}

.fi-ac-btn-action {
  border-radius: var(--re-radius-md) !important;
}

/* ==========================================================================
   23. Table Action Buttons
   ========================================================================== */
.fi-ta-actions {
  gap: 0.25rem !important;
}

.fi-ta-row-action {
  border-radius: var(--re-radius-sm) !important;
  padding: 0.375rem !important;
  transition: all 0.15s var(--re-ease) !important;
}

.fi-ta-row-action:hover {
  background-color: var(--re-bg-tertiary) !important;
}

/* ==========================================================================
   24. Widget Layout Spacing
   ========================================================================== */
.fi-widgets {
  gap: 1.25rem !important;
}

.fi-page .fi-widgets + .fi-widgets {
  margin-top: 0.5rem !important;
}

/* ==========================================================================
   25. Tags Input
   ========================================================================== */
.fi-ta-tags .fi-badge,
.choices__list--multiple .choices__item {
  border-radius: var(--re-radius-sm) !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
}

/* ==========================================================================
   26. Account Widget Override — Clean info card
   ========================================================================== */
.fi-account-widget {
  border-radius: var(--re-radius-lg) !important;
}

/* ==========================================================================
   27. Mobile Responsive Refinements
   ========================================================================== */
@media (max-width: 768px) {
  .fi-header-heading {
    font-size: 1.25rem !important;
  }

  .fi-section-content {
    padding: 1rem !important;
  }

  .fi-wi-stats-overview-stat {
    padding: 1rem !important;
  }

  .fi-wi-stats-overview-stat-value {
    font-size: 1.375rem !important;
  }
}

/* ==========================================================================
   28. Focus Visible — Accessibility
   ========================================================================== */
*:focus-visible {
  outline: 2px solid var(--re-accent) !important;
  outline-offset: 2px !important;
  border-radius: var(--re-radius-sm) !important;
}

/* ==========================================================================
   29. Print Styles — Hide chrome in print
   ========================================================================== */
@media print {
  .fi-sidebar,
  .fi-topbar {
    display: none !important;
  }

  .fi-main-ctn {
    margin-left: 0 !important;
  }
}
