/*
 * Sign-in and sign-up pages (Modules\Auth). DESIGN.md §3.2, the owner's design: a white
 * card on a soft backdrop that moves slowly; on the left the logo, a line about gifts and
 * a picture on a pastel haze, on the right the form. Colours, radii and corner smoothing
 * come from the child theme's tokens (style.css :root), with fallbacks.
 *
 * "Şifremi Unuttum" and "Şifre Sıfırlama" (.hs-auth--solo, the owner's second design,
 * D-088): one column, the logo above, a picture sitting on the card's top edge, the same
 * fields and button; the reset form's rules turn green as they are met.
 *
 * The pictures and the backdrop are the owner's files (assets/auth/images/, View::ART,
 * View::BACKDROP, View::SOLO): a picture fills the left side (`.has-art`), the box at the
 * bottom and the text on its sky (until it is there a pastel haze with a gift); the
 * backdrop covers the window (`.has-backdrop`; without it soft moving light).
 *
 * Contrast: text --hs-ink 14.85:1 and --hs-muted 6.06:1 on white; the orange headline
 * words --hs-orange-600 3.33:1 (large text, 36 px and more); links --hs-blue-600 4.78:1;
 * the button's white 19 px bold on --hs-orange-600 3.33:1 (large text); errors --hs-red
 * 4.70:1; field outlines #b9bfd0 against white with a 3 px ring on focus.
 */

.hs-auth {
  --hs-auth-card-r: calc(var(--hs-radius-xl, 28px) * var(--hs-corner-scale, 1) + 4px);
  --hs-auth-field-r: var(--hs-r-md, 14px);
  --hs-auth-line: #dfe3ec;
  --hs-fw-heading: 900;
  --hs-fw-strong: 800;
  --hs-fw-label: 700;
  --hs-fw-ui: 600;
  --hs-fw-body: 500;

  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 40px 24px;
  overflow: hidden;
  color: var(--hs-ink, #1f2547);
  font-family: var(--hs-font, system-ui, sans-serif);
  font-size: 16px;
  font-weight: var(--hs-fw-body);
  line-height: 1.5;
  background: #fbf7f4;
}

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

.hs-auth :where(p, h1, h2, fieldset, legend) {
  margin: 0;
}

.hs-auth :focus-visible {
  outline: 2px solid var(--hs-focus, #1f2547);
  outline-offset: 2px;
}

.hs-auth svg {
  flex: none;
}

body.hs-auth-page {
  margin: 0;
  background: #fbf7f4;
}

/* -------------------------------------------------------------------------------- */
/* Backdrop                                                                          */
/* -------------------------------------------------------------------------------- */

.hs-auth__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hs-auth__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.75;
  will-change: transform;
}

.hs-auth__glow--a {
  top: -18%;
  left: -12%;
  width: 52vw;
  height: 52vw;
  background: radial-gradient(circle, rgb(123 170 240 / 45%), transparent 65%);
  animation: hs-auth-drift 24s ease-in-out infinite alternate;
}

.hs-auth__glow--b {
  top: -20%;
  right: -14%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgb(255 190 140 / 55%), transparent 65%);
  animation: hs-auth-drift 28s ease-in-out -6s infinite alternate-reverse;
}

.hs-auth__glow--c {
  right: 10%;
  bottom: -30%;
  width: 46vw;
  height: 46vw;
  background: radial-gradient(circle, rgb(255 170 185 / 40%), transparent 65%);
  animation: hs-auth-drift 22s ease-in-out -11s infinite alternate;
}

.hs-auth__piece {
  position: absolute;
  display: block;
  animation: hs-auth-float 9s ease-in-out infinite;
}

.hs-auth__piece img {
  display: block;
  width: 100%;
  height: auto;
}

/* The owner's backdrop: pastel clouds, balloons, hearts and stars around the card. */
.hs-auth.has-backdrop {
  background: #f8e1ef;
}

.hs-auth__backdrop--picture img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

/* Where each piece floats (percent of the window, so it keeps around the card). */
.hs-auth__piece--balloon-blue {
  top: -4%;
  left: -3%;
  width: clamp(110px, 12vw, 190px);
  animation-duration: 12s;
}

