
.table-hover tbody tr:hover {
  background-color: rgba(0, 123, 255, 0.05);
}

.badge {
  font-size: 0.75em;
}

.progress {
  background-color: #e9ecef;
}

.progress-bar {
  transition: width 0.6s ease;
}

.alert {
  border: none;
  border-radius: 10px;
}

.card, .block_container {
  background-color: #fff;
  border: none;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  border-radius: 10px;
}
.card:hover, .block_container:hover {
  transform: none !important;
}

.btn {
  border-radius: 6px;
}

.navbar-brand {
  font-weight: 600;
}

/* Анимация для статуса обработки */
@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}
.processing-indicator {
  animation: pulse 2s infinite;
}

/* Стили для drag & drop загрузки файлов */
.file-drop-zone {
  border: 2px dashed #dee2e6;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  background-color: #f8f9fa;
}

.file-drop-zone:hover,
.file-drop-zone.dragover {
  border-color: #0d6efd;
  background-color: rgba(13, 110, 253, 0.05);
}

/* Кастомные цвета для различных статусов */
.text-uploaded {
  color: #6c757d !important;
}

.text-processing {
  color: #fd7e14 !important;
}

.text-categorized {
  color: #198754 !important;
}

.text-error {
  color: #dc3545 !important;
}

.bg-uploaded {
  background-color: #6c757d !important;
}

.bg-processing {
  background-color: #fd7e14 !important;
}

.bg-categorized {
  background-color: #198754 !important;
}

.bg-error {
  background-color: #dc3545 !important;
}

.pagination {
  margin-bottom: 0;
}

.dropdown-menu {
  z-index: 2000;
}

.timeline .timeline-item:last-of-type {
  margin-bottom: 0 !important;
}

.recently-changed-field {
  position: relative;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(to right, rgba(255, 193, 7, 0.15) 0%, rgba(255, 193, 7, 0.05) 100%);
  border-left: 3px solid #ffc107;
  border-radius: 0.25rem;
  animation: highlight-pulse 2s ease-in-out;
}
.recently-changed-field::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #ffc107, #ff9800);
}

@keyframes highlight-pulse {
  0% {
    background-color: rgba(255, 193, 7, 0.3);
  }
  50% {
    background-color: rgba(255, 193, 7, 0.15);
  }
  100% {
    background-color: rgba(255, 193, 7, 0.15);
  }
}
.recently-changed-label {
  color: #ff9800;
  font-weight: 600;
}
.recently-changed-label::after {
  content: "●";
  color: #ffc107;
  margin-left: 0.25rem;
  font-size: 0.8em;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
.card.has-recent-changes {
  border-left: 3px solid #ffc107;
}
.card.has-recent-changes .card-header {
  background-color: rgba(255, 193, 7, 0.05);
}
