/* ==================================================
   WRENCHMATE AUTH PACKAGE
   Premium 50/50 Auth-Layout aus dem Codex-Handoff.
   ================================================== */

body.auth-split-page {
  min-height: 100vh;
  overflow: hidden;
  background: #eef0f4;
  color: #171b22;
}

html[data-theme="dark"] body.auth-split-page {
  background: #080b11;
  color: #f7f4ef;
}

.auth-split-shell {
  width: 100vw;
  max-width: 100vw;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 50vw) minmax(0, 50vw);
  overflow: hidden;
}

.auth-hero-panel {
  position: relative;
  width: 50vw;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(28px, 4vw, 58px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.auth-hero-media,
.auth-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.auth-hero-media {
  background-image: url("/static/servicebook/background_wrenchmate.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.auth-hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 10, 16, 0.88), rgba(7, 10, 16, 0.52) 58%, rgba(7, 10, 16, 0.2)),
    radial-gradient(circle at 12% 78%, rgba(47, 107, 255, 0.28), transparent 34%),
    radial-gradient(circle at 74% 18%, rgba(214, 168, 92, 0.2), transparent 28%);
}

html[data-theme="light"] .auth-hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 12, 18, 0.82), rgba(8, 12, 18, 0.46) 58%, rgba(8, 12, 18, 0.12)),
    radial-gradient(circle at 16% 78%, rgba(47, 107, 255, 0.2), transparent 34%),
    radial-gradient(circle at 78% 18%, rgba(214, 168, 92, 0.18), transparent 28%);
}

.auth-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  width: max-content;
}

.auth-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2f6bff, #70a7ff);
  box-shadow: 0 14px 34px rgba(47, 107, 255, 0.32);
}

.auth-brand-mark .brand-logo {
  width: 28px;
  height: 28px;
}

