:root {
  color-scheme: light;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast-item {
  min-width: 220px;
  max-width: 320px;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  color: #fff;
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 15px 35px -15px rgba(15, 23, 42, 0.6);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast-item.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-item.success {
  background: rgba(21, 128, 61, 0.95);
}

.toast-item.error {
  background: rgba(220, 38, 38, 0.95);
}

.toast-item.warning {
  background: rgba(234, 179, 8, 0.95);
  color: rgba(30, 41, 59, 1);
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.15rem 0.6rem;
  background-color: rgba(15, 118, 110, 0.12);
  color: rgb(13 148 136);
}

.skeleton {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  background: linear-gradient(90deg, rgba(226,232,240,0.7) 25%, rgba(203,213,225,0.9) 37%, rgba(226,232,240,0.7) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
