:root {
  --scale: 0.8; /* 👈 change this number to resize everything at once */
  --bg: #0b0f19;
  --card: #111827;
  --text: #e5e7eb;
  --muted: #93a2b1;
  --accent: #22c55e;
  --accent-weak: #16a34a;
  --error: #ef4444;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, Apple Color Emoji, Segoe UI Emoji;
  background: linear-gradient(180deg, #0b0f19 0%, #0b1324 100%);
  color: var(--text);
  min-height: 100vh;
  display: grid;
  place-items: center;
  font-size: calc(20px * var(--scale));
}
.container {
  width: 100%;
  max-width: calc(960px * var(--scale));
  padding: calc(48px * var(--scale));
}
h1 { margin: 0 0 calc(16px * var(--scale)); font-size: calc(56px * var(--scale)); }
.muted { color: var(--muted); margin: 0 0 calc(48px * var(--scale)); font-size: calc(24px * var(--scale)); }

form {
  display: flex;
  flex-direction: column;
  gap: calc(16px * var(--scale));
  margin-bottom: calc(32px * var(--scale));
}
.row { display: flex; gap: calc(24px * var(--scale)); align-items: center; }
.col { flex: 1; display: flex; flex-direction: column; }

label {
  margin-bottom: calc(8px * var(--scale));
  color: var(--muted);
  font-size: calc(20px * var(--scale));
}

input[type="url"],
input[type="text"],
select {
  padding: calc(20px * var(--scale)) calc(24px * var(--scale));
  border-radius: calc(20px * var(--scale));
  border: calc(2px * var(--scale)) solid #1f2937;
  background: #0f172a;
  color: var(--text);
  outline: none;
  font-size: calc(22px * var(--scale));
  width: 100%;
}
input:focus, select:focus {
  border-color: #334155;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%2393a2b1' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right calc(12px * var(--scale)) center;
  background-size: calc(20px * var(--scale));
}

button, .btn {
  padding: calc(20px * var(--scale)) calc(28px * var(--scale));
  border-radius: calc(20px * var(--scale));
  border: none;
  background: var(--accent);
  color: #0b0f19;
  font-weight: 700;
  font-size: calc(22px * var(--scale));
  cursor: pointer;
  transition: transform .05s ease, background .2s ease;
}
button:hover, .btn:hover { background: var(--accent-weak); }
button:active, .btn:active { transform: translateY(calc(2px * var(--scale))); }
button[disabled] { opacity: .6; cursor: not-allowed; }

.card {
  background: var(--card);
  border: calc(2px * var(--scale)) solid #1f2937;
  border-radius: calc(32px * var(--scale));
  padding: calc(32px * var(--scale));
  font-size: calc(22px * var(--scale));
}
.hidden { display: none; }
.space-between { justify-content: space-between; }

.progress {
  height: calc(28px * var(--scale));
  background: #0f172a;
  border: calc(2px * var(--scale)) solid #1f2937;
  border-radius: 999px;
  overflow: hidden;
  margin-top: calc(20px * var(--scale));
}
.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-weak));
  transition: width .3s ease;
}

#errorBox {
  margin-top: calc(24px * var(--scale));
  padding: calc(24px * var(--scale));
  border-radius: calc(24px * var(--scale));
  border: calc(2px * var(--scale)) solid rgba(239, 68, 68, .4);
  background: rgba(239, 68, 68, .08);
  color: #fecaca;
  white-space: pre-wrap;
  font-size: calc(22px * var(--scale));
}

footer {
  margin-top: calc(48px * var(--scale));
  text-align: center;
  color: var(--muted);
  font-size: calc(20px * var(--scale));
}
