/**
 * Public account entry screens.
 */

.vv-auth {
  margin: 0;
  min-height: 100vh;
  display: block;
  color: var(--vv-color-ink);
  background: var(--vv-color-page);
  font-family: var(--vv-font-ui);
  -webkit-font-smoothing: antialiased;
}

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

.vv-auth :where(h1, h2, p, ul) { margin: 0; }
.vv-auth :where(a:not(.vv-button)) { color: inherit; text-decoration: none; }
.vv-auth a:hover { text-decoration: none; }


.vv-auth :focus-visible:not(.vv-control):not(.vv-button) {
  outline: var(--vv-focus-outline);
  outline-offset: 0;
  border-radius: 4px;
}

.vv-auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(560px, 35%) minmax(0, 1fr);
}

.vv-auth-story {
  position: relative;
  min-height: 100vh;
  padding: 55px 64px 48px;
  display: flex;
  flex-direction: column;
  color: #fff;
  background:
    linear-gradient(rgba(118, 153, 179, .065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118, 153, 179, .065) 1px, transparent 1px),
    linear-gradient(145deg, #172033 0%, #28425d 58%, #355f78 100%);
  background-size: 48px 48px, 48px 48px, auto;
  overflow: hidden;
}

.vv-auth-story::after {
  content: '';
  position: absolute;
  width: 460px;
  height: 460px;
  right: -210px;
  bottom: -165px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 154, 167, .24), rgba(60, 154, 167, 0) 68%);
  pointer-events: none;
}

.vv-auth-brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  width: max-content;
}

.vv-auth-brand img {
  display: block;
  width: 148px;
  height: auto;
}

.vv-auth-brand--dark img { width: 132px; }

.vv-auth-story__content {
  position: relative;
  z-index: 1;
  width: min(100%, 482px);
  margin-top: 108px;
}

.vv-auth-eyebrow {
  font-size: 10px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--vv-color-steel);
}

