/* ──────────────────────────────────────────────────────────────────
   RCHub Quick Start – onboarding-layout
   Struktur: base → stepper → kort/forms → responsive regler.
   ────────────────────────────────────────────────────────────────── */
.quick-start-body {
  min-height: 100dvh;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  display: block;
  position: relative;
  isolation: isolate;
  color: #fff;
  background:
    radial-gradient(circle at 83% 6%, rgba(102, 156, 213, .45), transparent 25%),
    radial-gradient(circle at 35% 68%, rgba(27, 78, 120, .22), transparent 36%),
    linear-gradient(135deg, #031426 0%, #072643 54%, #031529 100%);
  font-family: 'Source Sans 3', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  padding: max(18px, env(safe-area-inset-top, 0px)) max(18px, env(safe-area-inset-right, 0px)) max(18px, env(safe-area-inset-bottom, 0px)) max(18px, env(safe-area-inset-left, 0px));
}

.quick-start-body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle, rgba(224, 176, 83, .23) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(to left, #000 0 16%, transparent 31%);
  mask-image: linear-gradient(to left, #000 0 16%, transparent 31%);
  pointer-events: none;
}

.quick-start-body a {
  color: inherit;
}

.quick-start-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(10px, 2vw, 26px) 0 clamp(24px, 4vw, 48px);
}

.quick-start-hero, .quick-start-card, .quick-start-checklist {
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
  backdrop-filter: blur(18px);
}

.quick-start-hero {
  padding: clamp(26px, 5vw, 54px);
  margin-bottom: 18px;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.quick-start-hero::before {
  content: '';
  position: absolute;
  inset: -160px auto auto 50%;
  width: min(680px, 90vw);
  height: min(680px, 90vw);
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 62%);
  pointer-events: none;
}

.quick-start-logo, .quick-start-kicker, .quick-start-hero h1, .quick-start-hero p, .quick-start-actions {
  position: relative;
  z-index: 1;
}

.quick-start-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 24px;
}

.quick-start-logo img {
  display: block;
  max-width: min(320px, 78vw);
  max-height: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.quick-start-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 6px 13px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  color: rgba(255, 255, 255, .78);
  background: rgba(255, 255, 255, .08);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.quick-start-hero h1 {
  margin: 0 auto 13px;
  max-width: 820px;
  color: rgba(255, 255, 255, .96);
  font-size: clamp(1.7rem, 4.2vw, 3rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -.02em;
}

.quick-start-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 255, 255, .72);
  font-size: clamp(.92rem, 1.6vw, 1.08rem);
  line-height: 1.55;
}

.quick-start-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.quick-start-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .86);
  font-size: .85rem;
  font-weight: 700;
  transition: transform .17s ease, background .17s ease, border-color .17s ease, color .17s ease;
}

.quick-start-btn:hover, .quick-start-btn:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, .13);
  border-color: rgba(255, 255, 255, .24);
  color: #fff;
}

.quick-start-btn-primary {
  background: #1e4976;
  border-color: rgba(255, 255, 255, .12);
  color: #fff;
}

.quick-start-btn-primary:hover, .quick-start-btn-primary:focus-visible {
  background: #163860;
}

.quick-start-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.quick-start-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: clamp(20px, 3vw, 28px);
}

.quick-start-card-featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .075));
}

.quick-start-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(30, 73, 118, .72);
  color: #fff;
  font-size: .88rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .18);
}

.quick-start-card h2, .quick-start-checklist h2 {
  margin: 0 0 9px;
  color: rgba(255, 255, 255, .94);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
  line-height: 1.15;
  font-weight: 700;
}

.quick-start-card p, .quick-start-checklist p {
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-size: .89rem;
  line-height: 1.55;
}

.quick-start-card strong {
  color: rgba(255, 255, 255, .95);
  font-weight: 700;
}

.quick-start-card ul {
  display: grid;
  gap: 7px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.quick-start-card li {
  position: relative;
  padding-left: 19px;
  color: rgba(255, 255, 255, .72);
  font-size: .82rem;
  line-height: 1.45;
}

.quick-start-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .58em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #b07d2a;
  box-shadow: 0 0 0 4px rgba(176, 125, 42, .14);
}

.quick-start-checklist {
  display: grid;
  grid-template-columns: minmax(240px, .82fr) minmax(0, 1.18fr);
  gap: clamp(18px, 4vw, 34px);
  margin-top: 18px;
  padding: clamp(22px, 4vw, 34px);
}

.quick-start-label {
  display: inline-flex;
  margin: 0 0 10px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(45, 106, 79, .24);
  color: #d1fae5;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.quick-start-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.quick-start-checks div {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .78);
  font-size: .82rem;
  line-height: 1.35;
}

.quick-start-checks i {
  margin-top: 2px;
  color: #86efac;
  font-size: .76rem;
}

