/* Clean Modern Utility Styles - Zero CLS Layout Stability */

:root {
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --bg-slate: #f8fafc;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--bg-slate);
  color: #1e293b;
  margin: 0;
  padding: 0;
}

/* Mobile Sticky Take-Home Pay Bar */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(51, 65, 85, 0.8);
  padding: 0.75rem 1rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease-in-out;
}

@media (min-width: 1024px) {
  .mobile-sticky-bar {
    display: none !important;
  }
}

/* Subtle Table Swipe Cue */
.table-scroll-container {
  position: relative;
}
.table-scroll-container::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 24px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.9));
  pointer-events: none;
}
@media (min-width: 768px) {
  .table-scroll-container::after {
    display: none;
  }
}

/* Print / PDF Export Optimization (Hides Navigation & Dynamic Widgets, Formats Clean Calculation Receipt) */
@media print {
  header, footer, nav, .mobile-sticky-bar, .no-print {
    display: none !important;
  }
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .print-card {
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
  }
}
