/**
 * Globe Upscale TCMS — Stitch Inherited Design System & Full Action Animations
 * Colors: Primary Teal (#178C9E / #006674) · Secondary Amber (#F08A1E / #8F4D00) · Stitch Surfaces (#F8F9FF / #0B131E)
 */

:root {
  --stitch-primary: #178C9E;
  --stitch-primary-hover: #127180;
  --stitch-primary-container: #008092;
  --stitch-secondary: #F08A1E;
  --stitch-secondary-hover: #d9740b;
  --stitch-bg-light: #f8f9ff;
  --stitch-bg-dark: #090f17;
  --stitch-surface-light: #ffffff;
  --stitch-surface-dark: #121c2a;
  --stitch-surface-card-dark: #162233;
  --stitch-border-light: rgba(226, 232, 240, 0.85);
  --stitch-border-dark: rgba(255, 255, 255, 0.08);
  --stitch-glow: rgba(23, 140, 158, 0.25);
  --stitch-transition-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --stitch-transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   1. STITCH BACKGROUNDS & ELEVATION
   ========================================================================== */

body, 
.fi-body, 
.fi-layout {
  background-color: var(--stitch-bg-light) !important;
  background-image: 
    radial-gradient(at 0% 0%, rgba(23, 140, 158, 0.05) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(240, 138, 30, 0.04) 0px, transparent 50%) !important;
  background-attachment: fixed !important;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.dark body,
.dark .fi-body,
.dark .fi-layout {
  background-color: var(--stitch-bg-dark) !important;
  background-image: 
    radial-gradient(at 0% 0%, rgba(23, 140, 158, 0.12) 0px, transparent 60%),
    radial-gradient(at 100% 100%, rgba(240, 138, 30, 0.08) 0px, transparent 60%),
    radial-gradient(at 50% 50%, rgba(15, 23, 42, 0.6) 0px, transparent 100%) !important;
}

/* ==========================================================================
   2. REVOLUTIONARY RESPONSIVE SIDEBAR (LIGHT & DARK MODES + ANIMATIONS)
   ========================================================================== */

/* Keyframe Animations */
@keyframes tcmsOnlinePulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes tcmsActivePillPulse {
  0%, 100% {
    opacity: 0.95;
    box-shadow: 0 0 8px #F58220;
    transform: scaleY(1);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 14px #F58220, 0 0 4px #F58220;
    transform: scaleY(1.08);
  }
}

@keyframes tcmsLogoHoverGlow {
  0%, 100% {
    box-shadow: 0 0 12px rgba(0, 139, 158, 0.35);
  }
  50% {
    box-shadow: 0 0 20px rgba(0, 139, 158, 0.65), 0 0 8px rgba(245, 130, 32, 0.3);
  }
}

/* Base Sidebar Container — Light Mode Default */
.fi-sidebar {
  background: #FFFFFF !important;
  border-right: 1px solid rgba(226, 232, 240, 0.85) !important;
  box-shadow: 2px 0 18px rgba(0, 0, 0, 0.03) !important;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

[dir="rtl"] .fi-sidebar {
  border-right: none !important;
  border-left: 1px solid rgba(226, 232, 240, 0.85) !important;
  box-shadow: -2px 0 18px rgba(0, 0, 0, 0.03) !important;
}

/* Sidebar Container — Dark Mode */
.dark .fi-sidebar {
  background: linear-gradient(180deg, #0B132B 0%, #080D1E 100%) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.07) !important;
  box-shadow: 4px 0 30px rgba(0, 0, 0, 0.35) !important;
}

[dir="rtl"] .dark .fi-sidebar {
  border-right: none !important;
  border-left: 1px solid rgba(255, 255, 255, 0.07) !important;
  box-shadow: -4px 0 30px rgba(0, 0, 0, 0.35) !important;
}

/* Sidebar Custom Thin Scrollbar */
.fi-sidebar-nav::-webkit-scrollbar {
  width: 5px;
}
.fi-sidebar-nav::-webkit-scrollbar-track {
  background: transparent;
}
.fi-sidebar-nav::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.3);
  border-radius: 9999px;
  transition: background 0.2s ease;
}
.fi-sidebar-nav::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 139, 158, 0.6);
}
.dark .fi-sidebar-nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
}
.dark .fi-sidebar-nav::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 139, 158, 0.7);
}

/* Sidebar Header Area */
.fi-sidebar-header {
  padding: 16px 18px !important;
  background: #FFFFFF !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
  transition: background 0.3s ease, border-color 0.3s ease !important;
}

