/* Shop sign-in pages (shop_auth), to the AWS shop's design spec (2026-12-03),
   so signing in feels like part of the shop. Kept on the sign-in service, not
   loaded from the shop, so it never depends on the shop being up. */

:root {
  --bg: #000;
  --ink: #fff;
  --muted: rgba(255, 255, 255, .62);
  --field: #131315;
  --line: rgba(255, 255, 255, .14);
  --pink: #ff00ff;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--ink); font: 400 15px/1.5 Inter, system-ui, sans-serif; }

/* The photo fills the left and fades to black under the form. */
.page { position: relative; min-height: 100vh; display: grid; grid-template-columns: 1fr minmax(380px, 460px); }
.photo { position: absolute; inset: 0 30% 0 0; background: url("photo.c5fd6cb0be46.jpg") center left / cover no-repeat; }
.photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .55) 70%, #000 100%),
              linear-gradient(0deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 30%),
              linear-gradient(180deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0) 18%);
}
.logo { position: absolute; top: 32px; left: 40px; z-index: 2; line-height: 0; }
.logo img { height: 22px; width: auto; }
.panel { grid-column: 2; position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: 48px 56px 48px 8px; }

h1 { font-size: 40px; line-height: 1.08; font-weight: 600; letter-spacing: -.02em; margin: 0 0 12px; }
.lead, .sent { color: var(--muted); margin: 0 0 32px; max-width: 34ch; }
.sent { max-width: none; }
.sent b { color: var(--ink); font-weight: 500; }
label { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin: 0 0 8px; }

input[type="email"], input[type="tel"] {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--field); color: var(--ink); font: inherit; font-size: 16px;
}
input:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }

.code { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.code input {
  height: 60px; width: 100%; min-width: 0; text-align: center; border-radius: 14px; border: 1px solid var(--line);
  background: var(--field); color: var(--ink); font: 600 24px Inter, sans-serif;
}

.go {
  width: 100%; height: 52px; margin-top: 16px; border: 0; border-radius: 99px; background: var(--pink); color: #000;
  font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: transform .15s, opacity .15s;
}
.go:hover { transform: translateY(-1px); }
.go:active { transform: scale(.98); }
/* While a button is working: keep its label, lower its opacity. */
a.go { display: flex; align-items: center; justify-content: center; text-decoration: none; }
form.is-working .go { opacity: .6; pointer-events: none; }

.alt {
  display: block; width: 100%; margin-top: 12px; padding: 12px; border: 0; background: none; color: var(--muted);
  font: inherit; font-size: 14px; cursor: pointer; text-align: center; text-decoration: none;
}
.alt:hover, .change:hover { color: var(--pink); }
.change { background: none; border: 0; padding: 0; margin-left: 6px; color: var(--ink); font: inherit; text-decoration: underline; cursor: pointer; }
.inline { margin: 0; }

/* Messages: plain words under the field, in pink. */
.msg { font-size: 14px; color: var(--pink); margin: 12px 0 0; }
.msg.is-info { color: var(--muted); }

.foot { position: absolute; bottom: 28px; right: 56px; font-size: 12px; color: rgba(255, 255, 255, .4); z-index: 2; }
.foot a { color: inherit; margin-left: 14px; text-decoration: none; }
.foot a:hover { color: var(--ink); }

@media (max-width: 760px) {
  .page { grid-template-columns: 1fr; }
  .photo { inset: 0 0 45% 0; }
  .photo::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, #000 100%); }
  .panel { grid-column: 1; justify-content: flex-end; padding: 0 20px 72px; min-height: 100vh; }
  .logo { left: 20px; top: 24px; }
  h1 { font-size: 32px; }
  .foot { right: auto; left: 20px; }
  .foot a:first-child { margin-left: 14px; }
}
