/* ==========================================
   SEO Cikk Generáló – v6 Stílusok
   Paletta: #284b63 / #3C6E71 / fehér
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: #f0f4f7;
  color: #1a202c;
  font-size: 14px;
  line-height: 1.6;
}

/* ==========================================
   LAYOUT
   ========================================== */
.app-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

/* ==========================================
   FEJLÉC
   ========================================== */
.app-header {
  background: linear-gradient(135deg, rgba(40, 75, 99, 0.92) 0%, #284b63 100%);
  color: white;
  border-radius: 16px;
  padding: 28px 32px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 8px 32px rgba(40, 75, 99, 0.25);
}

.app-header .icon {
  font-size: 36px;
  line-height: 1;
  flex-shrink: 0;
}

.app-header h1 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 3px;
  letter-spacing: -0.3px;
}

.app-header p {
  font-size: 13px;
  opacity: 0.8;
  font-weight: 400;
}

/* ==========================================
   KÁRTYÁK
   ========================================== */
.card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(40, 75, 99, 0.08);
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid rgba(40, 75, 99, 0.08);
}

.card-header {
  padding: 18px 24px;
  border-bottom: 1px solid #eef2f6;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fafbfc;
}

.card-header h2 {
  font-size: 15px;
  font-weight: 600;
  color: #284b63;
  flex: 1;
}

.card-header .card-icon {
  font-size: 18px;
}

.card-body {
  padding: 24px;
}

/* ==========================================
   FELTÖLTÉSI ZÓNA
   ========================================== */
.upload-zone {
  border: 2px dashed #3C6E71;
  border-radius: 12px;
  padding: 36px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #f7fbfb;
  position: relative;
}

.upload-zone:hover,
.upload-zone.drag-over {
  border-color: #284b63;
  background: #eef6f6;
  transform: translateY(-1px);
}

.upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.upload-icon {
  font-size: 40px;
  margin-bottom: 10px;
  display: block;
}

.upload-zone p {
  color: #3C6E71;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 4px;
}

.upload-zone small {
  color: #718096;
  font-size: 12px;
}

.upload-filename {
  margin-top: 12px;
  font-size: 13px;
  color: #284b63;
  font-weight: 500;
  background: #e8f4f4;
  padding: 6px 12px;
  border-radius: 6px;
  display: inline-block;
}

/* ==========================================
   TÁBLÁZAT
   ========================================== */
