/* Custom styles for File Uploader - Regular CSS without Tailwind directives */

/* Line clamp utilities for text truncation */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Custom drag and drop file upload area */
.file-upload-area {
  border: 2px dashed #d1d5db;
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.file-upload-area:hover {
  border-color: #3b82f6;
  background-color: #f9fafb;
}

.file-upload-area.dragover {
  border-color: #3b82f6;
  background-color: #eff6ff;
  transform: scale(1.05);
}

/* File card hover effects */
.file-card {
  transition: transform 0.2s ease;
}

.file-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Custom button styles (if needed as fallback) */
.btn-primary {
  background-color: #2563eb;
  color: white;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: background-color 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #1d4ed8;
}

.btn-secondary {
  background-color: #6b7280;
  color: white;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: background-color 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: #4b5563;
}

/* File type specific colors */
.file-type-image { 
  color: #db2777; 
}

.file-type-pdf { 
  color: #dc2626; 
}

.file-type-document { 
  color: #2563eb; 
}

.file-type-archive { 
  color: #ea580c; 
}

.file-type-default { 
  color: #6b7280; 
}

/* Alert styles */
.alert-info {
  background-color: #eff6ff;
  border-left: 4px solid #60a5fa;
  color: #1e40af;
  padding: 1rem;
  border-radius: 0.25rem;
}

.alert-danger {
  background-color: #fef2f2;
  border-left: 4px solid #f87171;
  color: #b91c1c;
  padding: 1rem;
  border-radius: 0.25rem;
}

.alert-success {
  background-color: #f0fdf4;
  border-left: 4px solid #4ade80;
  color: #166534;
  padding: 1rem;
  border-radius: 0.25rem;
}