@import url("tokens.ac3fac35b4d1.css");

html,
body {
    min-height: 100%;
}

html {
    scrollbar-gutter: stable;
}

body {
    margin: 0;
    background-color: var(--wj-bg);
    overflow-x: hidden;
}

.auth,
.reg-complete {
    font-family: var(--wj-font);
    font-size: .9375rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--wj-muted);
}

.reg-complete {
    display: flex;
    justify-content: center;
    padding: 1.25rem 0 2.5rem;
    overflow: visible;
}

.auth {
    display: grid;
    grid-template-columns: minmax(1.25rem, 18%) minmax(0, 1fr) minmax(1.25rem, 18%);
    min-height: 100vh;
}

.auth-frame {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.auth-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 auto;
    height: 4rem;
    padding: 0 2rem;
    background-color: transparent;
}

.auth-panel {
    display: block;
    flex: 1 1 auto;
    width: 100%;
    padding: 2.75rem 2rem 2.5rem;
}

.auth-card {
    position: relative;
    width: min(30rem, 100%);
    margin: 0 auto;
    padding: 2rem 2rem 1.6rem;
    border: 1px solid var(--wj-line);
    border-radius: 1rem;
    background-color: var(--wj-surface);
    box-shadow: none;
}

.reg-complete .auth-card {
    width: min(30rem, 100%);
    overflow: visible;
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: .35em;
    text-decoration: none;
    font-size: 1.25rem;
}

.auth-logo-mark {
    display: block;
    width: auto;
    height: 1.05rem;
    height: 1.15cap;
    border-radius: .12em;
    object-fit: contain;
}

.auth-logo-text {
    color: var(--wj-ink);
    font-size: 1rem;
    font-weight: var(--wj-font-weight-strong);
    letter-spacing: -.02em;
    line-height: 1;
}

.auth-logo:hover .auth-logo-text {
    color: var(--wj-accent);
}

.auth-title {
    margin: 0 0 1.1rem;
    color: var(--wj-ink);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.25;
    text-align: center;
}

.auth-title--sm {
    font-size: 1.2rem;
}

.auth-title--center {
    text-align: center;
}

.auth-note {
    display: grid;
    grid-template-columns: 1.15rem 1fr;
    gap: .65rem;
    margin-bottom: 1.25rem;
    padding: .75rem .85rem;
    border: 1px solid var(--wj-line);
    border-radius: .7rem;
    background-color: var(--wj-accent-soft);
    color: var(--wj-ink);
    font-size: .8rem;
    line-height: 1.45;
}

.auth-note-icon {
    display: grid;
    place-items: center;
    width: 1.15rem;
    height: 1.15rem;
    margin-top: .1rem;
    border-radius: 50%;
    background: var(--wj-accent);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    font-style: italic;
    line-height: 1;
}

.auth-note a {
    color: var(--wj-accent);
    font-weight: var(--wj-font-weight-strong);
    text-decoration: none;
}

.auth-note a:hover {
    color: var(--wj-accent-hover);
    text-decoration: underline;
}

