/*
 * enhanced-features-bundle.css
 * Auto-generated bundle - Do not edit directly
 * Created: 2025-12-03T14:48:57.114Z
 */


/* ===== enhanced-loading-states.css ===== */
/**
 * Enhanced Loading States
 * Best practice implementation for better perceived performance
 * Features: Shimmer animations, progressive image loading, button loading states
 */

/* ===== SKELETON LOADERS WITH SHIMMER ===== */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.skeleton::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.4) 50%, 
    transparent 100%
  );
  animation: shimmerOverlay 1.5s infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@keyframes shimmerOverlay {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Skeleton variants */
.skeleton-text {
  height: 1rem;
  margin-bottom: 0.5rem;
}

.skeleton-text:last-child {
  margin-bottom: 0;
  width: 75%;
}

.skeleton-title {
  height: 1.5rem;
  width: 60%;
  margin-bottom: 1rem;
}

.skeleton-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
}

.skeleton-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
}

.skeleton-button {
  height: 2.5rem;
  width: 8rem;
  border-radius: 6px;
}

.skeleton-card {
  padding: 1.5rem;
  border-radius: 12px;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ===== PROGRESSIVE IMAGE LOADING ===== */
.progressive-image-wrapper {
  position: relative;
  overflow: hidden;
  background: #f0f0f0;
  border-radius: 8px;
}

.progressive-image-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(20px);
  transform: scale(1.1);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.progressive-image-main {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.progressive-image-main.loaded {
  opacity: 1;
}

.progressive-image-main.loaded ~ .progressive-image-placeholder {
  opacity: 0;
}

.progressive-image-wrapper.loading::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  z-index: 1;
}

/* ===== BUTTON LOADING STATES ===== */
.btn-loading,
.btn.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
  color: transparent !important;
}

.btn-loading::before,
.btn.loading::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.25rem;
  height: 1.25rem;
  margin: -0.625rem 0 0 -0.625rem;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  color: inherit;
}

.btn-loading.btn-primary::before,
.btn.loading.btn-primary::before {
  border-color: white;
  border-top: rgba(255, 255, 255, 0.3);
  border-top-color: white;
}

.btn-loading.btn-outline-primary::before,
.btn.loading.btn-outline-primary::before {
  border-color: #6366f1;
  border-top-color: transparent;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Button loading with text */
.btn-loading-text {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-loading-text .spinner {
  width: 1rem;
  height: 1rem;
  border-width: 2px;
}

/* ===== PAGE TRANSITION LOADING ===== */
.page-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.page-loading-overlay.active {
  opacity: 1;
  visibility: visible;
}

.page-loading-spinner {
  width: 3rem;
  height: 3rem;
  border: 4px solid #e5e7eb;
  border-top-color: #6366f1;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.page-loading-text {
  margin-top: 1rem;
  color: #6b7280;
  font-size: 0.875rem;
  text-align: center;
}

/* ===== PROGRESS BARS ===== */
.progress-bar-container {
  width: 100%;
  height: 0.5rem;
  background: #e5e7eb;
  border-radius: 0.25rem;
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 100%);
  border-radius: 0.25rem;
  transition: width 0.3s ease;
  position: relative;
  overflow: hidden;
}

.progress-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.3) 50%, 
    transparent 100%
  );
  animation: shimmerOverlay 1.5s infinite;
}

.progress-bar-text {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
  text-align: center;
}

/* ===== SKELETON CARD ===== */
.skeleton-card {
  padding: 1.5rem;
  border-radius: 12px;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.skeleton-card .skeleton-image {
  margin-bottom: 1rem;
}

.skeleton-card .skeleton-title {
  margin-bottom: 0.75rem;
}

.skeleton-card .skeleton-text {
  margin-bottom: 0.5rem;
}

/* ===== DARK MODE SUPPORT ===== */
[data-bs-theme="dark"] .skeleton {
  background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%);
  background-size: 200% 100%;
}

[data-bs-theme="dark"] .progressive-image-wrapper {
  background: #1e293b;
}