@media (max-width: 920px) {
  .quick-start-grid, .quick-start-checklist, .quick-start-checks {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .quick-start-body {
    padding: 14px;
  }

  .quick-start-hero, .quick-start-card, .quick-start-checklist {
    border-radius: 20px;
  }

  .quick-start-card {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .quick-start-step {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .quick-start-actions {
    flex-direction: column;
  }

  .quick-start-btn {
    width: 100%;
  }
}

/* ──────────────────────────────────────────────────────────────────
   RCHub hjælp til to-faktor godkendelse
   Bruger quick-start grundlayoutet og tilføjer procesillustrationer.
   ────────────────────────────────────────────────────────────────── */
.twofactor-help-shell {
  width: min(1120px, 100%);
}

.twofactor-help-hero h1 {
  max-width: 900px;
}

.twofactor-help-grid {
  grid-template-columns: 1fr;
}

.twofactor-help-process {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.twofactor-help-visual-card {
  display: grid;
  grid-template-columns: minmax(220px, .95fr) minmax(0, 1.05fr);
  gap: 18px;
  align-items: center;
  padding: clamp(20px, 3vw, 28px);
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
  backdrop-filter: blur(18px);
}

.twofactor-help-visual-card h2 {
  margin: 0 0 9px;
  color: rgba(255, 255, 255, .94);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
  line-height: 1.15;
  font-weight: 700;
}

.twofactor-help-visual-card p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: .89rem;
  line-height: 1.55;
}

.twofactor-help-visual-card strong, .twofactor-help-manual strong {
  color: rgba(255, 255, 255, .95);
  font-weight: 700;
}

.twofactor-help-visual {
  min-height: 190px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .13);
  background: linear-gradient(145deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .055));
  overflow: hidden;
}

.twofactor-help-visual svg {
  display: block;
  width: 100%;
  height: auto;
}

.twofactor-help-steps {
  display: grid;
  gap: 8px;
  margin: 13px 0 0;
  padding: 0 0 0 20px;
  color: rgba(255, 255, 255, .72);
  font-size: .82rem;
  line-height: 1.45;
}

.twofactor-help-steps li::marker {
  color: #b07d2a;
  font-weight: 800;
}

.twofactor-help-checklist {
  margin-top: 18px;
}

.twofactor-help-manual {
  margin-top: 18px;
}

.tfh-screen,
.tfh-phone-large {
  fill: rgba(15, 23, 42, .72);
  stroke: rgba(255, 255, 255, .18);
  stroke-width: 2;
}

.tfh-card,
.tfh-phone-screen,
.tfh-phone-large-screen {
  fill: rgba(255, 255, 255, .92);
}

.tfh-phone {
  fill: rgba(15, 23, 42, .86);
  stroke: rgba(255, 255, 255, .2);
  stroke-width: 2;
}

.tfh-qr-bg,
.tfh-code-box {
  fill: #fff;
  stroke: rgba(15, 23, 42, .16);
  stroke-width: 2;
}

.tfh-qr-dot,
.tfh-qr-line {
  fill: #0f172a;
}

.tfh-scan-line,
.tfh-arrow,
.tfh-plus-line {
  fill: none;
  stroke: #b07d2a;
  stroke-width: 6;
  stroke-linecap: round;
}

.tfh-arrow-head,
.tfh-plus-circle,
.tfh-button {
  fill: #b07d2a;
}

.tfh-dot {
  fill: rgba(255, 255, 255, .82);
}

.tfh-menu-item {
  fill: rgba(15, 23, 42, .08);
}

.tfh-menu-item-active {
  fill: rgba(30, 73, 118, .18);
  stroke: rgba(30, 73, 118, .5);
  stroke-width: 2;
}

.tfh-svg-title {
  fill: #1e3a5f;
  font-size: 24px;
  font-weight: 800;
  font-family: 'Source Sans 3', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.tfh-svg-title-dark {
  fill: #1e3a5f;
}

.tfh-svg-small,
.tfh-svg-small-muted,
.tfh-code-text {
  font-family: 'Source Sans 3', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.tfh-svg-small {
  fill: #1e3a5f;
  font-size: 17px;
  font-weight: 800;
}

.tfh-svg-small-muted {
  fill: #64748b;
  font-size: 17px;
  font-weight: 700;
}

.tfh-code-text {
  fill: #0f172a;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 10px;
}

@media (max-width: 1040px) {
  .twofactor-help-process {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .twofactor-help-visual-card {
    grid-template-columns: 1fr;
  }

  .twofactor-help-visual {
    min-height: 0;
  }
}

/* =====================================================================
   Loginportal-design – Quick Start
   Samme visuelle system som login.php: mørk blå gradient, guldlinjer,
   diskret prikmønster og dybe paneler. Eksisterende indhold/flow bevares.
   ===================================================================== */
:root {
  --guide-bg: #04172b;
  --guide-bg-2: #092b4b;
  --guide-panel: rgba(9, 39, 68, .94);
  --guide-panel-deep: rgba(5, 25, 48, .96);
  --guide-gold: #dfad55;
  --guide-gold-light: #f5d884;
  --guide-gold-dark: #8f6518;
  --guide-silver: #edf3fb;
  --guide-muted: #b8c5d5;
  --guide-line: rgba(231, 180, 91, .44);
  --guide-blue-line: rgba(173, 196, 225, .25);
}

.quick-start-body {
  background-color: var(--guide-bg);
  background-image:
    radial-gradient(circle at 78% 12%, rgba(48, 91, 143, .34) 0, rgba(48, 91, 143, 0) 34%),
    radial-gradient(circle at 1px 1px, rgba(223, 173, 85, .22) 1px, transparent 1.25px),
    linear-gradient(135deg, #031326 0%, #0a2748 48%, #04172b 100%);
  background-size: auto, 18px 18px, auto;
  background-position: center, right top, center;
  background-attachment: fixed;
  color: var(--guide-silver);
}

.quick-start-shell {
  width: min(1160px, 100%);
}

.quick-start-hero,
.quick-start-card,
.quick-start-checklist,
.twofactor-help-visual-card {
  border: 1px solid var(--guide-line);
  background: linear-gradient(155deg, rgba(20, 58, 99, .96), var(--guide-panel-deep));
  box-shadow:
    0 28px 70px rgba(0, 0, 0, .38),
    inset 0 1px 0 rgba(255, 255, 255, .05);
  backdrop-filter: none;
}

.quick-start-hero {
  border-radius: 22px;
}

.quick-start-hero::before {
  inset: -220px auto auto 50%;
  background: radial-gradient(circle, rgba(63, 111, 169, .28), transparent 64%);
}

.quick-start-logo img {
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .28));
}

.quick-start-kicker,
.quick-start-label {
  border-color: var(--guide-line);
  background: rgba(223, 173, 85, .09);
  color: var(--guide-gold-light);
}

.quick-start-kicker i {
  color: var(--guide-gold);
}

.quick-start-hero h1,
.quick-start-card h2,
.quick-start-checklist h2,
.twofactor-help-visual-card h2 {
  color: var(--guide-silver);
}

.quick-start-hero h1::after {
  content: '';
  display: block;
  width: 72px;
  height: 2px;
  margin: 18px auto 0;
  background: linear-gradient(90deg, transparent, var(--guide-gold-light), transparent);
}

.quick-start-hero p,
.quick-start-card p,
.quick-start-checklist p,
.quick-start-card li,
.quick-start-checks div,
.twofactor-help-visual-card p,
.twofactor-help-steps {
  color: var(--guide-muted);
}

.quick-start-card,
.quick-start-checklist {
  border-radius: 18px;
}

.quick-start-card-featured {
  background: linear-gradient(145deg, rgba(25, 66, 109, .98), rgba(6, 29, 55, .98));
  border-color: rgba(245, 216, 132, .62);
}

.quick-start-step {
  border: 1px solid var(--guide-gold-light);
  background: linear-gradient(160deg, var(--guide-gold-light), var(--guide-gold) 52%, var(--guide-gold-dark));
  color: #10203a;
  box-shadow:
    0 9px 20px rgba(0, 0, 0, .28),
    inset 0 1px 0 rgba(255, 255, 255, .55);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .4);
}

.quick-start-card strong,
.twofactor-help-visual-card strong,
.twofactor-help-manual strong {
  color: var(--guide-silver);
}

.quick-start-card li::before {
  background: var(--guide-gold);
  box-shadow: 0 0 0 4px rgba(223, 173, 85, .13);
}

.quick-start-checks div,
.twofactor-help-visual {
  border-color: var(--guide-blue-line);
  background: rgba(4, 23, 43, .48);
}

.quick-start-checks i {
  color: var(--guide-gold-light);
}

.quick-start-btn-primary {
  border-color: var(--guide-gold-light);
  background: linear-gradient(180deg, var(--guide-gold-light), var(--guide-gold) 55%, #c28b2e);
  color: #10203a;
  box-shadow: 0 7px 18px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .55);
}

.quick-start-btn-primary:hover,
.quick-start-btn-primary:focus-visible {
  background: linear-gradient(180deg, #ffe79b, #e8b95f 55%, #cb9437);
  color: #07172d;
}

@media (max-width: 620px) {
  .quick-start-body {
    background-size: auto, 16px 16px, auto;
  }

  .quick-start-hero,
  .quick-start-card,
  .quick-start-checklist {
    border-radius: 16px;
  }
}

/* Login.php-baggrund – identisk med den fælles auth-portal */
.quick-start-body {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 83% 6%, rgba(102, 156, 213, .45), transparent 25%),
    radial-gradient(circle at 35% 68%, rgba(27, 78, 120, .22), transparent 36%),
    linear-gradient(135deg, #031426 0%, #072643 54%, #031529 100%) !important;
  background-attachment: scroll !important;
  background-size: auto !important;
  background-position: initial !important;
}

.quick-start-body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle, rgba(224, 176, 83, .23) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(to left, #000 0 16%, transparent 31%);
  mask-image: linear-gradient(to left, #000 0 16%, transparent 31%);
  pointer-events: none;
}