.auth-note--error {
    background-color: color-mix(in srgb, #c23b3b 9%, var(--wj-surface));
    border-color: color-mix(in srgb, #c23b3b 22%, var(--wj-line));
}

.auth-note--error .auth-note-icon {
    background: #c23b3b;
    font-style: normal;
}

html[data-wj-scheme="dark"] .auth-note--error {
    background-color: color-mix(in srgb, var(--wj-status-err, #f85149) 14%, var(--wj-surface));
    border-color: color-mix(in srgb, var(--wj-status-err, #f85149) 32%, var(--wj-line));
}

html[data-wj-scheme="dark"] .auth-note--error .auth-note-icon {
    background: var(--wj-status-err, #f85149);
}

.auth-field {
    --vt-ff-label-width: 0;
    --vt-ff-margin-bottom: 0;
    margin-bottom: 1rem;
}

.auth-field vt-ff {
    display: block;
    width: 100%;
}

.auth-label {
    display: block;
    margin-bottom: .4rem;
    color: var(--wj-ink);
    font-size: .82rem;
    font-weight: var(--wj-font-weight-strong);
}

.auth-input {
    position: relative;
}

.auth-input-icon,
.auth-password-toggle {
    position: absolute;
    top: .78rem;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 1.15rem;
    height: 1.15rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--wj-muted);
}

.auth-input-icon {
    left: .85rem;
    pointer-events: none;
}

.auth-input-icon svg,
.auth-password-toggle svg {
    width: 1.1rem;
    height: 1.1rem;
}

.auth-password-toggle {
    right: .7rem;
    width: 1.5rem;
    height: 1.5rem;
    top: .6rem;
    cursor: pointer;
}

.auth-password-toggle:hover {
    color: var(--wj-ink);
}

.auth-password-toggle-hide {
    display: none;
}

.auth-input.is-visible .auth-password-toggle-show {
    display: none;
}

.auth-input.is-visible .auth-password-toggle-hide {
    display: block;
}

.auth-input .form-control,
.auth-field vt-ff input:not([type="checkbox"]),
.auth-field wj-phone-input input[type="tel"],
.auth-field .iti__tel-input {
    min-height: 2.7rem;
    padding: .6rem .95rem;
    font-size: .9rem;
    border-radius: .55rem;
    border: 1px solid var(--wj-line);
    color: var(--wj-ink);
    background-color: var(--wj-surface);
}

.auth-field wj-phone-input,
.auth-field .iti {
    display: block;
    width: 100%;
}

.auth-field .iti input.iti__tel-input,
.auth-field .iti input.iti__tel-input[type="tel"] {
    width: 100%;
}

.auth-field .iti--inline-dropdown .iti__dropdown-content {
    z-index: 6;
}

.auth-field > .auth-check-error {
    margin-left: 0;
}

.form-control:focus,
.auth-field vt-ff input:focus,
.auth-field .iti__tel-input:focus {
    box-shadow: none;
    border-color: var(--wj-accent);
    outline: 0;
}

.auth-form {
    --auth-invalid: var(--wj-status-err, #c23b3b);
}

.auth-field.is-invalid .form-control,
.auth-field.is-invalid vt-ff input:not([type="checkbox"]),
.auth-field.is-invalid wj-phone-input input[type="tel"],
.auth-field.is-invalid .iti__tel-input,
.auth-form .form-control:user-invalid,
.auth-form vt-ff input:not([type="checkbox"]):user-invalid,
.auth-form .iti__tel-input:user-invalid {
    border-color: var(--auth-invalid);
}

.auth-field.is-invalid .form-control:focus,
.auth-field.is-invalid vt-ff input:focus,
.auth-field.is-invalid .iti__tel-input:focus,
.auth-form .form-control:user-invalid:focus,
.auth-form vt-ff input:not([type="checkbox"]):user-invalid:focus,
.auth-form .iti__tel-input:user-invalid:focus {
    border-color: var(--auth-invalid);
}

.auth-input--icon .form-control,
.auth-field .auth-input--icon vt-ff input:not([type="checkbox"]) {
    padding-left: 2.45rem;
}

.auth-input--toggle .form-control,
.auth-field .auth-input--toggle vt-ff input:not([type="checkbox"]) {
    padding-right: 2.6rem;
}

.form-control::placeholder {
    color: var(--wj-muted);
}

.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin: .15rem 0 1.15rem;
    font-size: .82rem;
}

.auth-check {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin: 0;
    color: var(--wj-ink);
    font-weight: 400;
    cursor: pointer;
}

.auth-check input {
    width: 1rem;
    height: 1rem;
    margin: 0;
    accent-color: var(--wj-accent);
}

.auth-policy-note {
    margin: .15rem 0 1.15rem;
    font-size: .82rem;
    line-height: 1.4;
    color: var(--wj-muted);
}

.auth-policy-note a {
    color: var(--wj-muted);
    font-weight: 400;
    text-decoration: underline;
}

.auth-policy-note a:hover {
    color: var(--wj-ink);
    text-decoration: underline;
}

.auth-consents {
    display: grid;
    gap: .55rem;
    margin: .15rem 0 1.15rem;
}

.auth-consents .auth-check {
    align-items: flex-start;
    font-size: .82rem;
    line-height: 1.4;
}

.auth-consents .auth-check input {
    margin-top: .15rem;
    flex: 0 0 auto;
}

.auth-consents a {
    color: var(--wj-muted);
    font-weight: 400;
    text-decoration: underline;
}

.auth-consents a:hover {
    color: var(--wj-ink);
    text-decoration: underline;
}

.auth-check-error {
    margin: -.25rem 0 .15rem 1.45rem;
    color: var(--wj-status-err, #dc3545);
    font-size: .78rem;
}

.auth-tooltip {
    position: absolute;
    z-index: 5;
    max-width: calc(100% - 1.5rem);
    padding: .55rem .8rem;
    border: 1px solid color-mix(in srgb, var(--wj-ink) 18%, var(--wj-line));
    border-radius: var(--wj-radius-sm, 6px);
    background: var(--wj-bg);
    color: var(--wj-ink);
    font-family: var(--wj-font);
    font-size: .8rem;
    font-weight: 400;
    line-height: 1.4;
    box-shadow: 0 10px 28px rgba(26, 35, 50, .18);
}

.auth-tooltip::before,
.auth-tooltip::after {
    content: "";
    position: absolute;
    left: var(--auth-tooltip-arrow, 12px);
    border: 6px solid transparent;
}

.auth-tooltip::before {
    bottom: -7px;
    top: auto;
    border-top-color: color-mix(in srgb, var(--wj-ink) 18%, var(--wj-line));
    border-bottom-width: 0;
}

.auth-tooltip::after {
    bottom: -6px;
    top: auto;
    border-top-color: var(--wj-bg);
    border-bottom-width: 0;
}

.auth-link {
    color: var(--wj-accent);
    font-weight: var(--wj-font-weight-strong);
    font-size: .82rem;
    text-decoration: none;
}

.auth-link:hover {
    color: var(--wj-accent-hover);
    text-decoration: underline;
}

.auth-submit {
    width: 100%;
    min-height: 2.75rem;
    padding: .65rem .9rem;
    font-size: .95rem;
    font-weight: var(--wj-font-weight-strong);
    border-radius: .55rem;
    color: #fff;
    background-color: var(--wj-accent);
    border-color: var(--wj-accent);
}

.auth-submit:hover,
.auth-submit:focus {
    color: #fff;
    background-color: var(--wj-accent-hover);
    border-color: var(--wj-accent-hover);
}

.auth-sep {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 1.15rem 0 .9rem;
    color: var(--wj-muted);
    font-size: .78rem;
}

.auth-sep::before,
.auth-sep::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--wj-line);
}

.auth-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    width: 100%;
    min-height: 2.6rem;
    margin-bottom: .55rem;
    padding: .5rem .9rem;
    border: 1px solid var(--wj-line);
    border-radius: .55rem;
    background: var(--wj-surface);
    color: var(--wj-ink);
    font-size: .88rem;
    font-weight: 500;
    text-decoration: none;
}

.auth-social:hover {
    color: var(--wj-ink);
    background: var(--wj-bg);
    border-color: var(--wj-accent);
}

.auth-social-icon {
    display: grid;
    place-items: center;
    width: 1.15rem;
    height: 1.15rem;
    flex: 0 0 auto;
}

.auth-social-icon svg,
.auth-social-icon img {
    width: 1.15rem;
    height: 1.15rem;
    display: block;
    object-fit: contain;
}

.auth-footer {
    margin-top: 1.15rem;
    text-align: center;
    color: var(--wj-muted);
    font-size: .85rem;
}

.auth-footer--center {
    text-align: center;
}

.auth-text {
    margin: 0;
    font-size: .9rem;
    line-height: 1.55;
    color: var(--wj-ink);
}

.auth-text--center {
    text-align: center;
}

.auth-hint {
    margin: -.35rem 0 1.15rem;
    text-align: center;
    font-size: .85rem;
    line-height: 1.45;
    color: var(--wj-muted);
}

.auth-card vt-alert {
    display: block;
    margin-bottom: .9rem;
}

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

    .auth-frame {
        grid-column: 1;
    }

    .auth-header {
        height: 3.5rem;
        padding: 0 1.25rem;
    }

    .auth-panel {
        padding: 2rem 1.25rem 2rem;
    }
}

.auth-preview {
    min-height: 100vh;
    padding: 1.5rem 1.25rem 4rem;
    background: var(--wj-bg);
    font-family: var(--wj-font);
    color: var(--wj-muted);
}

.auth-preview--embedded {
    min-height: 0;
    padding: 1rem 0 2.5rem;
    background: transparent;
}

.auth-preview-toc {
    width: min(30rem, 100%);
    margin: 0 auto 2.5rem;
}

.auth-preview-lead {
    margin: 0 0 1rem;
    font-size: .9rem;
    line-height: 1.45;
}

.auth-preview-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem .85rem;
    font-size: .82rem;
}

.auth-preview-nav a {
    color: var(--wj-accent);
    text-decoration: none;
}

.auth-preview-nav a:hover {
    color: var(--wj-accent-hover);
    text-decoration: underline;
}

.auth-preview-screen {
    width: min(40rem, 100%);
    margin: 0 auto 3.25rem;
}

.auth-preview-label {
    width: min(30rem, 100%);
    margin: 0 auto .65rem;
    color: var(--wj-muted);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.auth-preview-screen .auth-header {
    width: min(30rem, 100%);
    margin: 0 auto;
    padding: 0;
    height: 3.25rem;
}

.auth-preview-screen .auth-card {
    margin: 0 auto;
}

.auth-tooltip--static {
    position: relative;
    display: inline-block;
    margin: 0 0 .5rem;
    left: auto;
    top: auto;
}
