/* Contracts page specific styles */

.btn-primary {
  @apply px-4 py-2 rounded-lg bg-gradient-to-r from-teal-500 to-teal-600 text-white font-medium hover:from-teal-600 hover:to-teal-700 transition-all shadow-lg shadow-teal-500/20;
}

.btn-primary:disabled {
  @apply opacity-50 cursor-not-allowed;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Custom scrollbar for contract cards */
#contractsGrid {
  max-height: calc(100vh - 350px);
  overflow-y: auto;
}

#contractsGrid::-webkit-scrollbar {
  width: 6px;
}

#contractsGrid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

#contractsGrid::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

#contractsGrid::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Drop zone styling */
#dropZone.drag-over {
  border-color: rgba(45, 212, 191, 0.5);
  background: rgba(45, 212, 191, 0.05);
}

/* Animation for processing status */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(251, 191, 36, 0);
  }
}

.processing-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}