[data-bs-theme="dark"] .progressive-image-placeholder {
  filter: blur(20px) brightness(0.8);
}

[data-bs-theme="dark"] .page-loading-overlay {
  background: rgba(15, 23, 42, 0.95);
}

[data-bs-theme="dark"] .page-loading-spinner {
  border-color: #334155;
  border-top-color: #6366f1;
}

[data-bs-theme="dark"] .progress-bar-container {
  background: #334155;
}

[data-bs-theme="dark"] .skeleton-card {
  background: #1e293b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .skeleton,
  .skeleton::after,
  .progressive-image-main,
  .progressive-image-placeholder,
  .progress-bar-fill,
  .progress-bar-fill::after {
    animation: none;
    transition: none;
  }
  
  .progressive-image-main {
    opacity: 1;
  }
  
  .progressive-image-placeholder {
    display: none;
  }
}

/* ===== UTILITY CLASSES ===== */
.loading {
  position: relative;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(2px);
  z-index: 10;
}

.fade-in {
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.slide-up {
  animation: slideUp 0.3s ease-out;
}

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



/* ===== table-of-contents.css ===== */
/**
 * Table of Contents Navigation
 * Auto-generated sticky sidebar navigation
 */

/* ===== TABLE OF CONTENTS CONTAINER ===== */
.table-of-contents {
  position: fixed;
  top: 100px;
  right: 2rem;
  width: 280px;
  max-height: calc(100vh - 140px);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12),
              0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.08);
  z-index: 1000;
  overflow-y: auto;
  overflow-x: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px);
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: none; /* Hidden by default, shown by JS when sections exist */
}

.table-of-contents.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.table-of-contents-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.table-of-contents-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.table-of-contents-toggle {
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.table-of-contents-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #1e293b;
}

.table-of-contents-toggle:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
}

.table-of-contents-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              margin 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  max-height: 2000px;
  opacity: 1;
}

.table-of-contents.collapsed .table-of-contents-list {
  max-height: 0;
  opacity: 0;
  margin: 0;
  overflow: hidden;
}

.table-of-contents-item {
  margin: 0;
}

.table-of-contents-link {
  display: block;
  padding: 0.5rem 0.75rem;
  color: #64748b;
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 1.5;
  border-radius: 8px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding-left: 1.5rem;
}

.table-of-contents-link::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: #cbd5e1;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.table-of-contents-link:hover {
  background: rgba(99, 102, 241, 0.08);
  color: #6366f1;
  padding-left: 1.75rem;
}

.table-of-contents-link:hover::before {
  background: #6366f1;
  width: 6px;
  height: 6px;
}

.table-of-contents-link.active {
  background: rgba(99, 102, 241, 0.12);
  color: #6366f1;
  font-weight: 600;
  padding-left: 1.75rem;
}

.table-of-contents-link.active::before {
  background: #6366f1;
  width: 6px;
  height: 6px;
}

/* Nested items (h3, h4) */
.table-of-contents-item.level-2 .table-of-contents-link {
  padding-left: 2rem;
  font-size: 0.8125rem;
}

.table-of-contents-item.level-3 .table-of-contents-link {
  padding-left: 2.5rem;
  font-size: 0.75rem;
}

/* Dark mode support */
[data-bs-theme="dark"] .table-of-contents {
  background: rgba(30, 41, 59, 0.95);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
              0 2px 8px rgba(0, 0, 0, 0.2);
}

[data-bs-theme="dark"] .table-of-contents-header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .table-of-contents-title {
  color: #94a3b8;
}

[data-bs-theme="dark"] .table-of-contents-toggle {
  color: #94a3b8;
}

[data-bs-theme="dark"] .table-of-contents-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

[data-bs-theme="dark"] .table-of-contents-link {
  color: #94a3b8;
}

[data-bs-theme="dark"] .table-of-contents-link::before {
  background: #475569;
}

[data-bs-theme="dark"] .table-of-contents-link:hover {
  background: rgba(99, 102, 241, 0.2);
  color: #818cf8;
}

[data-bs-theme="dark"] .table-of-contents-link:hover::before {
  background: #818cf8;
}

