/* EIA Beitritt 2026-10: Regelbestaetigungen klar erkennen und sicher bedienen. */
body.recruitment-page .codex-confirmation-guide {
  max-width: 1440px;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin: 22px auto 40px;
  padding: 24px 28px;
  border: 1px solid rgba(255, 142, 74, .48);
  border-left: 7px solid #ff742f;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 108, 38, .16), transparent 38%),
    linear-gradient(120deg, rgba(255, 103, 31, .12), #0c0e0f 66%);
  box-shadow: 0 24px 68px rgba(0, 0, 0, .34), 0 0 34px rgba(255, 91, 25, .07);
}

body.recruitment-page .codex-confirmation-guide > span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 2px solid #ff8b4d;
  border-radius: 50%;
  background: rgba(255, 105, 34, .13);
  color: #ffad7b;
  font-size: 31px;
  font-weight: 950;
  box-shadow: 0 0 26px rgba(255, 99, 27, .2);
}

body.recruitment-page .codex-confirmation-guide div {
  min-width: 0;
  display: grid;
  gap: 5px;
}

body.recruitment-page .codex-confirmation-guide small {
  color: #ff9b63;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 1.7px;
}

body.recruitment-page .codex-confirmation-guide strong {
  color: #fffaf1;
  font-size: clamp(19px, 2vw, 27px);
  line-height: 1.25;
}

body.recruitment-page .codex-confirmation-guide p {
  margin: 2px 0 0;
  color: #b8bfbd;
  font-size: 12px;
  line-height: 1.65;
}

body.recruitment-page .codex-confirmation-guide p b {
  margin-right: 13px;
  color: #ffb083;
}

body.recruitment-page .codex-confirmation-guide p b + b {
  color: #81e58a;
}

body.recruitment-page .codex-chapter-confirm {
  min-height: 116px;
  grid-template-columns: minmax(150px, .32fr) minmax(0, 1fr) auto;
  gap: 8px 24px;
  margin-top: 8px;
  padding: 23px 24px;
  border: 2px solid rgba(var(--codex-accent-rgb), .76);
  border-left: 8px solid var(--codex-accent);
  background:
    radial-gradient(circle at 96% 12%, rgba(var(--codex-accent-rgb), .22), transparent 31%),
    linear-gradient(100deg, rgba(var(--codex-accent-rgb), .2), rgba(10, 13, 14, .98) 61%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .025),
    0 22px 55px rgba(0, 0, 0, .36),
    0 0 30px rgba(var(--codex-accent-rgb), .12);
}

body.recruitment-page .codex-chapter-confirm::after {
  content: none;
}

body.recruitment-page .codex-chapter-confirm > span {
  color: var(--codex-accent);
  font-size: 9px;
  line-height: 1.45;
  letter-spacing: 1.5px;
}

body.recruitment-page .codex-chapter-confirm > b {
  color: #fffaf2;
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.25;
  letter-spacing: -.15px;
}

body.recruitment-page .codex-chapter-confirm > small {
  grid-column: 2;
  color: #b3b9b7;
  font-size: 11px;
  line-height: 1.5;
}

body.recruitment-page .codex-chapter-confirm > em {
  grid-column: 3;
  grid-row: 1 / 3;
  min-width: 154px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  padding: 11px 14px;
  border: 1px solid rgba(var(--codex-accent-rgb), .72);
  background: var(--codex-accent);
  color: #090b0c;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 1.05px;
  text-align: center;
  box-shadow: 0 0 25px rgba(var(--codex-accent-rgb), .18);
}

body.recruitment-page .codex-chapter-confirm:is(:hover, :focus-visible) {
  border-color: var(--codex-accent);
  background:
    radial-gradient(circle at 96% 12%, rgba(var(--codex-accent-rgb), .3), transparent 34%),
    linear-gradient(100deg, rgba(var(--codex-accent-rgb), .28), rgba(13, 16, 17, .99) 64%);
  box-shadow: 0 24px 62px rgba(0, 0, 0, .44), 0 0 38px rgba(var(--codex-accent-rgb), .2);
}

body.recruitment-page .codex-chapter-confirm:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 5px;
}

body.recruitment-page .codex-chapter-confirm.is-complete {
  border-color: rgba(101, 223, 114, .76);
  border-left-color: #65df72;
  background:
    radial-gradient(circle at 96% 12%, rgba(101, 223, 114, .21), transparent 32%),
    linear-gradient(100deg, rgba(101, 223, 114, .16), rgba(8, 14, 10, .98) 64%);
  box-shadow: 0 22px 55px rgba(0, 0, 0, .34), 0 0 30px rgba(101, 223, 114, .1);
  cursor: pointer;
}

body.recruitment-page .codex-chapter-confirm.is-complete > span,
body.recruitment-page .codex-chapter-confirm.is-complete > small {
  color: #92e79a;
}

body.recruitment-page .codex-chapter-confirm.is-complete > em {
  border-color: #78e482;
  background: #65df72;
  color: #061108;
  box-shadow: 0 0 27px rgba(101, 223, 114, .2);
}

