/* Hide ALL FABs - we use Console Dock instead */
.sunday-fab,
.fab-button,
.fab-container,
[class*="fab"],
.console-fab,
.ai-fab,
[data-fab],
button[class*="fab"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  left: -9999px !important;
}

:root {
  /* Brand Alignment - Quick Server Style */
  --brand: #7ce3ff;
  --accent: #60ffa8;
  
  /* Sunday Console Aliases */
  --console-brand: var(--brand);
  --console-accent: var(--accent);
  
  /* Fluid Spacing & Layout */
  --console-content-width: 1400px;
  --console-gap: 24px;
}

/* Refined Shell Layout */
.console-root {
  background: var(--bg);
  /* Ensure clean full-height layout */
  min-height: 100vh;
}

/* Polished Tab Navigation */
.tabs-container {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.tabs {
  gap: 24px;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
}

.tab-btn {
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid transparent;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.8;
}

.tab-btn:hover {
  color: var(--ink);
  opacity: 1;
}

.tab-btn.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
  opacity: 1;
}

/* Fluid Content Container */
.content-container {
  padding: 32px 24px;
  max-width: var(--console-content-width);
  margin: 0 auto;
  width: 100%;
  /* Enable smooth entry animations */
  opacity: 0;
  animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Modern Card Styling */
.sunday-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sunday-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border-color: var(--line-light, #2d3748);
}

/* Clean Header Typography */
h1, h2, h3 {
  letter-spacing: -0.02em;
}

/* Animation Keyframes */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

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

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

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

/* Motion Utility Classes */
.animate-fade-in {
  animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-fade-in-up {
  animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-fade-in-scale {
  animation: fadeInScale 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-slide-in-right {
  animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-slide-in-left {
  animation: slideInLeft 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Staggered Animation Delays */
.stagger-1 { animation-delay: 0.05s; }
.stagger-2 { animation-delay: 0.1s; }
.stagger-3 { animation-delay: 0.15s; }
.stagger-4 { animation-delay: 0.2s; }
.stagger-5 { animation-delay: 0.25s; }
.stagger-6 { animation-delay: 0.3s; }

/* Tab Content Animation */
.tab-content {
  animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Card Entrance Animations */
.lm-service-card,
.lm-inv-card,
.lm-action-card,
.lm-stat-card {
  opacity: 0;
  animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Stagger card animations */
.lm-services-grid .lm-service-card:nth-child(1),
.lm-inv-grid .lm-inv-card:nth-child(1),
.lm-stats-grid .lm-stat-card:nth-child(1) { animation-delay: 0.05s; }
.lm-services-grid .lm-service-card:nth-child(2),
.lm-inv-grid .lm-inv-card:nth-child(2),
.lm-stats-grid .lm-stat-card:nth-child(2) { animation-delay: 0.1s; }
.lm-services-grid .lm-service-card:nth-child(3),
.lm-inv-grid .lm-inv-card:nth-child(3),
.lm-stats-grid .lm-stat-card:nth-child(3) { animation-delay: 0.15s; }
.lm-services-grid .lm-service-card:nth-child(4),
.lm-inv-grid .lm-inv-card:nth-child(4),
.lm-stats-grid .lm-stat-card:nth-child(4) { animation-delay: 0.2s; }
.lm-services-grid .lm-service-card:nth-child(5),
.lm-inv-grid .lm-inv-card:nth-child(5) { animation-delay: 0.25s; }
.lm-services-grid .lm-service-card:nth-child(6),
.lm-inv-grid .lm-inv-card:nth-child(6) { animation-delay: 0.3s; }

/* Modal Animations */
.lm-modal {
  animation: fadeIn 0.2s ease forwards;
}

.lm-modal-content {
  animation: fadeInScale 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Button Press Animation */
.lm-btn {
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.lm-btn:active {
  transform: scale(0.97);
}

.lm-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 227, 255, 0.25);
}

/* Smooth Card Hover Transitions */
.lm-service-card,
.lm-inv-card,
.lm-action-card,
.lm-stat-card,
.lm-cart-item,
.lm-vendor-card,
.lm-quick-link,
.lm-legacy-link,
.lm-faq-item {
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.2s ease,
              box-shadow 0.2s ease;
}

/* Loading Skeleton Animation */
.loading-skeleton {
  background: linear-gradient(90deg, var(--line) 25%, var(--bg) 50%, var(--line) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

/* Input Focus Animation */
.lm-search-input:focus,
.lm-select:focus,
.lm-cart-name-input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(124, 227, 255, 0.15);
  transition: border-color 0.2s, box-shadow 0.2s;
}

/* Toggle Animation */
.lm-toggle-slider {
  transition: background 0.3s ease;
}

.lm-toggle-slider::before {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hero Section Animation */
.lm-hero-content {
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.lm-hero-badge {
  animation: fadeInScale 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.1s;
  opacity: 0;
}

.lm-hero-title {
  animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.15s;
  opacity: 0;
}

.lm-hero-subtitle {
  animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

.lm-hero-description {
  animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.25s;
  opacity: 0;
}

.lm-hero-chips {
  animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

.lm-hero-cta {
  animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.35s;
  opacity: 0;
}

/* Chip Hover */
.lm-chip {
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

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

/* Quick Actions Grid Animation */
.lm-actions-grid .lm-action-card {
  opacity: 0;
  animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.lm-actions-grid .lm-action-card:nth-child(1) { animation-delay: 0.1s; }
.lm-actions-grid .lm-action-card:nth-child(2) { animation-delay: 0.15s; }
.lm-actions-grid .lm-action-card:nth-child(3) { animation-delay: 0.2s; }
.lm-actions-grid .lm-action-card:nth-child(4) { animation-delay: 0.25s; }
.lm-actions-grid .lm-action-card:nth-child(5) { animation-delay: 0.3s; }
.lm-actions-grid .lm-action-card:nth-child(6) { animation-delay: 0.35s; }

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

/* Grid Layout Improvements */
.sunday-grid {
  display: grid;
  gap: 24px;
}
