@font-face {
  font-family: "Ysa Auth";
  src: url("/fonts/Satoshi-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}

.ysa-auth {
  --ysa-auth-ink: #0d1424;
  --ysa-auth-copy: #526078;
  --ysa-auth-muted: #7d889b;
  --ysa-auth-line: #d8dee7;
  --ysa-auth-line-strong: #c5ceda;
  --ysa-auth-teal: #008f7b;
  --ysa-auth-teal-hover: #007b6b;
  --ysa-auth-teal-soft: #effbf8;
  --ysa-auth-brand: #eefaf9;
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  grid-template-columns: clamp(360px, 31.25vw, 480px) minmax(0, 1fr);
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: #ffffff;
  color: var(--ysa-auth-ink);
  font-family: "Ysa Auth", "Geist", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

.ysa-auth *,
.ysa-auth *::before,
.ysa-auth *::after {
  box-sizing: border-box;
}

.ysa-auth a {
  color: inherit;
}

.ysa-auth-brand {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  padding: 64px 48px 52px;
  background: var(--ysa-auth-brand);
  border-right: 1px solid rgba(0, 143, 123, 0.08);
  isolation: isolate;
}

.ysa-auth-brand::after {
  position: absolute;
  right: -210px;
  bottom: -210px;
  z-index: -1;
  width: 540px;
  height: 540px;
  background: url("/img/ysa_logo_blob_blue.png") center / contain no-repeat;
  content: "";
  opacity: 0.08;
}

.ysa-auth-brand-logo {
  display: block;
  width: min(330px, 100%);
  height: auto;
}

.ysa-auth-brand-copy {
  margin: auto 0;
  padding: 64px 0;
}

.ysa-auth-brand-copy h1 {
  max-width: 365px;
  margin: 0;
  color: var(--ysa-auth-ink);
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 720;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.ysa-auth-brand-copy p {
  max-width: 350px;
  margin: 24px 0 0;
  color: #60738a;
  font-size: 17px;
  line-height: 1.5;
}

.ysa-auth-security-note {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #53677f;
  font-size: 15px;
  line-height: 1.45;
}

.ysa-auth-security-icon,
.ysa-auth-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--ysa-auth-teal);
  background: var(--ysa-auth-teal-soft);
  border: 1px solid #bceade;
}

.ysa-auth-security-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 18px;
}

.ysa-auth-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-y: auto;
  padding: 56px 48px 34px;
  background: #ffffff;
}

.ysa-auth-card {
  width: min(100%, 440px);
  margin: auto 0;
}

.ysa-auth-card--twofa {
  width: min(100%, 520px);
}

.ysa-auth-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 32px;
  border-radius: 18px;
  font-size: 29px;
}

.ysa-auth-heading {
  margin-bottom: 38px;
  text-align: center;
}

