/* Registration layout primitives (loaded before the shared auth system). */
.register-page .register-layout {
  width: min(1180px, 100%);
  grid-template-columns: minmax(0, 700px) minmax(340px, 420px);
  justify-content: space-between;
  align-items: start;
  gap: clamp(28px, 5vw, 60px);
}
.register-page .register-wrap { width: 100%; }
.register-page .register-layout.is-preview-hidden {
  grid-template-columns: minmax(0, 920px);
  justify-content: center;
}
.register-page .register-choice-grid {
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.register-page .register-step--intro .register-choice-card {
  min-height: 250px;
  padding: 32px;
  display: grid;
  align-content: center;
  text-align: center;
}
.register-page .register-step--intro .register-choice-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 20px;
  font-size: 1.5rem;
}
.register-page .register-step--intro .register-choice-content { justify-items: center; gap: 10px; }
.register-page .register-step--intro .register-choice-card h3 { font-size: 1.35rem; }
.register-page .register-step--intro .register-choice-card p { max-width: 300px; font-size: 1rem; }
.register-page .register-choice-card[hidden] {
  display: none;
}
.register-page .register-topbar {
  height: 56px;
  border-bottom: 1px solid #ebdce6;
  background: linear-gradient(180deg, #fff 0%, #fdf9fc 100%);
  margin-bottom: 24px;
}
.register-page .register-topbar-inner {
  width: min(1180px, calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.register-page .register-topbar-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}
.register-page .register-topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.register-page .register-login-link {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #dfe3ea;
  border-radius: 10px;
  background: #fff;
  color: #20293a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 600;
  text-decoration: none;
}
.register-page .register-login-link strong { color: #844369; font-weight: 800; }
.register-page .register-login-link:hover { border-color: #cfd5df; background: #fcf8fb; }
.register-page .register-logo-image {
  max-height: 28px;
  max-width: 164px;
  margin: 0;
}
.register-page .register-step-indicator {
  min-height: 32px;
  padding: 0 .88rem;
  border-radius: 999px;
  border: 1px solid #dcb6d1;
  background: #fff7fc;
  color: #7d2f62;
  font-size: .86rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  box-shadow: none;
}
.register-consents { display: none; }
.register-consents.is-visible { display: block; }
.register-consent-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid #ede3ea;
}
.register-consent-row.has-error {
  align-items: start;
}
.register-consent-row:first-child { border-top: 0; padding-top: 2px; }
.register-consent-label { font-size: 14px; line-height: 1.4; color: #2c2f3a; }
.register-consent-row.has-error .register-consent-label { color: #b42318; }
.register-consent-switch { position: relative; width: 52px; height: 32px; display: inline-block; }
.register-consent-switch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.register-consent-switch-track {
  position: absolute; inset: 0; border-radius: 999px; background: #ece3eb;
  border: 1px solid #d8bfd0; transition: .2s ease;
}
.register-consent-switch-track::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px;
  border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.18); transition: .2s ease;
}
.register-consent-switch input:checked + .register-consent-switch-track { background: #9a4f79; border-color: #9a4f79; }
.register-consent-switch input:checked + .register-consent-switch-track::after { transform: translateX(20px); }
.register-consent-switch input.error + .register-consent-switch-track {
  border-color: #d92d20;
  box-shadow: 0 0 0 3px rgba(217, 45, 32, .12);
}
.register-consent-row .register-error {
  grid-column: 1 / -1;
  margin-top: -4px;
  padding-right: 64px;
  font-size: 12px;
  line-height: 1.4;
  color: #b42318;
}
.register-social-step[hidden] {
  display: none;
}
.register-social-step .login-v2-divider {
  margin: 0 0 12px;
}
.register-social-step .auth-social-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.register-social-step .auth-social-btn.is-disabled { grid-column: 1 / -1; }
.register-social-step .auth-social-btn[hidden] { display: none; }
.register-preview-column {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 16px;
}
.register-preview-column[hidden] { display: none; }
.register-page .register-actions.is-single { grid-template-columns: minmax(0, 1fr); }
.register-page .register-terms { margin-bottom: 12px; }
.register-page .register-contact-card { gap: 24px; }
.register-page .register-contact-card .register-row-2 { gap: 20px; }
.register-page .register-contact-card .register-group { gap: 10px; }
.register-account-context {
  display: flex; align-items: center; gap: 12px; min-height: 58px;
  margin-bottom: 24px; padding: 10px 12px; border: 1px solid #eadde6;
  border-radius: 18px; background: linear-gradient(180deg, #fff 0%, #fcf8fb 100%);
}
.register-account-context[hidden] { display: none; }
.register-account-context-icon {
  flex: 0 0 38px; width: 38px; height: 38px; border-radius: 13px;
  display: inline-grid; place-items: center; color: #844369; background: #f7edf4;
  border: 1px solid #ecdbe6; font-size: 17px;
}
.register-account-context-copy { min-width: 0; display: grid; gap: 2px; margin-right: auto; }
.register-account-context-copy small {
  color: #697386; font-size: 11px; line-height: 1.2; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
}
.register-account-context-copy strong { color: #20293a; font-size: 14px; line-height: 1.25; font-weight: 750; }
.register-account-context-change {
  min-height: 34px; padding: 0 12px; border: 1px solid #dfd0da; border-radius: 10px;
  background: #fff; color: #844369; font: inherit; font-size: 13px; font-weight: 750; cursor: pointer;
}
.register-optional-badge {
  display: inline-flex; align-items: center; min-height: 24px; margin-bottom: 10px; padding: 0 9px;
  border: 1px solid #e5d7e1; border-radius: 999px; background: #fcf8fb; color: #844369;
  font-size: 11px; line-height: 1; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}
.register-social-fields { overflow: hidden; border: 1px solid #e1e6ee; border-radius: 18px; background: #fff; }
.register-social-fields summary {
  min-height: 58px; padding: 0 18px; display: flex; align-items: center; gap: 12px;
  color: #243247; font-size: 14px; font-weight: 750; cursor: pointer; list-style: none;
}
.register-social-fields summary::-webkit-details-marker { display: none; }
.register-social-fields summary::before { content: "\f4e6"; font-family: "bootstrap-icons"; color: #844369; font-size: 17px; }
.register-social-fields summary::after {
  content: "\f282"; margin-left: auto; font-family: "bootstrap-icons"; color: #697386;
  transition: transform .18s ease;
}
.register-social-fields[open] summary::after { transform: rotate(180deg); }
.register-social-fields-body {
  display: grid; gap: 18px; padding: 18px; border-top: 1px solid #e7ebf1; background: #fcfdff;
}
.register-contact-privacy {
  display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 14px;
  background: #f7f8fb; color: #697386; font-size: 13px; line-height: 1.45;
}
.register-contact-privacy i { color: #844369; margin-top: 1px; }
.register-business-requirement {
  display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; align-items: start;
  margin-bottom: 20px; padding: 15px 16px; border: 1px solid #ead5e1; border-radius: 17px;
  background: linear-gradient(135deg, #fcf5f9 0%, #fff 100%); color: #334155;
  box-shadow: 0 12px 28px rgba(132, 67, 105, .06);
}
.register-business-requirement[hidden] { display: none; }
.register-business-requirement-icon {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px;
  background: #844369; color: #fff; font-size: 18px; box-shadow: 0 9px 20px rgba(132, 67, 105, .18);
}
.register-business-requirement-copy { display: grid; gap: 4px; }
.register-business-requirement-copy strong { color: #20293a; font-size: 14px; line-height: 1.3; }
.register-business-requirement-copy span { color: #667085; font-size: 12px; line-height: 1.5; }
.register-system-card-preview {
  position: relative;
  width: min(100%, 330px);
  height: 620px;
  margin: 0 auto;
  overflow: visible;
  border: 4px solid #171c25;
  outline: 1px solid rgba(53, 60, 72, .72);
  border-radius: 48px;
  background: #10141d;
  box-shadow:
    0 34px 78px rgba(20, 27, 39, .24),
    0 8px 20px rgba(20, 27, 39, .12),
    inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.register-system-card-preview::before {
  content: "";
  position: absolute;
  z-index: 3;
  left: -8px;
  top: 92px;
  width: 3px;
  height: 28px;
  border-radius: 4px 0 0 4px;
  background: #262c37;
  box-shadow: 0 48px 0 #262c37, 0 92px 0 #262c37;
}
.register-system-card-preview::after {
  content: "";
  position: absolute;
  z-index: 3;
  right: -8px;
  top: 146px;
  width: 3px;
  height: 76px;
  border-radius: 0 4px 4px 0;
  background: #262c37;
}
.register-system-card-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 43px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .10);
}
.register-system-card-screen::before {
  content: "";
  position: absolute;
  z-index: 5;
  top: 10px;
  left: 50%;
  width: 88px;
  height: 27px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #07090d 0%, #11151c 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .07), 0 1px 2px rgba(0, 0, 0, .25);
  pointer-events: none;
}
.register-system-card-screen::after {
  content: "";
  position: absolute;
  z-index: 6;
  top: 19px;
  left: calc(50% + 29px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #101827;
  box-shadow: inset 0 0 0 2px #17233a, 0 0 3px rgba(54, 91, 154, .7);
  pointer-events: none;
}
.register-system-card-preview iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
  pointer-events: none;
}
.register-system-card-home-indicator {
  position: absolute;
  z-index: 7;
  left: 50%;
  bottom: 9px;
  width: 104px;
  height: 4px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: rgba(17, 24, 39, .88);
  box-shadow: 0 1px 2px rgba(255, 255, 255, .36);
  pointer-events: none;
}
@media (max-width: 680px) {
  .register-page .register-choice-grid { grid-template-columns: 1fr; }
  .register-page .register-topbar {
    height: auto;
    padding: 10px 0;
  }
  .register-page .register-topbar-inner {
    flex-wrap: wrap;
    justify-content: center;
  }
  .register-preview-column { gap: 12px; }
  .register-system-card-preview { width: min(100%, 268px); height: 480px; border-width: 4px; border-radius: 40px; }
  .register-system-card-screen { border-radius: 35px; }
  .register-system-card-screen::before { top: 8px; width: 72px; height: 23px; }
  .register-system-card-screen::after { top: 15px; left: calc(50% + 24px); width: 7px; height: 7px; }
  .register-system-card-home-indicator { bottom: 7px; width: 86px; }
}
@media (max-width: 980px) {
  .register-page .register-layout { grid-template-columns: minmax(0, 700px); justify-content: center; }
  .register-preview-column { display: none; }
}
@media (max-width: 560px) {
  .register-page .register-topbar-inner { width: min(100% - 24px, 1180px); }
  .register-page .register-topbar-actions { width: 100%; justify-content: space-between; }
  .register-page .register-login-link { padding: 0 10px; }
  .register-account-context { margin-bottom: 20px; }
  .register-account-context-change { padding: 0 10px; }
  .register-social-step .auth-social-list { grid-template-columns: 1fr; }
}

:root {
    --auth-ink: #181319;
    --auth-muted: #746b73;
    --auth-brand: #86164f;
    --auth-brand-dark: #64113d;
    --auth-line: #eadfe6;
    --auth-soft: #faf5f8;
    --auth-success: #17865f;
    --auth-error: #b42318;
}

body.auth-v2-page,
body.auth-v2-register {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at 50% 34%, rgba(134, 22, 79, .055), transparent 34%), #faf7f9;
    color: var(--auth-ink);

    -webkit-font-smoothing: antialiased;
}

.auth-v2-page *,
.auth-v2-register * {
    box-sizing: border-box;
}

.auth-v2-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(480px, .88fr) minmax(560px, 1.12fr);
    background: #fff;
}

.auth-v2-main {
    min-width: 0;
    min-height: 100vh;
    padding: 28px clamp(32px, 5vw, 84px) 42px;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at 15% 90%, rgba(134, 22, 79, .055), transparent 28%),
        #fff;
}

.auth-v2-topbar {
    width: 100%;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.auth-v2-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.auth-v2-brand img {
    display: block;
    width: auto;
    max-width: 150px;
    max-height: 40px;
    object-fit: contain;
    object-position: left center;
}

.auth-v2-language {
    display: inline-flex;
    align-items: center;
    padding: 4px;
    border: 1px solid var(--auth-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .9);
}

.auth-v2-language a {
    min-width: 40px;
    height: 32px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #776d74;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    text-decoration: none;
}

.auth-v2-language a.is-active {
    background: var(--auth-brand);
    color: #fff;
    box-shadow: 0 7px 18px rgba(134, 22, 79, .18);
}

.auth-v2-panel {
    width: min(100%, 480px);
    margin: auto;
    padding: 54px 0 26px;
}

.auth-v2-panel--compact {
    width: min(100%, 500px);
}

.auth-v2-eyebrow {
    width: fit-content;
    min-height: 32px;
    margin-bottom: 18px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid #ead5e1;
    border-radius: 999px;
    background: #fff7fb;
    color: var(--auth-brand);
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.auth-v2-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 20px;
    display: grid;
    place-items: center;
    border: 1px solid #ead5e1;
    border-radius: 18px;
    background: linear-gradient(145deg, #fff 0%, #f7e9f1 100%);
    color: var(--auth-brand);
    font-size: 23px;
    box-shadow: 0 12px 28px rgba(134, 22, 79, .08);
}

.auth-v2-head h1 {
    margin: 0;
    max-width: 540px;
    color: var(--auth-ink);
    font-size: clamp(38px, 4.2vw, 56px);
    line-height: .98;
    font-weight: 850;
    letter-spacing: -.06em;
}

.auth-v2-head p {
    max-width: 460px;
    margin: 18px 0 32px;
    color: var(--auth-muted);
    font-size: 16px;
    line-height: 1.6;
}

body.auth-v2-page .auth-v2-back {
    width: fit-content;
    margin-bottom: 34px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--auth-brand);
    font-size: 15px;
    font-weight: 750;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

body.auth-v2-page .auth-v2-back:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.auth-v2-back--footer {
    margin: 20px auto 0;
}

.auth-v2-page--forgot .auth-v2-shell {
    grid-template-columns: minmax(0, 1fr);
    background: transparent;
}

.auth-v2-page--forgot .auth-v2-main {
    min-height: calc(100vh - 77px);
    padding: 42px 24px;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.auth-v2-page--forgot .auth-v2-panel--compact {
    width: min(100%, 460px);
    margin: 0;
    padding: 42px;
    border: 1px solid var(--auth-line);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(62, 34, 49, .08);
}

.auth-v2-page--forgot .auth-v2-head {
    text-align: center;
}

.auth-v2-page--forgot .auth-v2-head h1 {
    max-width: none;
    font-size: 38px;
    line-height: 1.05;
}

.auth-v2-page--forgot .auth-v2-head p {
    max-width: 360px;
    margin: 12px auto 26px;
    font-size: 15px;
    line-height: 1.55;
}

.auth-v2-page--forgot .auth-v2-field input {
    font-size: 15px;
    font-weight: 500;
}

.auth-v2-form {
    display: grid;
    gap: 18px;
}

.auth-v2-field {
    display: grid;
    gap: 8px;
}

.auth-v2-field > span {
    color: #332b31;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 750;
}

.auth-v2-field input {
    width: 100%;
    height: 56px;
    padding: 0 17px;
    border: 1px solid #dfd4db;
    border-radius: 15px;
    background: #fff;
    color: var(--auth-ink);
    font: inherit;
    font-size: 16px;
    outline: 0;
    box-shadow: 0 1px 0 rgba(24, 19, 25, .02);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.auth-v2-field input::placeholder {
    color: #aca3a9;
}

.auth-v2-field input:focus {
    border-color: var(--auth-brand);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(134, 22, 79, .09);
}

.auth-v2-password {
    position: relative;
}

.auth-v2-password input {
    padding-right: 92px;
}

.auth-v2-password button {
    position: absolute;
    top: 50%;
    right: 10px;
    min-width: 66px;
    height: 36px;
    padding: 0 11px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 10px;
    background: #f6eaf1;
    color: var(--auth-brand);
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.auth-v2-row {
    margin: -2px 0 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    font-size: 16px;
}

body.auth-v2-page .auth-v2-row a,
body.auth-v2-page .auth-v2-meta a {
    color: var(--auth-brand);
    font-weight: 750;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

body.auth-v2-page .auth-v2-row a:hover,
body.auth-v2-page .auth-v2-meta a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.auth-v2-check {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #5f555d;
}

.auth-v2-check input {
    width: 18px;
    height: 18px;
    accent-color: var(--auth-brand);
}

.auth-v2-submit {
    width: 100%;
    height: 56px;
    margin-top: 2px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    border-radius: 15px;
    background: var(--auth-brand);
    color: #fff;
    font: inherit;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 15px 32px rgba(134, 22, 79, .2);
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.auth-v2-submit:hover {
    background: var(--auth-brand-dark);
    transform: translateY(-1px);
    box-shadow: 0 18px 38px rgba(100, 17, 61, .24);
}

.auth-v2-submit i {
    font-size: 18px;
}

.auth-v2-feedback {
    margin: -10px 0 20px;
    padding: 13px 15px;
    border-radius: 13px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 650;
}

.auth-v2-feedback--success {
    border: 1px solid #c9e8db;
    background: #effaf5;
    color: #116a4b;
}

.auth-v2-feedback--error {
    border: 1px solid #f2c9c5;
    background: #fff4f3;
    color: var(--auth-error);
}

.auth-v2-meta {
    margin: 24px 0 0;
    text-align: center;
    color: #766c74;
    font-size: 16px;
    line-height: 1.5;
}

.auth-v2-page .auth-version {
    margin: 14px 0 0;
    color: #b0a7ad;
    text-align: center;
    font-size: 11px;
}

.auth-v2-page .auth-social-block,
.auth-v2-register .auth-social-block {
    margin-top: 0;
}

.auth-v2-page .login-v2-divider,
.auth-v2-register .login-v2-divider {
    position: relative;
    margin: 24px 0 16px;
    color: #9d9399;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
}

.auth-v2-page .login-v2-divider::before,
.auth-v2-register .login-v2-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 1px;
    background: var(--auth-line);
}

.auth-v2-page .login-v2-divider span,
.auth-v2-register .login-v2-divider span {
    position: relative;
    z-index: 1;
    padding: 0 12px;
    background: #fff;
}

.auth-v2-page .auth-social-list,
.auth-v2-register .auth-social-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.auth-v2-page .auth-social-btn,
.auth-v2-register .auth-social-btn {
    position: relative;
    min-height: 50px;
    padding: 9px 13px;
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid #e2d8de;
    border-radius: 14px;
    background: #fff;
    color: #2b2529;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.auth-v2-page .auth-social-btn:hover,
.auth-v2-register .auth-social-btn:hover {
    border-color: #d5b7c8;
    background: #fffafd;
    transform: translateY(-1px);
}

.auth-v2-page .auth-social-btn-icon,
.auth-v2-register .auth-social-btn-icon {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #f8eef4;
    color: var(--auth-brand);
    font-size: 15px;
}

.auth-v2-page .auth-social-btn-copy,
.auth-v2-register .auth-social-btn-copy {
    min-width: 0;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.auth-v2-page .auth-social-btn-copy strong,
.auth-v2-register .auth-social-btn-copy strong {
    font-size: 14px;
    line-height: 1.25;
}

.auth-v2-page .auth-social-btn.is-disabled,
.auth-v2-register .auth-social-btn.is-disabled {
    grid-column: 1 / -1;
    cursor: not-allowed;
    pointer-events: none;
    background: #faf7f9;
    color: #756770;
    opacity: .78;
}

.auth-v2-page .auth-social-btn-note,
.auth-v2-register .auth-social-btn-note {
    color: #93858e;
    font-size: 10px;
    line-height: 1.3;
    font-weight: 650;
}

.auth-v2-page .auth-social-btn-badge,
.auth-v2-register .auth-social-btn-badge {
    width: auto;
    margin-left: auto;
    padding: 4px 8px;
    border: 1px solid #eadde5;
    border-radius: 999px;
    background: #fff;
    color: #9b8d95;
    font-size: 9px;
    line-height: 1;
    font-weight: 800;
}

.auth-v2-art {
    position: relative;
    min-width: 0;
    min-height: calc(100vh - 28px);
    margin: 14px 14px 14px 0;
    overflow: hidden;
    border-radius: 34px;
    background:
        radial-gradient(circle at 72% 24%, rgba(213, 93, 153, .42), transparent 31%),
        radial-gradient(circle at 20% 78%, rgba(129, 33, 81, .7), transparent 35%),
        linear-gradient(145deg, #1a1419 0%, #3c1028 48%, #721345 100%);
    color: #fff;
    isolation: isolate;
}

.auth-v2-art::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 100%);
}

.auth-v2-art-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}

.auth-v2-art-glow--one {
    top: -12%;
    right: -10%;
    width: 48%;
    aspect-ratio: 1;
    background: rgba(255, 207, 231, .18);
}

.auth-v2-art-glow--two {
    bottom: -20%;
    left: 2%;
    width: 55%;
    aspect-ratio: 1;
    background: rgba(255, 154, 205, .12);
}

.auth-v2-art-copy {
    position: absolute;
    top: clamp(48px, 8vh, 92px);
    left: clamp(38px, 5vw, 76px);
    z-index: 5;
    width: min(620px, calc(100% - 80px));
}

.auth-v2-art-copy > span {
    color: #efadcc;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 850;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.auth-v2-art-copy h2 {
    max-width: 620px;
    margin: 18px 0 14px;
    color: #fff;
    font-size: clamp(44px, 5vw, 78px);
    line-height: .95;
    font-weight: 850;
    letter-spacing: -.065em;
}

.auth-v2-art-copy p {
    max-width: 520px;
    margin: 0;
    color: rgba(255, 255, 255, .68);
    font-size: 16px;
    line-height: 1.58;
}

.auth-v2-collage {
    position: absolute;
    right: clamp(28px, 6vw, 88px);
    bottom: clamp(48px, 7vh, 86px);
    width: min(620px, 74%);
    height: min(440px, 48vh);
}

.auth-v2-collage::before {
    content: "";
    position: absolute;
    inset: 12% 4% 0 2%;
    border-radius: 50%;
    background: rgba(255, 205, 229, .25);
    filter: blur(72px);
}

.auth-v2-profile-card {
    position: absolute;
    right: 4%;
    bottom: 2%;
    width: min(430px, 82%);
    min-height: 270px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 30px;
    background: rgba(255, 255, 255, .93);
    color: var(--auth-ink);
    box-shadow: 0 32px 80px rgba(14, 5, 10, .34);
    transform: rotate(3deg);
    backdrop-filter: blur(18px);
}

.auth-v2-profile-top {
    display: flex;
    align-items: center;
    gap: 16px;
}

.auth-v2-profile-avatar {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 19px;
    background: linear-gradient(145deg, #86164f, #3f0d27);
    color: #fff;
    font-size: 15px;
    font-weight: 850;
}

.auth-v2-profile-top > span:last-child {
    display: grid;
    gap: 5px;
}

.auth-v2-profile-top strong {
    font-size: 18px;
    line-height: 1.2;
}

.auth-v2-profile-top small,
.auth-v2-float-card small {
    color: #8a7f87;
    font-size: 13px;
    line-height: 1.35;
}

.auth-v2-profile-line {
    margin-top: 30px;
    padding: 16px 0;
    display: flex;
    align-items: center;
    gap: 11px;
    border-top: 1px solid #eee4ea;
    border-bottom: 1px solid #eee4ea;
    color: #5e535a;
    font-size: 14px;
    font-weight: 700;
}

.auth-v2-profile-line i {
    color: var(--auth-brand);
    font-size: 18px;
}

.auth-v2-profile-actions {
    margin-top: 20px;
    display: flex;
    gap: 9px;
}

.auth-v2-profile-actions span {
    padding: 8px 12px;
    border-radius: 999px;
    background: #f6eaf1;
    color: var(--auth-brand);
    font-size: 11px;
    font-weight: 850;
}

.auth-v2-float-card {
    position: absolute;
    z-index: 4;
    min-height: 82px;
    padding: 15px 18px;
    display: flex;
    align-items: center;
    gap: 13px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 22px;
    background: rgba(255, 255, 255, .94);
    color: var(--auth-ink);
    box-shadow: 0 24px 60px rgba(12, 4, 9, .26);
    backdrop-filter: blur(16px);
}

.auth-v2-float-card > span:nth-child(2) {
    display: grid;
    gap: 4px;
}

.auth-v2-float-card strong {
    font-size: 15px;
    line-height: 1.25;
}

.auth-v2-float-card--contact {
    top: 5%;
    right: -5%;
    width: 260px;
    transform: rotate(-3deg);
}

.auth-v2-float-card--followup {
    left: -5%;
    bottom: 8%;
    width: 300px;
    transform: rotate(-2deg);
}

.auth-v2-float-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--auth-brand);
    color: #fff;
    font-size: 20px;
}

.auth-v2-status-dot {
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #41c58d;
    box-shadow: 0 0 0 8px #e8f8f1;
}

.auth-v2-float-arrow {
    margin-left: auto;
    color: var(--auth-brand);
    font-size: 18px;
}

.auth-v2-collage-label {
    position: absolute;
    top: 33%;
    left: -2%;
    z-index: 3;
    padding: 10px 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    background: rgba(35, 12, 25, .6);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(12px);
}

/* Registration wizard base. It is intentionally self-contained so the public
   registration flow does not depend on the legacy site stylesheet. */
.auth-v2-register {
    --brand: var(--auth-brand);
    --ink: var(--auth-ink);
    --muted: var(--auth-muted);
    --line: var(--auth-line);
    overflow-x: hidden;
}

.auth-v2-register button,
.auth-v2-register input,
.auth-v2-register textarea,
.auth-v2-register select {

}

.auth-v2-register button[hidden],
.auth-v2-register [hidden] {
    display: none;
}

.v2-auth-product-header .v2-nav-actions {
    display: flex;
    gap: 18px;
}

.v2-auth-product-header .v2-logo {
    width: 142px;
    height: 48px;
    overflow: visible;
    display: flex;
    align-items: center;
}

.v2-auth-product-header .v2-logo img {
    display: block;
    width: 142px;
    height: auto;
    max-width: 100%;
    max-height: 42px;
    object-fit: contain;
    object-position: left center;
}

.v2-register-header .v2-register-progress {
    position: absolute;
    left: 50%;
    min-height: 34px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    color: var(--auth-brand);
    font-size: 11px;
    font-weight: 800;
    transform: translateX(-50%);
}

.v2-register-header .v2-register-progress::before {
    width: 7px;
    height: 7px;
    margin-right: 8px;
    border-radius: 50%;
    content: '';
    background: var(--auth-brand);
    box-shadow: 0 0 0 5px rgba(134, 22, 79, .09);
}

.v2-auth-product-header .v2-text-link {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
}

.auth-v2-page--login .auth-v2-shell,
.auth-v2-page--login .auth-v2-main,
.auth-v2-page--login .auth-v2-art,
.auth-v2-page--forgot .auth-v2-shell,
.auth-v2-page--forgot .auth-v2-main,
.auth-v2-page--forgot .auth-v2-art,
.auth-v2-page--reset .auth-v2-shell,
.auth-v2-page--reset .auth-v2-main,
.auth-v2-page--reset .auth-v2-art {
    min-height: calc(100vh - 77px);
}

.auth-v2-register .register-main {
    display: flex;
    align-items: stretch;
    justify-content: center;
    color: var(--auth-ink);
}

.auth-v2-register .register-layout {
    margin: 0 auto;
    display: grid;
    align-items: start;
}

.auth-v2-register .register-wrap {
    width: 100%;
    min-width: 0;
}

.auth-v2-register .register-form {
    position: relative;
}

.auth-v2-register .register-loading {
    position: absolute;
    inset: -18px;
    z-index: 20;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 28px;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(12px);
    color: var(--auth-ink);
    font-size: 14px;
    font-weight: 750;
}

.auth-v2-register .register-loading:not([hidden]) {
    display: flex;
}

.auth-v2-register .register-loading-spinner {
    width: 23px;
    height: 23px;
    border: 3px solid #ead8e2;
    border-top-color: var(--auth-brand);
    border-radius: 50%;
    animation: authRegisterSpin .8s linear infinite;
}

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

.auth-v2-register .register-step {
    display: none;
}

.auth-v2-register .register-step.is-active {
    display: block;
}

.auth-v2-register .register-step--intro.is-active {
    display: grid;
    gap: 22px;
}

.auth-v2-register .register-head {
    max-width: 650px;
    margin: 0 0 28px;
    text-align: left;
}

.auth-v2-register .register-head--intro {
    margin-bottom: 0;
}

.auth-v2-register .register-title {
    margin: 0;
}

.auth-v2-register .register-subtitle {
    max-width: 540px;
}

.auth-v2-register .register-choice-grid {
    display: grid;
}

.auth-v2-register .register-choice-card {
    appearance: none;
    position: relative;
    padding: 24px;
    border: 1px solid var(--auth-line);
    border-radius: 22px;
    background: rgba(255, 255, 255, .92);
    text-align: left;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}

.auth-v2-register .register-choice-content {
    display: grid;
    gap: 7px;
}

.auth-v2-register .register-choice-card h3,
.auth-v2-register .register-choice-card p {
    margin: 0;
}

.auth-v2-register .register-choice-card h3 {
    color: var(--auth-ink);
    line-height: 1.2;
    font-weight: 800;
}

.auth-v2-register .register-choice-card p {
    color: var(--auth-muted);
    line-height: 1.55;
}

.auth-v2-register .register-card {
    padding: 28px;
    display: grid;
    gap: 20px;
    border: 1px solid var(--auth-line);
    border-radius: 24px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 18px 48px rgba(55, 24, 41, .055);
}

.auth-v2-register .register-consents {
    display: none;
}

.auth-v2-register .register-consents.is-visible {
    display: block;
}

.auth-v2-register .register-row-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.auth-v2-register .register-group {
    display: grid;
    gap: 8px;
}

.auth-v2-register .register-group > small {
    color: var(--auth-muted);
    font-size: 11px;
    line-height: 1.5;
}

.auth-v2-register .register-optional {
    margin-left: 5px;
    color: var(--auth-muted);
    font-size: 11px;
    font-weight: 600;
}

.auth-v2-register .register-partner-code-group {
    padding-top: 4px;
}

.auth-v2-register .register-partner-code-input {
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 750;
}

.auth-v2-register .register-partner-offer {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 4px;
    padding: 15px 16px;
    border: 1px solid #dfc0d1;
    border-radius: 15px;
    background: linear-gradient(135deg, #fff8fc 0%, #f8edf4 100%);
    color: var(--auth-ink);
}

.auth-v2-register .register-partner-offer-icon {
    display: grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 11px;
    background: var(--auth-brand);
    color: #fff;
    font-size: 16px;
}

.auth-v2-register .register-partner-offer-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
    font-size: 12px;
    line-height: 1.45;
}

.auth-v2-register .register-partner-offer-copy strong {
    font-size: 13px;
    font-weight: 800;
}

.auth-v2-register .register-partner-offer-copy span::before {
    content: '\2713';
    margin-right: 7px;
    color: var(--auth-brand);
    font-weight: 900;
}

.auth-v2-register .required {
    color: var(--auth-brand);
}

.auth-v2-register .register-input,
.auth-v2-register .register-country {
    width: 100%;
    padding: 0 17px;
    border: 1px solid #dfd4db;
    border-radius: 14px;
    background: #fff;
    outline: 0;
    color: var(--auth-ink);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.auth-v2-register .register-input::placeholder,
.auth-v2-register .register-country::placeholder {
    color: #aaa0a7;
}

.auth-v2-register .register-input.error,
.auth-v2-register .register-country.error {
    border-color: var(--auth-error);
}

.auth-v2-register .register-error {
    display: block;
    margin-top: 4px;
    color: var(--auth-error);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
}

.auth-v2-register .register-password-wrap {
    position: relative;
}

.auth-v2-register .register-password-input {
    padding-right: 82px;
}

.auth-v2-register .register-password-toggle {
    position: absolute;
    top: 50%;
    right: 9px;
    min-width: 62px;
    height: 38px;
    padding: 0 12px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 11px;
    color: var(--auth-brand);
    background: #f7eaf1;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.auth-v2-register .register-password-rules {
    margin: 2px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 14px;
    list-style: none;
}

.auth-v2-register .register-password-rule {
    position: relative;
    padding-left: 17px;
    color: var(--auth-muted);
    font-size: 11px;
    line-height: 1.45;
}

.auth-v2-register .register-password-rule::before {
    position: absolute;
    left: 0;
    content: '•';
    color: #c8bec4;
}

.auth-v2-register .register-password-rule.is-valid {
    color: var(--auth-success);
}

.auth-v2-register .register-password-rule.is-valid::before {
    content: '✓';
    color: var(--auth-success);
    font-weight: 800;
}

.auth-v2-register .register-input-file {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.auth-v2-register .register-upload {
    display: grid;
    gap: 9px;
}

.auth-v2-register .register-upload-box {
    min-height: 94px;
    padding: 17px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 15px;
    border: 1px dashed #d6b9c9;
    border-radius: 19px;
    background: #fdf9fb;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.auth-v2-register .register-upload-box:hover {
    border-color: var(--auth-brand);
    background: #fff7fb;
    transform: translateY(-1px);
}

.auth-v2-register .register-upload-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: var(--auth-brand);
    background: #f4e4ed;
    font-size: 20px;
}

.auth-v2-register .register-upload-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.auth-v2-register .register-upload-copy strong {
    color: var(--auth-ink);
    font-size: 13px;
}

.auth-v2-register .register-upload-copy span,
.auth-v2-register .register-upload-file {
    color: var(--auth-muted);
    font-size: 11px;
    line-height: 1.45;
}

.auth-v2-register .register-upload-action {
    min-height: 38px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    border: 1px solid #ead9e2;
    border-radius: 11px;
    color: var(--auth-brand);
    background: #fff;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.auth-v2-register .register-checkbox-inline {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.auth-v2-register .register-checkbox-card {
    width: fit-content;
    margin-top: 2px;
    padding: 9px 12px;
    border: 1px solid #e2d7dd;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
}

.auth-v2-register .register-checkbox-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.auth-v2-register .register-checkbox-indicator {
    width: 18px;
    height: 18px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid #cdbfc6;
    border-radius: 6px;
    background: #fff;
}

.auth-v2-register .register-checkbox-indicator::after {
    width: 8px;
    height: 4px;
    border-bottom: 2px solid #fff;
    border-left: 2px solid #fff;
    content: '';
    opacity: 0;
    transform: rotate(-45deg) translateY(-1px);
}

.auth-v2-register .register-checkbox-input:checked + .register-checkbox-indicator {
    border-color: var(--auth-brand);
    background: var(--auth-brand);
}

.auth-v2-register .register-checkbox-input:checked + .register-checkbox-indicator::after {
    opacity: 1;
}

.auth-v2-register .register-checkbox-text {
    color: #40373d;
    font-size: 12px;
    font-weight: 650;
}

.auth-v2-register .register-actions {
    margin-top: 22px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.auth-v2-register .register-actions.is-single {
    grid-template-columns: 1fr;
}

.auth-v2-register .register-btn {
    min-height: 54px;
    padding: 0 24px;
    border: 0;
    border-radius: 14px;
    color: #fff;
    background: var(--auth-brand);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(134, 22, 79, .17);
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.auth-v2-register .register-btn:hover {
    background: var(--auth-brand-dark);
    box-shadow: 0 17px 35px rgba(134, 22, 79, .22);
    transform: translateY(-1px);
}

.auth-v2-register .register-btn-secondary {
    border: 1px solid var(--auth-line);
    color: #4a4147;
    background: #fff;
    box-shadow: none;
}

.auth-v2-register .register-feedback {
    margin: 0 0 18px;
    padding: 13px 15px;
    border: 1px solid #f0c7c3;
    border-radius: 14px;
    color: #9d3027;
    background: #fff6f5;
    font-size: 12px;
    line-height: 1.5;
}

.auth-v2-register .register-feedback ul {
    margin: 0;
    padding-left: 18px;
}

.auth-v2-register .register-feedback--success {
    display: grid;
    gap: 4px;
    border-color: #b9e3cb;
    color: #17663b;
    background: #f1fbf5;
}

.auth-v2-register .register-terms {
    max-width: 590px;
    margin: 16px auto 0;
    color: var(--auth-muted);
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
}

body.auth-v2-register .register-terms a {
    color: var(--auth-brand);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.auth-v2-register .register-version-under-form {
    margin: 12px 0 0;
    color: #a3989f;
    font-size: 9px;
    text-align: center;
}

.auth-v2-register .register-social-step {
    margin-top: 18px;
}

/* Registration keeps its tested wizard logic, but shares the new auth surface. */
.auth-v2-register .register-topbar {
    height: 76px;
    margin: 0;
    border-bottom: 1px solid var(--auth-line);
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(18px);
}

.auth-v2-register .register-topbar-inner {
    width: min(1240px, calc(100% - 48px));
}

.auth-v2-register .register-topbar-actions {
    gap: 12px;
}

.auth-v2-register .register-logo-image {
    max-height: 30px;
}

.auth-v2-register .register-login-link {
    min-height: 42px;
    padding: 0 16px;
    border-color: var(--auth-line);
    border-radius: 13px;
    color: #5f555d;
    font-size: 13px;
}

.auth-v2-register .register-login-link strong {
    color: var(--auth-brand);
}

.auth-v2-register .register-step-indicator {
    min-height: 42px;
    padding: 0 15px;
    border-color: #ead5e1;
    background: #fff7fb;
    color: var(--auth-brand);
    font-size: 12px;
}

.auth-v2-register .register-main {
    min-height: calc(100vh - 76px);
    padding: 58px 24px 82px;
    background: transparent;
}

.auth-v2-register .register-layout {
    width: min(1240px, 100%);
    grid-template-columns: minmax(0, 680px) minmax(330px, 430px);
    justify-content: space-between;
    gap: clamp(42px, 7vw, 100px);
}

.auth-v2-register .register-form {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.auth-v2-register .register-title {
    color: var(--auth-ink);
    font-size: clamp(38px, 4.1vw, 56px);
    line-height: .98;
    letter-spacing: -.06em;
    font-weight: 850;
}

.auth-v2-register .register-subtitle {
    margin: 15px 0 0;
    color: var(--auth-muted);
    font-size: 15px;
    line-height: 1.6;
}

.auth-v2-register .register-choice-card {
    min-height: 220px;
    border-color: var(--auth-line);
    border-radius: 24px;
    box-shadow: 0 14px 34px rgba(73, 25, 50, .045);
}

.auth-v2-register .register-choice-card:hover,
.auth-v2-register .register-choice-card[aria-pressed="true"] {
    border-color: #c993b0;
    box-shadow: 0 20px 42px rgba(134, 22, 79, .1);
}

.auth-v2-register .register-choice-icon {
    background: #f7eaf1;
    color: var(--auth-brand);
}

.auth-v2-register .register-label {
    color: #332b31;
    font-size: 13px;
    font-weight: 750;
}

.auth-v2-register .register-input,
.auth-v2-register .register-country {
    min-height: 54px;
    border-color: #dfd4db;
    border-radius: 14px;
    background: #fff;
    font-size: 15px;
}

.auth-v2-register .register-input:focus,
.auth-v2-register .register-country:focus {
    border-color: var(--auth-brand);
    box-shadow: 0 0 0 4px rgba(134, 22, 79, .09);
}

.auth-v2-register .register-actions button {
    min-height: 52px;
    border-radius: 14px;
}

.auth-v2-register .register-preview-column {
    position: sticky;
    top: 105px;
    min-height: 650px;
    place-items: center;
    isolation: isolate;
}

.auth-v2-register .register-preview-column::before {
    display: none;
}

.auth-v2-register .register-system-card-preview {
    width: min(100%, 304px);
    height: 580px;
    transform: none;
    box-shadow: none;
}

.auth-v2-register .register-next,
.auth-v2-register .register-submit {
    background: var(--auth-brand);
    box-shadow: 0 14px 28px rgba(134, 22, 79, .17);
}

@media (max-width: 1180px) {
    .auth-v2-shell {
        grid-template-columns: minmax(440px, .9fr) minmax(500px, 1.1fr);
    }

    .auth-v2-art-copy h2 {
        font-size: clamp(40px, 5vw, 62px);
    }

    .auth-v2-collage {
        width: 82%;
    }
}

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

    .auth-v2-art {
        display: none;
    }

    .auth-v2-main {
        min-height: 100vh;
        padding: 24px clamp(22px, 7vw, 72px) 42px;
    }

    .auth-v2-panel {
        width: min(100%, 560px);
        padding-top: 70px;
    }

    .auth-v2-head h1 {
        font-size: clamp(38px, 7vw, 54px);
    }
}

@media (max-width: 980px) {
    .auth-v2-register .register-layout,
    .auth-v2-register .register-layout.is-preview-hidden {
        width: min(680px, 100%);
        grid-template-columns: minmax(0, 1fr);
        justify-content: center;
        gap: 0;
    }

    .auth-v2-register .register-preview-column {
        display: none;
    }
}

@media (max-width: 620px) {
    .auth-v2-page--forgot .auth-v2-main {
        padding: 26px 16px;
    }

    .auth-v2-page--forgot .auth-v2-panel--compact {
        padding: 30px 22px;
        border-radius: 22px;
    }

    .auth-v2-page--forgot .auth-v2-head h1 {
        font-size: 34px;
    }

    .auth-v2-main {
        padding: 18px 18px 34px;
    }

    .auth-v2-topbar {
        min-height: 42px;
    }

    .auth-v2-brand img {
        max-width: 128px;
        max-height: 27px;
    }

    .auth-v2-language a {
        min-width: 36px;
        height: 30px;
    }

    .auth-v2-panel {
        padding-top: 52px;
    }

    .auth-v2-head h1 {
        font-size: 38px;
    }

    .auth-v2-head p {
        margin: 14px 0 26px;
        font-size: 15px;
        line-height: 1.55;
    }

    .auth-v2-field input,
    .auth-v2-submit {
        height: 54px;
    }

    .auth-v2-row {
        align-items: flex-start;
    }

    .auth-v2-page .auth-social-list,
    .auth-v2-register .auth-social-list {
        grid-template-columns: 1fr;
    }

    .auth-v2-page .auth-social-btn.is-disabled,
    .auth-v2-register .auth-social-btn.is-disabled {
        grid-column: auto;
    }

    .auth-v2-register .register-topbar {
        height: auto;
        padding: 12px 0;
    }

    .auth-v2-register .register-topbar-inner {
        width: min(100% - 28px, 1240px);
    }

    .auth-v2-register .register-topbar-actions {
        width: auto;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .auth-v2-register .register-login-link {
        order: 3;
        width: 100%;
    }

    .auth-v2-register .register-main {
        padding: 24px 14px 44px;
    }

    .auth-v2-register .register-form {
        padding: 0;
        border-radius: 0;
    }

    .auth-v2-register .register-wrap,
    .auth-v2-register .register-form,
    .auth-v2-register .register-step,
    .auth-v2-register .register-card,
    .auth-v2-register .register-social-step,
    .auth-v2-register .register-actions {
        width: 100%;
        min-width: 0;
    }

    .auth-v2-register .register-account-context {
        width: 100%;
        min-width: 0;
        grid-template-columns: 38px minmax(0, 1fr) auto;
        display: grid;
    }

    .auth-v2-register .register-account-context-copy strong,
    .auth-v2-register .register-account-context-copy small {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .auth-v2-register .register-title {
        font-size: 32px;
    }

    .auth-v2-register .register-head {
        max-width: none;
        margin-bottom: 24px;
    }

    .auth-v2-register .register-subtitle {
        max-width: none;
        font-size: 14px;
    }

    .auth-v2-register .register-card {
        padding: 22px 18px;
        border-radius: 20px;
    }

    .auth-v2-register .register-row-2,
    .auth-v2-register .register-password-rules {
        grid-template-columns: 1fr;
    }

    .auth-v2-register .register-upload-box {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .auth-v2-register .register-upload-action {
        grid-column: 1 / -1;
        justify-content: center;
    }

    .auth-v2-register .register-actions {
        grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
    }

    .auth-v2-register .register-btn {
        min-width: 0;
        padding-inline: 16px;
    }

    .v2-register-header .v2-nav {
        min-height: 102px;
        padding: 12px 0 8px;
        align-content: center;
        flex-wrap: wrap;
    }

    .v2-register-header .v2-nav-actions {
        gap: 10px;
    }

    .v2-register-header .v2-register-progress {
        position: relative;
        left: auto;
        width: 100%;
        min-height: 26px;
        padding: 5px 0 0;
        justify-content: center;
        order: 3;
        border-top: 1px solid var(--auth-line);
        transform: none;
    }
}
.auth-v2-page--qrmenu .auth-v2-submit{background:#167d5a}.auth-v2-page--qrmenu .auth-v2-field input:focus{border-color:#167d5a;box-shadow:0 0 0 3px rgba(22,125,90,.12)}