.dark .fi-sidebar-header {
  background: #0B132B !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Sidebar Brand Header & Interactive Logo */
.tcms-brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tcms-brand-wrapper:hover {
  transform: translateY(-1px);
}

.tcms-brand-logo-circle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #FFFFFF 0%, #F1F5F9 100%);
  border: 1.5px solid rgba(0, 139, 158, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dark .tcms-brand-logo-circle {
  background: linear-gradient(135deg, #16223B 0%, #0F172A 100%);
  border-color: rgba(0, 139, 158, 0.4);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.tcms-brand-wrapper:hover .tcms-brand-logo-circle {
  border-color: #008B9E;
  transform: rotate(4deg) scale(1.06);
  animation: tcmsLogoHoverGlow 2s infinite ease-in-out;
}

.tcms-brand-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.tcms-brand-live-dot {
  position: absolute;
  top: -2px;
  inset-inline-end: -2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10B981;
  border: 1.5px solid #FFFFFF;
  animation: tcmsOnlinePulse 2s infinite ease-in-out;
}

.dark .tcms-brand-live-dot {
  border-color: #0B132B;
}

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

.tcms-brand-title {
  font-size: 14.5px;
  font-weight: 850;
  color: #0F172A;
  letter-spacing: 0.5px;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.dark .tcms-brand-title {
  color: #FFFFFF;
}

.tcms-brand-sub {
  font-size: 9.5px;
  font-weight: 700;
  color: #64748B;
  letter-spacing: 1.2px;
  margin-top: 2px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.dark .tcms-brand-sub {
  color: #94A3B8;
}

/* Sidebar Navigation Groups */
.fi-sidebar-group {
  margin-bottom: 14px !important;
  position: relative;
}

.fi-sidebar-group-label,
.fi-sidebar-group-btn {
  color: #64748B !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 1.4px !important;
  text-transform: uppercase !important;
  padding: 8px 14px 4px 14px !important;
  margin-bottom: 4px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
}

.dark .fi-sidebar-group-label,
.dark .fi-sidebar-group-btn {
  color: #64748B !important;
}

.fi-sidebar-group-btn:hover {
  color: #008B9E !important;
  transform: translateX(2px);
}

[dir="rtl"] .fi-sidebar-group-btn:hover {
  transform: translateX(-2px);
}

/* Sidebar Item Base */
.fi-sidebar-item {
  position: relative !important;
  margin: 3px 8px !important;
}

.fi-sidebar-item-btn {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  border-radius: 12px !important;
  color: #475569 !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  padding: 9px 14px !important;
  transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  overflow: hidden !important;
}

.dark .fi-sidebar-item-btn {
  color: #94A3B8 !important;
}

/* Sidebar Item Icon Motion & Styling */
.fi-sidebar-item-icon {
  width: 20px !important;
  height: 20px !important;
  color: #64748B !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.25s ease !important;
}

.dark .fi-sidebar-item-icon {
  color: #64748B !important;
}

/* Hover Interaction — Light Mode */
.fi-sidebar-item-btn:hover {
  background: rgba(0, 139, 158, 0.08) !important;
  color: #008B9E !important;
  transform: translateX(4px);
}

[dir="rtl"] .fi-sidebar-item-btn:hover {
  transform: translateX(-4px);
}

.fi-sidebar-item-btn:hover .fi-sidebar-item-icon,
.fi-sidebar-item-btn:hover svg,
.fi-sidebar-item-btn:hover i {
  color: #008B9E !important;
  transform: scale(1.15);
}

/* Hover Interaction — Dark Mode */
.dark .fi-sidebar-item-btn:hover {
  background: rgba(255, 255, 255, 0.07) !important;
  color: #FFFFFF !important;
  transform: translateX(4px);
}

[dir="rtl"] .dark .fi-sidebar-item-btn:hover {
  transform: translateX(-4px);
}

.dark .fi-sidebar-item-btn:hover .fi-sidebar-item-icon,
.dark .fi-sidebar-item-btn:hover svg,
.dark .fi-sidebar-item-btn:hover i {
  color: #00D2ED !important;
  transform: scale(1.18);
  filter: drop-shadow(0 0 6px rgba(0, 210, 237, 0.4));
}

/* ==========================================================================
   ACTIVE NAVIGATION ITEM (VIBRANT GLOW + VERTICAL ACCENT PILL)
   ========================================================================== */

/* Target all active states in Filament v5: fi-active on li, aria-current, and active link */
.fi-sidebar-item.fi-active .fi-sidebar-item-btn,
.fi-sidebar-item-btn[aria-current="page"],
.fi-sidebar-item.fi-active > a,
.fi-sidebar-item.fi-active > button {
  background: linear-gradient(135deg, #008B9E 0%, #007383 100%) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  box-shadow: 0 6px 18px rgba(0, 139, 158, 0.38) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  transform: translateX(2px);
}

[dir="rtl"] .fi-sidebar-item.fi-active .fi-sidebar-item-btn,
[dir="rtl"] .fi-sidebar-item-btn[aria-current="page"] {
  transform: translateX(-2px);
}

/* Dark Mode Active Item */
.dark .fi-sidebar-item.fi-active .fi-sidebar-item-btn,
.dark .fi-sidebar-item-btn[aria-current="page"],
.dark .fi-sidebar-item.fi-active > a,
.dark .fi-sidebar-item.fi-active > button {
  background: linear-gradient(135deg, #008B9E 0%, #0A5E6B 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 24px rgba(0, 139, 158, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
  border: 1px solid rgba(0, 210, 237, 0.35) !important;
}

/* Glowing Left/Right Accent Pill for Active Item */
.fi-sidebar-item.fi-active .fi-sidebar-item-btn::before,
.fi-sidebar-item-btn[aria-current="page"]::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 18%;
  bottom: 18%;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: #F58220;
  box-shadow: 0 0 10px #F58220, 0 0 4px #F58220;
  animation: tcmsActivePillPulse 2s infinite ease-in-out;
}

[dir="rtl"] .fi-sidebar-item.fi-active .fi-sidebar-item-btn::before,
[dir="rtl"] .fi-sidebar-item-btn[aria-current="page"]::before {
  border-radius: 4px 0 0 4px;
}

/* Active Icon & Label */
.fi-sidebar-item.fi-active .fi-sidebar-item-icon,
.fi-sidebar-item.fi-active svg,
.fi-sidebar-item.fi-active i,
.fi-sidebar-item-btn[aria-current="page"] .fi-sidebar-item-icon,
.fi-sidebar-item-btn[aria-current="page"] svg,
.fi-sidebar-item-btn[aria-current="page"] i {
  color: #FFFFFF !important;
  transform: scale(1.1);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

.fi-sidebar-item.fi-active .fi-sidebar-item-label,
.fi-sidebar-item-btn[aria-current="page"] .fi-sidebar-item-label {
  color: #FFFFFF !important;
  font-weight: 750 !important;
  letter-spacing: 0.2px;
}

/* Count Badges on Sidebar Items */
.fi-sidebar-item-badge-ctn {
  margin-inline-start: auto !important;
  border-radius: 9999px !important;
  font-size: 11px !important;
  font-weight: 750 !important;
  padding: 2px 8px !important;
  background: rgba(0, 139, 158, 0.12) !important;
  color: #008B9E !important;
  transition: transform 0.2s ease, background-color 0.2s ease !important;
}

.dark .fi-sidebar-item-badge-ctn {
  background: rgba(0, 139, 158, 0.25) !important;
  color: #38BDF8 !important;
}

.fi-sidebar-item.fi-active .fi-sidebar-item-badge-ctn,
.fi-sidebar-item-btn[aria-current="page"] .fi-sidebar-item-badge-ctn {
  background: #F58220 !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 6px rgba(245, 130, 32, 0.4) !important;
}

.fi-sidebar-item:hover .fi-sidebar-item-badge-ctn {
  transform: scale(1.08);
}

/* Sidebar Footer Elevation */
.fi-sidebar-footer {
  border-top: 1px solid rgba(226, 232, 240, 0.8) !important;
  background: #FFFFFF !important;
  padding: 12px 16px !important;
  transition: background 0.3s ease, border-color 0.3s ease !important;
}

.dark .fi-sidebar-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: #0B132B !important;
}

/* Topbar Header Elevation & Layout (Matching User Screenshot) */
.fi-topbar {
  height: 68px !important;
  padding: 0 20px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85) !important;
  z-index: 30 !important;
}

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

/* Topbar Action Elements */
.tcms-topbar-actions-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tcms-location-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 9999px;
  border: 1.5px solid #008B9E;
  color: #008B9E;
  font-size: 12.5px;
  font-weight: 700;
  background: rgba(0, 139, 158, 0.06);
  white-space: nowrap;
  cursor: default;
}

.dark .tcms-location-btn {
  background: rgba(0, 139, 158, 0.15);
  border-color: #178C9E;
  color: #2dd4bf;
}

.tcms-icon-pin {
  width: 15px;
  height: 15px;
  color: #008B9E;
  flex-shrink: 0;
}

.dark .tcms-icon-pin {
  color: #2dd4bf;
}

.tcms-btn-primary-accent {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #F08A1E 0%, #E07308 100%);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 3px 12px rgba(240, 138, 30, 0.38);
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
}

.tcms-btn-primary-accent:hover {
  background: linear-gradient(135deg, #f9952a 0%, #eb7c12 100%);
  box-shadow: 0 5px 18px rgba(240, 138, 30, 0.48);
  transform: translateY(-1px);
}

.tcms-icon-plus {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.tcms-lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 16px;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #0f172a;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none !important;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.dark .tcms-lang-toggle-btn {
  background: #1e293b;
  border-color: #334155;
  color: #f8fafc;
}

.tcms-lang-toggle-btn:hover {
  border-color: #008B9E;
  color: #008B9E;
}

.tcms-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  text-decoration: none;
}

.dark .tcms-icon-btn {
  background: #1e293b;
  border-color: #334155;
  color: #94a3b8;
}

.tcms-icon-btn:hover {
  border-color: #008B9E;
  color: #008B9E;
}

.tcms-badge-dot {
  width: 8px;
  height: 8px;
  background: #EF4444;
  border-radius: 50%;
  position: absolute;
  top: 8px;
  right: 8px;
  border: 2px solid #ffffff;
}

.dark .tcms-badge-dot {
  border-color: #1e293b;
}

.tcms-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 14px 4px 5px;
  border-radius: 9999px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.dark .tcms-user-chip {
  background: #1e293b;
  border-color: #334155;
}

.tcms-user-chip:hover {
  border-color: #008B9E;
  box-shadow: 0 2px 8px rgba(0, 139, 158, 0.15);
}

.tcms-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #008B9E 0%, #006b7a 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tcms-user-meta {
  display: flex;
  flex-direction: column;
  text-align: start;
  line-height: 1.2;
}

.tcms-user-name {
  font-size: 12.5px;
  font-weight: 800;
  color: #0f172a;
}

.dark .tcms-user-name {
  color: #f8fafc;
}

.tcms-user-role {
  font-size: 10px;
  font-weight: 600;
  color: #64748b;
}

/* Responsive Topbar Rules */
@media (max-width: 1024px) {
  .tcms-location-btn {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .tcms-topbar-actions-wrapper {
    gap: 8px !important;
  }
  .tcms-btn-primary-accent {
    padding: 6px 12px !important;
    font-size: 11.5px !important;
  }
  .tcms-user-meta {
    display: none !important;
  }
  .tcms-user-chip {
    padding: 3px !important;
  }
}

/* Cards & Containers Elevation */
.fi-section,
.fi-card,
.fi-ta-ctn,
.fi-widget {
  background: var(--stitch-surface-light) !important;
  border: 1px solid var(--stitch-border-light) !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.03) !important;
  transition: transform 0.25s var(--stitch-transition-smooth), box-shadow 0.25s var(--stitch-transition-smooth), border-color 0.25s ease !important;
}

.dark .fi-section,
.dark .fi-card,
.dark .fi-ta-ctn,
.dark .fi-widget {
  background: var(--stitch-surface-card-dark) !important;
  border: 1px solid var(--stitch-border-dark) !important;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5), 0 4px 10px -2px rgba(0, 0, 0, 0.3) !important;
}

/* Card Subtle Hover Lift */
.fi-widget:hover,
.fi-section:hover {
  border-color: rgba(23, 140, 158, 0.3) !important;
  box-shadow: 0 12px 28px -4px rgba(23, 140, 158, 0.12), 0 4px 12px -2px rgba(0, 0, 0, 0.08) !important;
}

/* ==========================================================================
   ENTERPRISE FORM & SECTION UI POLISH
   ========================================================================== */
.fi-section-header {
  padding: 16px 22px !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
  background: rgba(248, 250, 252, 0.65) !important;
}

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

.fi-section-header-heading {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--stitch-primary, #178C9E) !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.fi-section-header-description {
  font-size: 12px !important;
  color: #64748b !important;
  margin-top: 3px !important;
}

.dark .fi-section-header-description {
  color: #94a3b8 !important;
}

.fi-section-content {
  padding: 22px !important;
}

/* Form Field Labels */
.fi-fo-field-wrp-label {
  font-size: 12.5px !important;
  font-weight: 700 !important;
  margin-bottom: 6px !important;
  color: #334155 !important;
}

.dark .fi-fo-field-wrp-label {
  color: #cbd5e1 !important;
}

/* Form Input Wrappers (Text, Select, Dates) */
.fi-input-wrp {
  border-radius: 10px !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: 1px solid rgba(203, 213, 225, 0.9) !important;
  background-color: #ffffff !important;
}

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

.fi-input-wrp:hover {
  border-color: rgba(23, 140, 158, 0.5) !important;
}

.fi-input-wrp:focus-within {
  border-color: var(--stitch-primary, #178C9E) !important;
  box-shadow: 0 0 0 3px rgba(23, 140, 158, 0.25) !important;
}

/* Required Indicator */
.fi-fo-field-wrp-label sup {
  color: #ef4444 !important;
  font-weight: 800 !important;
}

/* ==========================================================================
   2. ACTION ANIMATIONS & MICRO-INTERACTIONS
   ========================================================================== */

/* Button Hover & Active Physics */
.fi-btn,
button.fi-btn-primary,
button[type="submit"],
.fi-action,
.fi-ac-btn-action {
  position: relative;
  overflow: hidden;
  transition: all 0.22s var(--stitch-transition-smooth) !important;
  will-change: transform, box-shadow;
  border-radius: 10px !important;
}

.fi-btn:hover,
button.fi-btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px 0 var(--stitch-glow) !important;
}

.fi-btn:active,
button.fi-btn-primary:active {
  transform: scale(0.96) translateY(0) !important;
  transition-duration: 0.08s !important;
}

/* FontAwesome Icon Motion within Buttons */
.fi-btn i,
.fi-icon-btn i,
.fi-action i,
.fi-sidebar-item-icon i {
  transition: transform 0.24s var(--stitch-transition-spring) !important;
  display: inline-block;
}

.fi-btn:hover i,
.fi-icon-btn:hover i {
  transform: scale(1.2) rotate(-4deg);
}

.fi-sidebar-item:hover .fi-sidebar-item-icon i {
  transform: scale(1.18);
  color: var(--stitch-primary) !important;
}

/* Table Row Smooth Animation & Hover */
.fi-ta-row {
  transition: background-color 0.18s ease, transform 0.18s ease !important;
}

.fi-ta-row:hover {
  background-color: rgba(23, 140, 158, 0.04) !important;
}

.dark .fi-ta-row:hover {
  background-color: rgba(23, 140, 158, 0.08) !important;
}

/* Form Inputs Smooth Focus Glow */
input.fi-input,
select.fi-select-input,
textarea.fi-input,
.fi-input-wrp {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
  border-radius: 10px !important;
}

.fi-input-wrp:focus-within {
  border-color: var(--stitch-primary) !important;
  box-shadow: 0 0 0 3px rgba(23, 140, 158, 0.2) !important;
}

/* ==========================================================================
   3. MODAL, FLYOUT & NOTIFICATION ENTRANCE ANIMATIONS
   ========================================================================== */

/* Spring Modal Entrance */
.fi-modal-window {
  animation: stitchModalSpring 0.32s var(--stitch-transition-spring) forwards !important;
  border-radius: 18px !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
}

@keyframes stitchModalSpring {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(16px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Toast Notifications Animation */
.fi-no-notification {
  animation: stitchToastSlide 0.35s var(--stitch-transition-spring) forwards !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.25) !important;
}

@keyframes stitchToastSlide {
  0% {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Badges Pulse for Live and Active Status */
.fi-badge-color-success,
.fi-badge-color-primary {
  transition: all 0.2s ease;
}

.fi-badge-color-success:hover,
.fi-badge-color-primary:hover {
  transform: scale(1.05);
}

/* Tab Navigation Smooth Indicator */
.fi-tabs-item {
  transition: all 0.2s ease !important;
  border-radius: 8px !important;
}

.fi-tabs-item:hover {
  color: var(--stitch-primary) !important;
}

/* Click Ripple Wave */
.stitch-ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: stitchRippleEffect 0.6s linear;
  background-color: rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

@keyframes stitchRippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ==========================================================================
   4. FILAMENT DASHBOARD & STATS OVERVIEW WIDGETS
   ========================================================================== */

/* Stats Overview Cards */
.fi-wi-stats-overview-stat {
  background: var(--stitch-surface-light) !important;
  border: 1px solid var(--stitch-border-light) !important;
  border-radius: 14px !important;
  padding: 18px 20px !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.fi-wi-stats-overview-stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(23, 140, 158, 0.1) !important;
  border-color: rgba(23, 140, 158, 0.3) !important;
}

.dark .fi-wi-stats-overview-stat {
  background: var(--stitch-surface-card-dark) !important;
  border: 1px solid var(--stitch-border-dark) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

.fi-wi-stats-overview-stat-value {
  font-size: 24px !important;
  font-weight: 800 !important;
  letter-spacing: -0.5px !important;
  color: var(--tcms-text-main, #0f172a) !important;
}

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

/* Filament Lead Showcase & Modules Container in Dashboard */
.tcms-filament-showcase,
.tcms-quick-modules-container {
  width: 100%;
}

.tcms-filament-showcase .tcms-card,
.tcms-filament-showcase .tcms-lead-hero,
.tcms-filament-showcase .tcms-pipeline-card,
.tcms-quick-modules-container .tcms-card {
  transition: all 0.22s ease !important;
}

.dark .tcms-filament-showcase .tcms-card,
.dark .tcms-filament-showcase .tcms-lead-hero,
.dark .tcms-filament-showcase .tcms-pipeline-card,
.dark .tcms-quick-modules-container .tcms-card {
  background-color: var(--stitch-surface-card-dark, #162233) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

/* Force full width across Filament grid */
.fi-wi:has(.tcms-widget-container),
.fi-wi:has(.tcms-quick-modules-container),
.fi-grid-col:has(.tcms-widget-container),
.fi-grid-col:has(.tcms-quick-modules-container),
.fi-wi-widget.col-span-full {
  grid-column: 1 / -1 !important;
  width: 100% !important;
}

.tcms-grid-3col {
  display: grid !important;
  grid-template-columns: 280px minmax(360px, 1fr) 310px !important;
  gap: 20px !important;
  width: 100% !important;
}

@media (max-width: 1200px) {
  .tcms-grid-3col {
    grid-template-columns: 1fr !important;
  }
}

.tcms-stepper {
  display: grid !important;
  grid-template-columns: repeat(8, minmax(110px, 1fr)) !important;
  overflow-x: auto !important;
  width: 100% !important;
  gap: 8px !important;
}

/* Logo styling */
.fi-logo img {
  height: 38px !important;
  width: auto !important;
  object-fit: contain !important;
}

/* ==========================================================================
   5. FILAMENT TABLES, CHECKBOXES, ACTIONS & PAGINATION RESTORATION
   ========================================================================== */

/* Table Container & Base */
.fi-ta-ctn {
  overflow: hidden !important;
  border-radius: 12px !important;
}

.fi-ta-table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

/* Table Header Row & Cells */
.fi-ta-header {
  background-color: rgba(241, 245, 249, 0.65) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9) !important;
}

.dark .fi-ta-header {
  background-color: rgba(15, 23, 42, 0.75) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.fi-ta-header-cell,
th.fi-ta-header-cell,
.fi-ta-header-cell-label {
  padding: 12px 18px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: #64748b !important;
}

.dark .fi-ta-header-cell,
.dark th.fi-ta-header-cell,
.dark .fi-ta-header-cell-label {
  color: #94a3b8 !important;
}

/* Table Body Cells */
.fi-ta-cell,
td.fi-ta-cell {
  padding: 13px 18px !important;
  font-size: 13.5px !important;
  line-height: 1.5 !important;
  vertical-align: middle !important;
}

/* Table Rows Divider & Hover */
.fi-ta-row {
  border-bottom: 1px solid rgba(226, 232, 240, 0.7) !important;
  transition: background-color 0.16s ease !important;
}

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

.fi-ta-row:hover {
  background-color: rgba(23, 140, 158, 0.04) !important;
}

.dark .fi-ta-row:hover {
  background-color: rgba(23, 140, 158, 0.09) !important;
}

/* Table Checkboxes & Alignment */
.fi-ta-record-checkbox,
.fi-ta-cell input[type="checkbox"],
.fi-ta-header-cell input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  border-radius: 4px !important;
  margin-inline-end: 12px !important;
  accent-color: #178C9E !important;
  cursor: pointer !important;
  vertical-align: middle !important;
}

/* Table Actions (Edit, Delete, View) */
.fi-ta-actions {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.fi-ta-actions .fi-link,
.fi-ta-actions .fi-btn,
.fi-ta-actions a,
.fi-ta-actions button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 4px 10px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  transition: all 0.15s ease !important;
}

.fi-ta-actions .fi-link:hover,
.fi-ta-actions a:hover {
  background-color: rgba(23, 140, 158, 0.08) !important;
}

/* Badges inside Table */
.fi-badge,
.fi-ta-cell .fi-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 3px 10px !important;
  border-radius: 9999px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

/* Pagination Footer */
.fi-ta-pagination,
.fi-pagination {
  padding: 12px 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-top: 1px solid rgba(226, 232, 240, 0.8) !important;
  gap: 14px !important;
}

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

.fi-pagination-records-per-page-select {
  margin-inline-start: 8px !important;
  border-radius: 6px !important;
}

/* Toolbar and Search */
.fi-ta-header-toolbar {
  padding: 12px 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 12px !important;
}

.fi-ta-search-field input {
  padding: 7px 12px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
}

/* ==========================================================================
   8. TOPBAR ACTIONS & CONTROLS (MATCHING SCREENSHOT)
   ========================================================================== */

.tcms-topbar-actions-wrapper {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-inline-end: 6px !important;
}

/* Location / Branch Pill */
.tcms-location-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 6px 14px !important;
  background: rgba(0, 139, 158, 0.04) !important;
  border: 1px solid rgba(0, 139, 158, 0.35) !important;
  border-radius: 9999px !important;
  color: var(--stitch-primary, #178C9E) !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  transition: all 0.2s ease !important;
}

.tcms-location-btn:hover {
  background: rgba(0, 139, 158, 0.1) !important;
  border-color: var(--stitch-primary, #178C9E) !important;
}

.dark .tcms-location-btn {
  background: rgba(23, 140, 158, 0.12) !important;
  border-color: rgba(23, 140, 158, 0.4) !important;
  color: #38bdf8 !important;
}

.tcms-icon-pin {
  width: 15px !important;
  height: 15px !important;
  color: var(--stitch-primary, #178C9E) !important;
}

/* Vibrant Orange CTA Button "+ New Enrollment" */
.tcms-btn-primary-accent {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6.5px 16px !important;
  background: linear-gradient(135deg, #F58220 0%, #EA580C 100%) !important;
  color: #ffffff !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  box-shadow: 0 3px 12px rgba(234, 88, 12, 0.3) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  white-space: nowrap !important;
}

.tcms-btn-primary-accent:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 5px 16px rgba(234, 88, 12, 0.45) !important;
  color: #ffffff !important;
}

.tcms-icon-plus {
  width: 14px !important;
  height: 14px !important;
}

/* Language Toggle Pill */
.tcms-lang-toggle-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 5px 12px !important;
  background: #ffffff !important;
  border: 1px solid rgba(203, 213, 225, 0.8) !important;
  border-radius: 9999px !important;
  color: #1e293b !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}

.tcms-lang-toggle-btn:hover {
  border-color: var(--stitch-primary, #178C9E) !important;
  color: var(--stitch-primary, #178C9E) !important;
  transform: translateY(-1px) !important;
}

.dark .tcms-lang-toggle-btn {
  background: #162233 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #f8fafc !important;
}

/* Circular Icon Buttons (Theme Toggle & Bell) */
.tcms-icon-btn {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: 1px solid rgba(203, 213, 225, 0.8) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #64748b !important;
  position: relative !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

.tcms-icon-btn:hover {
  border-color: var(--stitch-primary, #178C9E) !important;
  color: var(--stitch-primary, #178C9E) !important;
  transform: translateY(-1px) !important;
}

.dark .tcms-icon-btn {
  background: #162233 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #94a3b8 !important;
}

.tcms-badge-dot {
  position: absolute !important;
  top: 7px !important;
  right: 7px !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #F58220 !important;
  border: 1.5px solid #ffffff !important;
}

.dark .tcms-badge-dot {
  border-color: #162233 !important;
}

/* User Profile Chip (Matching Screenshot "Sara Ahmed / Receptionist - Desk 01") */
.tcms-user-menu-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 3px 12px 3px 4px !important;
  background: #ffffff !important;
  border: 1px solid rgba(0, 139, 158, 0.35) !important;
  border-radius: 9999px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

[dir="rtl"] .tcms-user-menu-chip {
  padding: 3px 4px 3px 12px !important;
}

.tcms-user-menu-chip:hover {
  border-color: var(--stitch-primary, #178C9E) !important;
  box-shadow: 0 3px 10px rgba(23, 140, 158, 0.15) !important;
}

.dark .tcms-user-menu-chip {
  background: #162233 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.tcms-user-avatar-circle {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #008B9E 0%, #006674 100%) !important;
  color: #ffffff !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  box-shadow: 0 2px 6px rgba(0, 139, 158, 0.25) !important;
}

.tcms-user-info-text {
  display: flex !important;
  flex-direction: column !important;
  text-align: start !important;
}

.tcms-user-name {
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.2 !important;
}

.dark .tcms-user-name {
  color: #f8fafc !important;
}

.tcms-user-role {
  font-size: 10px !important;
  color: #64748b !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
}

.dark .tcms-user-role {
  color: #94a3b8 !important;
}

/* ==========================================================================
   9. RTL & LOCALIZATION STYLING
   ========================================================================== */

[dir="rtl"], 
html[dir="rtl"], 
body[dir="rtl"] {
  font-family: 'IBM Plex Sans Arabic', 'Inter', system-ui, sans-serif !important;
  text-align: right !important;
}

[dir="rtl"] .fi-ta-cell,
[dir="rtl"] .fi-ta-header-cell {
  text-align: right !important;
}

[dir="rtl"] .fi-sidebar-item-label {
  text-align: right !important;
}

[dir="rtl"] .tcms-stepper-item:not(:last-child)::after {
  right: 50% !important;
  left: auto !important;
}

/* ==========================================================================
   10. FULL RESPONSIVE DESIGN FOR ALL SCREEN SIZES
   ========================================================================== */

/* Large Tablets & Small Laptops (<= 1200px) */
@media (max-width: 1200px) {
  .tcms-user-role {
    display: none !important;
  }
}

/* Tablets (<= 1024px) */
@media (max-width: 1024px) {
  .tcms-location-btn span {
    max-width: 120px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  
  .tcms-table-card {
    border-radius: 10px !important;
  }
}

/* Mobile Screens (<= 768px) */
@media (max-width: 768px) {
  /* Topbar compaction */
  .tcms-location-btn {
    display: none !important;
  }

  .tcms-topbar-actions-wrapper {
    gap: 6px !important;
    margin-inline-end: 2px !important;
  }

  .tcms-btn-primary-accent span {
    display: none !important;
  }

  .tcms-btn-primary-accent {
    padding: 7px 10px !important;
    border-radius: 50% !important;
    width: 34px !important;
    height: 34px !important;
    justify-content: center !important;
  }

  .tcms-user-info-text {
    display: none !important;
  }

  .tcms-user-menu-chip {
    padding: 2px !important;
    border-radius: 50% !important;
    border: none !important;
    background: transparent !important;
  }

  /* Table responsive horizontal scroll */
  .tcms-table-responsive {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    display: block !important;
    width: 100% !important;
  }

  .tcms-table {
    min-width: 620px !important;
  }

  /* Dashboard Widgets Stack */
  .fi-wi {
    grid-column: 1 / -1 !important;
  }

  /* Mobile Sidebar styling */
  .fi-sidebar {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important;
  }
}

/* Very Small Mobile Phones (<= 480px) */
@media (max-width: 480px) {
  .tcms-lang-toggle-btn {
    padding: 4px 8px !important;
    font-size: 11px !important;
  }

  .tcms-icon-btn {
    width: 30px !important;
    height: 30px !important;
  }
}

/* ==========================================================================
   11. LEADS KANBAN BOARD & DRAG-AND-DROP STYLES
   ========================================================================== */

.tcms-kanban-app {
  width: 100% !important;
  padding: 4px 0 24px 0 !important;
}

/* Toolbar */
.tcms-kanban-toolbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
  margin-bottom: 16px !important;
}

.tcms-kanban-toolbar-left {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

.tcms-kanban-toolbar-right {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.tcms-search-box {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
}

.tcms-search-icon {
  position: absolute !important;
  left: 12px !important;
  width: 15px !important;
  height: 15px !important;
  color: #94a3b8 !important;
  pointer-events: none !important;
}

[dir="rtl"] .tcms-search-icon {
  left: auto !important;
  right: 12px !important;
}

.tcms-search-input {
  height: 38px !important;
  padding: 6px 32px 6px 36px !important;
  border-radius: 9999px !important;
  border: 1px solid rgba(203, 213, 225, 0.8) !important;
  background: #ffffff !important;
  font-size: 13px !important;
  color: #0f172a !important;
  width: 260px !important;
  transition: all 0.2s ease !important;
}

[dir="rtl"] .tcms-search-input {
  padding: 6px 36px 6px 32px !important;
}

.dark .tcms-search-input {
  background: #162233 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #f8fafc !important;
}

.tcms-search-input:focus {
  outline: none !important;
  border-color: var(--stitch-primary, #178C9E) !important;
  box-shadow: 0 0 0 3px rgba(23, 140, 158, 0.15) !important;
  width: 300px !important;
}

.tcms-search-clear {
  position: absolute !important;
  right: 10px !important;
  background: none !important;
  border: none !important;
  font-size: 16px !important;
  color: #94a3b8 !important;
  cursor: pointer !important;
}

[dir="rtl"] .tcms-search-clear {
  right: auto !important;
  left: 10px !important;
}

.tcms-select-filter {
  height: 38px !important;
  padding: 6px 14px !important;
  border-radius: 9999px !important;
  border: 1px solid rgba(203, 213, 225, 0.8) !important;
  background: #ffffff !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  cursor: pointer !important;
}

.dark .tcms-select-filter {
  background: #162233 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #cbd5e1 !important;
}

.tcms-btn-secondary-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 7px 16px !important;
  border-radius: 9999px !important;
  background: #ffffff !important;
  border: 1px solid rgba(203, 213, 225, 0.8) !important;
  color: #334155 !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.dark .tcms-btn-secondary-pill {
  background: #162233 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #e2e8f0 !important;
}

.tcms-btn-secondary-pill:hover {
  border-color: var(--stitch-primary, #178C9E) !important;
  color: var(--stitch-primary, #178C9E) !important;
}

/* Hint Banner */
.tcms-drag-hint-banner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 10px 18px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, rgba(23, 140, 158, 0.08) 0%, rgba(245, 130, 32, 0.06) 100%) !important;
  border: 1px solid rgba(23, 140, 158, 0.18) !important;
  margin-bottom: 18px !important;
}

.dark .tcms-drag-hint-banner {
  background: rgba(23, 140, 158, 0.12) !important;
  border-color: rgba(23, 140, 158, 0.3) !important;
}

/* Kanban Columns Grid */
.tcms-kanban-board-grid {
  display: flex !important;
  gap: 16px !important;
  overflow-x: auto !important;
  padding-bottom: 18px !important;
  -webkit-overflow-scrolling: touch !important;
  align-items: flex-start !important;
}

.tcms-kanban-column {
  flex: 0 0 290px !important;
  min-width: 290px !important;
  background: rgba(241, 245, 249, 0.6) !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  border-radius: 14px !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

.dark .tcms-kanban-column {
  background: rgba(18, 28, 42, 0.75) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.tcms-kanban-column-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 14px 16px !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
  background: #ffffff !important;
}

.dark .tcms-kanban-column-header {
  background: #121c2a !important;
  border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}

.tcms-column-indicator {
  width: 9px !important;
  height: 9px !important;
  border-radius: 50% !important;
}

.tcms-column-title {
  font-size: 13.5px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 !important;
}

.dark .tcms-column-title {
  color: #f8fafc !important;
}

.tcms-column-badge {
  padding: 2px 8px !important;
  border-radius: 9999px !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
}

/* Dropzone */
.tcms-kanban-dropzone {
  padding: 12px !important;
  min-height: 480px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  transition: all 0.2s ease !important;
}

.tcms-dropzone-highlight {
  background: rgba(23, 140, 158, 0.12) !important;
  border: 2px dashed var(--stitch-primary, #178C9E) !important;
  border-radius: 12px !important;
}

.tcms-kanban-empty-dropzone {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  height: 180px !important;
  border: 2px dashed rgba(203, 213, 225, 0.6) !important;
  border-radius: 12px !important;
}

/* Lead Cards */
.tcms-kanban-card {
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  border-radius: 12px !important;
  padding: 14px !important;
  cursor: grab !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
}

.dark .tcms-kanban-card {
  background: #162233 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.tcms-kanban-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08) !important;
  border-color: var(--stitch-primary, #178C9E) !important;
}

.tcms-card-dragging {
  opacity: 0.4 !important;
  cursor: grabbing !important;
  transform: scale(0.98) !important;
}

.tcms-card-overdue {
  border-inline-start: 4px solid #ef4444 !important;
}

.tcms-card-converted {
  border-inline-start: 4px solid #10b981 !important;
}

.tcms-source-pill {
  font-size: 10px !important;
  font-weight: 700 !important;
  padding: 2px 7px !important;
  border-radius: 9999px !important;
  background: rgba(148, 163, 184, 0.15) !important;
  color: #64748b !important;
  text-transform: uppercase !important;
}

.dark .tcms-source-pill {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #cbd5e1 !important;
}

.tcms-overdue-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 2px 8px !important;
  border-radius: 6px !important;
  background: #fef2f2 !important;
  color: #ef4444 !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  margin-bottom: 8px !important;
}

.dark .tcms-overdue-pill {
  background: rgba(239, 68, 68, 0.15) !important;
}

.tcms-card-meta-line {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 12px !important;
  color: #475569 !important;
  margin-bottom: 5px !important;
}

.dark .tcms-card-meta-line {
  color: #94a3b8 !important;
}

.tcms-card-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-top: 10px !important;
  padding-top: 8px !important;
  border-top: 1px dashed rgba(226, 232, 240, 0.8) !important;
}

.dark .tcms-card-footer {
  border-top-color: rgba(255, 255, 255, 0.08) !important;
}

.tcms-deal-value {
  font-size: 12.5px !important;
  font-weight: 800 !important;
  color: var(--stitch-primary, #178C9E) !important;
}

.tcms-agent-chip {
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #0B132B, #1e293b) !important;
  color: #ffffff !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.tcms-card-action-bar {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-top: 10px !important;
}

.tcms-card-action-btn {
  flex: 1 !important;
  padding: 5px 8px !important;
  border-radius: 6px !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  background: #f8fafc !important;
  color: #334155 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  text-align: center !important;
  transition: all 0.15s ease !important;
  text-decoration: none !important;
}

.dark .tcms-card-action-btn {
  background: #1e293b !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #e2e8f0 !important;
}

.tcms-card-action-btn:hover {
  border-color: var(--stitch-primary, #178C9E) !important;
  color: var(--stitch-primary, #178C9E) !important;
}

.tcms-btn-convert {
  background: rgba(245, 130, 32, 0.08) !important;
  border-color: rgba(245, 130, 32, 0.3) !important;
  color: #ea580c !important;
}

.tcms-btn-convert:hover {
  background: #F58220 !important;
  color: #ffffff !important;
  border-color: #F58220 !important;
}

.tcms-btn-converted-link {
  background: rgba(16, 185, 129, 0.1) !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
  color: #10b981 !important;
}

/* Modals */
.tcms-modal-backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(15, 23, 42, 0.65) !important;
  backdrop-filter: blur(4px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 9999 !important;
  padding: 16px !important;
}

.tcms-modal-container {
  background: #ffffff !important;
  border-radius: 16px !important;
  width: 100% !important;
  max-width: 600px !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
}

.dark .tcms-modal-container {
  background: #121c2a !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.tcms-modal-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 18px 22px !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
}

.dark .tcms-modal-header {
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

.tcms-modal-header-icon {
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 18px !important;
}

.tcms-modal-close-btn {
  background: none !important;
  border: none !important;
  font-size: 24px !important;
  line-height: 1 !important;
  color: #94a3b8 !important;
  cursor: pointer !important;
}

.tcms-modal-body {
  padding: 22px !important;
}

.tcms-modal-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  padding: 16px 22px !important;
  border-top: 1px solid rgba(226, 232, 240, 0.8) !important;
  background: #f8fafc !important;
  border-radius: 0 0 16px 16px !important;
}

.dark .tcms-modal-footer {
  background: #0e1624 !important;
  border-top-color: rgba(255, 255, 255, 0.08) !important;
}

.tcms-form-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 14px !important;
}

@media (max-width: 580px) {
  .tcms-form-grid {
    grid-template-columns: 1fr !important;
  }
}

.tcms-form-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
}

.tcms-form-label {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #334155 !important;
}

.dark .tcms-form-label {
  color: #cbd5e1 !important;
}

.tcms-form-input {
  height: 38px !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  border: 1px solid rgba(203, 213, 225, 0.9) !important;
  background: #ffffff !important;
  font-size: 13px !important;
  color: #0f172a !important;
}

.dark .tcms-form-input {
  background: #162233 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #f8fafc !important;
}

.tcms-form-input:focus {
  outline: none !important;
  border-color: var(--stitch-primary, #178C9E) !important;
}

.tcms-wizard-box {
  background: #f8fafc !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  border-radius: 10px !important;
  padding: 14px !important;
}

.dark .tcms-wizard-box {
  background: #141f2e !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

/* ==========================================================================
   TCMS ENTERPRISE HR SUITE & DASHBOARD DESIGN SYSTEM
   ========================================================================== */

.tcms-hr-widget {
  width: 100% !important;
  grid-column: 1 / -1 !important;
  margin-top: 12px !important;
  margin-bottom: 12px !important;
}

.tcms-hr-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 16px !important;
  width: 100% !important;
}

.tcms-hr-alert-card {
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  border-radius: 16px !important;
  padding: 18px !important;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.03) !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  position: relative !important;
  overflow: hidden !important;
}

.tcms-hr-alert-card::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 3px !important;
  background: currentColor !important;
  opacity: 0.8 !important;
}

.dark .tcms-hr-alert-card {
  background: #162233 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.35) !important;
}

.tcms-hr-alert-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 30px -4px rgba(15, 23, 42, 0.1), 0 4px 10px -2px rgba(15, 23, 42, 0.05) !important;
  border-color: var(--stitch-primary, #178C9E) !important;
}

.tcms-hr-alert-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.7) !important;
  margin-bottom: 12px !important;
}

.dark .tcms-hr-alert-header {
  border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}

.tcms-hr-icon-badge {
  width: 34px !important;
  height: 34px !important;
  border-radius: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.tcms-hr-alert-title {
  font-size: 12px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: #1e293b !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}

.dark .tcms-hr-alert-title {
  color: #f1f5f9 !important;
}

.tcms-hr-count-badge {
  font-size: 11px !important;
  font-weight: 800 !important;
  padding: 3px 9px !important;
  border-radius: 9999px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.tcms-hr-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  max-height: 220px !important;
  overflow-y: auto !important;
  padding-right: 4px !important;
}

[dir="rtl"] .tcms-hr-list {
  padding-right: 0 !important;
  padding-left: 4px !important;
}

.tcms-hr-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding: 8px 12px !important;
  border-radius: 10px !important;
  background: #f8fafc !important;
  border: 1px solid rgba(226, 232, 240, 0.6) !important;
  transition: all 0.2s ease !important;
}

.dark .tcms-hr-item {
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(255, 255, 255, 0.05) !important;
}

.tcms-hr-item:hover {
  background: #f1f5f9 !important;
  border-color: rgba(203, 213, 225, 0.8) !important;
  transform: translateX(2px) !important;
}

[dir="rtl"] .tcms-hr-item:hover {
  transform: translateX(-2px) !important;
}

.dark .tcms-hr-item:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.tcms-hr-empty {
  text-align: center !important;
  padding: 24px 12px !important;
  color: #94a3b8 !important;
  font-size: 12px !important;
}

.dark .tcms-hr-empty {
  color: #64748b !important;
}

/* Quick Action Hub */
.tcms-hr-hub {
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  border-radius: 18px !important;
  padding: 22px 24px !important;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05) !important;
  margin-top: 16px !important;
  margin-bottom: 24px !important;
}

.dark .tcms-hr-hub {
  background: #141f2e !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 8px 25px -4px rgba(0, 0, 0, 0.4) !important;
}

.tcms-hr-hub-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important;
  gap: 14px !important;
  margin-top: 16px !important;
}

.tcms-hr-hub-button {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 14px 18px !important;
  border-radius: 14px !important;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  border: 1px solid transparent !important;
  position: relative !important;
  overflow: hidden !important;
}

.tcms-hr-hub-button:hover {
  transform: translateY(-3px) scale(1.01) !important;
  box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.15) !important;
}

.tcms-hr-hub-btn-primary {
  background: linear-gradient(135deg, #178C9E 0%, #006674 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 16px -2px rgba(23, 140, 158, 0.35) !important;
}

.tcms-hr-hub-btn-emerald {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 16px -2px rgba(16, 185, 129, 0.3) !important;
}

.tcms-hr-hub-btn-sky {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 16px -2px rgba(2, 132, 199, 0.3) !important;
}

.tcms-hr-hub-btn-purple {
  background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 16px -2px rgba(139, 92, 246, 0.3) !important;
}

.tcms-hr-hub-btn-amber {
  background: linear-gradient(135deg, #F58220 0%, #D97014 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 16px -2px rgba(245, 130, 32, 0.3) !important;
}

/* ==========================================================================
   LEAVE REQUESTS FLOW UI/UX & MICRO-ANIMATIONS
   ========================================================================== */

@keyframes tcmsLeavePendingPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.55);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(245, 158, 11, 0);
    transform: scale(1.02);
  }
}

.fi-ta-row {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.fi-ta-row:hover {
  background-color: rgba(23, 140, 158, 0.04) !important;
}

.dark .fi-ta-row:hover {
  background-color: rgba(255, 255, 255, 0.035) !important;
}

/* Pending status badge animated beacon */
.fi-badge-color-warning {
  animation: tcmsLeavePendingPulse 2.8s infinite ease-in-out !important;
}

/* Filament Tabs styling & smooth indicators */
.fi-tabs-item-active {
  color: var(--stitch-primary, #178C9E) !important;
  font-weight: 800 !important;
}

.fi-tabs-item-active .fi-badge {
  font-weight: 800 !important;
}

/* ==========================================================================
   GLOBAL TCMS FULL ANIMATION SYSTEM
   ========================================================================== */

/* 1. Page Entrance Transition */
@keyframes tcmsGlobalPageIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fi-page, 
.fi-resource-page, 
.fi-main-ctn > div {
  animation: tcmsGlobalPageIn 0.32s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* 2. Cards & Widgets Hover Elevation & Ambient Glow */
.fi-wi, 
.fi-section, 
.fi-ta-content,
.tcms-crm-widget-card,
.tcms-hr-hub-container,
.fi-wi-stats-overview-stat {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.25s ease !important;
}

.fi-wi:hover, 
.tcms-crm-widget-card:hover,
.tcms-hr-hub-container:hover,
.fi-wi-stats-overview-stat:hover {
  transform: translateY(-2.5px) !important;
  box-shadow: 0 12px 28px -6px rgba(11, 19, 43, 0.1), 0 0 0 1px rgba(23, 140, 158, 0.2) !important;
}

.dark .fi-wi:hover,
.dark .tcms-crm-widget-card:hover,
.dark .fi-wi-stats-overview-stat:hover {
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(23, 140, 158, 0.35) !important;
}

/* 3. Button Micro-Interactions & Haptic Glow */
.fi-btn, .fi-action {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), 
              filter 0.2s ease !important;
}

.fi-btn:hover:not(:disabled), .fi-action:hover:not(:disabled) {
  transform: translateY(-1.5px) !important;
  box-shadow: 0 6px 18px -2px rgba(23, 140, 158, 0.35) !important;
}

.fi-btn:active:not(:disabled), .fi-action:active:not(:disabled) {
  transform: scale(0.96) translateY(0) !important;
  box-shadow: 0 2px 6px rgba(23, 140, 158, 0.2) !important;
}

/* 4. Form Control Focus Aura */
.fi-input, .fi-select-input, select, textarea,
.fi-input-wrp:focus-within {
  transition: border-color 0.2s ease, box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease !important;
}

.fi-input:focus, .fi-select-input:focus, select:focus, textarea:focus,
.fi-input-wrp:focus-within {
  border-color: var(--stitch-primary, #178C9E) !important;
  box-shadow: 0 0 0 3.5px rgba(23, 140, 158, 0.22) !important;
  outline: none !important;
}

/* 5. Modal and Slide-Over Dialog Elastic Pop */
@keyframes tcmsModalBounceIn {
  0% {
    opacity: 0;
    transform: scale(0.94) translateY(12px);
  }
  70% {
    transform: scale(1.01) translateY(-1px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.fi-modal-window {
  animation: tcmsModalBounceIn 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) both !important;
}

/* 6. Live Pulsing Beacons on Status Badges */
@keyframes tcmsBadgeLiveGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  }
  50% {
    box-shadow: 0 0 0 4.5px rgba(16, 185, 129, 0);
  }
}

.fi-badge-color-success {
  animation: tcmsBadgeLiveGlow 3s infinite ease-in-out !important;
}

@keyframes tcmsBadgeDangerPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6);
  }
  50% {
    box-shadow: 0 0 0 4.5px rgba(239, 68, 68, 0);
  }
}

.fi-badge-color-danger {
  animation: tcmsBadgeDangerPulse 2.5s infinite ease-in-out !important;
}

/* 7. Action Icons Micro-Rotation on Hover */
.fi-icon-btn {
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.15s ease !important;
}

.fi-icon-btn:hover {
  transform: scale(1.18) rotate(6deg) !important;
}

/* 8. Table Rows Hover Lateral Slide */
.fi-ta-row {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.fi-ta-row:hover {
  background-color: rgba(23, 140, 158, 0.05) !important;
  transform: translateX(3px) !important;
}

[dir="rtl"] .fi-ta-row:hover {
  transform: translateX(-3px) !important;
}

.dark .fi-ta-row:hover {
  background-color: rgba(23, 140, 158, 0.08) !important;
}

/* 9. Respect Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