.auth-brand-lockup strong {
  display: block;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.auth-brand-lockup small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.auth-hero-copy {
  max-width: min(620px, 100%);
  color: #fff;
}

.auth-hero-copy .auth-kicker {
  color: #9dc0ff;
  margin-bottom: 20px;
}

.auth-hero-copy h1 {
  margin: 0;
  max-width: 9ch;
  font-size: clamp(3rem, 4.35vw, 5.35rem);
  line-height: 0.9;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.auth-hero-copy p {
  max-width: 58ch;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.75;
}

.auth-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.auth-trust-grid article {
  min-height: 118px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(18, 23, 31, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.auth-trust-grid span {
  display: inline-flex;
  margin-bottom: 14px;
  color: #9dc0ff;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.16em;
}

.auth-trust-grid strong {
  display: block;
  font-size: 24px;
  letter-spacing: -0.045em;
}

.auth-trust-grid small {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.45;
}

.auth-action-panel {
  width: 50vw;
  min-height: 100vh;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  padding: clamp(24px, 4vw, 56px);
  background:
    radial-gradient(circle at 20% 8%, rgba(47, 107, 255, 0.11), transparent 28%),
    linear-gradient(120deg, #fffaf2, #eef2f8 54%, #f8fbff);
}

html[data-theme="dark"] .auth-action-panel {
  background:
    radial-gradient(circle at 72% 12%, rgba(47, 107, 255, 0.18), transparent 32%),
    radial-gradient(circle at 12% 84%, rgba(214, 168, 92, 0.1), transparent 26%),
    linear-gradient(145deg, #10141b, #0b0f15 56%, #070a0f);
}

.auth-action-panel:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 29, 44, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 29, 44, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, #000, transparent 78%);
}

html[data-theme="dark"] .auth-action-panel:before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
}

.auth-action-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
}

.auth-action-card {
  position: relative;
  z-index: 1;
  width: min(100%, 500px);
  justify-self: center;
  padding: clamp(24px, 3vw, 38px);
  border-radius: 28px;
  background: rgba(255, 252, 244, 0.86);
  border: 1px solid rgba(120, 105, 82, 0.18);
  box-shadow: 0 30px 90px rgba(36, 28, 18, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px);
}

html[data-theme="dark"] .auth-action-card {
  background: rgba(20, 23, 29, 0.78);
  border-color: rgba(255, 255, 255, 0.11);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(214, 168, 92, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.auth-action-card .auth-card-head {
  margin-bottom: 22px;
}

.auth-action-card .auth-card:before,
.auth-action-card:before {
  content: none;
}

.auth-action-card .brand-mark {
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
}

.auth-action-card .auth-card-brand h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.auth-action-card .auth-card-brand p {
  max-width: 34ch;
}

.auth-action-card .auth-panel-note {
  background: rgba(214, 168, 92, 0.16);
  border-color: rgba(214, 168, 92, 0.28);
  color: var(--muted);
}

.auth-action-card .auth-form input:not([type="checkbox"]),
.auth-action-card .auth-form select,
.auth-action-card .auth-form textarea {
  min-height: 58px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(120, 105, 82, 0.19);
  color: #171b22;
}

html[data-theme="dark"] .auth-action-card .auth-form input:not([type="checkbox"]),
html[data-theme="dark"] .auth-action-card .auth-form select,
html[data-theme="dark"] .auth-action-card .auth-form textarea {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f7f4ef;
}

.auth-action-card .auth-form input:focus,
.auth-action-card .auth-form select:focus,
.auth-action-card .auth-form textarea:focus {
  border-color: rgba(47, 107, 255, 0.72);
  box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.15), 0 16px 34px rgba(47, 107, 255, 0.12);
}

.auth-action-card .auth-options a,
.auth-action-card .auth-link strong,
.auth-action-card .auth-link:hover {
  color: #2f6bff;
}

.auth-action-card .auth-submit {
  min-height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2f6bff, #5f96ff);
  box-shadow: 0 16px 34px rgba(47, 107, 255, 0.3);
}

.auth-button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.auth-accordion {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.auth-accordion details {
  border-radius: 16px;
  border: 1px solid rgba(120, 105, 82, 0.16);
  background: rgba(255, 255, 255, 0.46);
  overflow: hidden;
}

html[data-theme="dark"] .auth-accordion details {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.1);
}

.auth-accordion summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
}

.auth-accordion summary::-webkit-details-marker {
  display: none;
}

.auth-accordion summary span {
  color: #2f6bff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.auth-accordion summary strong {
  flex: 1;
}

.auth-accordion p {
  margin: 0;
  padding: 0 16px 16px;
  color: var(--muted);
}

.auth-form-grid,
.auth-workshop-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.auth-workshop-fields {
  margin-top: 2px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(47, 107, 255, 0.18);
  background: rgba(47, 107, 255, 0.06);
}

.auth-workshop-fields.is-collapsed {
  display: none;
}

.auth-footer-links {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 18px;
  padding-top: 28px;
}

.auth-footer-links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.auth-footer-links a:hover {
  color: #2f6bff;
}

@media (max-width: 1120px) {
  body.auth-split-page {
    overflow: auto;
  }

  .auth-split-shell {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: none;
    overflow: visible;
  }

  .auth-hero-panel {
    width: 100%;
    min-height: 48vh;
  }

  .auth-action-panel {
    width: 100%;
    min-height: 52vh;
  }
}

@media (max-width: 720px) {
  .auth-hero-panel,
  .auth-action-panel {
    padding: 22px;
  }

  .auth-hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(2.7rem, 14vw, 4.8rem);
  }

  .auth-trust-grid,
  .auth-form-grid,
  .auth-workshop-fields {
    grid-template-columns: 1fr;
  }

  .auth-action-card {
    padding: 22px;
  }

  .auth-card-head,
  .auth-card-brand {
    align-items: flex-start;
  }
}

/* ==================================================
   AUTH BACKGROUND PACKAGE V1.0.7
   Zentrale Light/Dark Automotive-Bühne mit weicher Überblendung.
   ================================================== */

:root {
  --auth-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --auth-theme-duration: 340ms;
  --auth-blue: #2f6bff;
  --auth-blue-soft: rgba(47, 107, 255, 0.18);
  --auth-amber: #d6a85c;
  --auth-light-text: #171b22;
  --auth-light-muted: #5d646f;
  --auth-light-card: rgba(255, 252, 244, 0.8);
  --auth-light-border: rgba(111, 94, 68, 0.18);
  --auth-dark-text: #f7f4ef;
  --auth-dark-muted: rgba(247, 244, 239, 0.68);
  --auth-dark-card: rgba(15, 19, 27, 0.76);
  --auth-dark-border: rgba(255, 255, 255, 0.12);
}

html.theme-transitioning *,
html.theme-transitioning *::before,
html.theme-transitioning *::after {
  transition:
    background-color var(--auth-theme-duration) var(--auth-ease),
    color var(--auth-theme-duration) var(--auth-ease),
    border-color var(--auth-theme-duration) var(--auth-ease),
    box-shadow var(--auth-theme-duration) var(--auth-ease),
    opacity var(--auth-theme-duration) var(--auth-ease),
    filter var(--auth-theme-duration) var(--auth-ease),
    backdrop-filter var(--auth-theme-duration) var(--auth-ease);
}

body.auth-split-page {
  background: #0a0d13;
  color: var(--auth-dark-text);
}

html[data-theme="light"] body.auth-split-page {
  background: #eee8de;
  color: var(--auth-light-text);
}

.auth-split-shell {
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(0, 56vw) minmax(420px, 44vw);
  background: #0a0d13;
}

.auth-split-shell.auth-shell {
  padding: 0;
  margin: 0;
  max-width: none;
  z-index: auto;
  flex-direction: initial;
}

.auth-split-shell::before,
.auth-split-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.005);
  transition:
    opacity 360ms var(--auth-ease),
    filter 360ms var(--auth-ease),
    transform 520ms var(--auth-ease);
}