.hs-auth__piece--balloon-peach {
  top: -6%;
  right: -2%;
  width: clamp(120px, 13vw, 210px);
  animation-duration: 14s;
  animation-delay: -4s;
}

.hs-auth__piece--heart-left {
  top: 5%;
  left: 23%;
  width: clamp(40px, 4vw, 64px);
  animation-duration: 8s;
  animation-delay: -2s;
}

.hs-auth__piece--heart-right {
  top: 30%;
  right: 3%;
  width: clamp(44px, 4.5vw, 72px);
  animation-duration: 10s;
  animation-delay: -5s;
}

.hs-auth__piece--star-left {
  bottom: 22%;
  left: 2%;
  width: clamp(30px, 3vw, 46px);
  animation-duration: 7s;
  animation-delay: -1s;
}

.hs-auth__piece--star-right {
  top: 5%;
  right: 30%;
  width: clamp(30px, 3vw, 48px);
  animation-duration: 8.5s;
  animation-delay: -3s;
}

.hs-auth__piece--cloud-left {
  bottom: -6%;
  left: -4%;
  width: clamp(180px, 22vw, 340px);
  animation-duration: 16s;
}

.hs-auth__piece--cloud-right {
  right: -4%;
  bottom: -8%;
  width: clamp(180px, 24vw, 360px);
  animation-duration: 18s;
  animation-delay: -7s;
}

@keyframes hs-auth-drift {
  to {
    transform: translate(6vw, 4vh) scale(1.12);
  }
}

@keyframes hs-auth-float {
  50% {
    transform: translateY(-14px) rotate(-3deg);
  }
}

/* -------------------------------------------------------------------------------- */
/* Card                                                                              */
/* -------------------------------------------------------------------------------- */

.hs-auth__main {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1020px;
}

.hs-auth__card {
  display: grid;
  /* The picture side portrait, as in the design (its box starts under the text). */
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  min-height: 760px;
  overflow: hidden;
  border-radius: var(--hs-auth-card-r);
  corner-shape: var(--hs-corner-shape, round);
  background: #fff;
  box-shadow:
    0 40px 90px -40px rgb(31 37 71 / 30%),
    0 2px 8px rgb(31 37 71 / 6%);
}

