/* {$tpshop_config['shop_info_appName']} account pages */
:root {
  --auth-ink: #203247;
  --auth-muted: #66748a;
  --auth-line: #cbdce3;
  --auth-sky: #9ee7f2;
  --auth-sky-deep: #3eb6d0;
  --auth-cream: #fff8df;
  --auth-paper: #ffffff;
  --auth-yellow: #ffc72c;
  --auth-yellow-deep: #d88710;
  --auth-red: #ef5a45;
  --auth-red-deep: #c53d31;
  --auth-green: #2d9b61;
  --auth-danger: #c53d31;
  --auth-display: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
  --auth-body: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  min-width: 320px;
  background: var(--auth-cream);
}

body,
button,
input,
select {
  font-family: var(--auth-body);
  letter-spacing: 0;
}

body {
  min-width: 320px;
  min-height: 100vh;
  background: var(--auth-cream);
  color: var(--auth-ink);
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
}

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

.auth-showcase {
  position: sticky;
  top: 0;
  display: grid;
  height: 100vh;
  height: 100dvh;
  min-height: 650px;
  grid-template-rows: auto minmax(270px, 1fr) auto;
  overflow: hidden;
  padding: 28px 42px 38px;
  border-right: 5px solid var(--auth-yellow);
  background: var(--auth-sky);
  color: var(--auth-ink);
  isolation: isolate;
}

.auth-showcase::before {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -2;
  height: 26%;
  border-top: 5px solid #ffffff;
  background: #61bf79;
  content: "";
}

.auth-showcase::after {
  position: absolute;
  top: 13%;
  right: 5%;
  z-index: -1;
  width: 76px;
  height: 76px;
  background: url("../images/shop-coin.svg") center / contain no-repeat;
  content: "";
  filter: drop-shadow(0 7px 0 rgba(208, 118, 12, 0.2));
  transform: rotate(12deg);
}

.auth-brand {
  display: inline-flex;
  width: fit-content;
  max-width: calc(100% - 72px);
  align-items: center;
  gap: 11px;
  color: #18456a;
  font-family: var(--auth-display);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.auth-brand__mark {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  overflow: hidden;
  place-items: center;
  border: 3px solid #ffffff;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 6px 0 rgba(25, 118, 210, 0.16);
}

.auth-brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.auth-showcase__visual {
  position: relative;
  display: grid;
  min-height: 0;
  place-items: center;
  padding: 30px 10px 16px;
}

.auth-showcase__visual::before {
  position: absolute;
  top: 23%;
  left: 0;
  width: 66px;
  height: 64px;
  background: url("../images/053_Icon 15.png") center / contain no-repeat;
  content: "";
  filter: drop-shadow(0 7px 0 rgba(208, 118, 12, 0.16));
  transform: rotate(-10deg);
}

.auth-showcase__visual::after {
  position: absolute;
  right: -3px;
  bottom: 10px;
  width: 88px;
  height: 88px;
  border: 4px solid #ffffff;
  border-radius: 50%;
  background: #64d879 url("../images/003_Avatar 1.png") center / cover no-repeat;
  box-shadow: 0 7px 0 rgba(30, 102, 69, 0.25);
  content: "";
}

.auth-showcase__visual img {
  width: min(92%, 590px);
  max-height: 48vh;
  padding: 8px;
  border: 4px solid #ffffff;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 0 rgba(25, 118, 210, 0.15), 0 26px 36px rgba(30, 88, 120, 0.2);
  object-fit: contain;
  transform: rotate(-1deg);
}

.auth-showcase__copy {
  position: relative;
  z-index: 1;
  max-width: 510px;
  padding: 19px 22px 20px;
  border: 3px solid #ffffff;
  border-left: 7px solid var(--auth-red);
  border-radius: 8px;
  background: var(--auth-cream);
  box-shadow: 0 9px 0 rgba(45, 120, 72, 0.25);
}

.auth-showcase__copy p,
.auth-heading p {
  margin: 0 0 6px;
  color: #1976d2;
  font-family: var(--auth-display);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.4;
  text-transform: uppercase;
}

.auth-showcase__copy strong {
  display: block;
  color: #203247;
  font-family: var(--auth-display);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.25;
}

.auth-showcase__copy span {
  display: block;
  margin-top: 7px;
  color: #53677d;
  font-size: 14px;
  line-height: 1.55;
}

.auth-workspace {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100vh;
  min-height: 100dvh;
  flex-direction: column;
  padding: 26px 44px 44px;
  background: #fffdf7;
}

.auth-workspace::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 7px;
  background: var(--auth-red);
  content: "";
}

