@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap");

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background-color: #020617; /* Slate 950 */
  color: #f8fafc;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Ultra Premium Glass - Minder 'melkachtig', meer 'kristal' */
.glass {
  background: rgba(10, 15, 30, 0.6); /* Donkerder */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5); /* Diepe schaduw */
}

/* Input Glow Focus */
.input-focus-wrapper:focus-within {
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 0 20px -5px rgba(239, 68, 68, 0.2);
}

/* Upload Active State */
.upload-active {
  border-color: #ef4444 !important;
  background: radial-gradient(
    circle,
    rgba(239, 68, 68, 0.1) 0%,
    rgba(15, 23, 42, 0) 70%
  ) !important;
}

/* Achtergrond Animaties (Langzamer en subtieler) */
@keyframes blob {
  0% {
    transform: translate(0px, 0px) scale(1);
  }
  33% {
    transform: translate(30px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
  100% {
    transform: translate(0px, 0px) scale(1);
  }
}
.animate-blob {
  animation: blob 15s infinite alternate;
}
.delay-2000 {
  animation-delay: 2s;
}
.delay-4000 {
  animation-delay: 4s;
}

/* Bounce Pijl */
@keyframes bounce-small {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}
.animate-bounce-small {
  animation: bounce-small 2s infinite;
}
/* De Default Upload Zone */
.upload-zone-default {
  border-color: rgba(51, 65, 85, 0.5); /* Slate-700/50 */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* De Active State (Tijdens slepen) */
.upload-active {
  border-color: #ef4444 !important; /* Brand Red */
  background-color: rgba(
    239,
    68,
    68,
    0.1
  ) !important; /* Rode gloed in achtergrond */
  box-shadow: 0 0 30px -5px rgba(239, 68, 68, 0.25) inset !important; /* Glow effect binnenin */
  transform: scale(1.02); /* Iets groter */
}

/* Icoon animatie tijdens slepen */
.upload-active i {
  animation: bounce 1s infinite;
  color: #ef4444 !important;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  } /* Iets grotere bounce */
}
.animate-bounce {
  animation: bounce 2s infinite;
}

/* Custom Scrollbar voor de Results Modal */
.custom-scrollbar::-webkit-scrollbar {
  width: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.5);
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

/* Modal specifieke animaties */
@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}
.animate-spin-slow {
  animation: spin-slow 3s linear infinite;
}

/* Zorgt dat de modal content mooi binnen beeld blijft */
#result-content {
  scrollbar-width: thin;
  scrollbar-color: #334155 transparent;
}
