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

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

::-webkit-scrollbar-track {
  background: rgba(18, 18, 18, 1);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  border: 2px solid rgba(18, 18, 18, 1);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) rgba(18, 18, 18, 1);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
}

.subtitle-text {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes highlightPulse {
  0% {
    background-color: rgba(245, 158, 11, 0.3);
  }
  50% {
    background-color: rgba(245, 158, 11, 0.5);
  }
  100% {
    background-color: rgba(245, 158, 11, 0.3);
  }
}

@keyframes pulseHighlight {
  0% {
    background-color: rgba(245, 158, 11, 0.35);
  }
  50% {
    background-color: rgba(245, 158, 11, 0.5);
  }
  100% {
    background-color: rgba(245, 158, 11, 0.35);
  }
}

@keyframes flash {
  0% {
    background-color: rgba(59, 130, 246, 0.8);
  }
  50% {
    background-color: rgba(59, 130, 246, 0.4);
  }
  100% {
    background-color: rgba(59, 130, 246, 0.1);
  }
}

@keyframes highlightFade {
  0% {
    background-color: rgba(var(--accent-color-rgb), 0.2);
  }
  100% {
    background-color: transparent;
  }
}

.fade-in {
  animation: fadeIn 0.3s ease-out forwards;
}

.clip-item {
  animation: fadeIn 0.3s ease-out forwards;
}

.highlight-search {
  animation: highlightPulse 1.5s ease-in-out infinite;
}

.current-search-result {
  background-color: rgba(245, 158, 11, 0.35) !important;
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.5);
  position: relative;
  cursor: pointer;
}

#searchResultCounter {
  font-family: monospace;
  min-width: 32px;
  text-align: center;
}

#prevSearchResult:hover,
#nextSearchResult:hover,
#clearSearch:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

input[type="checkbox"]:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

.multi-select-help {
  position: fixed;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(30, 30, 30, 0.95);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: bottom 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.multi-select-help.visible {
  bottom: 40px;
}

.multi-select-help kbd {
  background-color: rgba(50, 50, 50, 0.9);
  border-radius: 3px;
  border: 1px solid rgba(100, 100, 100, 0.3);
  padding: 1px 4px;
  font-family: monospace;
}

tr {
  transition: background-color 0.1s ease;
}

.select-btn {
  transition: all 0.2s ease;
}

.in-clip {
  background-color: rgba(16, 185, 129, 0.05) !important;
}

.highlight-row {
  background-color: rgba(59, 130, 246, 0.3) !important;
  animation: flash 1.5s ease-out;
}

.bg-accent-100\/10 {
  background-color: rgba(59, 130, 246, 0.15) !important;
}

.scrollbar-thin {
  scrollbar-width: thin;
}