/* The supplied Shopify account page uses these static Inter faces (SIL OFL 1.1).
   Frame rules come from that page; input and button states come from its full
   public identity stylesheet. Our brand and email-code flow are retained. */
@font-face {
  font-family: MeridianAuthInter;
  src: url("./Inter-auth-450.woff2") format("woff2");
  font-style: normal;
  font-weight: 450;
  font-display: swap;
}
@font-face {
  font-family: MeridianAuthInter;
  src: url("./Inter-auth-550.woff2") format("woff2");
  font-style: normal;
  font-weight: 550;
  font-display: swap;
}
@font-face {
  font-family: MeridianAuthInter;
  src: url("./Inter-auth-650.woff2") format("woff2");
  font-style: normal;
  font-weight: 650;
  font-display: swap;
}
@font-face {
  font-family: MeridianAuthInter;
  src: url("./Inter-auth-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
.auth-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-height: 100vh;
  background: #0a1314 radial-gradient(53.91% 53.91% at 50% 22.36%, #0a1314 50%, #02090a 100%);
  color: #202223;
  font: 400 14px/20px MeridianAuthInter, Inter, Helvetica, Arial, sans-serif;
  font-synthesis: none;
}
.auth-page .auth-brand {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  box-sizing: content-box;
  width: 80px;
  height: 91px;
  padding: 70px 0 0;
}
.auth-page .auth-brand-mark {
  display: grid;
  width: 80px;
  height: 80px;
  place-items: center;
  border-radius: 20px;
  background: #fff;
  color: #0a1314;
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -4px;
  text-indent: -4px;
}
.auth-page .auth-card {
  width: 95%;
  max-width: 476px;
  margin: 28px 0 0;
  padding: 40px;
  border: 0;
  border-radius: 24px;
  background: #fff;
  box-shadow: none;
}
.auth-page .auth-headings {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin: 0 0 24px;
}
.auth-page .auth-headings h1 {
  margin: 0 0 2px;
  color: #303030;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: -.768px;
}
.auth-page .auth-headings p {
  margin: 0;
  color: #616161;
  font-size: 14px;
  font-weight: 550;
  line-height: 20px;
}
.auth-page .auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 8px;
}
.auth-page .auth-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #202223;
  font-size: inherit;
  font-weight: 400;
  line-height: 20px;
}
.auth-page .auth-field-label {
  font-size: 14px;
}
.auth-page .auth-field input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 0;
  max-height: 40px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid #1a1a1a;
  border-radius: 8px;
  outline: 0;
  background: #fff;
  color: #303030;
  box-shadow: none;
  font: 450 16px/normal MeridianAuthInter, Inter, Helvetica, Arial, sans-serif;
  appearance: none;
}
.auth-page .auth-field input:hover {
  background: #fafafa;
}
.auth-page .auth-field input:hover:not(:disabled) {
  box-shadow: none;
}
.auth-page .auth-field input:focus {
  border-color: #1a1a1a;
  outline: 2px solid #005bd3;
  outline-offset: 1px;
  background: #f3f3f3;
  box-shadow: none;
  transition: outline-offset .75ms linear;
}
.auth-page .auth-field input:active {
  background: #f3f3f3;
}
.auth-page .auth-field input:user-invalid,
.auth-page .auth-field input[aria-invalid="true"] {
  border-color: #8e1f0b;
  background: #fee9e8;
  box-shadow: none;
}
.auth-page .auth-submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 32px;
  margin: 0;
  padding: 12px 16px;
  border: 0;
  border-color: transparent;
  border-radius: 8px;
  background: #0b1314;
  color: #fafcfc;
  box-shadow: 0 3px 1px -1px rgb(26 26 26 / .07);
  font: 500 16px/normal MeridianAuthInter, Inter, Helvetica, Arial, sans-serif;
  text-align: center;
  transition: background-color 75ms var(--tc-ease-out), box-shadow 75ms var(--tc-ease-out);
}
.auth-page .auth-submit-label,
.auth-page .auth-submit .button-label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 1px;
  font-size: 14px;
  font-weight: 550;
  line-height: 20px;
}
.auth-page .auth-submit::before {
  position: absolute;
  inset: 0;
  border-radius: 9px;
  background: none;
  content: "";
  pointer-events: none;
  transition: opacity 75ms var(--tc-ease-out);
}
.auth-page .auth-submit:hover {
  background: #283133;
  color: #fafcfc;
  box-shadow: inset 0 -1px #ccc, inset 1px 0 #ebebeb,
    inset -1px 0 #ebebeb, inset 0 1px #ebebeb;
}
.auth-page .auth-submit:focus:not(:active):not(:disabled) {
  color: #fff;
  box-shadow: 0 1px rgb(0 0 0 / .05), inset 0 -1px rgb(0 0 0 / .2);
}
.auth-page .auth-submit:active {
  padding: 12px 16px;
  background: #545d5e;
  color: #fafcfc;
  box-shadow: none;
}
.auth-page .auth-submit:focus-visible {
  outline: 2px solid #005bd3;
  outline-offset: 1px;
}
.auth-page .auth-submit:focus-visible:not(:hover):not(:active):not(:disabled) {
  background: #0b1314;
}
.auth-page .auth-link:focus-visible,
.auth-page .auth-footer a:focus-visible {
  outline: 2px solid #005bd3;
  outline-offset: 2px;
}
.auth-page .auth-submit:disabled {
  opacity: 1;
  background: #0000002b;
  color: #fff;
  box-shadow: none;
  outline: none;
}
.auth-page .auth-submit:disabled::before {
  display: none;
}
.auth-page .field-error {
  margin-top: 4px;
  color: #bf0711;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}
.auth-page .auth-feedback {
  margin: 8px 0 0;
  color: #bf0711;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  overflow-wrap: anywhere;
}
.auth-page .auth-feedback,
.auth-page .auth-field:not(.auth-code-field) .field-error {
  display: flex;
  align-items: center;
}
.auth-page .auth-feedback::before,
.auth-page .auth-field:not(.auth-code-field) .field-error::before {
  align-self: flex-start;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-right: 4px;
  /* CircleAlertMajor, embedded in the supplied identity page. */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23de3618' fill-rule='evenodd' d='M10 0C4.486 0 0 4.486 0 10s4.486 10 10 10 10-4.486 10-10S15.514 0 10 0zM9 6a1 1 0 1 1 2 0v4a1 1 0 1 1-2 0V6zm1 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2z'/%3E%3C/svg%3E") center / 20px no-repeat;
  content: "";
}
.auth-page .auth-code-field {
  gap: 0;
}
.auth-page .auth-code-field > .auth-field-label {
  font-weight: 500;
}
.auth-page .auth-code-input {
  position: relative;
  width: 100%;
}
.auth-page .auth-code-input > input {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  opacity: 0;
  caret-color: transparent;
  cursor: text;
  font-size: 16px;
}
.auth-page .auth-code-input > input:focus {
  outline: none;
}
.auth-page .auth-code-boxes {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-around;
  gap: 6px;
  pointer-events: none;
}
.auth-page .auth-code-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  min-width: 0;
  aspect-ratio: 1;
  border: 1px solid #8a8a8a;
  border-radius: 8px;
  background: #fdfdfd;
  color: #202223;
  font-size: 24px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.auth-page .auth-code-input:focus-within .auth-code-box--active {
  border-color: #1a1a1a;
  background: #f7f7f7;
}
.auth-page .auth-code-input:focus-within .auth-code-box--active::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 24px;
  transform: translate(-50%, -50%);
  background: #303030;
  content: "";
  animation: auth-code-caret 1s step-end infinite;
}
.auth-page .auth-code-input:focus-within .auth-code-box--caret-end::after {
  left: calc(50% + .5ch + 1px);
}
.auth-page .auth-code-input:has(input[aria-invalid="true"]) .auth-code-box,
.auth-page .auth-code-input:has(input:user-invalid) .auth-code-box {
  border-color: #8e0b21;
  background: #fee8eb;
}
.auth-page .auth-code-input:focus-within .auth-code-box--selected {
  background: Highlight;
  color: HighlightText;
}
.auth-page .auth-code-field .field-error {
  margin-top: 8px;
  color: #d72c0d;
  font-size: 13px;
}
@keyframes auth-code-caret {
  50% { opacity: 0; }
}
.auth-page .auth-description {
  margin: 0 0 20px;
  color: #303030;
  font-size: inherit;
  line-height: 24px;
  overflow-wrap: anywhere;
}
.auth-page .auth-description:last-child {
  margin-bottom: 0;
}
.auth-page .auth-description strong {
  color: #303030;
  font-weight: 600;
}
.auth-page .auth-help {
  margin: 0;
  color: #303030;
  font-size: 13px;
  line-height: 20px;
  overflow-wrap: anywhere;
}
.auth-page .auth-code-actions {
  display: flex;
  margin: 0;
}
.auth-page .auth-link {
  margin: 32px 8px 0 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #005bd3;
  box-shadow: none;
  font: 450 13px/20px MeridianAuthInter, Inter, Helvetica, Arial, sans-serif;
  text-align: start;
  white-space: normal;
}
.auth-page .auth-link:hover {
  color: #004299;
  text-decoration: underline;
}
.auth-page .auth-link:disabled {
  opacity: 1;
  color: #b5b5b5;
  text-decoration: none;
}
.auth-page .auth-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: auto;
  padding: 16px 20px;
  color: #202223;
  font-size: inherit;
  line-height: 20px;
  letter-spacing: -.384px;
}
.auth-page .auth-footer-item {
  color: #bfc7c8;
  font-size: 12px;
  font-weight: 420;
  line-height: 16px;
  letter-spacing: -.384px;
  text-align: center;
}
.auth-page .auth-footer a {
  color: #fff;
  text-decoration: none;
}
.auth-page .auth-footer a:hover {
  text-decoration: underline;
}
@media (min-width: 500px) {
  .auth-page .auth-card {
    width: 100%;
  }
}
@media (min-width: 1024px) {
  .auth-page .auth-card {
    box-shadow: 0 12px 20px -8px #1a1a1a3d,
      inset 0 1px 0 #cccccc80,
      inset 0 -1px 0 #0000002b,
      inset -1px 0 0 #00000021,
      inset 1px 0 0 #00000021;
  }
}
@media (max-width: 768px) {
  .auth-page .auth-brand {
    padding-top: 30px;
    width: 52px;
    height: 59px;
  }
  .auth-page .auth-brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 13px;
    font-size: 36px;
    letter-spacing: -2px;
    text-indent: -2px;
  }
}
@media (max-width: 639px) {
  .auth-page {
    font-size: 15px;
  }
}
@media (max-width: 568px) {
  .auth-page {
    background-image: linear-gradient(180deg, #0a1314 30.46%, #02090a 50%);
  }
}
@media (max-width: 500px) and (max-height: 1024px) {
  .auth-page .auth-card {
    width: calc(100% - 4px);
    margin-top: 38px;
    padding: 24px;
  }
  .auth-page .auth-footer {
    margin-top: 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .auth-page .auth-field input,
  .auth-page .auth-submit,
  .auth-page .auth-submit::before {
    transition: none;
  }
  .auth-page .auth-code-box--active::after {
    animation: none;
  }
}
