/* Custom styles for Care OCR System */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

/* Upload area hover effects */
#upload-area:hover {
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

/* Smooth transitions */
button {
  transition: all 0.2s ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

button:disabled {
  transform: none !important;
  box-shadow: none !important;
}

/* Table styling */
table {
  border-collapse: collapse;
}

table th {
  background-color: #f3f4f6;
  font-weight: 600;
}

/* Input focus styles */
input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Unknown field highlight */
.border-red-300 {
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0%, 100% {
    border-color: #fca5a5;
  }
  50% {
    border-color: #ef4444;
  }
}

/* Progress bar animation */
#progress-bar {
  transition: width 0.5s ease;
}

/* Card shadow */
.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .grid-cols-2 {
    grid-template-columns: 1fr;
  }
  
  .grid-cols-3 {
    grid-template-columns: 1fr;
  }
}