.ysa-auth-heading h2,
.ysa-auth-panel-heading h2 {
  margin: 0;
  color: var(--ysa-auth-ink);
  font-size: 38px;
  font-weight: 720;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.ysa-auth-heading p,
.ysa-auth-heading .twofa_message,
.ysa-auth-panel-heading p {
  margin: 14px 0 0;
  color: var(--ysa-auth-copy);
  font-size: 17px;
  line-height: 1.5;
}

.ysa-auth-form {
  width: 100%;
}

.ysa-auth-field {
  display: block;
  min-width: 0;
  margin: 0 0 22px;
}

.ysa-auth-label {
  display: block;
  margin-bottom: 8px;
  color: var(--ysa-auth-ink);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.3;
}

.ysa-auth .wrap-input100 {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  border: 0;
}

.ysa-auth .input100 {
  display: block;
  width: 100%;
  height: 58px;
  margin: 0;
  padding: 0 16px;
  color: var(--ysa-auth-ink);
  background: #ffffff;
  border: 1px solid var(--ysa-auth-line);
  border-radius: 10px;
  outline: 0;
  font-family: inherit;
  font-size: 16px;
  font-weight: 450;
  line-height: 1;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.ysa-auth .input100::placeholder {
  color: #95a0b2;
  opacity: 1;
}

.ysa-auth .input100:focus {
  background: #ffffff;
  border-color: var(--ysa-auth-teal);
  box-shadow: 0 0 0 3px rgba(0, 143, 123, 0.12);
}

.ysa-auth .wrap-input100:has(.btn-show-pass) .input100 {
  padding-right: 52px;
}

.ysa-auth .btn-show-pass {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 58px;
  padding: 0;
  color: #6d7a90;
  background: transparent;
  border: 0;
  border-radius: 0 10px 10px 0;
  cursor: pointer;
  font-size: 18px;
}

.ysa-auth .btn-show-pass:hover,
.ysa-auth .btn-show-pass:focus-visible {
  color: var(--ysa-auth-teal);
}

.ysa-auth-inline-link {
  color: var(--ysa-auth-teal) !important;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.ysa-auth-inline-link:hover,
.ysa-auth-inline-link:focus-visible,
.ysa-auth-footer a:hover,
.ysa-auth-footer a:focus-visible {
  color: var(--ysa-auth-teal-hover) !important;
}

.ysa-auth-forgot {
  display: inline-block;
  margin: -3px 0 24px;
  font-size: 15px;
}

.ysa-auth .container-login100-form-btn {
  display: block;
  width: 100%;
  padding: 0;
}

.ysa-auth .wrap-login100-form-btn {
  width: 100%;
  margin: 0;
  overflow: visible;
  border-radius: 10px;
}

.ysa-auth .login100-form-bgbtn {
  display: none;
}

.ysa-auth .login100-form-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 56px;
  padding: 0 22px;
  color: #ffffff;
  background: var(--ysa-auth-teal) !important;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 143, 123, 0.12);
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 680;
  line-height: 1;
  text-transform: none;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.ysa-auth .login100-form-btn:hover,
.ysa-auth .login100-form-btn:focus-visible {
  background: var(--ysa-auth-teal-hover) !important;
  box-shadow: 0 10px 24px rgba(0, 123, 107, 0.16);
}

.ysa-auth .login100-form-btn:active {
  transform: translateY(1px);
}

.ysa-auth-switch-copy {
  margin: 30px 0 0;
  color: var(--ysa-auth-copy);
  font-size: 15px;
  text-align: center;
}

.ysa-auth-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(100%, 440px);
  margin-top: 48px;
  padding-top: 26px;
  color: #6c778a;
  border-top: 1px solid #e3e7ed;
  font-size: 14px;
}

.ysa-auth-footer a {
  color: inherit;
  text-decoration: none;
}

.ysa-auth-footer > span {
  color: var(--ysa-auth-teal);
}

.ysa-auth .alert-validate .input100 {
  border-color: #d94b4b;
  box-shadow: 0 0 0 3px rgba(217, 75, 75, 0.1);
}

.ysa-auth .alert-validate::before {
  top: calc(100% + 4px);
  right: 0;
  z-index: 4;
  max-width: 100%;
  padding: 4px 8px;
  color: #b42318;
  background: #fff6f5;
  border: 1px solid #fecaca;
  border-radius: 6px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.35;
  opacity: 1;
  visibility: visible;
  transform: none;
}

.ysa-auth .alert-validate::after {
  display: none;
}

.ysa-auth .shake {
  animation: ysa-auth-shake 420ms ease;
}

@keyframes ysa-auth-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-3px); }
}

.ysa-auth-scrim {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgba(13, 20, 36, 0.30);
  border: 0;
  cursor: default;
  opacity: 0;
  transition: opacity 260ms ease;
}

.ysa-auth-scrim[hidden] {
  display: block;
  pointer-events: none;
}

.ysa-auth-scrim--open {
  pointer-events: auto;
  opacity: 1;
}

.ysa-auth-signup-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 10002;
  display: flex;
  flex-direction: column;
  width: min(520px, 100vw);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #ffffff;
  border-left: 1px solid rgba(13, 20, 36, 0.08);
  box-shadow: -20px 0 46px rgba(13, 20, 36, 0.10);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 300ms;
  will-change: transform;
}

.ysa-auth-signup-panel--open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
}

.ysa-auth-panel-topbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 72px;
  padding: 20px 28px 0;
}

