/* Log in / Create account: warm form side + dark showcase side (uses .mock and .lp-script from landing.css). */
body.auth { margin: 0; min-height: 100vh; background: #f5f4ee; color: #1f1e1d; font: 15px/1.55 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
.auth-wrap { display: grid; grid-template-columns: minmax(420px, 1fr) 1.15fr; min-height: 100vh; }

/* form side */
.auth-main { display: flex; flex-direction: column; padding: 28px 48px; }
.auth-brand { display: inline-flex; align-items: center; gap: 10px; color: #1f1e1d; text-decoration: none; font-family: "Source Serif 4", Georgia, serif; font-weight: 600; font-size: 20px; }
.auth-mark { width: 32px; height: 32px; border-radius: 9px; background: #c96442; color: #fff; display: grid; place-items: center; font-family: system-ui, sans-serif; font-size: 18px; }
.auth-card { width: 100%; max-width: 420px; margin: auto; padding: 24px 0; }
.auth-card h1 { margin: 0; font-family: "Source Serif 4", Georgia, serif; font-weight: 500; font-size: 40px; letter-spacing: -.015em; line-height: 1.1; }
.auth-sub { margin: 10px 0 26px; color: #6e6b63; font-size: 15.5px; }
.auth-note { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 22px; padding: 12px 14px; border-radius: 12px; background: #f6ece4; border: 1px solid #ebd8c9; color: #7a3c22; font-size: 14px; }
.auth-note span { color: #c96442; font-size: 16px; line-height: 1.3; }
.auth-error { margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; background: #fbe9e4; border: 1px solid #f1cabe; color: #9a2f17; font-size: 14px; }
.auth-error a { color: #9a2f17; font-weight: 600; }

.auth-form { display: flex; flex-direction: column; }
.auth-form label { font-weight: 600; font-size: 13.5px; margin: 14px 0 6px; color: #3d3b37; }
.auth-form input { width: 100%; box-sizing: border-box; height: 46px; padding: 0 14px; border: 1px solid #d9d5ca; border-radius: 12px; background: #fffdf9; font: inherit; font-size: 15px; color: #1f1e1d; transition: border-color .15s, box-shadow .15s; }
.auth-form input::placeholder { color: #a3a097; }
.auth-form input:focus { outline: none; border-color: #c96442; box-shadow: 0 0 0 4px rgba(201, 100, 66, .14); }
.auth-pass { position: relative; }
.auth-pass input { padding-right: 64px; }
.auth-pass button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: #6e6b63; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; padding: 6px 8px; border-radius: 8px; }
.auth-pass button:hover { background: #efece4; color: #1f1e1d; }
.auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-row > div { display: flex; flex-direction: column; }
.auth-hint { margin: 6px 0 0; color: #8a867c; font-size: 12.5px; }
.auth-submit { margin-top: 22px; height: 48px; border: 0; border-radius: 12px; background: #c96442; color: #fff; font: inherit; font-size: 15.5px; font-weight: 600; cursor: pointer; transition: background .15s, transform .15s; }
.auth-submit:hover { background: #a94f31; }
.auth-submit:active { transform: translateY(1px); }
.auth-switch { margin: 22px 0 0; text-align: center; color: #6e6b63; }
.auth-switch a { color: #a94f31; font-weight: 600; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }
.auth-legal { margin: 0; color: #a3a097; font-size: 12px; text-align: center; }

/* showcase side */
.auth-side { position: relative; overflow: hidden; margin: 14px; border-radius: 28px; color: #f5f5f4;
  background: radial-gradient(circle at 20% 0%, #3d2418 0%, #1a1a1a 55%), #151515; display: flex; flex-direction: column; justify-content: flex-end; }
.auth-collage { position: absolute; inset: 0; }
.auth-collage .mock { position: absolute; width: 260px; opacity: .85; box-shadow: 0 24px 60px rgba(0,0,0,.5); animation: lpFloat 7s ease-in-out infinite; }
.auth-collage .a1 { top: 9%; left: 8%; transform: rotate(-6deg); }
.auth-collage .a2 { top: 6%; right: 10%; width: 230px; transform: rotate(5deg); animation-delay: -2s; }
.auth-collage .a3 { top: 36%; left: 30%; width: 280px; transform: rotate(-2deg); animation-delay: -4s; }
.auth-collage .a4 { top: 32%; right: -30px; width: 220px; transform: rotate(8deg); animation-delay: -1s; opacity: .7; }
.auth-side::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, #151515 30%, rgba(21,21,21,0) 70%); z-index: 1; }
.auth-side-text { position: relative; z-index: 2; padding: 0 48px 48px; }
.auth-side-text h2 { margin: 0 0 20px; font-family: Manrope, system-ui, sans-serif; font-weight: 800; font-size: clamp(32px, 3.4vw, 50px); line-height: 1.02; letter-spacing: -.03em; }
.auth-side-text ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: #d6d3d1; font-size: 15px; }
.auth-side-text li { display: flex; gap: 10px; }
.auth-side-text li::before { content: "✳"; color: #e8875f; }

@media (max-width: 900px) {
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .auth-main { padding: 22px 22px; }
  .auth-row { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) { .auth-collage .mock { animation: none; } }

/* Log in: "Forgot password?" next to the label; messages on the reset pages */
.auth-label-row { display: flex; justify-content: space-between; align-items: baseline; }
.auth-label-row a { font-size: 13px; font-weight: 600; color: #a94f31; text-decoration: none; }
.auth-label-row a:hover { text-decoration: underline; }
.auth-ok { margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; background: #eef3e6; border: 1px solid #d3e0c0; color: #36502a; font-size: 14px; }
.auth-dev { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: #f6f3ec; border: 1px dashed #d9d5ca; font-size: 13px; color: #6e6b63; word-break: break-all; }
.auth-dev a { color: #a94f31; font-weight: 600; }
