@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

.auth-page--customer-login {
  background: #f7f8fa;
  color: #171323;
}

.auth-login-main {
  box-sizing: border-box;
  display: grid;
  min-height: calc(100vh - 72px);
  align-items: center;
  justify-items: center;
  background: #f7f8fa;
  padding: clamp(1.5rem, 5vw, 3.25rem) 1rem;
}

.auth-client-card {
  width: 100%;
  max-width: 28.75rem;
  border: 1px solid #dddfe7;
  border-radius: 1.5rem;
  padding: 2.5rem;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  box-shadow: 0 1.5rem 3.75rem -2rem rgba(25, 18, 43, .24);
}

.auth-client-card .auth-heading {
  text-align: center;
}

.auth-client-card .auth-heading h1 {
  margin: 0;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 2rem;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -.055em;
}

.auth-client-card .auth-heading p {
  margin: .5rem 0 0;
  color: #645b70;
  font-size: 1rem;
  line-height: 1.5;
}

.auth-client-card .auth-method-tabs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.375rem;
  padding: .25rem;
  border-radius: .75rem;
  background: #f0eff4;
}

.auth-client-card .auth-tab {
  min-height: 2.625rem;
  border: 1px solid transparent;
  border-radius: .625rem;
  color: #4e4658;
  font-size: .9375rem;
  font-weight: 600;
  box-shadow: none;
}

.auth-client-card .auth-tab.is-active {
  background: #fff;
  color: #5d16b1;
  box-shadow: 0 .125rem .375rem rgba(39, 28, 55, .12);
}

.auth-client-card .auth-tab[data-auth-method="otp"].is-active {
  border-color: #6c21d4;
  box-shadow: 0 0 0 1px #6c21d4;
}

.auth-client-card .auth-status {
  margin-top: 1rem;
}

.auth-client-card .auth-form {
  gap: 1rem;
  margin-top: 1.375rem;
}

.auth-client-card .auth-field {
  gap: .4375rem;
}

.auth-client-card .auth-field > label,
.auth-client-card .auth-field-head {
  color: #17131b;
  font-size: .875rem;
  font-weight: 700;
}

.auth-client-card .auth-field-head {
  flex-wrap: wrap;
  gap: .25rem .75rem;
}

.auth-client-card .auth-field-head button {
  color: #5d16b1;
  font-size: .875rem;
  font-weight: 500;
}

.auth-client-card .auth-input {
  min-height: 3rem;
  border: 1px solid transparent;
  border-radius: .75rem;
  background: #f0f1f4;
  box-shadow: none;
}

.auth-client-card .auth-input:focus-within {
  border-color: #7c3aed;
  background: #fff;
  box-shadow: 0 0 0 3px #ede9fe;
}

.auth-client-card .auth-input input {
  box-sizing: border-box;
  min-height: 2.875rem;
  padding: 0 .875rem;
  color: #201927;
  font-size: 1rem;
}

.auth-client-card .auth-input input::placeholder {
  color: #85808f;
  font-size: 1rem;
}

.auth-client-card .auth-input button {
  width: 3rem;
  flex-basis: 3rem;
}

.auth-client-card .auth-input button i {
  font-size: 1rem;
}

.auth-client-card .auth-field-error {
  color: #b42323;
  font-size: .8125rem;
  font-weight: 500;
}

.auth-remember {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  color: #4f4759;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
}

.auth-remember input {
  width: 1.0625rem;
  height: 1.0625rem;
  margin: 0;
  accent-color: #6821c8;
}

.auth-sms-help {
  color: #6d6478 !important;
  font-size: .8125rem !important;
  font-weight: 400 !important;
  line-height: 1.45;
}

.auth-client-card .auth-submit {
  min-height: 3.125rem;
  margin-top: .125rem;
  border-radius: .75rem;
  background: linear-gradient(110deg, #5b16bd, #7624d2);
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 .75rem 1.5rem -.75rem rgba(93, 22, 177, .72);
}

.auth-client-card .auth-recovery {
  margin-top: 1.25rem;
  padding: 1rem;
}

.auth-client-card .auth-recovery-head > button {
  flex: 0 0 2.25rem;
}

.auth-client-register {
  margin: 1rem 0 0;
  color: #635a6e;
  font-size: .875rem;
  text-align: center;
}

.auth-client-register a {
  color: #5d16b1;
  font-weight: 700;
  text-decoration: none;
}

.auth-client-register a:hover,
.auth-client-card .auth-field-head button:hover {
  text-decoration: underline;
}

.auth-client-card .auth-divider {
  margin: 1rem 0;
  gap: .875rem;
  color: #6c6376;
  font-size: .8125rem;
  text-transform: none;
}

.auth-client-card .auth-socials {
  grid-template-columns: 1fr;
  gap: .625rem;
  margin-top: 0;
}

.auth-client-card .auth-social-button {
  min-height: 2.875rem;
  gap: .625rem;
  border-color: #dedbe5;
  border-radius: .75rem;
  background: #fff;
  color: #17131b;
  font-size: .9375rem;
  font-weight: 600;
  box-shadow: none;
}

.auth-client-card .auth-social-button:hover {
  border-color: #c6b6d8;
  background: #fcfbfd;
}

.auth-client-card .auth-google-image-button {
  min-height: 0;
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.auth-client-card .auth-google-image-button:hover {
  border-color: transparent;
  background: transparent;
}

.auth-client-card .auth-google-image-button img {
  display: block;
  width: 178px;
  max-width: 100%;
  height: auto;
}

.auth-client-card .auth-social-button .fa-google {
  background: conic-gradient(from -45deg, #4285f4 0 25%, #34a853 25% 43%, #fbbc05 43% 68%, #ea4335 68% 100%);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}

.auth-security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin: 1rem 0 0;
  color: #706779;
  font-size: .8125rem;
}

.auth-security-note i {
  font-size: .75rem;
}

.auth-client-card :is(button, a, input):focus-visible {
  outline: 2px solid #6d28d9;
  outline-offset: 3px;
}

@media (max-width: 520px) {
  .auth-login-main {
    align-items: start;
    padding: 1rem .75rem 2rem;
  }

  .auth-client-card {
    padding: 2rem 1.5rem;
    border-radius: 1.25rem;
  }

  .auth-client-card .auth-heading h1 {
    font-size: 1.75rem;
  }

  .auth-client-card .auth-heading p {
    font-size: .9375rem;
  }

  .auth-client-card .auth-socials {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-client-card .auth-submit,
  .auth-client-card .auth-social-button {
    transition: none;
  }

  .auth-client-card .auth-submit:hover {
    transform: none;
  }
}
