:root {
  --bg-dark: #050814;
  --bg-panel: rgba(9, 14, 29, 0.92);
  --accent-orange: #ff9b32;
  --accent-green: #4caf50;
  --accent-blue: #3da9ff;
  --text-main: #f7f7ff;
  --text-muted: #a5b1d8;
  --danger: #ff4b6a;
  --radius-xl: 18px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.55);
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at top, #ff9d2f, #1f49df 40%, #03131f 100%);
  min-height: 100vh;
}

.page {
  min-height: 100vh;
  backdrop-filter: blur(26px);
  background: radial-gradient(circle at 20% 0, rgba(255, 184, 77, 0.26), transparent 60%),
    radial-gradient(circle at 100% 0, rgba(0, 210, 165, 0.24), transparent 55%),
    linear-gradient(135deg, #050814 0%, #050912 50%, #020611 100%);
}

.top-bar {
  padding: 24px 40px 8px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-orb {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #fff4c5, #ff9b32 45%, #e45300 70%, #3c1300 100%);
  box-shadow: 0 0 18px rgba(255, 155, 50, 0.7);
  animation: orbPulse 3s ease-in-out infinite;
}

@keyframes orbPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(255, 155, 50, 0.8);
  }
  50% {
    transform: scale(1.07);
    box-shadow: 0 0 30px rgba(255, 193, 99, 0.9);
  }
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.logo-subtitle {
  font-size: 12px;
  color: var(--text-muted);
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 32px;
  padding: 8px 40px 40px;
}

.panel {
  background: linear-gradient(145deg, rgba(7, 13, 30, 0.98), rgba(2, 8, 20, 0.98));
  border-radius: var(--radius-xl);
  padding: 24px 26px 26px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.panel-left::before,
.panel-right::before {
  content: "";
  position: absolute;
  inset: -30%;
  opacity: 0.26;
  background: radial-gradient(circle at 0 0, rgba(255, 184, 77, 0.3), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(0, 210, 165, 0.25), transparent 55%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.panel h1,
.panel h2 {
  margin: 0 0 8px;
}

.panel h1 {
  font-size: 26px;
  letter-spacing: 0.04em;
}

.panel h2 {
  font-size: 20px;
}

.panel-desc {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 14px;
}

.field-group {
  margin-bottom: 14px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(113, 126, 189, 0.6);
  background: rgba(2, 7, 20, 0.85);
  color: var(--text-main);
  padding: 9px 11px;
  font-size: 14px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 1px rgba(61, 169, 255, 0.45);
}

textarea {
  resize: vertical;
  min-height: 70px;
}

.file-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

#file-input {
  display: none;
}

#file-button {
  border-radius: 999px;
  border: none;
  padding: 8px 18px;
  background: var(--accent-blue);
  color: #010308;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
}

.file-name {
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-muted);
}

.primary-btn {
  width: 100%;
  border-radius: 999px;
  border: none;
  margin-top: 10px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, #ffb547, #ff7a1a);
  color: #110400;
  box-shadow: 0 16px 30px rgba(255, 139, 54, 0.55);
  transition: transform 0.1s ease, box-shadow 0.1s ease, filter 0.1s ease;
}

.primary-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 20px 36px rgba(255, 139, 54, 0.7);
}

.primary-btn:disabled {
  cursor: wait;
  filter: grayscale(0.2);
  box-shadow: none;
}

.error-msg {
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(181, 42, 66, 0.15);
  border: 1px solid rgba(255, 75, 106, 0.7);
  font-size: 13px;
  color: #ffd5df;
}

.summary-card {
  margin-top: 8px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: rgba(9, 14, 35, 0.85);
  border: 1px solid rgba(116, 130, 188, 0.6);
  padding: 10px 12px;
  font-size: 13px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  gap: 10px;
}

.summary-row span:first-child {
  color: var(--text-muted);
}

.summary-row span:last-child {
  font-weight: 500;
}

.steps-card {
  border-radius: 14px;
  background: rgba(7, 11, 29, 0.9);
  border: 1px solid rgba(113, 129, 211, 0.7);
  padding: 10px 12px;
  margin-bottom: 14px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 4px;
  background: rgba(140, 150, 200, 0.6);
}

.step.completed .step-dot {
  background: var(--accent-green);
  box-shadow: 0 0 8px rgba(76, 175, 80, 0.9);
}

.step.error .step-dot {
  background: var(--danger);
  box-shadow: 0 0 8px rgba(255, 75, 106, 0.9);
}

.step-text {
  font-size: 13px;
}

.step-title {
  font-weight: 600;
}

.step-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.log-card {
  border-radius: 14px;
  background: rgba(4, 8, 22, 0.96);
  border: 1px solid rgba(83, 105, 176, 0.75);
  padding: 8px 10px;
  margin-bottom: 14px;
  font-size: 12px;
}

.log-header {
  font-weight: 600;
  margin-bottom: 4px;
}

#log-output {
  max-height: 150px;
  overflow: auto;
  white-space: pre-wrap;
  font-family: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  color: #b5c6ff;
}

.download-panel {
  border-radius: 18px;
  background: radial-gradient(circle at 0 0, rgba(76, 175, 80, 0.15), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(61, 169, 255, 0.16), transparent 60%),
    rgba(7, 11, 30, 0.96);
  border: 1px solid rgba(136, 197, 255, 0.7);
  padding: 14px 14px 16px;
}

.id-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.id-label {
  font-size: 12px;
  color: var(--text-muted);
}

.id-value {
  font-size: 15px;
  font-weight: 600;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.tab-btn {
  border-radius: 999px;
  border: none;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, #ffb547, #ff7a1a);
  color: #110400;
  box-shadow: 0 10px 20px rgba(255, 139, 54, 0.55);
}

.tab-btn:nth-child(2) {
  background: linear-gradient(135deg, #4caf50, #33c98a);
}

.tab-btn:nth-child(3) {
  background: linear-gradient(135deg, #3da9ff, #457aff);
}

.tab-btn:nth-child(4) {
  background: linear-gradient(135deg, #ff648a, #ff4b6a);
}

/* Reszponzív */
@media (max-width: 980px) {
  .layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .panel {
    padding: 18px 18px 20px;
  }
}/* ORAINGER-CSS-MARKER-123 */