.table-wrapper {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.data-table thead th {
  background: #284b63;
  color: white;
  padding: 11px 14px;
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.data-table thead th:first-child {
  border-radius: 10px 0 0 0;
}

.data-table thead th:last-child {
  border-radius: 0 10px 0 0;
}

.data-table tbody tr:nth-child(even) {
  background: #f0f4f7;
}

.data-table tbody tr:nth-child(odd) {
  background: white;
}

.data-table tbody tr:hover {
  background: #e8f0f5;
}

.data-table td {
  padding: 9px 14px;
  border-bottom: 1px solid #eef2f6;
  vertical-align: middle;
}

.data-table td input,
.data-table td textarea {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 4px 6px;
  font-size: 12px;
  font-family: inherit;
  background: transparent;
  transition: all 0.15s ease;
  color: #2d3748;
}

.data-table td input:focus,
.data-table td textarea:focus {
  outline: none;
  border-color: #3C6E71;
  background: white;
  box-shadow: 0 0 0 2px rgba(60, 110, 113, 0.15);
}

/* Státusz badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.status-waiting  { background: #edf2f7; color: #718096; }
.status-running  { background: #ebf8ff; color: #2b6cb0; }
.status-done     { background: #f0fff4; color: #276749; }
.status-error    { background: #fff5f5; color: #c53030; }

/* Sor törlés gomb */
.btn-row-delete {
  background: none;
  border: none;
  color: #e53e3e;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 5px;
  font-size: 14px;
  transition: background 0.15s;
}

.btn-row-delete:hover {
  background: #fff5f5;
}

/* Sor hozzáadása */
.btn-add-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 8px 16px;
  background: white;
  border: 1.5px dashed #3C6E71;
  border-radius: 8px;
  color: #3C6E71;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-add-row:hover {
  background: #eef6f6;
  border-color: #284b63;
  color: #284b63;
}

/* ==========================================
   GENERÁLÁS VEZÉRLŐ
   ========================================== */
.generation-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cost-estimate {
  width: 100%;
  padding: 10px 14px;
  background: #f7fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 13px;
  color: #4a5568;
}

.cost-estimate .cost-note {
  color: #a0aec0;
  font-size: 11px;
}

.model-select-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.model-select-group label {
  font-size: 13px;
  font-weight: 500;
  color: #4a5568;
  white-space: nowrap;
}

.model-select {
  border: 1.5px solid #cbd5e0;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  font-family: inherit;
  color: #2d3748;
  background: white;
  cursor: pointer;
  transition: border-color 0.2s;
  min-width: 160px;
}

.model-select:focus {
  outline: none;
  border-color: #3C6E71;
  box-shadow: 0 0 0 3px rgba(60, 110, 113, 0.15);
}

/* Progress bar */
.progress-section {
  margin-top: 20px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 500;
  color: #4a5568;
  margin-bottom: 8px;
}

.progress-bar-track {
  height: 8px;
  background: #e2e8f0;
  border-radius: 99px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #3C6E71, #284b63);
  border-radius: 99px;
  transition: width 0.4s ease;
  width: 0%;
}

/* ==========================================
   GOMBOK
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.btn-primary {
  background: linear-gradient(135deg, #284b63 0%, #3C6E71 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(40, 75, 99, 0.3);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(40, 75, 99, 0.4);
}

.btn-secondary {
  background: white;
  color: #284b63;
  border: 1.5px solid #284b63;
}

.btn-secondary:hover:not(:disabled) {
  background: #f0f4f7;
}

.btn-success {
  background: linear-gradient(135deg, #276749 0%, #38a169 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(39, 103, 73, 0.3);
}

.btn-success:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(39, 103, 73, 0.4);
}

.btn-danger {
  background: white;
  color: #c53030;
  border: 1.5px solid #fc8181;
}

.btn-danger:hover:not(:disabled) {
  background: #fff5f5;
  border-color: #c53030;
}

.btn-ghost {
  background: transparent;
  color: #4a5568;
  border: 1.5px solid #e2e8f0;
}

.btn-ghost:hover:not(:disabled) {
  background: #f7fafc;
  border-color: #cbd5e0;
}

.btn-lg {
  padding: 12px 28px;
  font-size: 15px;
  border-radius: 10px;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 6px;
}

.btn-xs {
  padding: 3px 8px;
  font-size: 11px;
  border-radius: 4px;
}

/* ==========================================
   ACCORDION
   ========================================== */
.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s;
  border-bottom: 1px solid transparent;
}

.accordion-header:hover {
  background: #f7fafc;
}

.accordion-header.open {
  border-bottom-color: #eef2f6;
}

.accordion-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #284b63;
}

.accordion-icon {
  font-size: 18px;
}

.accordion-arrow {
  font-size: 12px;
  color: #718096;
  transition: transform 0.2s ease;
}

.accordion-arrow.open {
  transform: rotate(180deg);
}

.accordion-body {
  display: none;
  padding: 24px;
  border-top: 1px solid #eef2f6;
}

.accordion-body.open {
  display: block;
}

/* ==========================================
   PIPELINE EDITOR
   ========================================== */
.pipeline-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eef2f6;
}

.pipeline-toolbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pipeline-toolbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pipeline-version-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.version-label {
  font-size: 12px;
  color: #718096;
  white-space: nowrap;
}

.pipeline-hint {
  font-size: 12px;
  color: #718096;
  background: #f7fbfb;
  border: 1px solid #c6e8e8;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 16px;
  line-height: 1.5;
}

.pipeline-hint code {
  background: #e0f0f0;
  color: #284b63;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 11px;
}

/* Pipeline steps */
.pipeline-steps-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pipeline-step {
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  border-left: 4px solid #3C6E71;
}

.pipeline-step:hover {
  border-color: #b0ccd0;
  box-shadow: 0 2px 10px rgba(40, 75, 99, 0.08);
}

.pipeline-step.disabled {
  opacity: 0.55;
  border-left-color: #cbd5e0;
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #f7fbfb;
  border-bottom: 1px solid #eef2f6;
  gap: 10px;
  flex-wrap: wrap;
}

