/* ==========================================================================
   Batch Generator View
   ========================================================================== */

.batch-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 960px) {
  .batch-layout {
    grid-template-columns: 1fr;
  }
}

.file-upload-inline {
  margin-top: 0.5rem;
}

.batch-preview-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.88rem;
}

.batch-preview-table th, .batch-preview-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.batch-preview-table th {
  background: var(--bg-surface-2);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.table-scroll-wrapper {
  max-height: 440px;
  overflow-y: auto;
}

.batch-progress-box {
  background: var(--bg-surface-2);
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.progress-bar-bg {
  height: 8px;
  background: var(--bg-surface-3);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-bar-fill {
  height: 100%;
  background: var(--accent-primary);
  transition: width 0.2s linear;
}

.progress-status {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.batch-success-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.success-icon {
  width: 36px;
  height: 36px;
  background: var(--status-success);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