[data-bs-theme="dark"] .table-of-contents-link.active {
  background: rgba(99, 102, 241, 0.25);
  color: #818cf8;
}

[data-bs-theme="dark"] .table-of-contents-link.active::before {
  background: #818cf8;
}

/* Mobile responsiveness */
@media (max-width: 1200px) {
  .table-of-contents {
    width: 240px;
    right: 1rem;
  }
}

@media (max-width: 992px) {
  .table-of-contents {
    position: fixed;
    top: auto;
    bottom: 1rem;
    right: 1rem;
    width: calc(100% - 2rem);
    max-width: 320px;
    max-height: 50vh;
    transform: translateY(100%);
  }
  
  .table-of-contents.visible {
    transform: translateY(0);
  }
  
  .table-of-contents-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  .table-of-contents {
    width: calc(100% - 1rem);
    right: 0.5rem;
    bottom: 0.5rem;
    padding: 1rem;
  }
  
  .table-of-contents-link {
    font-size: 0.8125rem;
    padding: 0.5rem 0.625rem;
  }
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  .table-of-contents,
  .table-of-contents-link {
    transition: none;
  }
  
  html {
    scroll-behavior: auto;
  }
}



/* ===== error-handling-retry.css ===== */
/**
 * Error Handling with Retry
 * User-friendly error recovery
 */

