/* Enhanced Upload Area Styling */

.upload-card, .results-card {
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  border: none;
  overflow: hidden;
  transition: all 0.3s ease;
}

.upload-card:hover, .results-card:hover {
  box-shadow: var(--shadow-lg);
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--foreground);
  position: relative;
  padding-bottom: 0.75rem;
}

.card-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gradient-blue);
  border-radius: 2px;
}

.upload-area {
  border: 2px dashed rgba(14, 165, 233, 0.3);
  border-radius: 1rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: rgba(14, 165, 233, 0.05);
  position: relative;
}

.upload-area:hover {
  border-color: var(--primary);
  background-color: rgba(14, 165, 233, 0.1);
  transform: translateY(-5px);
}

.upload-icon {
  font-size: 3.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.upload-area:hover .upload-icon {
  transform: scale(1.1);
  color: var(--primary-dark);
}

.upload-text {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.upload-hint {
  font-size: 0.875rem;
  color: var(--foreground);
  opacity: 0.7;
}

.preview-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.image-preview {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--primary-light);
}

.image-preview img {
  width: 100%;
  height: 18rem;
  object-fit: cover;
  transition: all 0.3s ease;
}

.image-preview:hover img {
  transform: scale(1.05);
}

.preview-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

#predict-btn {
  background: var(--gradient-blue);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

#predict-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

#predict-btn i {
  font-size: 1.125rem;
}

#change-image-btn {
  border: 2px solid var(--border);
  font-weight: 500;
}

#change-image-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}