@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

* {
  font-family: 'Inter', sans-serif;
}

.confetti-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  background: linear-gradient(45deg, #E63946, #F72C5B, #9333ea);
  animation: confetti-fall 3s linear forwards;
  top: -20px;
}

@keyframes confetti-fall {
  to {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}

.dark {
  background: linear-gradient(to bottom right, #1a1a2e, #16213e, #0f3460);
}

.dark .bg-white {
  background-color: #1f2937 !important;
  color: white;
}

.dark input,
.dark .border-gray-200 {
  background-color: #374151 !important;
  border-color: #4b5563 !important;
  color: white;
}

.dark .text-gray-800 {
  color: white !important;
}

.dark .text-gray-600 {
  color: #d1d5db !important;
}

.dark .bg-gray-50 {
  background-color: #374151 !important;
}

input::placeholder {
  color: #9ca3af;
}

button {
  cursor: pointer;
  user-select: none;
}

button:active {
  transform: scale(0.95);
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #E63946, #F72C5B);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #d62839, #e61f47);
}