.step-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  flex-wrap: wrap;
}

.step-header-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #284b63;
  color: white;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.step-name-input {
  border: 1px solid #cbd5e0;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 600;
  color: #2d3748;
  background: white;
  min-width: 160px;
  max-width: 300px;
  font-family: inherit;
  transition: border-color 0.15s;
}

.step-name-input:focus {
  outline: none;
  border-color: #3C6E71;
  box-shadow: 0 0 0 2px rgba(60, 110, 113, 0.2);
}

.toggle-label {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  font-size: 12px;
  color: #718096;
}

.step-enabled-toggle {
  width: 15px;
  height: 15px;
  cursor: pointer;
  accent-color: #3C6E71;
}

.step-body {
  padding: 12px 14px;
  background: white;
}

.step-prompt-textarea {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12.5px;
  font-family: 'Consolas', 'Monaco', monospace;
  line-height: 1.55;
  resize: vertical;
  color: #2d3748;
  background: #fafafa;
  transition: border-color 0.2s, background 0.2s;
  min-height: 120px;
}

.step-prompt-textarea:focus {
  outline: none;
  border-color: #3C6E71;
  background: white;
  box-shadow: 0 0 0 2px rgba(60, 110, 113, 0.15);
}

/* Lépés hozzáadása */
.btn-add-step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  background: white;
  border: 2px dashed #3C6E71;
  border-radius: 10px;
  color: #3C6E71;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-add-step:hover {
  background: #eef6f6;
  border-color: #284b63;
  color: #284b63;
}

/* ==========================================
   VÁLTOZÓK MODAL
   ========================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(40, 75, 99, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: white;
  border-radius: 16px;
  max-width: 680px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(40, 75, 99, 0.3);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid #eef2f6;
  position: sticky;
  top: 0;
  background: white;
  z-index: 1;
}

.modal-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: #284b63;
}

.modal-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #718096;
  padding: 4px;
  border-radius: 6px;
  transition: background 0.15s;
}

.modal-close:hover {
  background: #f7fafc;
  color: #2d3748;
}

.modal-body {
  padding: 20px 24px;
}

.var-group {
  margin-bottom: 20px;
}

.var-group h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #3C6E71;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1.5px solid #e0f0f0;
}

.var-table {
  width: 100%;
  border-collapse: collapse;
}

.var-table tr:hover td {
  background: #f7fbfb;
}

.var-table td {
  padding: 5px 8px;
  vertical-align: top;
  font-size: 13px;
}

.var-table td:first-child {
  width: 220px;
}

.var-table code {
  background: #e0f0f0;
  color: #284b63;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  font-family: 'Consolas', monospace;
  cursor: pointer;
  transition: background 0.15s;
}

.var-table code:hover {
  background: #c6e4e4;
}

/* ==========================================
   TONE GUIDE
   ========================================== */
.tone-guide-hint {
  background: #fffbeb;
  border: 1px solid #f6e05e;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 12px;
  color: #744210;
  line-height: 1.5;
}

.tone-guide-textarea {
  width: 100%;
  min-height: 280px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  resize: vertical;
  color: #2d3748;
  transition: border-color 0.2s;
}

.tone-guide-textarea:focus {
  outline: none;
  border-color: #3C6E71;
  box-shadow: 0 0 0 3px rgba(60, 110, 113, 0.15);
}

/* ==========================================
   TOAST ÉRTESÍTÉSEK
   ========================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: white;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  animation: slideIn 0.25s ease;
  max-width: 320px;
}

.toast-success { background: linear-gradient(135deg, #276749, #38a169); }
.toast-error   { background: linear-gradient(135deg, #c53030, #e53e3e); }
.toast-info    { background: linear-gradient(135deg, #284b63, #3C6E71); }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

/* ==========================================
   LETÖLTÉS SZEKCIÓ
   ========================================== */
.download-section {
  display: none;
  margin-top: 20px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(40, 75, 99, 0.05), rgba(60, 110, 113, 0.08));
  border: 1.5px solid rgba(60, 110, 113, 0.25);
  border-radius: 12px;
  text-align: center;
}

.download-section.visible {
  display: block;
}