body.recruitment-page .recruitment-form .rules-consent {
  min-height: 104px;
  display: grid !important;
  grid-template-columns: 30px minmax(0, 1fr) auto !important;
  gap: 14px;
  align-items: center;
  margin: 4px 0 12px;
  padding: 19px 20px;
  border: 2px solid;
  opacity: 1;
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

body.recruitment-page .recruitment-form .rules-consent input {
  width: 28px;
  height: 28px;
  margin: 0;
}

body.recruitment-page .rules-consent-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

body.recruitment-page .rules-consent-copy strong {
  color: #fffaf2;
  font-size: 17px;
  line-height: 1.25;
}

body.recruitment-page .rules-consent-copy > span {
  color: #c2c7c5;
}

body.recruitment-page .rules-consent-copy a {
  color: #ffab79;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.recruitment-page .rules-consent-badge {
  min-width: 112px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 11px;
  border: 1px solid;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 1.05px;
}

body.recruitment-page .rules-consent[data-state="locked"] {
  border-color: rgba(255, 154, 91, .42);
  background: linear-gradient(110deg, rgba(255, 112, 40, .09), rgba(255, 255, 255, .018));
  cursor: not-allowed;
}

body.recruitment-page .rules-consent[data-state="locked"] .rules-consent-badge {
  border-color: rgba(255, 155, 93, .44);
  color: #ffb185;
  background: rgba(255, 115, 46, .08);
}

body.recruitment-page .rules-consent[data-state="ready"] {
  border-color: #ff7a35;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 112, 40, .19), transparent 42%),
    linear-gradient(110deg, rgba(255, 104, 31, .15), rgba(255, 255, 255, .02));
  box-shadow: 0 0 0 1px rgba(255, 111, 39, .16), 0 18px 46px rgba(0, 0, 0, .28), 0 0 30px rgba(255, 92, 24, .1);
}

body.recruitment-page .rules-consent[data-state="ready"] .rules-consent-badge {
  border-color: #ff9b61;
  color: #130702;
  background: #ff813d;
}

body.recruitment-page .rules-consent[data-state="confirmed"] {
  border-color: #65df72;
  background:
    radial-gradient(circle at 100% 0, rgba(101, 223, 114, .18), transparent 42%),
    linear-gradient(110deg, rgba(101, 223, 114, .13), rgba(255, 255, 255, .018));
  box-shadow: 0 18px 46px rgba(0, 0, 0, .27), 0 0 27px rgba(101, 223, 114, .09);
}

body.recruitment-page .rules-consent[data-state="confirmed"] .rules-consent-badge {
  border-color: #80e68a;
  color: #061108;
  background: #65df72;
}

body.recruitment-page .rules-consent[data-state="error"] {
  border-color: #ff675d;
  background: rgba(255, 78, 65, .1);
  box-shadow: 0 0 0 3px rgba(255, 78, 65, .1);
}

body.recruitment-page .rules-consent[data-state="error"] .rules-consent-badge {
  border-color: #ff766d;
  color: #180403;
  background: #ff675d;
}

body.recruitment-page .rules-consent:focus-within {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

body.recruitment-page .rules-consent-error {
  margin: -3px 0 14px;
  padding: 10px 13px;
  border-left: 3px solid #ff675d;
  background: rgba(255, 78, 65, .08);
  color: #ff9a93;
  font-size: 12px;
  font-weight: 850;
}

body.recruitment-page .rules-consent-error[hidden] {
  display: none;
}

@media(max-width:790px) {
  body.recruitment-page .codex-confirmation-guide {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 15px;
    margin-bottom: 28px;
    padding: 20px 17px;
  }

  body.recruitment-page .codex-confirmation-guide > span {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }

  body.recruitment-page .codex-confirmation-guide p b {
    display: block;
    margin: 2px 0;
  }

  body.recruitment-page .codex-chapter-confirm {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 21px 18px;
  }

  body.recruitment-page .codex-chapter-confirm > small,
  body.recruitment-page .codex-chapter-confirm > em {
    grid-column: 1;
    grid-row: auto;
  }

  body.recruitment-page .codex-chapter-confirm > em {
    width: 100%;
    min-height: 48px;
    margin-top: 8px;
  }

  body.recruitment-page .recruitment-form .rules-consent {
    grid-template-columns: 28px minmax(0, 1fr) !important;
    padding: 17px 15px;
  }

  body.recruitment-page .rules-consent-badge {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media(max-width:480px) {
  body.recruitment-page .codex-confirmation-guide {
    grid-template-columns: 1fr;
  }

  body.recruitment-page .codex-confirmation-guide > span {
    width: 40px;
    height: 40px;
  }

  body.recruitment-page .codex-chapter-confirm > b {
    font-size: 17px;
  }
}

@media(prefers-reduced-motion:reduce) {
  body.recruitment-page .codex-chapter-confirm,
  body.recruitment-page .rules-consent {
    transition: none;
  }
}
