body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  margin: 0;
  color: #1e293b;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;

  background:
    radial-gradient(
      ellipse at top left,
      rgba(99, 102, 241, 0.16),
      transparent 55%
    ),
    radial-gradient(
      ellipse at bottom right,
      rgba(14, 165, 233, 0.14),
      transparent 55%
    ),
    linear-gradient(135deg, #f0f4ff 0%, #f8fafc 50%, #eef7ff 100%);

  background-attachment: fixed;
}
input,
select,
textarea,
button {
  font: inherit;
}

input,
select,
textarea {
  box-sizing: border-box;
  padding: 10px 14px;
  background-color: #ffffff;
  color: #1e293b;
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
  border-color: #6366f1;
  box-shadow: 0 0 0 4px rgb(99 102 241 / 10%);
}

/* Hide number-input arrows */
input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.load-row {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgb(15 23 42 / 4%);
  transition: background-color 0.2s ease;
}

.load-row:hover {
  background-color: #f8faff;
}

.calculated {
  background-color: #eef2f7;
  color: #475569;
  border-color: #e2e8f0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.section-title {
  margin-bottom: 16px;
  padding-bottom: 10px;
  color: #0f172a;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  border-bottom: 1px solid #e2e8f0;
}

.day-total {
  margin-top: 16px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgb(16 185 129 / 8%);
  color: #065f46;
  text-align: right;
  font-size: 1.1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.yearly-expense {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgb(15 23 42 / 4%);
}

@media (prefers-reduced-motion: reduce) {
  input,
  select,
  textarea,
  .load-row {
    transition: none;
  }
}