/* ===== ERROR STATE CONTAINER ===== */
.error-state-container {
  display: none;
  padding: 2rem;
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border: 2px solid #fca5a5;
  border-radius: 16px;
  text-align: center;
  margin: 2rem 0;
  animation: errorEntrance 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.error-state-container.visible {
  display: block;
}

@keyframes errorEntrance {
  0% {
    opacity: 0;
    transform: scale(0.9) translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.error-state-icon {
  font-size: 3rem;
  color: #ef4444;
  margin-bottom: 1rem;
  animation: errorPulse 2s ease-in-out infinite;
}

@keyframes errorPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.error-state-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #991b1b;
  margin-bottom: 0.5rem;
}

.error-state-message {
  font-size: 1rem;
  color: #7f1d1d;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.error-state-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.error-retry-button {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.error-retry-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.4);
}

.error-retry-button:active {
  transform: translateY(0);
}

.error-retry-button:focus-visible {
  outline: 3px solid rgba(239, 68, 68, 0.5);
  outline-offset: 2px;
}

.error-retry-button.loading {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

.error-retry-button.loading::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.error-dismiss-button {
  background: transparent;
  color: #991b1b;
  border: 2px solid #fca5a5;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.error-dismiss-button:hover {
  background: rgba(255, 255, 255, 0.5);
  border-color: #ef4444;
}

.error-details {
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  text-align: left;
  font-size: 0.875rem;
  color: #7f1d1d;
  display: none;
}

.error-details.visible {
  display: block;
}

.error-details-toggle {
  background: transparent;
  border: none;
  color: #991b1b;
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  padding: 0;
}

.error-details-toggle:hover {
  color: #dc2626;
}

/* Network error specific */
.error-state-container.network-error {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-color: #fbbf24;
}

.error-state-container.network-error .error-state-icon {
  color: #f59e0b;
}

.error-state-container.network-error .error-state-title {
  color: #92400e;
}

.error-state-container.network-error .error-state-message {
  color: #78350f;
}

/* Timeout error specific */
.error-state-container.timeout-error {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border-color: #60a5fa;
}

.error-state-container.timeout-error .error-state-icon {
  color: #3b82f6;
}

.error-state-container.timeout-error .error-state-title {
  color: #1e40af;
}

.error-state-container.timeout-error .error-state-message {
  color: #1e3a8a;
}

/* Dark mode support */
[data-bs-theme="dark"] .error-state-container {
  background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%);
  border-color: #dc2626;
}

[data-bs-theme="dark"] .error-state-title {
  color: #fecaca;
}

[data-bs-theme="dark"] .error-state-message {
  color: #fee2e2;
}

[data-bs-theme="dark"] .error-details {
  background: rgba(0, 0, 0, 0.3);
  color: #fee2e2;
}

[data-bs-theme="dark"] .error-details-toggle {
  color: #fecaca;
}

[data-bs-theme="dark"] .error-dismiss-button {
  color: #fecaca;
  border-color: #dc2626;
}

[data-bs-theme="dark"] .error-dismiss-button:hover {
  background: rgba(0, 0, 0, 0.3);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .error-state-container {
    padding: 1.5rem;
    margin: 1rem 0;
  }
  
  .error-state-icon {
    font-size: 2.5rem;
  }
  
  .error-state-title {
    font-size: 1.25rem;
  }
  
  .error-state-message {
    font-size: 0.9375rem;
  }
  
  .error-state-actions {
    flex-direction: column;
  }
  
  .error-retry-button,
  .error-dismiss-button {
    width: 100%;
  }
}



/* ===== mobile-performance.css ===== */
/**
 * Mobile Performance Optimizations
 * Mobile-specific CSS optimizations
 */

/* ===== PERFORMANCE OPTIMIZATIONS ===== */

/* Reduce animations on mobile for better performance */
@media (max-width: 768px) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  /* Disable expensive effects on mobile */
  .card-premium,
  .glass-premium,
  .shadow-3d-md,
  .shadow-3d-lg {
    backdrop-filter: none !important;
    filter: none !important;
    transform: none !important;
  }
  
  /* Simplify shadows */
  .shadow-sm,
  .shadow-md,
  .shadow-lg {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  }
  
  /* Disable hover effects on touch devices */
  @media (hover: none) {
    .btn:hover,
    .card:hover,
    .collection-card:hover {
      transform: none !important;
      box-shadow: inherit !important;
    }
  }
}

/* Optimize images on mobile */
@media (max-width: 768px) {
  img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
  
  /* Lazy load images */
  img[loading="lazy"] {
    content-visibility: auto;
  }
}

/* Reduce repaints on mobile */
@media (max-width: 768px) {
  .container,
  .container-fluid {
    contain: layout style paint;
  }
  
  .row {
    contain: layout;
  }
}

/* Optimize scrolling on mobile */
@media (max-width: 768px) {
  * {
    -webkit-overflow-scrolling: touch;
  }
  
  body {
    overscroll-behavior: contain;
  }
}

/* Reduce font loading on mobile */
@media (max-width: 768px) {
  @font-face {
    font-display: swap;
  }
}

/* Optimize rendering */
@media (max-width: 768px) {
  .section,
  .card,
  .collection-card {
    will-change: auto;
    transform: translateZ(0);
  }
}


/* ===== fab-menu.css ===== */
/* Quick Actions Menu (FAB) - Mobile */

.fab-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1050;
  display: none;
}

@media (max-width: 768px) {
  .fab-container {
    display: block;
  }
}

.fab-button {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bs-primary);
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.fab-button:active {
  transform: scale(0.95);
}

.fab-button.active {
  transform: rotate(45deg);
}

