/* Batch Tool Styles */
:root {
  --primary-color: #0284c7;
  --primary-hover: #0369a1;
}

.hero-sec {
  text-align: center;
  padding: 3rem 1rem 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e0f2fe;
  color: #0369a1;
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.05rem;
  color: #64748b;
  max-width: 680px;
  margin: 0.5rem auto 0;
  line-height: 1.6;
}

.main-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0,0,0,0.02);
  border: 1px solid #f1f5f9;
  padding: 2rem;
  margin-bottom: 3rem;
}

.dropzone {
  border: 2px dashed #cbd5e1;
  border-radius: 16px;
  background: #fafafa;
  padding: 3.5rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dropzone:hover {
  border-color: var(--primary-color);
  background: #f0f9ff;
}

.dropzone-icon {
  width: 56px;
  height: 56px;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.dropzone-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1e293b;
}

.dropzone-sub {
  color: #64748b;
  font-size: 0.9rem;
  margin-top: 0.4rem;
}

.dropzone-samples {
  margin-top: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.sample-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

/* Batch Workspace */
.batch-workspace {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pipeline-config-box {
  background: #f8fafc;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  border: 1px solid #e2e8f0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.config-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.config-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
}

.config-select, .config-input {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: white;
  font-size: 0.9rem;
  color: #1e293b;
}

.actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary-action {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-export-action {
  background: #10b981;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-export-action:disabled {
  background: #cbd5e1;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-secondary {
  background: white;
  border: 1px solid #cbd5e1;
  color: #475569;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

/* File Queue Table */
.queue-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.queue-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.queue-table th {
  background: #f1f5f9;
  padding: 10px 14px;
  color: #475569;
  font-weight: 700;
  border-bottom: 1px solid #e2e8f0;
}

.queue-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.queue-table th:nth-child(2),
.queue-table td:nth-child(2),
.queue-table .col-name {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table-thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  background: #e2e8f0;
}

.status-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
}

.status-pill.waiting { background: #f1f5f9; color: #64748b; }
.status-pill.processing { background: #fef3c7; color: #b45309; }
.status-pill.done { background: #dcfce7; color: #15803d; }

.preview-est-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  color: #0284c7;
}

.preview-est-pill .pct-badge {
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
}

.quality-est-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.batch-summary-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 0.9rem;
  color: #0369a1;
  font-weight: 600;
}
