/* Guest account handoff: explain the managed-store to Klaams transition at a glance. */

.customer-auth-entry {
  display: grid;
  gap: clamp(18px, 3vw, 24px);
  width: min(100%, 760px);
  max-width: none;
  margin: clamp(24px, 5vw, 56px) auto;
  padding: clamp(24px, 5vw, 44px);
  overflow: hidden;
  border: 1px solid var(--customer-border);
  border-radius: 22px;
  background: var(--customer-surface);
  box-shadow: 0 18px 44px rgba(15, 35, 67, 0.08);
  color: var(--customer-text);
}

.customer-auth-entry__header {
  display: grid;
  gap: 10px;
}

.customer-auth-entry__header .eyebrow {
  margin: 0;
  color: var(--customer-muted);
}

.customer-auth-entry h1 {
  max-width: 18ch;
  margin: 0;
  color: var(--customer-ink);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.customer-auth-entry__lead {
  max-width: 60ch;
  margin: 0;
  color: var(--customer-muted);
  font-size: clamp(1rem, 2vw, 1.08rem);
  line-height: 1.55;
}

.customer-auth-entry__handoff {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
  align-items: stretch;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--customer-border);
  border-radius: 16px;
  background: var(--customer-surface-soft);
}

.customer-auth-entry__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 62px;
  padding: 10px 12px;
  overflow: hidden;
  border: 1px solid rgba(182, 202, 227, 0.72);
  border-radius: 11px;
  background: #ffffff;
  color: var(--customer-ink);
}

.customer-auth-entry__brand > span {
  overflow-wrap: anywhere;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
}

.customer-auth-entry__brand > svg {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.customer-auth-entry__brand--store img {
  flex: 0 1 auto;
  width: auto;
  max-width: min(112px, 45%);
  height: auto;
  max-height: 38px;
  object-fit: contain;
}

.customer-auth-entry__brand--provider img {
  display: block;
  width: min(116px, 82%);
  height: auto;
  max-height: 32px;
  object-fit: contain;
}

.customer-auth-entry__brand--provider strong {
  color: #111111;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.customer-auth-entry__handoff-arrow {
  align-self: center;
  justify-self: center;
  width: 24px;
  height: 24px;
  fill: var(--customer-primary);
}

.customer-auth-entry__notice {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 15px 16px;
  border: 1px solid #c9d9ee;
  border-radius: 13px;
  background: #eef5ff;
  color: var(--customer-ink);
}

.customer-auth-entry__notice > svg {
  width: 24px;
  height: 24px;
  fill: var(--customer-primary);
}

.customer-auth-entry__notice p {
  margin: 0;
  font-weight: 700;
  line-height: 1.45;
}

.customer-auth-entry__return-hint {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: -6px 0 0;
  color: var(--customer-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.customer-auth-entry__return-hint svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.customer-auth-entry__actions {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.customer-auth-entry .customer-auth-entry__primary-action {
  min-height: 50px;
  padding-inline: 20px;
  border-radius: 11px;
}

.customer-auth-entry__primary-action svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.customer-auth-entry__signup {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 7px;
  margin: 0;
  color: var(--customer-muted);
  font-size: 0.94rem;
}

.customer-auth-entry__secondary-action {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--customer-primary);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.customer-auth-entry__secondary-action:hover {
  color: var(--customer-primary-dark);
  text-decoration-thickness: 2px;
}

@media (max-width: 560px) {
  .customer-auth-entry {
    gap: 18px;
    margin-block: 18px 28px;
    padding: 22px;
    border-radius: 18px;
  }

  .customer-auth-entry h1 {
    max-width: none;
    font-size: clamp(1.85rem, 9vw, 2.4rem);
  }

  .customer-auth-entry__handoff {
    grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
    gap: 6px;
    padding: 7px;
  }

  .customer-auth-entry__brand {
    flex-direction: column;
    gap: 6px;
    min-height: 78px;
    padding: 8px;
    text-align: center;
  }

  .customer-auth-entry__brand--store img {
    max-width: 92px;
    max-height: 30px;
  }

  .customer-auth-entry__brand--provider img {
    width: min(96px, 90%);
  }

  .customer-auth-entry__notice {
    padding: 13px 14px;
  }

  .customer-auth-entry__actions,
  .customer-auth-entry .customer-auth-entry__primary-action {
    width: 100%;
  }

  .customer-auth-entry .customer-auth-entry__primary-action {
    justify-content: center;
  }
}

@media (max-width: 350px) {
  .customer-auth-entry {
    padding: 18px;
  }

  .customer-auth-entry__brand > span {
    font-size: 0.78rem;
  }

  .customer-auth-entry__notice {
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 9px;
  }

  .customer-auth-entry__notice > svg {
    width: 21px;
    height: 21px;
  }
}