.fab-menu {
  position: absolute;
  bottom: 70px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.fab-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fab-menu-item {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
  border: 2px solid var(--bs-border-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
  text-decoration: none;
}

.fab-menu-item:hover,
.fab-menu-item:focus {
  transform: scale(1.1);
  background: var(--bs-primary);
  color: white;
  border-color: var(--bs-primary);
}

.fab-menu-item[data-action="search"]:hover {
  background: #10b981;
  border-color: #10b981;
}

.fab-menu-item[data-action="filter"]:hover {
  background: #8b5cf6;
  border-color: #8b5cf6;
}

.fab-menu-item[data-action="share"]:hover {
  background: #3b82f6;
  border-color: #3b82f6;
}

.fab-menu-item[data-action="theme"]:hover {
  background: #6366f1;
  border-color: #6366f1;
}

.fab-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1049;
}

.fab-backdrop.active {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 769px) {
  .fab-container {
    display: none !important;
  }
}


/* ===== keyboard-shortcuts.css ===== */
/* =========================================== */
/* KEYBOARD SHORTCUTS OVERLAY */
/* Beautiful modal showing all keyboard shortcuts */
/* Created: 2025-11-06 */
/* =========================================== */

/* ===== OVERLAY ===== */
.shortcuts-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.shortcuts-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===== MODAL CONTAINER ===== */
.shortcuts-modal {
  background: white;
  border-radius: 24px;
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(99, 102, 241, 0.2);
  max-width: 700px;
  width: 100%;
  max-height: 85vh;
  overflow: hidden;
  transform: scale(0.9) translateY(30px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
}

.shortcuts-overlay.active .shortcuts-modal {
  transform: scale(1) translateY(0);
}

[data-bs-theme="dark"] .shortcuts-modal {
  background: #1e293b;
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(99, 102, 241, 0.3);
}

/* ===== HEADER ===== */
.shortcuts-header {
  padding: 2rem;
  background: linear-gradient(135deg, #6366f1, #8b5cf6, #a855f7);
  color: white;
  position: relative;
}

.shortcuts-title {
  font-size: 1.75rem;
  font-weight: 900;
  margin: 0 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.shortcuts-title i {
  font-size: 2rem;
}

.shortcuts-subtitle {
  margin: 0;
  opacity: 0.95;
  font-size: 0.95rem;
}

.shortcuts-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.shortcuts-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1) rotate(90deg);
}

/* ===== CONTENT ===== */
.shortcuts-content {
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
}

.shortcuts-content::-webkit-scrollbar {
  width: 8px;
}

.shortcuts-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
}

.shortcuts-content::-webkit-scrollbar-thumb {
  background: #6366f1;
  border-radius: 4px;
}

/* ===== SHORTCUT GROUPS ===== */
.shortcut-group {
  margin-bottom: 2rem;
}

.shortcut-group:last-child {
  margin-bottom: 0;
}

.shortcut-group-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6366f1;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(99, 102, 241, 0.1);
}

/* ===== INDIVIDUAL SHORTCUTS ===== */
.shortcut-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1rem;
  margin: 0.5rem 0;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.02);
  border: 1px solid rgba(99, 102, 241, 0.08);
  transition: all 0.2s ease;
}

.shortcut-item:hover {
  background: rgba(99, 102, 241, 0.06);
  border-color: rgba(99, 102, 241, 0.15);
  transform: translateX(4px);
}

[data-bs-theme="dark"] .shortcut-item {
  background: rgba(99, 102, 241, 0.05);
  border-color: rgba(99, 102, 241, 0.12);
}

.shortcut-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #1e293b;
  font-weight: 500;
  font-size: 0.95rem;
}

[data-bs-theme="dark"] .shortcut-label {
  color: #e2e8f0;
}

.shortcut-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  border-radius: 8px;
  font-size: 1rem;
  flex-shrink: 0;
}

.shortcut-keys {
  display: flex;
  gap: 0.375rem;
}

.shortcut-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  padding: 0.375rem 0.625rem;
  background: white;
  border: 2px solid #e5e7eb;
  border-bottom-width: 4px;
  border-radius: 6px;
  font-family: 'SF Mono', 'Monaco', 'Cascadia Code', monospace;
  font-size: 0.813rem;
  font-weight: 700;
  color: #1e293b;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

[data-bs-theme="dark"] .shortcut-key {
  background: #334155;
  border-color: #475569;
  border-bottom-color: #64748b;
  color: #e2e8f0;
}

.shortcut-key.modifier {
  font-size: 0.75rem;
  color: #6366f1;
}

/* ===== FOOTER ===== */
.shortcuts-footer {
  padding: 1.5rem 2rem;
  background: rgba(99, 102, 241, 0.03);
  border-top: 1px solid rgba(99, 102, 241, 0.1);
  text-align: center;
  font-size: 0.875rem;
  color: #64748b;
}