.auth-topbar {
  display: flex;
  width: min(100%, 520px);
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
}

.auth-home-link,
.auth-switch-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  font-family: var(--auth-display);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.3;
}

.auth-home-link {
  gap: 8px;
  color: #31536f;
}

.auth-home-link span {
  color: var(--auth-red);
  font-family: Arial, sans-serif;
  font-size: 20px;
  line-height: 1;
}

.auth-switch-link {
  min-width: 118px;
  padding: 8px 15px;
  border: 2px solid #e7a912;
  border-radius: 7px;
  background: #fff2a8;
  color: #6b4700;
  box-shadow: 0 4px 0 #d99713;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.auth-home-link:hover,
.auth-home-link:focus-visible {
  color: #1976d2;
  outline: none;
}

.auth-switch-link:hover,
.auth-switch-link:focus-visible {
  background: #ffe46c;
  box-shadow: 0 2px 0 #d99713;
  outline: none;
  transform: translateY(2px);
}

.auth-form-wrap {
  width: min(100%, 460px);
  margin: auto;
  padding: 54px 0 30px;
}

.auth-workspace--register .auth-form-wrap {
  padding-top: 30px;
}

.auth-heading {
  margin-bottom: 28px;
}

.auth-heading p {
  color: var(--auth-red);
}

.auth-heading h1 {
  margin: 0;
  color: var(--auth-ink);
  font-family: var(--auth-display);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.2;
}

.auth-heading > span {
  display: block;
  margin-top: 9px;
  color: var(--auth-muted);
  font-size: 14px;
  line-height: 1.6;
}

.auth-form {
  width: 100%;
}

.auth-field {
  margin-bottom: 11px;
}

.auth-field > label,
.auth-field__label-row label {
  display: block;
  margin-bottom: 7px;
  color: #344d64;
  font-family: var(--auth-display);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.35;
}

.auth-field__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.auth-field__label-row a,
.auth-field__label-row span {
  margin-bottom: 7px;
  color: var(--auth-muted);
  font-size: 12px;
  font-weight: 700;
}

.auth-field__label-row a,
.auth-form-switch a {
  color: #1976d2;
}

.auth-field__label-row a:hover,
.auth-field__label-row a:focus-visible,
.auth-form-switch a:hover,
.auth-form-switch a:focus-visible {
  color: #0c5ba7;
  text-decoration: underline;
  outline: none;
}

.auth-input-wrap {
  position: relative;
  min-width: 0;
}

.auth-input-wrap input,
.auth-input-wrap select {
  width: 100%;
  height: 54px;
  padding: 0 15px;
  border: 2px solid var(--auth-line);
  border-radius: 7px;
  background: var(--auth-paper);
  color: var(--auth-ink);
  font-size: 15px;
  outline: none;
  box-shadow: inset 0 -3px 0 rgba(32, 50, 71, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.auth-input-wrap select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #53677d 50%), linear-gradient(135deg, #53677d 50%, transparent 50%);
  background-position: calc(100% - 20px) 23px, calc(100% - 14px) 23px;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
  cursor: pointer;
}

.auth-input-wrap--password input {
  padding-right: 64px;
}

.auth-input-wrap input::placeholder {
  color: #9aa8b4;
}

.auth-input-wrap input:hover,
.auth-input-wrap select:hover {
  border-color: #94b7c4;
}

.auth-input-wrap input:focus,
.auth-input-wrap select:focus {
  border-color: var(--auth-sky-deep);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(62, 182, 208, 0.14), inset 0 -3px 0 rgba(32, 50, 71, 0.03);
}

.auth-input-wrap input[aria-invalid="true"] {
  border-color: var(--auth-danger);
  box-shadow: 0 0 0 4px rgba(197, 61, 49, 0.1);
}

.auth-password-toggle {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 48px;
  height: 40px;
  overflow: hidden;
  border-radius: 6px;
  background: #edf8fa;
  color: #486174;
  cursor: pointer;
  font-size: 0;
}

.auth-password-toggle::before,
.auth-password-toggle::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.auth-password-toggle::before {
  width: 18px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 70% 30%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.auth-password-toggle::after {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.auth-password-toggle:hover,
.auth-password-toggle:focus-visible {
  background: #dff3f7;
  color: #1976d2;
  outline: 2px solid rgba(25, 118, 210, 0.22);
}

.auth-field__error {
  min-height: 18px;
  padding-top: 4px;
  color: var(--auth-danger);
  font-size: 12px;
  line-height: 1.35;
  visibility: hidden;
}

.auth-field__error.is-visible {
  visibility: visible;
}

.auth-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 144px;
  gap: 10px;
}

.auth-code-button,
.auth-captcha {
  min-height: 54px;
  border: 2px solid #70bdca;
  border-radius: 7px;
  background: #e6f8fa;
}

.auth-code-button {
  padding: 8px 12px;
  color: #146a7d;
  font-family: var(--auth-display);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.35;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.auth-code-button:hover:not(:disabled),
.auth-code-button:focus-visible {
  background: #cceff4;
  outline: none;
  transform: translateY(-1px);
}

.auth-code-button:disabled,
.auth-submit:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.auth-captcha {
  height: 54px;
  padding: 0;
  overflow: hidden;
  background: #ffffff;
  cursor: pointer;
}

.auth-captcha img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth-submit {
  display: grid;
  width: 100%;
  min-height: 54px;
  margin-top: 7px;
  padding: 11px 18px;
  place-items: center;
  border: 2px solid #ffffff;
  border-radius: 7px;
  background: var(--auth-red);
  color: #ffffff;
  font-family: var(--auth-display);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
  box-shadow: 0 6px 0 var(--auth-red-deep), 0 12px 22px rgba(197, 61, 49, 0.18);
  cursor: pointer;
  transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.auth-submit:hover:not(:disabled),
.auth-submit:focus-visible {
  background: #f36954;
  box-shadow: 0 3px 0 var(--auth-red-deep), 0 9px 16px rgba(197, 61, 49, 0.2);
  outline: none;
  transform: translateY(3px);
}

.auth-submit--link {
  text-decoration: none;
}

.auth-complete-mark {
  position: relative;
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
  border: 4px solid #ffffff;
  border-radius: 50%;
  background: #55c982;
  box-shadow: 0 7px 0 #278b55;
}

.auth-complete-mark::after {
  position: absolute;
  top: 15px;
  left: 26px;
  width: 14px;
  height: 27px;
  border-right: 5px solid #ffffff;
  border-bottom: 5px solid #ffffff;
  content: "";
  transform: rotate(45deg);
}

.auth-status {
  min-height: 22px;
  padding-top: 7px;
  color: var(--auth-danger);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.auth-status.is-success {
  color: var(--auth-green);
}

.auth-form-switch {
  margin-top: 24px;
  color: var(--auth-muted);
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}

.auth-form-switch a {
  font-weight: 900;
}

.auth-noscript {
  margin-top: 12px;
  color: var(--auth-danger);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 1060px) {
  .auth-shell {
    grid-template-columns: minmax(350px, 40%) minmax(0, 1fr);
  }

  .auth-showcase {
    padding-right: 28px;
    padding-left: 28px;
  }

  .auth-showcase__visual::after {
    width: 74px;
    height: 74px;
  }

  .auth-workspace {
    padding-right: 32px;
    padding-left: 32px;
  }
}

@media (max-width: 780px) {
  .auth-shell {
    display: block;
  }

  .auth-showcase {
    position: relative;
    width: 100%;
    height: 252px;
    min-height: 252px;
    grid-template-columns: minmax(0, 1fr) minmax(185px, 0.85fr);
    grid-template-rows: auto 1fr;
    padding: 18px 24px 22px;
    border-right: 0;
    border-bottom: 5px solid var(--auth-yellow);
  }

  .auth-showcase::before {
    height: 34%;
  }

  .auth-showcase::after {
    top: 19px;
    right: 22px;
    width: 54px;
    height: 54px;
  }

  .auth-brand {
    z-index: 2;
    grid-column: 1 / -1;
  }

  .auth-brand__mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .auth-showcase__visual {
    grid-column: 2;
    grid-row: 2;
    padding: 12px 0 0 8px;
  }

  .auth-showcase__visual::before {
    top: 12px;
    left: -18px;
    width: 42px;
    height: 42px;
  }

  .auth-showcase__visual::after {
    right: -3px;
    bottom: -5px;
    width: 57px;
    height: 57px;
    border-width: 3px;
  }

  .auth-showcase__visual img {
    width: 100%;
    max-height: 135px;
    padding: 4px;
    border-width: 3px;
    box-shadow: 0 8px 0 rgba(25, 118, 210, 0.15);
  }

  .auth-showcase__copy {
    align-self: end;
    grid-column: 1;
    grid-row: 2;
    padding: 13px 14px;
    border-width: 2px;
    border-left-width: 6px;
    box-shadow: 0 6px 0 rgba(45, 120, 72, 0.22);
  }

  .auth-showcase__copy strong {
    font-size: 18px;
  }

  .auth-showcase__copy span {
    display: none;
  }

  .auth-workspace {
    min-height: calc(100vh - 252px);
    min-height: calc(100dvh - 252px);
    padding: 20px 24px 42px;
  }

  .auth-form-wrap,
  .auth-workspace--register .auth-form-wrap {
    padding-top: 38px;
  }
}

@media (max-width: 520px) {
  .auth-showcase {
    height: 204px;
    min-height: 204px;
    grid-template-columns: minmax(0, 1fr) 132px;
    padding: 15px 17px 17px;
  }

  .auth-showcase::after {
    display: none;
  }

  .auth-brand {
    max-width: 100%;
    gap: 8px;
    font-size: 13px;
  }

  .auth-brand__mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-width: 2px;
  }

  .auth-showcase__visual {
    padding-left: 5px;
  }

  .auth-showcase__visual::before {
    display: none;
  }

  .auth-showcase__visual::after {
    width: 43px;
    height: 43px;
  }

  .auth-showcase__visual img {
    max-height: 96px;
  }

  .auth-showcase__copy {
    padding: 10px 10px 10px 12px;
  }

  .auth-showcase__copy p {
    margin-bottom: 3px;
    font-size: 9px;
  }

  .auth-showcase__copy strong {
    font-size: 14px;
  }

  .auth-workspace {
    min-height: calc(100vh - 204px);
    min-height: calc(100dvh - 204px);
    padding: 17px 17px 38px;
  }

  .auth-topbar {
    min-height: 40px;
  }

  .auth-switch-link {
    min-width: 102px;
    min-height: 39px;
    padding-right: 9px;
    padding-left: 9px;
    font-size: 9px;
  }

  .auth-form-wrap,
  .auth-workspace--register .auth-form-wrap {
    padding-top: 30px;
  }

  .auth-heading {
    margin-bottom: 24px;
  }

  .auth-heading h1 {
    font-size: 27px;
  }

  .auth-code-row {
    grid-template-columns: minmax(0, 1fr) 116px;
  }

  .auth-code-button {
    padding-right: 7px;
    padding-left: 7px;
    font-size: 9px;
  }
}

@media (max-width: 370px) {
  .auth-code-row {
    grid-template-columns: minmax(0, 1fr) 104px;
    gap: 7px;
  }

  .auth-heading h1 {
    font-size: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-switch-link,
  .auth-input-wrap input,
  .auth-input-wrap select,
  .auth-code-button,
  .auth-submit {
    transition: none;
  }
}

/* {$tpshop_config['shop_info_appName']} auth refresh */
:root {
  --auth-ink: #123858;
  --auth-muted: #526781;
  --auth-line: rgba(21, 58, 96, 0.16);
  --auth-sky: #77e7fb;
  --auth-sky-deep: #1688e8;
  --auth-cream: #fff8d7;
  --auth-paper: #ffffff;
  --auth-yellow: #ffd23f;
  --auth-yellow-deep: #f18b18;
  --auth-red: #ff4f70;
  --auth-red-deep: #d6224c;
  --auth-green: #36c21f;
  --auth-danger: #d6224c;
}

html,
body {
  background:
    radial-gradient(circle at 15% 8%, rgba(255, 210, 63, 0.3), transparent 24%),
    linear-gradient(180deg, #dffbff, #fff8d7);
}

.auth-showcase {
  border-right-color: #ffffff;
  background:
    radial-gradient(circle at 26% 10%, rgba(255, 210, 63, 0.38), transparent 27%),
    linear-gradient(180deg, #38c9f4, #1688e8);
}

.auth-showcase::before {
  border-top-color: #ffffff;
  background: linear-gradient(180deg, #a9f04c, #61d72a);
}

.auth-showcase::after {
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, #ffffff 0 15%, transparent 16%),
    conic-gradient(#ff4f70, #ffd23f, #61d72a, #18d4f2, #9b55f4, #ff4f70);
}

.auth-brand {
  color: #ffffff;
  text-shadow: 0 2px 0 rgba(0, 60, 110, 0.26);
}

.auth-brand__mark {
  border-radius: 16px;
  box-shadow: 0 6px 0 rgba(13, 87, 147, 0.22);
}

.auth-showcase__visual::before {
  border-radius: 18px;
  background:
    radial-gradient(circle at 35% 28%, rgba(255,255,255,0.72) 0 15%, transparent 16%),
    linear-gradient(180deg, #ff8ca2, #f33f63);
}

.auth-showcase__visual::after {
  background:
    radial-gradient(circle at 35% 28%, rgba(255,255,255,0.72) 0 15%, transparent 16%),
    linear-gradient(180deg, #9df43a, #50c91d);
}

.auth-showcase__visual img {
  border-radius: 20px;
  box-shadow: 0 16px 0 rgba(13, 87, 147, 0.18), 0 26px 36px rgba(13, 87, 147, 0.22);
  object-fit: cover;
}

.auth-showcase__copy {
  border-color: #ffffff;
  border-left-color: var(--auth-red);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 9px 0 rgba(13, 87, 147, 0.2);
}

.auth-showcase__copy p,
.auth-heading p {
  color: var(--auth-red);
}

.auth-showcase__copy strong,
.auth-heading h1 {
  color: var(--auth-ink);
}

.auth-workspace {
  background:
    radial-gradient(circle at 90% 6%, rgba(255, 79, 112, 0.1), transparent 24%),
    #f8feff;
}

.auth-workspace::before {
  height: 8px;
  background: linear-gradient(90deg, #ff4f70, #ffd23f, #18d4f2, #61d72a);
}

.auth-switch-link,
.auth-submit {
  border: 2px solid #ffffff;
  border-radius: 16px;
  background: linear-gradient(180deg, #8cf023, #36c21f);
  color: #ffffff;
  box-shadow: 0 5px 0 #159018;
  text-shadow: 0 2px 0 rgba(20, 106, 18, 0.28);
}

.auth-switch-link:hover,
.auth-switch-link:focus-visible,
.auth-submit:hover,
.auth-submit:focus-visible {
  background: linear-gradient(180deg, #9aff31, #39c924);
}

.auth-input-wrap,
.auth-code-row .auth-input-wrap {
  border: 2px solid #c9eef6;
  border-radius: 16px;
  background: #ffffff;
}

.auth-input-wrap:focus-within {
  border-color: #18bfe3;
  box-shadow: 0 0 0 4px rgba(24, 191, 227, 0.14);
}

.auth-captcha,
.auth-code-button,
.auth-password-toggle {
  border-radius: 14px;
}
