/* Operatio — app.css
   Tailwind CSS is loaded via CDN in _Host.cshtml.
   This file adds custom utilities and Blazor-specific overrides.
*/

/* Inter font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Blazor validation error messages */
.validation-message {
  @apply text-red-500 text-xs mt-1;
}

/* Blazor loading bar */
#blazor-error-ui {
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}
#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}

/* Smooth transitions for dark mode */
*, *::before, *::after {
  transition-property: background-color, border-color, color;
  transition-duration: 150ms;
  transition-timing-function: ease;
}

/* Table row hover */
.expense-row:hover {
  background-color: rgba(148, 163, 184, 0.08);
}

/* Scrollbar slim */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background-color: rgba(148,163,184,0.4); border-radius: 3px; }
