
/* fallback */
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

:root {
  /* File Manager UI Tokens */
  --fm-primary: #00d97e;
  --fm-primary-soft: rgba(0, 217, 126, 0.1);
  --fm-bg: #f8f9fa;
  --fm-sidebar-w: 260px;
  --fm-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --fm-card-shadow: 0 2px 6px 0 rgba(0,0,0,.05);
  --fm-border: #eef1f4;

  /* Global Theme Overrides */
  --color-primary: var(--fm-primary);
  --color-primary-contrast: #ffffff;
  --color-primary-100: #bbf7d0; 
  /* lighter */
  --color-primary-900: #047857; 
  /* darker */
  --color-primary-rgba-90: rgba(0, 217, 126, 0.9);
  --color-primary-rgba-60: rgba(0, 217, 126, 0.6);
  --color-primary-rgba-30: rgba(0, 217, 126, 0.3);
  --color-primary-rgba-20: rgba(0, 217, 126, 0.2);

  --primary: var(--color-primary);
  --primary-dark: var(--color-primary-900);
  --secondary: #f3f4f6;
  --bg-bgsecondary: #f8f9fa;
  --text-primary: #1f2937;
  --text-with-bg-primary: #f9fafb;
  --text-secondary: #6b7280;
  --border: #e5e7eb;
  --white: #ffffff;
  --red: #ef4444;
  --blue: #3b82f6;
  --green: #00d97e;
  --orange: #f97316;
  --pink: #ec4899;
  --teal: #14b8a6;
  --purple: #a855f7;
  --radius: 5px;
  --radius-lg: 24px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);

  --theme-font-sm: 13px;
  --font-size-md: 16px;
  --theme-font-sm-heading: 16px;
}


[data-bs-theme="dark"] {
  --primary: #00d97e;
  --primary-dark: #00d97e;
  --secondary: #2a2d2f;
  --bg-bgsecondary: #121515;
  --text-primary: #e5eae8;
  --text-secondary: #e5eae8;
  --border: #31383b;
  --white: #1e2123;
  --red: #ff6b6b;
  --blue: #4dbbdd;
  --green: #00d97e;
  --orange: #e67e22;
  --pink: #ff85a1;
  --teal: #0E8388;
  --purple: #9b59b6;
  --radius: 12px;
  --radius-lg: 24px;
  --shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);

  --theme-font-sm: 13px;
  --theme-font-sm-heading: 16px;

  --fm-bg: #1b1f24;
  --fm-border: #31383b;
  --fm-primary-soft: rgba(0, 217, 126, 0.15);

  --bs-body-bg: #1b1f24;
  --bs-body-color: var(--text-primary);
  --bs-secondary-bg: var(--secondary);
  --bs-tertiary-bg: #1e2123;
  
  --bs-danger-bg-subtle: rgba(255, 107, 107, 0.1);
  --bs-info-bg-subtle: rgba(77, 187, 221, 0.1);
  --bs-success-bg-subtle: rgba(0, 217, 126, 0.1);
  --bs-warning-bg-subtle: rgba(230, 126, 34, 0.1);

  .table-light {
    --bs-table-color: var(--text-primary) !important;
    --bs-table-bg: #222e2e !important;
    --bs-table-border-color: var(--border) !important;
  }

  --bs-white-rgb: var(--white);

  .premium-card, .premium-table-container {
      background: var(--white);
      border-color: var(--border);
  }

  .stat-icon-box {
      background-color: rgba(0, 217, 126, 0.1) !important;
  }
}



/* Skeleton Loader Styles */
.skeleton-item {
    background: linear-gradient(90deg, #f1f2f4 25%, #f9fafb 50%, #f1f2f4 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 2s infinite linear;
    border-radius: 8px;
    display: block;
    min-height: 10px;
}

[data-bs-theme="dark"] .skeleton-item {
    background: #2a2d31;
    background: linear-gradient(90deg, #2a2d31 25%, #32383e 50%, #2a2d31 75%);
}

@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text { height: 12px; margin: 8px 0; width: 100%; }
.skeleton-title { height: 20px; margin-bottom: 12px; width: 60%; }
.skeleton-avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; }
.skeleton-table-cell { height: 16px; margin: 4px 0; }
.skeleton-rect { height: 150px; width: 100%; }
.skeleton-inline { display: inline-block !important; vertical-align: middle; }