.download-section p {
  font-size: 14px;
  color: #284b63;
  font-weight: 500;
  margin-bottom: 12px;
}

/* ==========================================
   ÜRES ÁLLAPOT
   ========================================== */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #a0aec0;
}

.empty-state .empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
  display: block;
}

.empty-state p {
  font-size: 14px;
}

/* ==========================================
   SEGÉDOSZTÁLYOK
   ========================================== */
.hidden { display: none !important; }
.flex   { display: flex; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.mt-12  { margin-top: 12px; }
.mt-16  { margin-top: 16px; }

/* ==========================================
   RESZPONZÍV
   ========================================== */
@media (max-width: 768px) {
  .app-wrapper { padding: 12px 10px 32px; }
  .app-header  { padding: 18px 20px; }
  .app-header h1 { font-size: 18px; }
  .card-body   { padding: 16px; }
  .generation-controls { flex-direction: column; align-items: stretch; }
  .model-select-group  { flex-direction: column; align-items: stretch; }
  .pipeline-toolbar    { flex-direction: column; }
  .step-header         { flex-direction: column; align-items: flex-start; }
  .step-name-input     { max-width: 100%; }
  .modal-box           { max-height: 90vh; }
}

/* ==========================================
   V8 ÚJDONSÁGOK: KAPCSOLATMEGSZAKADÁS, JOB ELŐZMÉNYEK
   ========================================== */

/* Kapcsolatmegszakadás sáv */
.reconnect-banner {
  background: linear-gradient(135deg, #744210, #92400e);
  color: white;
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 4px 16px rgba(116, 66, 16, 0.3);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reconnect-banner.hidden {
  display: none;
}

.reconnect-banner-content {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
}

.reconnect-icon {
  font-size: 18px;
}

.reconnect-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.btn-ghost-light {
  background: rgba(255,255,255,0.15);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-ghost-light:hover {
  background: rgba(255,255,255,0.25);
}

/* Generálás folyamatban jelzés */
.generation-running-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #744210;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  margin-top: 12px;
}

.generation-running-notice.hidden {
  display: none;
}

/* Job előzmények panel */
.job-count-badge {
  background: #3C6E71;
  color: white;
  border-radius: 12px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
}

.job-history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border: 1px solid #eef2f6;
  border-radius: 10px;
  margin-bottom: 8px;
  background: #fafbfc;
  gap: 12px;
  flex-wrap: wrap;
}

.job-history-item:hover {
  background: #f0f4f7;
}

.job-history-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.job-history-date {
  font-size: 12px;
  color: #4a5568;
  font-family: monospace;
}

.job-history-progress {
  font-size: 12px;
  color: #718096;
  background: #eef2f6;
  padding: 2px 8px;
  border-radius: 6px;
}

.job-history-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* Letöltés gombok */
.download-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* Félbemaradt job modal */
.resume-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  justify-content: flex-end;
}

/* Btn secondary stílus */
.btn-secondary {
  background: white;
  color: #284b63;
  border: 2px solid #284b63;
}

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


/* PARH CSUSZKA */
.concurrency-group { display: flex; flex-direction: column; gap: 6px; min-width: 220px; }
.concurrency-group label { font-size: 0.875rem; font-weight: 500; color: #4a5568; }
.concurrency-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: #e2e8f0; outline: none; cursor: pointer; }
.concurrency-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, #284b63, #3C6E71); cursor: pointer; box-shadow: 0 1px 4px rgba(40,75,99,0.3); }
.concurrency-slider::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, #284b63, #3C6E71); cursor: pointer; border: none; }
.concurrency-labels { display: flex; justify-content: space-between; font-size: 0.72rem; color: #a0aec0; }

/* GENERAALS OSSZEFOGLALO */
.generation-summary { display: flex; flex-wrap: wrap; gap: 12px; background: linear-gradient(135deg, #f0f7f4, #e8f4f8); border: 1px solid #c6e0d8; border-radius: 10px; padding: 14px 18px; margin-bottom: 16px; }
.generation-summary.hidden { display: none; }
.summary-stat { display: flex; align-items: center; gap: 6px; font-size: 0.9rem; color: #2d4a5a; background: white; border-radius: 6px; padding: 6px 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.summary-icon { font-size: 1rem; }