.auth-split-shell::before {
  background-image: url("/static/servicebook/auth-backgrounds/login-bg-dark.png");
  opacity: 1;
  filter: brightness(0.96) contrast(1.05) saturate(1.03);
}

.auth-split-shell::after {
  background-image: url("/static/servicebook/auth-backgrounds/login-bg-light.png");
  opacity: 0;
  filter: brightness(1.02) contrast(1.02) saturate(0.98);
}

html[data-theme="light"] .auth-split-shell {
  background: #eee8de;
}

html[data-theme="light"] .auth-split-shell::before {
  opacity: 0;
}

html[data-theme="light"] .auth-split-shell::after {
  opacity: 1;
}

.auth-split-shell > .auth-hero-panel,
.auth-split-shell > .auth-action-panel {
  width: auto;
  min-width: 0;
}

.auth-hero-media,
.auth-hero-overlay,
.auth-action-panel::before {
  display: none;
}

.auth-hero-panel {
  background: linear-gradient(90deg, rgba(5, 8, 14, 0.22), rgba(5, 8, 14, 0.02));
}

html[data-theme="light"] .auth-hero-panel {
  background: linear-gradient(90deg, rgba(255, 248, 235, 0.04), rgba(255, 248, 235, 0));
}

.auth-action-panel {
  background:
    linear-gradient(90deg, rgba(7, 10, 16, 0.06), rgba(7, 10, 16, 0.34)),
    radial-gradient(circle at 50% 18%, rgba(47, 107, 255, 0.12), transparent 34%);
}

html[data-theme="light"] .auth-action-panel {
  background:
    linear-gradient(90deg, rgba(255, 250, 241, 0.02), rgba(255, 250, 241, 0.26)),
    radial-gradient(circle at 48% 16%, rgba(47, 107, 255, 0.09), transparent 34%);
}

.auth-action-card {
  background: var(--auth-dark-card);
  border-color: var(--auth-dark-border);
  color: var(--auth-dark-text);
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(214, 168, 92, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px) saturate(1.08);
  -webkit-backdrop-filter: blur(22px) saturate(1.08);
}