.ysa-auth-panel-logo {
  display: none;
  width: 230px;
  height: auto;
}

.ysa-auth-panel-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #56637a;
  background: #ffffff;
  border: 1px solid var(--ysa-auth-line);
  border-radius: 10px;
  cursor: pointer;
  font-size: 20px;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.ysa-auth-panel-close:hover,
.ysa-auth-panel-close:focus-visible {
  color: var(--ysa-auth-ink);
  background: #f6f8fa;
  border-color: var(--ysa-auth-line-strong);
}

.ysa-auth-panel-content {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 34px 44px 38px;
}

.ysa-auth-panel-heading {
  margin-bottom: 30px;
}

.ysa-auth-panel-heading h2 {
  font-size: 34px;
}

.ysa-auth-panel-heading p {
  font-size: 16px;
}

.ysa-auth-name-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.ysa-auth-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 2px 0 22px;
  color: var(--ysa-auth-copy);
  cursor: pointer;
  font-size: 14px;
  line-height: 1.45;
}

.ysa-auth-consent input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--ysa-auth-teal);
}

.ysa-auth-consent a {
  color: var(--ysa-auth-teal);
  font-weight: 600;
  text-underline-offset: 2px;
}

.ysa-auth-form-message {
  display: none;
  margin: 0 0 16px;
  color: #b42318;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.4;
  text-align: center;
}

.ysa-auth-form-message--success {
  color: #08745f;
}

.ysa-auth--twofa .ysa-auth-heading {
  margin-bottom: 30px;
}

.ysa-auth .twofa-method-switch {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 10px;
  margin-bottom: 30px;
}

.ysa-auth .twofa_method_button {
  min-height: 50px;
  padding: 10px 14px;
  color: #425067;
  background: #ffffff;
  border: 1px solid var(--ysa-auth-line);
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 650;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.ysa-auth .twofa_method_button.active {
  color: #007965;
  background: var(--ysa-auth-teal-soft);
  border-color: var(--ysa-auth-teal);
}

.ysa-auth .code-input {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 34px;
}

.ysa-auth .code-input[data-code-length="4"] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 350px;
  margin-right: auto;
  margin-left: auto;
}

