/* Login, check-email, sign-in link and account pages.
   Ported from mypetclass.com/learn/login/index.html (split layout: Winnie photo + paw swirl). */
.auth-body { min-height: 100vh; font-size: 16px; }
.auth-page { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.auth-page .photo { background: url('../img/britta-winnie-kiss-hero.webp') 60% 25%/cover no-repeat; position: relative; }
.auth-page .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,79,104,0) 55%, rgba(7,79,104,.55) 100%); }
.auth-page .photo-quote { position: absolute; z-index: 1; left: 40px; right: 40px; bottom: 40px; color: #fff; font-family: var(--font-display); font-style: italic; font-size: 1.7rem; line-height: 1.25; }
.auth-page .panel { display: flex; align-items: center; justify-content: center; padding: 48px 24px; background: linear-gradient(180deg, #ffffff 0%, #f3f9f9 55%, #e2f1f2 100%); }
.auth-page .box { width: 100%; max-width: 420px; text-align: center; }
.auth-page .swirl { width: 96px; height: 96px; display: block; margin: 0 auto 10px; }
.auth-page .brand { font-family: var(--font-display); font-weight: 700; letter-spacing: .05em; font-size: 2.2rem; color: var(--teal); margin: 0; line-height: 1; text-decoration: none; display: inline-block; }
.auth-page .brand span { color: #C9973F; }
.auth-page .brand-tag { display: block; margin-top: 6px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--pink); font-weight: 700; }
.auth-page h1 { font-family: var(--font-display); color: var(--teal); font-size: 2.3rem; margin: 26px 0 6px; line-height: 1.1; }
.auth-page .sub { color: var(--muted); margin: 0 0 26px; line-height: 1.6; }
.auth-page .sub b { color: var(--teal); word-break: break-all; }
.auth-page label { display: block; text-align: left; font-weight: 600; font-size: .9rem; color: var(--teal); margin-bottom: 6px; }
.auth-page input[type=email], .auth-page input[type=text] { width: 100%; padding: 15px 18px; border-radius: 14px; border: 2px solid #d9e6e8; font: inherit; font-size: 1.05rem; background: #fff; color: var(--ink); }
.auth-page input.code-input { text-align: center; font-size: 1.6rem; letter-spacing: .4em; font-weight: 700; padding-left: 26px; }
.auth-page input:focus { outline: none; border-color: var(--teal-mid); }
.auth-page form { margin: 0; }
.auth-page .btn { display: block; width: 100%; margin-top: 14px; border: 0; border-radius: 999px; padding: 16px; background: var(--pink); color: #fff; font: inherit; font-weight: 700; font-size: 1.05rem; cursor: pointer; text-decoration: none; text-align: center; transform: none; }
.auth-page .btn:hover { background: #bd3a77; transform: none; }
.auth-page .btn-quiet { background: transparent; color: var(--teal); border: 2px solid #d9e6e8; }
.auth-page .btn-quiet:hover { background: #fff; }
.auth-page .note { font-size: .88rem; color: var(--muted); margin: 14px 0 0; }
.auth-page .divider { height: 1px; background: #dfe9ea; margin: 28px 0 18px; }
.auth-page .help { font-size: .92rem; color: var(--muted); line-height: 1.7; }
.auth-page .help a, .auth-page .link { color: var(--teal); font-weight: 600; }
.auth-page .envelope { width: 74px; height: 74px; border-radius: 50%; background: #fff; border: 2px solid var(--pink-soft); display: flex; align-items: center; justify-content: center; margin: 24px auto 0; color: var(--pink); }
.auth-page .alert { background: #fff4f8; border: 1px solid var(--pink-soft); color: #9c2d61; border-radius: 14px; padding: 12px 16px; margin: 0 0 18px; font-size: .95rem; text-align: left; }
.auth-page .ok { background: #effaf8; border: 1px solid #bfe3df; color: var(--teal); border-radius: 14px; padding: 12px 16px; margin: 0 0 18px; font-size: .95rem; }
.auth-page .field-row { text-align: left; margin-bottom: 14px; }
.auth-page .field-static { padding: 12px 0; color: var(--ink); word-break: break-all; }
.auth-page .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

@media (max-width: 860px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-page .photo { height: 34vh; min-height: 220px; }
  .auth-page .photo-quote { display: none; }
  .auth-page .panel { align-items: flex-start; padding: 30px 16px 44px; }
  .auth-page h1 { font-size: 2rem; margin-top: 18px; }
  .auth-page .swirl { width: 80px; height: 80px; }
}
