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

/* ── Base layout ─────────────────────────────────────────────────── */
body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: #f0f2f5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: #1a1a2e;
}

/* ── Site header ─────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid #eee;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header a { text-decoration: none; }

/* ── Language selector ───────────────────────────────────────────── */
.lang-selector {
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
}

.lang-selector a {
  color: #EF9F27;
  text-decoration: none;
}

/* ── Centering wrapper ───────────────────────────────────────────── */
.page-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

/* ── Card base ───────────────────────────────────────────────────── */
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.09);
  width: 100%;
}

/* ── Site footer ─────────────────────────────────────────────────── */
footer {
  text-align: center;
  padding: 16px;
  font-size: 0.78rem;
  color: #9ca3af;
}

footer a {
  color: #9ca3af;
  text-decoration: none;
}

footer a:hover { text-decoration: underline; }

/* ── Progress steps ──────────────────────────────────────────────── */
.step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1.5px solid #eee;
  background: #fafafa;
  transition: all 0.4s;
}

.step.active { border-color: #EF9F27; background: #FFF8EC; }
.step.done   { border-color: #0C447C; background: #EEF4FB; }

.step-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  background: #eee;
  color: #aaa;
  transition: all 0.4s;
}

.step.active .step-icon { background: #EF9F27; color: #fff; }
.step.done  .step-icon  { background: #0C447C; color: #fff; }

.step-text {
  font-size: 14px;
  color: #888;
  font-weight: 400;
  transition: all 0.4s;
}

.step.active .step-text { color: #BA7517; font-weight: 500; }
.step.done   .step-text { color: #0C447C; font-weight: 500; }

.step-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(239,159,39,0.3);
  border-top-color: #EF9F27;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── GDPR row ────────────────────────────────────────────────────── */
.gdpr-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
}

.gdpr-row input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: #EF9F27;
  cursor: pointer;
}

.gdpr-label {
  font-size: 0.88rem;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.5;
  cursor: pointer;
}

.gdpr-label a { color: #EF9F27; }

/* ── Error message ───────────────────────────────────────────────── */
.error-msg {
  display: none;
  color: #E24B4A;
  font-size: 0.82rem;
  margin-top: 6px;
}