.ysa-auth .code {
  width: 100%;
  min-width: 0;
  height: 68px;
  padding: 0;
  color: var(--ysa-auth-ink);
  background: #ffffff;
  border: 1px solid var(--ysa-auth-line);
  border-radius: 10px;
  outline: 0;
  font-family: inherit;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.ysa-auth .code:focus {
  border-color: var(--ysa-auth-teal) !important;
  box-shadow: 0 0 0 3px rgba(0, 143, 123, 0.12);
}

.ysa-auth .code.error {
  border-color: #d94b4b !important;
  box-shadow: 0 0 0 3px rgba(217, 75, 75, 0.10);
}

@media (max-width: 900px) {
  .ysa-auth {
    grid-template-columns: 320px minmax(0, 1fr);
  }

  .ysa-auth-brand {
    padding: 46px 34px 42px;
  }

  .ysa-auth-brand-copy h1 {
    font-size: 34px;
  }

  .ysa-auth-main {
    padding-right: 34px;
    padding-left: 34px;
  }
}

@media (max-width: 720px) {
  .ysa-auth {
    position: fixed;
    display: block;
    overflow-y: auto;
  }

  .ysa-auth-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 168px;
    min-height: 168px;
    padding: 32px 28px;
    border-right: 0;
    border-bottom: 1px solid rgba(0, 143, 123, 0.08);
  }

  .ysa-auth-brand::after {
    right: -94px;
    bottom: -140px;
    width: 280px;
    height: 280px;
    opacity: 0.07;
  }

  .ysa-auth-brand-logo {
    width: min(300px, 90%);
  }

  .ysa-auth-brand-copy,
  .ysa-auth-security-note {
    display: none;
  }

  .ysa-auth-main {
    min-height: calc(100vh - 168px);
    min-height: calc(100dvh - 168px);
    overflow: visible;
    padding: 40px 22px 28px;
  }

  .ysa-auth-card {
    width: min(100%, 460px);
    margin: 0;
  }

  .ysa-auth-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    border-radius: 16px;
    font-size: 25px;
  }

  .ysa-auth-heading {
    margin-bottom: 30px;
  }

  .ysa-auth-heading h2 {
    font-size: 34px;
  }

  .ysa-auth-heading p,
  .ysa-auth-heading .twofa_message {
    margin-top: 10px;
    font-size: 16px;
  }

  .ysa-auth .input100,
  .ysa-auth .btn-show-pass {
    height: 54px;
  }

  .ysa-auth-field {
    margin-bottom: 19px;
  }

  .ysa-auth-forgot {
    margin-bottom: 22px;
  }

  .ysa-auth .login100-form-btn {
    height: 54px;
  }

  .ysa-auth-switch-copy {
    margin-top: 26px;
  }

  .ysa-auth-footer {
    margin-top: 42px;
    padding-top: 24px;
  }

  .ysa-auth-signup-panel {
    width: 100vw;
    border-left: 0;
    box-shadow: -10px 0 28px rgba(13, 20, 36, 0.10);
  }

  .ysa-auth-panel-topbar {
    justify-content: space-between;
    min-height: 78px;
    padding: 20px 22px 8px;
  }

  .ysa-auth-panel-logo {
    display: block;
    width: min(230px, calc(100% - 70px));
  }

  .ysa-auth-panel-content {
    padding: 24px 22px 32px;
  }

  .ysa-auth-panel-heading {
    margin-bottom: 26px;
  }

  .ysa-auth-panel-heading h2 {
    font-size: 32px;
  }

  .ysa-auth-name-row {
    display: block;
  }

  .ysa-auth-consent {
    margin-bottom: 20px;
  }

  .ysa-auth--twofa .ysa-auth-main {
    padding-top: 38px;
  }

  .ysa-auth--twofa .ysa-auth-heading {
    margin-bottom: 26px;
  }

  .ysa-auth .twofa-method-switch {
    margin-bottom: 28px;
  }

  .ysa-auth .code-input {
    gap: 7px;
    margin-right: -4px;
    margin-left: -4px;
  }

  .ysa-auth .code {
    height: 58px;
    border-radius: 9px;
    font-size: 24px;
  }
}

@media (max-width: 420px) {
  .ysa-auth-brand {
    height: 154px;
    min-height: 154px;
  }

  .ysa-auth-main {
    min-height: calc(100vh - 154px);
    min-height: calc(100dvh - 154px);
    padding-top: 34px;
  }

  .ysa-auth-heading h2,
  .ysa-auth-panel-heading h2 {
    font-size: 31px;
  }

  .ysa-auth-panel-content {
    padding-top: 18px;
  }

  .ysa-auth-panel-heading {
    margin-bottom: 22px;
  }

  .ysa-auth-signup-panel .ysa-auth-field {
    margin-bottom: 16px;
  }

  .ysa-auth-signup-panel .input100,
  .ysa-auth-signup-panel .btn-show-pass {
    height: 50px;
  }

  .ysa-auth-signup-panel .ysa-auth-label {
    margin-bottom: 6px;
  }

  .ysa-auth-signup-panel .ysa-auth-switch-copy {
    margin-top: 22px;
  }

  .ysa-auth .code-input {
    gap: 6px;
  }

  .ysa-auth .code {
    height: 54px;
    font-size: 22px;
  }
}

@media (max-height: 760px) and (min-width: 721px) {
  .ysa-auth-main {
    padding-top: 30px;
    padding-bottom: 24px;
  }

  .ysa-auth-card {
    margin-top: 0;
  }

  .ysa-auth-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
  }

  .ysa-auth-heading {
    margin-bottom: 26px;
  }

  .ysa-auth-field {
    margin-bottom: 18px;
  }

  .ysa-auth-footer {
    margin-top: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ysa-auth *,
  .ysa-auth *::before,
  .ysa-auth *::after {
    scroll-behavior: auto !important;
  }

  .ysa-auth-signup-panel,
  .ysa-auth-scrim,
  .ysa-auth .input100,
  .ysa-auth .login100-form-btn {
    transition-duration: 0.01ms !important;
  }

  .ysa-auth .shake {
    animation: none;
  }
}