html[data-theme="light"] .auth-action-card {
  background: var(--auth-light-card);
  border-color: var(--auth-light-border);
  color: var(--auth-light-text);
  box-shadow:
    0 28px 90px rgba(36, 28, 18, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(20px) saturate(1.04);
  -webkit-backdrop-filter: blur(20px) saturate(1.04);
}

.auth-card-brand h2,
.auth-action-card strong,
.auth-action-card label {
  color: inherit;
}

.auth-card-brand p,
.auth-action-card p,
.auth-action-card .auth-link,
.auth-action-card .auth-options,
.auth-action-card .auth-field span,
.auth-footer-links a {
  color: var(--auth-dark-muted);
}

html[data-theme="light"] .auth-card-brand p,
html[data-theme="light"] .auth-action-card p,
html[data-theme="light"] .auth-action-card .auth-link,
html[data-theme="light"] .auth-action-card .auth-options,
html[data-theme="light"] .auth-action-card .auth-field span,
html[data-theme="light"] .auth-footer-links a {
  color: var(--auth-light-muted);
}

.auth-action-card .auth-form input:not([type="checkbox"]),
.auth-action-card .auth-form select,
.auth-action-card .auth-form textarea {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.13);
  color: var(--auth-dark-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

html[data-theme="light"] .auth-action-card .auth-form input:not([type="checkbox"]),
html[data-theme="light"] .auth-action-card .auth-form select,
html[data-theme="light"] .auth-action-card .auth-form textarea {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(111, 94, 68, 0.2);
  color: var(--auth-light-text);
}

.auth-action-card .auth-form input:hover,
.auth-action-card .auth-form select:hover,
.auth-action-card .auth-form textarea:hover {
  border-color: rgba(47, 107, 255, 0.42);
}

.auth-action-card .auth-submit {
  background: linear-gradient(135deg, var(--auth-blue), #689cff);
  box-shadow: 0 16px 36px rgba(47, 107, 255, 0.32);
}

.auth-action-card .auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 44px rgba(47, 107, 255, 0.38);
}

.auth-brand-lockup,
.auth-hero-copy {
  filter: drop-shadow(0 14px 38px rgba(0, 0, 0, 0.28));
}

html[data-theme="light"] .auth-brand-lockup,
html[data-theme="light"] .auth-hero-copy {
  filter: drop-shadow(0 14px 32px rgba(36, 28, 18, 0.18));
}

.auth-trust-grid article {
  background: rgba(12, 16, 24, 0.5);
  border-color: rgba(255, 255, 255, 0.14);
}

html[data-theme="light"] .auth-trust-grid article {
  background: rgba(255, 252, 244, 0.42);
  border-color: rgba(255, 255, 255, 0.36);
}

.auth-accordion details,
.auth-workshop-box,
.auth-workshop-fields {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="light"] .auth-accordion details,
html[data-theme="light"] .auth-workshop-box,
html[data-theme="light"] .auth-workshop-fields {
  background: rgba(255, 255, 255, 0.42);
  border-color: rgba(111, 94, 68, 0.15);
}

@media (max-width: 1120px) {
  .auth-split-shell {
    grid-template-columns: 1fr;
  }

  .auth-split-shell::before,
  .auth-split-shell::after {
    background-position: center top;
  }

  .auth-hero-panel {
    min-height: 44vh;
  }

  .auth-action-panel {
    min-height: 56vh;
    background: linear-gradient(180deg, rgba(7, 10, 16, 0.02), rgba(7, 10, 16, 0.42));
  }

  html[data-theme="light"] .auth-action-panel {
    background: linear-gradient(180deg, rgba(255, 250, 241, 0.02), rgba(255, 250, 241, 0.46));
  }
}

@media (max-width: 720px) {
  .auth-split-shell::before,
  .auth-split-shell::after {
    background-position: 42% top;
  }

  .auth-hero-panel {
    min-height: 38vh;
  }

  .auth-action-panel {
    padding-top: 10px;
  }
}

/* ==================================================
   AUTH REGISTER SCALE + PAGE MOTION
   Registrierung bekommt mehr Raum als Login, bleibt aber dieselbe Bühne.
   ================================================== */

@keyframes authHeroEnter {
  from {
    opacity: 0;
    transform: translateX(-18px) scale(0.985);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
  }
}

@keyframes authCardEnter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.975);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.auth-package-v1 .auth-hero-copy,
.auth-package-v1 .auth-trust-grid {
  animation: authHeroEnter 520ms var(--auth-ease) both;
}

.auth-package-v1 .auth-action-card {
  animation: authCardEnter 520ms var(--auth-ease) 90ms both;
  transform-origin: center;
}

.auth-package-v1.auth-leaving .auth-hero-copy,
.auth-package-v1.auth-leaving .auth-trust-grid {
  opacity: 0;
  transform: translateX(-12px) scale(0.99);
  filter: blur(7px);
  transition:
    opacity 180ms var(--auth-ease),
    transform 180ms var(--auth-ease),
    filter 180ms var(--auth-ease);
}

.auth-package-v1.auth-leaving .auth-action-card {
  opacity: 0;
  transform: translateY(12px) scale(0.985);
  filter: blur(8px);
  transition:
    opacity 180ms var(--auth-ease),
    transform 180ms var(--auth-ease),
    filter 180ms var(--auth-ease);
}

.register-auth-page .auth-split-shell {
  grid-template-columns: 1fr;
}

.register-auth-page .auth-hero-panel {
  position: absolute;
  inset: 0;
  width: 100vw;
  min-height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.register-auth-page .auth-hero-copy {
  max-width: 420px;
  opacity: 0.94;
}

.register-auth-page .auth-hero-copy h1 {
  max-width: 10ch;
  font-size: clamp(2.7rem, 3.8vw, 4.8rem);
}

.register-auth-page .auth-hero-copy p {
  max-width: 48ch;
}

.register-auth-page .auth-trust-grid {
  grid-template-columns: 1fr;
  max-width: 420px;
}

.register-auth-page .auth-action-panel {
  width: 100vw;
  grid-template-rows: auto auto 1fr;
  align-items: start;
  padding-inline: clamp(24px, 3vw, 46px);
  padding-block: clamp(18px, 3vh, 34px);
  background:
    linear-gradient(90deg, rgba(255, 250, 241, 0.1), rgba(255, 250, 241, 0.32)),
    radial-gradient(circle at 50% 18%, rgba(47, 107, 255, 0.09), transparent 34%);
  z-index: 1;
}

html[data-theme="dark"] .register-auth-page .auth-action-panel {
  background:
    linear-gradient(90deg, rgba(7, 10, 16, 0.08), rgba(7, 10, 16, 0.42)),
    radial-gradient(circle at 50% 18%, rgba(47, 107, 255, 0.12), transparent 34%);
}

.register-auth-page .auth-action-card {
  width: min(100%, 760px);
  margin-top: clamp(14px, 3vh, 28px);
  padding: clamp(24px, 2.6vw, 36px);
}

.register-auth-page .auth-card-head {
  align-items: center;
}

.register-auth-page .auth-card-brand {
  align-items: center;
}

.register-auth-page .auth-card-brand h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}

.register-auth-page .auth-card-brand p {
  max-width: 44ch;
}

.register-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.register-form .auth-errors,
.register-form .auth-form-grid,
.register-form .auth-terms-check,
.register-form .auth-workshop-box,
.register-form .auth-workshop-fields,
.register-form .auth-submit {
  grid-column: 1 / -1;
}

.register-form .auth-form-grid {
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  gap: 14px 16px;
}

.register-form .auth-field {
  min-width: 0;
}

.register-form .auth-field span {
  min-height: 18px;
  display: inline-flex;
  align-items: end;
}

.register-form .auth-form-grid .auth-field input,
.register-form .auth-workshop-fields .auth-field input {
  width: 100%;
}

.register-form .auth-terms-check {
  align-items: center;
  min-height: 68px;
  padding: 16px 20px;
  border-radius: 22px;
  border: 1px solid rgba(47, 107, 255, 0.2);
  background: rgba(47, 107, 255, 0.055);
  line-height: 1.55;
}

.register-form .auth-terms-check span {
  display: block;
  font-size: 15px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.register-form .auth-workshop-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, auto);
  align-items: center;
  gap: 18px;
  padding: 17px 20px;
  border-radius: 24px;
}

.register-form .auth-workshop-box .auth-check {
  min-width: 0;
  overflow-wrap: anywhere;
}

.register-form .auth-workshop-box p {
  max-width: 42ch;
}

.register-form .auth-workshop-fields {
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  gap: 16px;
  padding: 17px 20px;
  border-radius: 24px;
}

.register-form .auth-workshop-fields .auth-field:last-child:nth-child(odd) {
  grid-column: span 2;
}

.register-form .auth-submit {
  margin-top: 2px;
}

@media (max-width: 1180px) {
  .register-auth-page .auth-split-shell {
    grid-template-columns: 1fr;
  }

  .register-auth-page .auth-hero-panel {
    min-height: 34vh;
  }

  .register-auth-page .auth-trust-grid {
    display: none;
  }

  .register-auth-page .auth-action-card {
    width: min(100%, 820px);
  }
}

@media (max-width: 760px) {
  .register-form .auth-form-grid,
  .register-form .auth-workshop-fields {
    grid-template-columns: 1fr;
  }

  .register-form .auth-workshop-fields .auth-field:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .register-form .auth-workshop-box {
    grid-template-columns: 1fr;
  }

  .register-form .auth-terms-check {
    align-items: flex-start;
  }
}
