/* styles.scss */
/*!
https://serp.co/tools/css-reset/
<link rel="stylesheet" href="https://css.serp.co/css-reset/normalize.css/">
*/
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

@keyframes page-enter {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes page-exit {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-4px);
  }
}
.page-animate {
  animation: page-enter 300ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fade-in-down {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fade-in-scale {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.animate-fade-in {
  animation: fade-in 250ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.animate-fade-in-up {
  animation: fade-in-up 250ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.animate-fade-in-scale {
  animation: fade-in-scale 250ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes list-item-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Apply to list items using CSS custom property for delay */
.animate-stagger {
  animation: list-item-enter 250ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--stagger-index, 0) * 50ms);
}

/* Utility classes for fixed stagger delays */
.stagger-1 {
  --stagger-index: 1;
}

.stagger-2 {
  --stagger-index: 2;
}

.stagger-3 {
  --stagger-index: 3;
}

.stagger-4 {
  --stagger-index: 4;
}

.stagger-5 {
  --stagger-index: 5;
}

.stagger-6 {
  --stagger-index: 6;
}

.stagger-7 {
  --stagger-index: 7;
}

.stagger-8 {
  --stagger-index: 8;
}

@keyframes card-enter {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.animate-card {
  animation: card-enter 400ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Card hover lift effect */
.card-hover {
  transition: transform 150ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 150ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, box-shadow;
}
.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
}
.card-hover:active {
  transform: translateY(0) scale(0.99);
}

.btn-animate {
  transition: transform 150ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 150ms cubic-bezier(0.22, 1, 0.36, 1), background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.btn-animate:hover:not(:disabled) {
  transform: translateY(-1px);
}
.btn-animate:active:not(:disabled) {
  transform: translateY(0) scale(0.98);
  transition-duration: 100ms;
}

/* Pulse effect for CTAs */
@keyframes pulse-subtle {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(37, 99, 235, 0);
  }
}
.btn-pulse {
  animation: pulse-subtle 2s ease-in-out infinite;
}

@keyframes modal-overlay-enter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes modal-content-enter {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
@keyframes modal-overlay-exit {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes modal-content-exit {
  from {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  to {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
}
.modal-overlay-animate {
  animation: modal-overlay-enter 250ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.modal-content-animate {
  animation: modal-content-enter 250ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
.skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-50) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.spinner {
  animation: spin 0.8s linear infinite;
}

@keyframes checkmark-pop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.animate-checkmark {
  animation: checkmark-pop 400ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 0.5;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}
.ripple {
  position: relative;
  overflow: hidden;
}
.ripple::after {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  border-radius: 50%;
  transform: scale(0);
  opacity: 0;
  pointer-events: none;
}
.ripple:active::after {
  animation: ripple 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes focus-ring-expand {
  from {
    box-shadow: 0 0 0 0 var(--accent-bg);
  }
  to {
    box-shadow: 0 0 0 3px var(--accent-bg);
  }
}
.focus-ring-animate:focus-visible {
  animation: focus-ring-expand 150ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes count-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-count {
  animation: count-up 250ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes slide-in-right {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slide-in-bottom {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-slide-in-right {
  animation: slide-in-right 250ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.animate-slide-in-left {
  animation: slide-in-left 250ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.animate-slide-in-bottom {
  animation: slide-in-bottom 250ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
.img-preview-hint {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--duration-fast);
  z-index: 1;
}
.img-preview-hint::after {
  content: "";
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 4px 4px 0 -1px #fff;
}

/* Desktop: show on parent hover */
*:hover > .img-preview-hint {
  opacity: 1;
}

/* Mobile: always subtly visible */
@media (hover: none) {
  .img-preview-hint {
    opacity: 0.6;
  }
}
body.img-preview-open {
  overflow: hidden;
}

.img-preview-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-spring);
  cursor: zoom-out;
  padding: var(--space-lg);
}

.img-preview-overlay--visible {
  opacity: 1;
}

.img-preview-overlay--closing {
  opacity: 0;
}

.img-preview-overlay__close {
  position: absolute;
  top: var(--space-base);
  right: var(--space-base);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: var(--font-size-lg);
  cursor: pointer;
  transition: background var(--duration-fast);
}
.img-preview-overlay__close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.img-preview-overlay__img {
  max-width: calc(100vw - var(--space-xl) * 2);
  max-height: calc(100vh - 120px);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  object-fit: contain;
  cursor: default;
  transform: scale(0.92);
  transition: transform var(--duration-normal) var(--ease-spring);
}
.img-preview-overlay--visible .img-preview-overlay__img {
  transform: scale(1);
}
.img-preview-overlay--closing .img-preview-overlay__img {
  transform: scale(0.92);
}

.img-preview-overlay__label {
  margin-top: var(--space-sm);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  text-align: center;
}

:root {
  /* BRAND */
  --accent-color: #2563EB; /* Royal Blue (Stripe-inspired) */
  --accent-hover: #1D4ED8; /* Darker blue on hover */
  --accent-light: #EFF6FF; /* Light blue background */
  --accent-bg: rgba(37, 99, 235, 0.08);
  --secondary: #8B5CF6; /* Purple accent */
  /* LAYOUT */
  --bg-app: #F3F4F6; /* Slate gray (clinical feel) */
  --bg-card: #FFFFFF; /* Card surfaces */
  --bg-input: #F9FAFB; /* Subtle input background */
  --bg-elevated: #FFFFFF; /* Elevated surfaces */
  /* GRAY SCALE  */
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  /* RADIUS */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px; /* Default for buttons, cards */
  --radius-lg: 12px; /* Panels, modals */
  --radius-xl: 16px; /* Large containers */
  --radius-2xl: 20px;
  --radius-full: 100px;
  /* Layout tokens */
  --page-gutter: 24px;
  --touch-target: 44px;
  /* Spacing Scale */
  --space-xxs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-base: 16px;
  --space-md: 20px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  /* TYPOGRAPHY */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Monaco, 'Cascadia Code', Consolas, monospace;
  --font-size-base: 15px;
  --font-size-sm: 13px;
  --font-size-xs: 11px;
  --font-size-lg: 17px;
  --font-size-xl: 22px;
  --font-size-2xl: 28px;
  --font-size-3xl: 34px;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.65;
  /* COLORS  */
  --text-primary: #111827; /* Dark Navy (high contrast) */
  --text-secondary: #374151; /* Medium-dark gray (improved contrast) */
  --text-tertiary: #6B7280; /* Muted gray (WCAG AA compliant) */
  --text-inverse: #FFFFFF; /* White on dark */
  --brand-color: #111827;
  /* Semantic State Colors */
  --color-success: #10B981;
  --color-success-bg: #ECFDF5;
  --color-warning: #F59E0B;
  --color-warning-bg: #FFFBEB;
  --color-error: #EF4444;
  --color-error-bg: #FEF2F2;
  --color-info: #3B82F6;
  --color-info-bg: #EFF6FF;
  /* Order Status Colors  */
  --status-deposited: #3B82F6;
  --status-deposited-bg: #EFF6FF;
  --status-in-progress: #F59E0B;
  --status-in-progress-bg: #FFFBEB;
  --status-ready: #10B981;
  --status-ready-bg: #ECFDF5;
  --status-collected: #6B7280;
  --status-collected-bg: #F3F4F6;
  --status-late: #EF4444;
  --status-late-bg: #FEF2F2;
  /* Bottom bar */
  --bottom-bar-height: 84px;
  /* BORDERS  */
  --border-hairline: #E5E7EB; /* Internal dividers (1px) */
  --border-subtle: #D1D5DB; /* Form borders */
  --border-color: #E5E7EB; /* Legacy alias */
  --border-separator: #D1D5DB;
  /* SHADOWS */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-elevated: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  /* Button inner shadow for tactile feel */
  --shadow-btn-primary: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-btn-primary-hover: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 8px rgba(37, 99, 235, 0.25);
  /* Animation */
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;
  --stagger-index: 0;
  /* Interactive */
  --accent-active: #1E40AF;
  --border-hover: #D1D5DB;
  --focus-ring: 0 0 0 2px var(--accent-light), 0 0 0 4px var(--accent-color);
  /* Auth Brand */
  --brand-dark: #0A1628;
  --brand-mid: #1E3A5F;
  --brand-gradient: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-mid) 50%, var(--brand-dark) 100%);
  --accent-glow: rgba(37, 99, 235, 0.3);
  --accent-glow-light: rgba(37, 99, 235, 0.25);
  /* Overlay */
  --bg-overlay: rgba(0, 0, 0, 0.5);
  --bg-overlay-heavy: rgba(0, 0, 0, 0.85);
  /* Semantic Shadows */
  --shadow-error-ring: 0 0 0 3px rgba(239, 68, 68, 0.15);
  --shadow-accent-ring: 0 0 0 3px rgba(37, 99, 235, 0.15);
  /* Component */
  --sidebar-width: 260px;
  --sidebar-collapsed: 72px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--text-primary);
  background-color: var(--bg-app);
  width: 100vw;
  min-height: 100vh;
}

:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

::selection {
  background-color: rgba(0, 122, 255, 0.2);
  color: var(--text-primary);
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--border-separator);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-spring);
}
a:hover {
  color: var(--accent-hover);
}

/* ---- Data Tables ---- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elevated);
  overflow: hidden;
}

.data-table th {
  padding: var(--space-sm) var(--space-md);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
  border-bottom: 1px solid var(--border-hairline);
}

.data-table td {
  padding: var(--space-sm) var(--space-md);
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-hairline);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr {
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-spring);
}

.data-table tbody tr:hover {
  background: var(--gray-50);
}

@media print {
  * {
    box-shadow: none !important;
  }
}