.vv-auth-story .vv-auth-eyebrow { color: #bcd0dd; }

.vv-auth-story h1 {
  max-width: 470px;
  margin-top: 18px;
  font-size: clamp(38px, 3.4vw, 50px);
  line-height: 1.14;
  font-weight: 600;
  letter-spacing: -.035em;
  color: #fff;
}

.vv-auth-story__lead {
  max-width: 460px;
  margin-top: 24px;
  font-size: 14px;
  line-height: 24px;
  color: #cbdbe6;
}

.vv-auth-summary {
  margin-top: 48px;
  padding: 20px 22px 14px;
  border: 1px solid rgba(190, 214, 227, .24);
  border-radius: 16px;
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 18px 32px rgba(5, 17, 34, .12);
  backdrop-filter: blur(10px);
}

.vv-auth-summary__head,
.vv-auth-summary__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vv-auth-summary__head {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(190, 214, 227, .16);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .14em;
  color: #b8ccda;
}

.vv-auth-status { display: inline-flex; align-items: center; gap: 7px; color: #91dec9; }
.vv-auth-status i { width: 7px; height: 7px; border-radius: 50%; background: #61d1ad; box-shadow: 0 0 0 5px rgba(97, 209, 173, .1); }

.vv-auth-summary__row {
  min-height: 35px;
  border-bottom: 1px solid rgba(190, 214, 227, .11);
  font-size: 12px;
  color: #bed0dc;
}

.vv-auth-summary__row:last-child { border-bottom: 0; }
.vv-auth-summary__row strong { font-size: 12px; font-weight: 600; color: #fff; }

.vv-auth-benefits {
  display: grid;
  gap: 20px;
  padding: 0;
  margin-top: 48px;
  list-style: none;
}

.vv-auth-benefits li { display: flex; align-items: flex-start; gap: 14px; }
.vv-auth-benefits__icon {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(111, 212, 189, .14);
  color: #7ad9c0;
  font-size: 12px;
  font-weight: 700;
}
.vv-auth-benefits__icon .vv-icon { width: 14px; height: 14px; }
.vv-auth-benefits div { display: grid; gap: 4px; }
.vv-auth-benefits strong { font-size: 13px; line-height: 18px; font-weight: 600; color: #fff; }
.vv-auth-benefits small { font-size: 12px; line-height: 18px; color: #b9cddb; }

.vv-auth-story__foot,
.vv-auth-panel__foot {
  position: relative;
  z-index: 1;
  margin-top: auto;
  font-size: 12px;
  line-height: 18px;
  color: #9eb6c7;
}

.vv-auth-panel {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px clamp(48px, 8vw, 172px);
  background: #fff;
}

.vv-auth-panel__top {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  min-height: 44px;
}

.vv-auth-panel__top .vv-auth-brand {
  grid-column: 2;
  justify-self: center;
}

.vv-auth-back {
  grid-column: 1;
  justify-self: start;
  color: var(--vv-color-slate);
  box-shadow: none;
}

.vv-auth-back:hover {
  border-color: #b8ced9;
  background: #f4f8fa;
  transform: translateX(-2px);
}

.vv-auth-back .vv-icon { width: 16px; height: 16px; }

.vv-auth-form-wrap {
  width: min(470px, 100%);
  margin-block: auto;
}

.vv-auth--register .vv-auth-story__content { margin-top: 98px; }
.vv-auth--register .vv-auth-panel { padding-top: 48px; padding-bottom: 48px; }
.vv-auth--register .vv-auth-form-wrap {
  margin-top: 40px;
  margin-bottom: auto;
}

.vv-auth-form-head h2 {
  margin-top: 10px;
  font-size: 32px;
  line-height: 40px;
  font-weight: 600;
  letter-spacing: -.025em;
  color: var(--vv-color-ink);
}

.vv-auth-form-head > p:last-child {
  margin-top: 8px;
  font-size: 14px;
  line-height: 22px;
  color: #6c8395;
}

.vv-auth-form { margin-top: 36px; }
.vv-auth-form--register { margin-top: 28px; }

.vv-auth-form .vv-field { margin-bottom: 18px; }
.vv-auth-form--register .vv-field { margin-bottom: 13px; }

.vv-auth-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.vv-auth-phone { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 8px; }
.vv-auth-phone .vv-select { min-width: 0; }
.vv-auth-phone select.vv-control,
.vv-auth-phone .vv-select__btn {
  padding-inline: 10px 30px;
  color: var(--vv-color-slate);
  font-size: 13px;
  font-weight: 600;
  background-position: right 10px center;
}
.vv-auth-phone .vv-select__btn {
  min-height: 48px;
  height: 48px;
}

.vv-auth-password { position: relative; }
.vv-auth-password .vv-control { padding-right: 46px; }
.vv-auth-password__toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #7f94a4;
  cursor: pointer;
}
.vv-auth-password__toggle:hover { background: #f1f6f8; color: var(--vv-color-slate); }

.vv-auth-password__icon { width: 18px; height: 18px; }
.vv-auth-password__icon--hide { display: none; }
.vv-auth-password__toggle[aria-pressed="true"] .vv-auth-password__icon--show { display: none; }
.vv-auth-password__toggle[aria-pressed="true"] .vv-auth-password__icon--hide { display: inline-block; }

.vv-auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 2px 0 24px;
}

.vv-auth-options > a,
.vv-auth-legal a {
  font-size: 13px;
  font-weight: 600;
  color: var(--vv-color-steel);
}

.vv-auth-switch a {
  font-size: inherit;
  font-weight: 600;
  color: var(--vv-color-steel);
}

.vv-auth-help {
  margin: -6px 0 18px;
  font-size: 12px;
  line-height: 18px;
  color: #8296a5;
}

.vv-auth-legal {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding-top: 18px;
  border-top: 1px solid #e2eaee;
}

.vv-auth-switch {
  margin-top: 18px;
  text-align: center;
  color: #718798;
  font-size: 13px;
  line-height: 20px;
}
.vv-auth-switch a { margin-left: 3px; }

.vv-auth-panel__foot {
  position: absolute;
  left: 50%;
  width: min(470px, calc(100% - 96px));
  translate: -50% 0;
  bottom: 45px;
  color: #8da0ae;
  font-size: 12px;
  line-height: 18px;
}

.vv-auth .vt-notice {
  margin: 22px 0 -12px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 19px;
  font-weight: 500;
}
.vv-auth .vt-notice.error { color: #a34343; border: 1px solid #efc6c6; background: #fff6f6; }
.vv-auth .vt-notice.ok { color: #26785f; border: 1px solid #bfe6d8; background: #effaf6; }
.vv-auth-resend { display: block; margin-top: 8px; padding: 0; border: 0; background: none; color: inherit; font-size: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }

@media (max-width: 1280px) {
  .vv-auth-shell { grid-template-columns: minmax(400px, 42%) minmax(0, 1fr); }
  .vv-auth-story { padding-inline: 42px; }
  .vv-auth-panel { padding-inline: clamp(36px, 7vw, 80px); }
  .vv-auth-panel__foot { left: clamp(36px, 7vw, 80px); }
}

@media (max-width: 820px) {
  .vv-auth-shell {
    grid-template-columns: 1fr;
    grid-template-rows: max-content max-content;
    align-content: start;
  }
  .vv-auth-story { min-height: auto; padding: 32px 24px 42px; }
  .vv-auth-story__content,
  .vv-auth--register .vv-auth-story__content {
    min-height: 205px;
    margin-top: 40px;
  }
  .vv-auth-story h1 { font-size: clamp(30px, 8vw, 40px); }
  .vv-auth-story__lead { margin-top: 16px; }
  .vv-auth-summary,
  .vv-auth-benefits,
  .vv-auth-story__foot { display: none; }
  .vv-auth-panel,
  .vv-auth--register .vv-auth-panel { min-height: auto; padding: 42px 24px 56px; }
  .vv-auth-panel__top {
    grid-template-columns: 1fr;
    width: min(470px, 100%);
    margin: 0 auto 32px;
  }
  .vv-auth-panel__top .vv-auth-brand { display: none; }
  .vv-auth-form-wrap { margin: 0 auto; }
  .vv-auth-panel__foot { position: static; width: min(470px, 100%); margin: 40px auto 0; }
  .vv-auth-panel__foot { translate: none; }
}

@media (max-width: 520px) {
  .vv-auth-row { grid-template-columns: 1fr; gap: 0; }
  .vv-auth-form-head h2 { font-size: 28px; line-height: 36px; }
  .vv-auth-phone { grid-template-columns: 100px minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .vv-auth *, .vv-auth *::before, .vv-auth *::after { transition-duration: .001ms !important; }
}