/* The left side: logo, the line about gifts, the picture on a pastel haze. */
.hs-auth__hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 40px 40px 0;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(90% 60% at 10% 0%, #eaf1ff 0%, transparent 70%),
    radial-gradient(80% 60% at 100% 100%, #ffe1d6 0%, transparent 70%),
    linear-gradient(170deg, #f6f8ff 0%, #fff5ee 55%, #fff0ea 100%);
}

.hs-auth__brand .hs-logo {
  display: inline-flex;
  color: inherit;
  font-weight: var(--hs-fw-heading);
  text-decoration: none;
}

.hs-auth__brand .hs-logo__img {
  display: block;
  width: auto;
  height: 52px;
}

.hs-auth__headline {
  margin-top: 28px;
  color: var(--hs-ink, #1f2547);
  font-size: clamp(32px, 3.1vw, 42px);
  font-weight: var(--hs-fw-heading);
  line-height: 1.07;
  letter-spacing: -0.02em;
}

.hs-auth__headline em {
  color: var(--hs-orange-600, #e06c00);
  font-style: normal;
}

.hs-auth__lead {
  max-width: 32ch;
  margin-top: 14px;
  color: #2c3357;
  font-size: 16px;
  line-height: 1.55;
}

.hs-auth__art {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  padding-top: 24px;
}

.hs-auth__art-img {
  display: block;
  width: min(100%, 460px);
  height: auto;
  margin-bottom: -6px;
}

/* The owner's picture fills the side, anchored at the bottom (the box); the text sits on its sky. */
.hs-auth__hero.has-art .hs-auth__art {
  position: absolute;
  inset: 0;
  z-index: -1;
  margin: 0;
  padding: 0;
}

.hs-auth__hero.has-art .hs-auth__art-img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: 50% 100%;
}

.hs-auth__art-placeholder {
  display: grid;
  place-items: center;
  width: 240px;
  height: 240px;
  margin-bottom: 40px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #ffe2c8 70%);
  box-shadow: 0 20px 50px -20px rgb(224 108 0 / 40%);
  color: var(--hs-orange-600, #e06c00);
}

/* The right side: the form. */
.hs-auth__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 52px 64px 44px;
}

.hs-auth__title {
  color: var(--hs-ink, #1f2547);
  font-family: inherit;
  font-size: 38px;
  font-weight: var(--hs-fw-heading);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.hs-auth__title span,
.hs-auth__title.is-accent {
  color: var(--hs-orange-600, #e06c00);
}

/* The icon ends the line, also when it wraps. */
.hs-auth__sub {
  margin: 10px 0 28px;
  color: var(--hs-muted, #5b6180);
  font-size: 16px;
}

.hs-auth__sub svg {
  display: inline-block;
  margin-left: 8px;
  vertical-align: -4px;
}

.hs-auth__sub > svg {
  color: var(--hs-orange-600, #e06c00);
}

.hs-auth__heart {
  color: var(--hs-blue-600, #0070e0);
}

/* A message for the whole form. */
.hs-auth__alert {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 20px;
  padding: 12px 14px;
  border-radius: var(--hs-auth-field-r);
  corner-shape: var(--hs-corner-shape, round);
  background: #fdecf0;
  color: #b0103a;
  font-size: 15px;
  font-weight: var(--hs-fw-ui);
}

.hs-auth__alert.is-info {
  background: #eef5ff;
  color: var(--hs-blue-700, #185c9f);
}

.hs-auth__alert.is-success {
  background: #e9f7ee;
  color: #1b6b37;
}

.hs-auth__alert svg {
  margin-top: 1px;
}

/* WooCommerce's script moves the focus to an alert for screen readers; it is not a control. */
.hs-auth__alert:focus {
  outline: 0;
}

/* Social sign-in and "or". */
.hs-auth__social {
  display: grid;
  gap: 12px;
}

.hs-auth .hs-auth-social,
.hs-auth .hs-auth-social:is(:hover, :focus, :active, :visited) {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 20px;
  border: 1px solid var(--hs-auth-line);
  border-radius: var(--hs-auth-field-r);
  corner-shape: var(--hs-corner-shape, round);
  background: #fff;
  box-shadow: 0 1px 2px rgb(31 37 71 / 5%);
  color: var(--hs-ink, #1f2547);
  font-size: 16px;
  font-weight: var(--hs-fw-label);
  text-decoration: none;
}

.hs-auth .hs-auth-social:hover {
  border-color: #b9c3d8;
  background: #fafbfd;
}

.hs-auth__or {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 24px 0;
  color: var(--hs-muted, #5b6180);
  font-size: 14px;
}

.hs-auth__or::before,
.hs-auth__or::after {
  flex: 1;
  height: 1px;
  background: var(--hs-auth-line);
  content: '';
}

/* -------------------------------------------------------------------------------- */
/* Fields                                                                            */
/* -------------------------------------------------------------------------------- */

.hs-auth__form {
  position: relative;
  display: grid;
  gap: 18px;
  margin: 0;
}

.hs-auth-field__label {
  display: block;
  margin-bottom: 8px;
  color: var(--hs-ink, #1f2547);
  font-size: 15px;
  font-weight: var(--hs-fw-label);
}

.hs-auth-field__optional {
  color: var(--hs-muted, #5b6180);
  font-weight: var(--hs-fw-body);
}

.hs-auth-field__control {
  position: relative;
}

.hs-auth-field__icon {
  position: absolute;
  top: 50%;
  left: 16px;
  display: flex;
  color: #8a90ab;
  transform: translateY(-50%);
  pointer-events: none;
}

.hs-auth .hs-auth-field__input {
  display: block;
  width: 100%;
  height: 56px;
  margin: 0;
  padding: 0 16px 0 52px;
  border: 1px solid #b9bfd0;
  border-radius: var(--hs-auth-field-r);
  corner-shape: var(--hs-corner-shape, round);
  outline: 0;
  background: #fff;
  box-shadow: none;
  color: var(--hs-ink, #1f2547);
  font-family: inherit;
  font-size: 16px;
  font-weight: var(--hs-fw-ui);
  line-height: 1.3;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.hs-auth .hs-auth-field__input[type='password'],
.hs-auth .hs-auth-field__control:has(.hs-auth-field__eye:not([hidden])) .hs-auth-field__input {
  padding-right: 56px;
}

.hs-auth .hs-auth-field__input::placeholder {
  color: #7d8299;
  font-weight: var(--hs-fw-body);
  opacity: 1;
}

.hs-auth .hs-auth-field__input:focus {
  border-color: var(--hs-blue-600, #0070e0);
  box-shadow: 0 0 0 3px rgb(0 112 224 / 18%);
}

.hs-auth .hs-auth-field.is-invalid .hs-auth-field__input {
  border-color: var(--hs-red, #e11d48);
}

.hs-auth .hs-auth-field.is-invalid .hs-auth-field__input:focus {
  box-shadow: 0 0 0 3px rgb(225 29 72 / 16%);
}

.hs-auth-field.is-invalid .hs-auth-field__icon {
  color: var(--hs-red, #e11d48);
}

/* Show or hide the password (auth.js). */
.hs-auth .hs-auth-field__eye {
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: calc(var(--hs-auth-field-r) - 6px);
  background: none;
  box-shadow: none;
  color: #8a90ab;
  transform: translateY(-50%);
  cursor: pointer;
}

.hs-auth .hs-auth-field__eye:is(:hover, :focus, :active) {
  background: #f2f4f8;
  box-shadow: none;
  color: var(--hs-ink, #1f2547);
}

.hs-auth .hs-auth-field__eye[hidden] {
  display: none;
}

.hs-auth-field__eye[aria-pressed='false'] svg:last-child,
.hs-auth-field__eye[aria-pressed='true'] svg:first-child {
  display: none;
}

.hs-auth-field__error {
  margin: 6px 0 0;
  color: var(--hs-red, #e11d48);
  font-size: 14px;
  font-weight: var(--hs-fw-ui);
}

.hs-auth-field__error a {
  color: var(--hs-blue-600, #0070e0);
  font-weight: var(--hs-fw-label);
}

/* "Remember me", "Forgot my password?". */
.hs-auth__row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: -2px;
}

.hs-auth__check {
  display: inline-flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--hs-ink, #1f2547);
  font-size: 15px;
  font-weight: var(--hs-fw-ui);
  line-height: 1.45;
  cursor: pointer;
}

.hs-auth__check input {
  flex: none;
  margin: 0;
}

.hs-auth .hs-auth__forgot {
  color: var(--hs-blue-600, #0070e0);
  font-size: 15px;
  font-weight: var(--hs-fw-strong);
  text-decoration: none;
}

.hs-auth :is(.hs-auth__forgot, .hs-auth__switch a):hover {
  color: var(--hs-blue-700, #185c9f);
  text-decoration: underline;
}

/* The opt-ins and the agreement (sign-up). */
.hs-auth__optins {
  min-width: 0;
  padding: 0;
  border: 0;
}

.hs-auth__optins legend {
  padding: 0;
  margin-bottom: 8px;
  color: var(--hs-ink, #1f2547);
  font-size: 15px;
  font-weight: var(--hs-fw-ui);
  line-height: 1.45;
}

.hs-auth__optin-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}

.hs-auth__consent a {
  color: var(--hs-blue-600, #0070e0);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hs-auth__consent.is-invalid .hs-auth__check {
  color: var(--hs-red, #e11d48);
}

.hs-auth__note {
  margin-top: 6px;
  color: var(--hs-muted, #5b6180);
  font-size: 13px;
  line-height: 1.5;
}

.hs-auth__note a {
  color: var(--hs-blue-600, #0070e0);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* The button (and the main button of a second-step method that draws itself). */
.hs-auth .hs-auth__submit,
.hs-auth .hs-auth__submit:is(:hover, :focus, :active),
.hs-auth .hs-auth__provider .button-primary,
.hs-auth .hs-auth__provider .button-primary:is(:hover, :focus, :active) {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  margin: 6px 0 0;
  padding: 0 24px;
  border: 0;
  border-radius: var(--hs-r-pill, 999px);
  background: linear-gradient(180deg, #f5821b 0%, var(--hs-orange-600, #e06c00) 100%);
  box-shadow: 0 12px 26px -10px rgb(224 108 0 / 60%);
  color: #fff;
  font-family: inherit;
  font-size: 19px;
  font-weight: var(--hs-fw-strong);
  line-height: 1.2;
  cursor: pointer;
}

.hs-auth .hs-auth__submit:hover,
.hs-auth .hs-auth__provider .button-primary:hover {
  background: linear-gradient(180deg, #e87612 0%, var(--hs-orange-700, #c2410c) 100%);
}

.hs-auth .hs-auth__submit:focus-visible,
.hs-auth .hs-auth__provider .button-primary:focus-visible {
  outline: 2px solid var(--hs-focus, #1f2547);
  outline-offset: 3px;
}

.hs-auth .hs-auth__submit[aria-busy='true'] {
  cursor: progress;
}

.hs-auth__switch {
  margin-top: 24px;
  color: var(--hs-muted, #5b6180);
  font-size: 15px;
  text-align: center;
}

.hs-auth .hs-auth__switch a {
  color: var(--hs-blue-600, #0070e0);
  font-weight: var(--hs-fw-strong);
  text-decoration: none;
}

/*
 * The second sign-in step (TwoStep, D-141): the method's words over its field, "send the
 * code again" as a quiet link-button, the other methods as grey rows, and a method that
 * draws itself (Face ID / Touch ID) in the page's words and button.
 */
.hs-auth__prompt {
  margin: -8px 0 18px;
  color: var(--hs-muted, #5b6180);
  font-size: 15px;
  line-height: 1.5;
}

.hs-auth .hs-auth__step .hs-auth-field__input {
  letter-spacing: 0.12em;
}

.hs-auth .hs-auth__resend {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 14px 0 0;
  padding: 10px;
  border: 0;
  background: none;
  color: var(--hs-blue-600, #0070e0);
  font-family: inherit;
  font-size: 15px;
  font-weight: var(--hs-fw-strong);
  cursor: pointer;
}

.hs-auth .hs-auth__resend:hover {
  color: var(--hs-blue-700, #185c9f);
  text-decoration: underline;
}

.hs-auth .hs-auth__resend:focus-visible {
  outline: 2px solid var(--hs-focus, #1f2547);
  outline-offset: 2px;
  border-radius: 8px;
}

.hs-auth__methods {
  margin-top: 26px;
}

.hs-auth__methods > p {
  margin: 0 0 10px;
  color: var(--hs-muted, #5b6180);
  font-size: 14px;
}

.hs-auth__methods ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hs-auth .hs-auth__methods a {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 14px 0 16px;
  border-radius: var(--hs-auth-field-r);
  corner-shape: var(--hs-corner-shape, round);
  background: #f4f6f9;
  color: var(--hs-ink, #1f2547);
  font-size: 15px;
  font-weight: var(--hs-fw-strong);
  text-decoration: none;
}

.hs-auth .hs-auth__methods a:hover {
  background: #eaeef5;
}

.hs-auth .hs-auth__methods a:focus-visible {
  outline: 2px solid var(--hs-focus, #1f2547);
  outline-offset: 2px;
}

.hs-auth .hs-auth__methods svg {
  flex: none;
  color: #8a90ab;
}

.hs-auth__provider .two-factor-prompt {
  margin: -8px 0 18px;
  color: var(--hs-muted, #5b6180);
  font-size: 15px;
  line-height: 1.5;
}

.hs-auth__provider p {
  margin: 0;
}

.hs-auth__provider .hs-passkey-login__status:not(:empty) {
  margin-top: 12px;
  color: var(--hs-muted, #5b6180);
  font-size: 15px;
  text-align: center;
}

/* The honeypot: out of sight and out of reach. */
.hs-auth .hs-auth__trap {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* -------------------------------------------------------------------------------- */
/* Şifremi Unuttum, Şifre Sıfırlama: one column                                      */
/* -------------------------------------------------------------------------------- */

.hs-auth--solo {
  padding: 36px 24px 56px;
}

.hs-auth__main--solo {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 580px;
}

.hs-auth--solo .hs-auth__brand .hs-logo__img {
  height: 58px;
}

/*
 * With the owner's backdrop: the picture is drawn from the top under a band for the logo,
 * as wide as the window but never narrower than --hs-auth-art-min; its envelope or lock
 * sits at its top middle. The band and the page under the picture take its colours.
 *
 * The card is in the middle of the window (the owner's call). The spaces above and below
 * it share what is left equally, the one above never less than the logo's band
 * (--hs-auth-clear): a card too tall for the middle starts under the band.
 */
.hs-auth--solo.has-backdrop {
  --hs-auth-art-min: 1440px;
  --hs-auth-art-w: max(100vw, var(--hs-auth-art-min));
  --hs-auth-art-top: 92px;
  --hs-auth-sky: linear-gradient(90deg, #f8d3e5 0%, #f9e0ee 50%, #cfe4fb 100%);
  --hs-auth-clear: calc(var(--hs-auth-art-top) + 12px);
  --hs-auth-edge: 20px;

  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: 0;
  background: #f5d9ee;
}

.hs-auth--solo.has-backdrop::before,
.hs-auth--solo.has-backdrop::after {
  content: '';
  flex: 1 0 0;
  min-height: var(--hs-auth-clear);
}

.hs-auth--solo.has-backdrop::after {
  min-height: var(--hs-auth-edge);
}

.hs-auth--forgot.has-backdrop {
  --hs-auth-sky: linear-gradient(90deg, #f7d6e8 0%, #f8e4f1 50%, #d8e6fb 100%);
}

.hs-auth--solo .hs-auth__backdrop--picture {
  background:
    var(--hs-auth-sky) top / 100% calc(var(--hs-auth-art-top) + 64px) no-repeat,
    #f5d9ee;
}

.hs-auth--solo .hs-auth__backdrop--picture img {
  position: absolute;
  top: var(--hs-auth-art-top);
  left: 50%;
  width: var(--hs-auth-art-w);
  height: auto;
  transform: translateX(-50%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 64px, #000 calc(100% - 200px), transparent 100%);
}

/* Only the card in the column: the logo is placed on the page; the column stays above
   the backdrop as a flex item. */
.hs-auth--solo.has-backdrop .hs-auth__main--solo {
  position: static;
  z-index: 1;
}

.hs-auth--solo.has-backdrop .hs-auth__brand {
  position: absolute;
  top: calc((var(--hs-auth-art-top) - 58px) / 2);
  left: 50%;
  transform: translateX(-50%);
}

.hs-auth--solo.has-backdrop .hs-auth__stack {
  margin-top: 0;
}

.hs-auth--solo.has-backdrop .hs-auth__sheet {
  padding-top: 44px;
}

.hs-auth__stack {
  position: relative;
  width: 100%;
  margin-top: 18px;
}

/* The picture sits on the card's top edge: above it, overlapping it a little. */
.hs-auth__scene {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  height: 176px;
  margin-bottom: -58px;
  pointer-events: none;
}

/* Until the owner's picture is there: the envelope or lock on a warm disc, a heart and stars. */
.hs-auth__scene-disc {
  display: grid;
  place-items: center;
  align-self: flex-end;
  width: 136px;
  height: 136px;
  border: 6px solid #fff;
  border-radius: 50%;
  background: linear-gradient(160deg, #ffb46b 0%, var(--hs-orange-600, #e06c00) 100%);
  box-shadow: 0 22px 44px -18px rgb(224 108 0 / 55%);
  color: #fff;
}

.hs-auth--reset .hs-auth__scene-disc {
  background: linear-gradient(160deg, #ffd27a 0%, #f39a1d 100%);
  box-shadow: 0 22px 44px -18px rgb(243 154 29 / 55%);
}

.hs-auth__scene-bit {
  position: absolute;
  display: flex;
  animation: hs-auth-float 8s ease-in-out infinite;
}

.hs-auth__scene-bit.is-heart {
  top: 42px;
  left: calc(50% - 124px);
  color: #f0445f;
  animation-delay: -2s;
}

.hs-auth__scene-bit.is-star {
  top: 18px;
  right: calc(50% - 116px);
  color: #f5b82e;
  animation-duration: 9s;
}

.hs-auth__scene-bit.is-star svg,
.hs-auth__scene-bit.is-heart svg {
  fill: currentColor;
}

.hs-auth__scene-bit.is-spark {
  top: 92px;
  right: calc(50% - 142px);
  color: var(--hs-blue-600, #0070e0);
  animation-duration: 7s;
  animation-delay: -4s;
}

.hs-auth__sheet {
  position: relative;
  z-index: 1;
  padding: 72px 52px 44px;
  border-radius: var(--hs-auth-card-r);
  corner-shape: var(--hs-corner-shape, round);
  background: #fff;
  box-shadow:
    0 40px 90px -40px rgb(31 37 71 / 30%),
    0 2px 8px rgb(31 37 71 / 6%);
}

.hs-auth .hs-auth__back {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  margin: 0 0 16px -4px;
  padding: 4px;
  border-radius: 8px;
  color: var(--hs-muted, #5b6180);
  font-size: 15px;
  font-weight: var(--hs-fw-label);
  text-decoration: none;
}

.hs-auth .hs-auth__back:hover {
  color: var(--hs-blue-600, #0070e0);
}

.hs-auth--solo .hs-auth__title {
  font-size: 36px;
}

.hs-auth--solo .hs-auth__sub {
  max-width: 44ch;
  margin-bottom: 26px;
}

/* "Check your e-mail". */
.hs-auth__tip {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: var(--hs-auth-field-r);
  corner-shape: var(--hs-corner-shape, round);
  background: #f3f6fc;
  color: var(--hs-muted, #5b6180);
  font-size: 14.5px;
  line-height: 1.55;
}

.hs-auth__tip > svg {
  margin-top: 1px;
  color: var(--hs-blue-600, #0070e0);
}

.hs-auth__tip.is-sent {
  background: #eef5ff;
  box-shadow: inset 0 0 0 1px rgb(0 112 224 / 22%);
}

.hs-auth__tip-title {
  margin-bottom: 4px;
  color: var(--hs-ink, #1f2547);
  font-size: 15px;
  font-weight: var(--hs-fw-strong);
}

/* The password rules: grey until met, then green. */
.hs-auth .hs-auth__rules {
  display: grid;
  gap: 8px;
  margin: -2px 0 2px;
  padding: 0;
  list-style: none;
}

.hs-auth__rules li {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0;
  color: var(--hs-muted, #5b6180);
  font-size: 15px;
  font-weight: var(--hs-fw-ui);
  transition: color 0.15s ease;
}

.hs-auth__rules svg {
  color: #b9bfd0;
  transition: color 0.15s ease;
}

.hs-auth__rules li.is-met {
  color: var(--hs-ink, #1f2547);
}

.hs-auth__rules li.is-met svg {
  color: #1f9d55;
}

.hs-auth__rules li.is-missing {
  color: var(--hs-red, #e11d48);
}

.hs-auth__rules li.is-missing svg {
  color: var(--hs-red, #e11d48);
}

/* -------------------------------------------------------------------------------- */
/* Smaller screens                                                                   */
/* -------------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .hs-auth__panel {
    padding: 44px 44px 36px;
  }
}

/* One column: the picture side shrinks to a band above the form. */
@media (max-width: 899px) {
  .hs-auth {
    padding: 24px 16px;
  }

  .hs-auth__card {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .hs-auth__hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 200px;
    grid-template-areas:
      'brand brand'
      'line art'
      'lead art';
    column-gap: 16px;
    padding: 28px 28px 0;
  }

  .hs-auth__brand {
    grid-area: brand;
  }

  .hs-auth__headline {
    grid-area: line;
    margin-top: 24px;
    font-size: 34px;
  }

  .hs-auth__lead {
    grid-area: lead;
    margin: 12px 0 24px;
    font-size: 16px;
  }

  .hs-auth__art {
    grid-area: art;
    align-self: end;
    padding-top: 0;
  }

  .hs-auth__art-placeholder {
    width: 160px;
    height: 160px;
    margin-bottom: 24px;
  }

  /* The picture as a tile beside the text, cropped to its gift box. */
  .hs-auth__hero.has-art .hs-auth__art {
    position: static;
    z-index: auto;
    margin-bottom: 24px;
  }

  .hs-auth__hero.has-art .hs-auth__art-img {
    width: 200px;
    height: 240px;
    border-radius: calc(var(--hs-radius-lg, 20px) * var(--hs-corner-scale, 1));
    corner-shape: var(--hs-corner-shape, round);
    object-position: 50% 92%;
  }

  .hs-auth__panel {
    padding: 32px 28px 32px;
  }
}

/* Phones: the logo and the line, no picture; the form comes up. */
@media (max-width: 599px) {
  .hs-auth {
    place-items: start center;
    padding: 12px;
  }

  .hs-auth__card {
    border-radius: calc(var(--hs-radius-lg, 20px) * var(--hs-corner-scale, 1) + 4px);
  }

  .hs-auth__hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      'brand'
      'line'
      'lead';
    padding: 22px 20px 0;
  }

  .hs-auth__brand .hs-logo__img {
    height: 36px;
  }

  .hs-auth__headline {
    margin-top: 18px;
    font-size: 27px;
  }

  .hs-auth__lead {
    margin-bottom: 20px;
    font-size: 15px;
  }

  .hs-auth__art {
    display: none;
  }

  .hs-auth__panel {
    padding: 26px 20px 28px;
  }

  .hs-auth__title {
    font-size: 30px;
  }

  .hs-auth__sub {
    margin-bottom: 22px;
  }

  .hs-auth__piece--heart-left,
  .hs-auth__piece--star-right,
  .hs-auth__piece--heart-right {
    display: none;
  }

  .hs-auth--solo {
    padding: 20px 12px 32px;
  }

  .hs-auth--solo .hs-auth__brand .hs-logo__img {
    height: 42px;
  }

  .hs-auth__stack {
    margin-top: 10px;
  }

  .hs-auth__scene {
    height: 140px;
    margin-bottom: -48px;
  }

  .hs-auth__scene-disc {
    width: 110px;
    height: 110px;
  }

  .hs-auth__scene-disc svg {
    width: 48px;
    height: 48px;
  }

  .hs-auth__scene-bit.is-heart {
    top: 30px;
    left: calc(50% - 100px);
  }

  .hs-auth__scene-bit.is-star {
    top: 10px;
    right: calc(50% - 94px);
  }

  .hs-auth__scene-bit.is-spark {
    top: 70px;
    right: calc(50% - 116px);
  }

  .hs-auth__sheet {
    padding: 60px 20px 28px;
    border-radius: calc(var(--hs-radius-lg, 20px) * var(--hs-corner-scale, 1) + 4px);
  }

  .hs-auth--solo.has-backdrop {
    --hs-auth-art-min: 980px;
    --hs-auth-art-top: 66px;
    --hs-auth-edge: 12px;
  }

  .hs-auth--solo.has-backdrop .hs-auth__brand {
    top: calc((var(--hs-auth-art-top) - 42px) / 2);
  }

  .hs-auth--solo.has-backdrop .hs-auth__sheet {
    padding-top: 32px;
  }

  /* "Sıfırlama Bağlantısı Gönder" on one line. */
  .hs-auth--solo .hs-auth__submit,
  .hs-auth--solo .hs-auth__submit:is(:hover, :focus, :active) {
    padding: 0 18px;
    font-size: 17px;
  }

  .hs-auth--solo .hs-auth__title {
    font-size: 29px;
  }

  .hs-auth__tip {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hs-auth__glow,
  .hs-auth__piece,
  .hs-auth__scene-bit {
    animation: none;
  }

  .hs-auth__rules li,
  .hs-auth__rules svg {
    transition: none;
  }
}
