:root {
  --primary-color: #4f46e5;
  --success-color: #22c55e;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
}
body {
  background: #f8fafc;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.upload-zone {
  border: 3px dashed #cbd5e1;
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s;
  background: white;
  cursor: pointer;
}
.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--primary-color);
  background: #eef2ff;
}
.upload-zone.dragover {
  transform: scale(1.02);
}
.file-item {
  background: white;
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: all 0.3s;
}
.file-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.file-preview {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 8px;
  background: #f1f5f9;
}
.file-info {
  flex: 1;
  min-width: 0;
}
.file-name {
  font-weight: 600;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.file-new-name {
  color: var(--success-color);
  font-size: 0.9em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.file-old-name {
  color: #64748b;
  font-size: 0.85em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.remove-btn {
  color: #ef4444;
  background: #fef2f2;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}
.remove-btn:hover {
  background: #fee2e2;
}
.option-card {
  background: white;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  margin-bottom: 15px;
}
.option-card h5 {
  color: #1e293b;
  margin-bottom: 15px;
  font-weight: 600;
}
.naming-option {
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}
.naming-option:hover {
  border-color: var(--primary-color);
  background: #eef2ff;
}
.naming-option.active {
  border-color: var(--primary-color);
  background: #eef2ff;
  position: relative;
}
.naming-option.active::after {
  content: '✓';
  position: absolute;
  top: 5px;
  right: 10px;
  color: var(--primary-color);
  font-weight: bold;
}
.btn-primary {
  background: var(--primary-color);
  border: none;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}
.btn-primary:hover {
  background: #4338ca;
}
.btn-success {
  background: var(--success-color);
  border: none;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}
.btn-success:hover {
  background: #16a34a;
}
.progress-container {
  display: none;
  margin-top: 20px;
}
.progress-container.show {
  display: block;
}
.progress-bar {
  background: var(--primary-color);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill {
  background: linear-gradient(90deg, var(--primary-color), #818cf8);
  height: 100%;
  width: 0%;
  transition: width 0.3s;
}
.tag-selector {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.tag-btn {
  padding: 6px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: white;
  cursor: pointer;
  font-size: 0.9em;
  transition: all 0.2s;
}
.tag-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}
.preview-section {
  display: none;
  margin-top: 20px;
}
.preview-section.show {
  display: block;
}
.stats-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  margin-bottom: 15px;
}
.stats-number {
  font-size: 1.8rem;
  font-weight: 700;
}
@media (max-width: 768px) {
  .upload-zone {
    padding: 40px 15px;
  }
}