.shortcuts-footer-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
  border-radius: 999px;
  font-weight: 700;
  margin: 0 0.25rem;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  .shortcuts-overlay {
    padding: 1rem;
  }

  .shortcuts-modal {
    max-height: 90vh;
    border-radius: 16px;
  }

  .shortcuts-header {
    padding: 1.5rem;
  }

  .shortcuts-title {
    font-size: 1.5rem;
  }

  .shortcuts-content {
    padding: 1.5rem;
  }

  .shortcut-item {
    padding: 0.75rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .shortcut-keys {
    margin-left: auto;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes shortcutSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.shortcut-item {
  animation: shortcutSlideIn 0.3s ease;
}

.shortcut-item:nth-child(1) { animation-delay: 0s; }
.shortcut-item:nth-child(2) { animation-delay: 0.05s; }
.shortcut-item:nth-child(3) { animation-delay: 0.1s; }
.shortcut-item:nth-child(4) { animation-delay: 0.15s; }
.shortcut-item:nth-child(5) { animation-delay: 0.2s; }

/* ===== PERFORMANCE ===== */
@media (prefers-reduced-motion: reduce) {
  .shortcuts-overlay,
  .shortcuts-modal,
  .shortcut-item,
  .shortcuts-close {
    animation: none !important;
    transition: none !important;
  }
}



/* ===== advanced-filtering.css ===== */
/* ===========================================
   ADVANCED FILTERING SYSTEM
   Multi-select, date range, sort, filter chips
   =========================================== */

.advanced-filter-multi-select,
.advanced-filter-date-range,
.advanced-filter-sort {
  margin-bottom: 1.5rem;
}

.filter-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

/* Multi-Select Dropdown */
.multi-select-wrapper {
  position: relative;
}

.multi-select-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
}

.multi-select-display:hover {
  border-color: #6366f1;
}

.multi-select-display .placeholder {
  color: #9ca3af;
}

.multi-select-display i {
  color: #6b7280;
  transition: transform 0.2s ease;
}

.multi-select-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  margin-top: 0.25rem;
  max-height: 300px;
  overflow-y: auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: none;
}

.multi-select-dropdown.show {
  display: block;
}

.multi-select-option {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.multi-select-option:hover {
  background: #f3f4f6;
}

.multi-select-option input[type="checkbox"] {
  margin-right: 0.75rem;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #6366f1;
}

.multi-select-option span {
  flex: 1;
  font-size: 0.875rem;
  color: #374151;
}

/* Date Range Inputs */
.date-range-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.date-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  min-height: 44px;
}

.date-input:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.date-separator {
  color: #6b7280;
  font-weight: 600;
}

/* Sort Select */
.sort-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.875rem;
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
}

.sort-select:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Filter Chips Container */
.filter-chips-container {
  margin-top: 1.5rem;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 8px;
  display: none;
}

.filter-chips-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
}

.clear-all-btn {
  background: none;
  border: none;
  color: #6366f1;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.clear-all-btn:hover {
  background: rgba(99, 102, 241, 0.1);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: white;
  border: 2px solid #6366f1;
  border-radius: 20px;
  font-size: 0.875rem;
  color: #6366f1;
}

.filter-chip-label {
  font-weight: 500;
}

.filter-chip-remove {
  background: none;
  border: none;
  color: #6366f1;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.filter-chip-remove:hover {
  background: #6366f1;
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .date-range-wrapper {
    flex-direction: column;
    gap: 0.5rem;
  }

  .date-separator {
    display: none;
  }

  .filter-chips-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* Dark mode support */
[data-bs-theme="dark"] .multi-select-display,
[data-bs-theme="dark"] .date-input,
[data-bs-theme="dark"] .sort-select {
  background: #1f2937;
  border-color: #374151;
  color: #f9fafb;
}

[data-bs-theme="dark"] .multi-select-dropdown {
  background: #1f2937;
  border-color: #374151;
}

[data-bs-theme="dark"] .multi-select-option {
  color: #f9fafb;
}

[data-bs-theme="dark"] .multi-select-option:hover {
  background: #374151;
}

[data-bs-theme="dark"] .filter-chips-container {
  background: #111827;
}

[data-bs-theme="dark"] .filter-chip {
  background: #1f2937;
  border-color: #6366f1;
  color: #f9fafb;
}


