.container {
  border-radius: 20px;
  padding: 40px;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

h1 {
  color: #333;
  margin-bottom: 10px;
  font-size: 28px;
}

.subtitle {
  color: #666;
  margin-bottom: 30px;
  font-size: 14px;
}

.upload-area {
  border: 3px dashed #667eea;
  border-radius: 15px;
  padding: 40px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #f8f9ff;
}

.upload-area:hover {
  border-color: #764ba2;
  background: #f0f2ff;
}

.upload-area.dragover {
  border-color: #764ba2;
  background: #e8ebff;
  transform: scale(1.02);
}

.upload-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.upload-text {
  color: #667eea;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.upload-subtext {
  color: #999;
  font-size: 14px;
}

#fileInput {
  display: none;
}

.file-list {
  margin: 20px 0;
  display: none;
}

.file-list h3 {
  color: #333;
  font-size: 16px;
  margin-bottom: 10px;
}

.file-item {
  background: #f8f9ff;
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.file-name {
  color: #555;
  font-size: 14px;
  flex: 1;
}

.file-remove {
  background: #ff4757;
  color: white;
  border: none;
  padding: 5px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px;
  transition: background 0.3s;
}

.file-remove:hover {
  background: #ff3838;
}

.controls {
  margin: 30px 0;
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.control-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

label {
  color: #555;
  font-weight: 600;
  font-size: 14px;
}

select,
input[type="number"] {
  padding: 10px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
}

select:focus,
input[type="number"]:focus {
  border-color: #667eea;
}

.btn {
  padding: 18px 30px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-secondary {
  background: #f0f0f0;
  color: #555;
}

.btn-secondary:hover {
  background: #e0e0e0;
}

.progress-container {
  display: none;
  margin: 20px 0;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
  color: #555;
}

.progress-bar {
  height: 30px;
  background: #f0f0f0;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  width: 0%;
  transition: width 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 14px;
}

.results {
  display: none;
  margin-top: 30px;
}

.results h2 {
  color: #333;
  margin-bottom: 20px;
  font-size: 20px;
}

.result-list {
  max-height: 400px;
  overflow-y: auto;
}

.result-item {
  background: #f8f9ff;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 15px;
  border: 2px solid #e0e0e0;
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.result-name {
  font-weight: 600;
  color: #667eea;
  font-size: 16px;
}

.result-status {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 5px;
  background: #4cd137;
  color: white;
}

.result-status.error {
  background: #ff4757;
}

.result-info {
  color: #666;
  font-size: 13px;
  margin-bottom: 10px;
}

.result-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-download {
  padding: 8px 20px;
  font-size: 13px;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-download:hover {
  background: #764ba2;
}

.btn-download:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.action-buttons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.action-buttons button {
  flex: 1;
}

.error {
  background: #fee;
  border: 2px solid #fcc;
  color: #c33;
  padding: 15px;
  border-radius: 10px;
  margin: 20px 0;
  display: none;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.stat-box {
  background: linear-gradient(135deg, #06beb6 0%, #48b1bf 100%);
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  color: white;
}

.stat-value {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 12px;
  opacity: 0.9;
}

.help-section {
  background-color: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-left: 5px solid #0d6efd;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 100px;
  margin: 10px;
}

.help-section h3 {
  font-size: 22px;
  color: #0d6efd;
  margin-bottom: 15px;
}

.help-section p {
  color: #333;
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.help-section ul {
  padding-left: 20px;
  margin: 0;
}

.help-section li {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.6;
}
