* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

.frisian-stripe {
  height: 4px;
  background: linear-gradient(
    90deg,
    #2d6a9f 0%, #2d6a9f 25%,
    #ffffff 25%, #ffffff 40%,
    #c8102e 40%, #c8102e 55%,
    #ffffff 55%, #ffffff 70%,
    #2d6a9f 70%, #2d6a9f 85%,
    #2a8c3a 85%, #2a8c3a 100%
  );
}

.card-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.dark .card-hover:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.modal-backdrop {
  animation: fadeIn 0.2s ease;
}

.modal-content {
  animation: slideUp 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.windmill-spin {
  animation: spin-slow 6s linear infinite;
  transform-origin: center;
}

.skeleton {
  background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.dark .skeleton {
  background: linear-gradient(90deg, #2a2a4a 25%, #363660 50%, #2a2a4a 75%);
  background-size: 200% 100%;
}

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

.toast-enter {
  animation: toastIn 0.4s ease forwards;
}

.toast-exit {
  animation: toastOut 0.3s ease forwards;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes toastOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-20px); }
}

.summary-border {
  border-left: 3px solid #2d6a9f;
}

.dark .summary-border {
  border-left-color: #4a90c4;
}

.buzz-bar {
  background: linear-gradient(90deg, #2d6a9f, #e8871e);
  border-radius: 4px;
  height: 6px;
  transition: width 0.6s ease;
}

::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: #2d6a9f44;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2d6a9f88;
}

.chip-active {
  background: #2d6a9f !important;
  color: white !important;
}

.dark .chip-active {
  background: #e8871e !important;
}

.search-input:focus {
  box-shadow: 0 0 0 3px rgba(45, 106, 159, 0.3);
}

.dark .search-input:focus {
  box-shadow: 0 0 0 3px rgba(232, 135, 30, 0.3);
}

@keyframes stagger-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.stagger-item {
  animation: stagger-in 0.4s ease forwards;
  opacity: 0;
}