/* Shared login composition, measured against the live VineLabel Studio login. */
.auth-page { margin: 0; background: #f7f8fa; color: #17324f; font: 16px Rubik, "Segoe UI", system-ui, sans-serif; }
.auth-page * { box-sizing: border-box; }
.auth-shell { display: grid; grid-template-columns: minmax(420px, 1.1fr) minmax(420px, .9fr); place-items: center; gap: clamp(36px, 7vw, 120px); min-height: 100vh; padding: clamp(42px, 7vw, 108px); max-width: none; margin: 0; background: #f7f8fa; }
.auth-brand { position: relative; display: grid; align-content: space-between; min-height: 590px; padding: 18px 0; overflow: hidden; border: 0; background: none; margin: 0; border-radius: 0; }
.auth-brand > a { display: inline-grid; max-width: 100%; width: 350px; }
.auth-logo { display: block; width: 350px; max-width: 100%; height: auto; }
.auth-brand-copy { position: relative; z-index: 2; display: grid; align-self: center; gap: 28px; }
.auth-brand-copy strong { font: 600 clamp(56px, 6vw, 88px)/1.05 Rubik, "Segoe UI", sans-serif; letter-spacing: -.055em; }
.auth-brand-copy p { margin: 0; color: #53616f; font-size: 15.2px; font-weight: 500; line-height: 1.7; }
.auth-watermark { position: absolute; width: 260px; height: auto; bottom: -120px; right: 0; opacity: .06; pointer-events: none; }
.auth-card { align-self: center; width: min(100%, 560px); padding: clamp(40px, 5vw, 68px); background: #ffffffee; border: 1px solid #dce1e6; border-radius: 0; box-shadow: 0 18px 55px #17324f0a; margin: 0; }
.auth-card .auth-eyebrow { margin: 11.36px 0; color: #17324f; font-size: 11.36px; line-height: 1.2; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.auth-card h1 { max-width: 380px; margin: 20px 0 18px; color: #17324f; font: 550 clamp(36.8px, 4vw, 52.8px)/1.12 Rubik, "Segoe UI", sans-serif; letter-spacing: -.025em; }
.auth-card .auth-subtitle { max-width: 430px; margin: 0; color: #53616f; font-size: 16.32px; line-height: 1.65; }
.auth-card form { display: grid; gap: 10px; margin: 42px 0 0; max-width: none; }
.auth-card label { display: block; margin: 12px 0 0; font-size: 13.28px; line-height: normal; font-weight: 700; letter-spacing: .01em; }
.auth-card input { display: block; width: 100%; min-height: 56px; padding: 0 16px; margin: 0; background: white; border: 1px solid #b9c3cd; border-radius: 6px; color: #142b45; font: 400 16px Rubik, "Segoe UI", sans-serif; }
.auth-card button[type=submit], .auth-card .auth-primary { display: flex; justify-content: center; align-items: center; width: 100%; min-height: 56px; padding: 0 18px; margin: 12px 0 0; border: 1px solid #17324f; border-radius: 8px; background: #17324f; color: white; cursor: pointer; font: 500 16px/1.35 Rubik, "Segoe UI", sans-serif; letter-spacing: -.005em; text-decoration: none; }
.auth-card button[type=submit]:hover, .auth-card .auth-primary:hover { background: #294d70; border-color: #294d70; }
.auth-card button:disabled { opacity: .6; cursor: wait; }
.auth-card .auth-action { margin-top: 42px; }
.auth-card .auth-help, .auth-card .auth-legal { font-size: 12.8px; line-height: 1.6; margin: 18px 0 0; color: #53616f; }
.auth-card a:not(.auth-primary) { color: #17324f; text-underline-offset: .2em; }
.auth-card .auth-error:not(:empty) { color: #8d2830; background: #fff1f2; border: 1px solid #efd3d6; border-radius: 6px; padding: 12px; font-size: 14px; line-height: 1.5; margin: 16px 0; }
.auth-card .auth-error:empty { display: none; }
.auth-demo { border-top: 1px solid #dce1e6; padding-top: 18px; }
.auth-card .auth-demo { margin-top: 24px; }
.auth-page :focus-visible { outline: 3px solid #6386a8; outline-offset: 3px; }
.auth-page [hidden] { display: none !important; }
@media (max-width: 1200px) and (min-width: 901px) {
  .auth-shell { grid-template-columns: minmax(320px, .8fr) minmax(400px, 1fr); gap: 44px; padding: 50px; }
  .auth-brand-copy strong { font-size: clamp(52px, 6vw, 72px); }
}
@media (max-width: 900px) {
  .auth-shell { grid-template-columns: minmax(0,1fr); padding: 24px; gap: 22px; align-content: center; }
  .auth-brand { display: block; min-height: 0; width: min(100%,560px); justify-self: center; padding: 12px 0; }
  .auth-brand > a, .auth-logo { width: 280px; }
  .auth-brand-copy, .auth-watermark { display: none; }
  .auth-card { justify-self: center; }
}
@media (max-width: 520px) {
  .auth-card { padding: 34px 26px; }
  .auth-card h1 { font-size: 36.8px; }
  .auth-shell { align-content: start; }
}
