/* Pay&Sync — design primitives shared across every view. */

body {
  background-color: #EFF2F7;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}
.tabular-nums {
  font-variant-numeric: tabular-nums;
}
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #EFF2F7;
}
::-webkit-scrollbar-thumb {
  background: #D8DCE5;
  border-radius: 9999px;
}
.scrollbar-none {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.scrollbar-none::-webkit-scrollbar {
  display: none;
}

/* Debit card surface: pillowy, tier-tinted, free of AI-slop imagery. */
.debit-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-size: 100% 100%;
  background-position: center;
}
.debit-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 150% at 96% -10%, rgba(255, 255, 255, 0.34), transparent 52%),
    radial-gradient(100% 130% at -10% 110%, rgba(0, 0, 0, 0.34), transparent 58%);
  z-index: 0;
}
.debit-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(130% 130% at 85% 0%, #000 10%, transparent 72%);
  mask-image: radial-gradient(130% 130% at 85% 0%, #000 10%, transparent 72%);
  z-index: 0;
}
.debit-card > * {
  position: relative;
  z-index: 1;
}

.chart-grid line {
  stroke: #E9ECF2;
  stroke-dasharray: 4 7;
  stroke-width: 1;
}

.skeleton {
  background: linear-gradient(90deg, #EDF0F5 0%, #F7F9FC 40%, #EDF0F5 80%);
  background-size: 800px 100%;
  animation: shimmer 1.6s linear infinite;
}

.modal-backdrop {
  background: rgba(14, 16, 21, 0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.45;
  cursor: pointer;
}

.ring-track {
  stroke: #E9ECF2;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
