/* TÚLKUR Styles */

@layer base {
  body {
    background-color: #080b11;
    color: #f1f5f9;
  }
}

/* Custom Scrollbars */
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 9999px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(51, 65, 85, 0.8);
  border-radius: 9999px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgba(100, 116, 139, 1);
}

/* Keyframe animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-scaleUp {
  animation: scaleUp 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* History Item Styling */
.history-item {
  transition: all 0.2s ease;
}

.history-item:hover {
  transform: translateX(2px);
  border-color: rgba(59, 130, 246, 0.4);
}

/* Speaker Colors */
.speaker-tag-1 {
  background-color: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.3);
}

.speaker-tag-2 {
  background-color: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border-color: rgba(168, 85, 247, 0.3);
}

.speaker-tag-3 {
  background-color: rgba(236, 72, 153, 0.15);
  color: #f472b6;
  border-color: rgba(236, 72, 153, 0.3);
}

.speaker-tag-4 {
  background-color: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border-color: rgba(34, 197, 94, 0.3);
}

/* Toast Notifications */
.toast {
  animation: fadeIn 0.2s ease forwards;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Benchmark Diff Visualizer */
.diff-correct {
  background-color: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border-bottom: 2px solid #10b981;
  padding: 1px 4px;
  border-radius: 4px;
}

.diff-deletion {
  background-color: rgba(239, 68, 68, 0.2);
  color: #f87171;
  text-decoration: line-through;
  border-bottom: 2px solid #ef4444;
  padding: 1px 4px;
  border-radius: 4px;
}

.diff-substitution {
  background-color: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border-bottom: 2px solid #f59e0b;
  padding: 1px 4px;
  border-radius: 4px;
}

.diff-insertion {
  background-color: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border-bottom: 2px dashed #3b82f6;
  padding: 1px 4px;
  border-radius: 4px;
}

