/* 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 { width: min(100%, 560px); min-width: 0; }
.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 #8493a1; border-radius: 6px; color: #142b45; font: 400 16px Rubik, "Segoe UI", sans-serif; }
.auth-card input:hover, .auth-card input:focus { border-color: #17324f; }
.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]:not(:disabled):hover, .auth-card .auth-primary:hover { background: #294d70; border-color: #294d70; }
.auth-card button:disabled { opacity: .6; cursor: not-allowed; }
.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-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; }
}
.auth-activation-link { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:8px 18px; margin:8px 0 16px; border:1px solid #17324f; border-radius:6px; font-weight:500; text-decoration:none; }
.auth-activation-link:hover { background: #f0f4f8; }
.auth-activation-link:active { background: #e6edf5; }

/* Keep icon, product name and byline together at every viewport. */
.auth-product-brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; max-width: 100%; color: #17324f; text-decoration: none; }
.auth-product-symbol { display: block; flex: 0 0 72px; width: 72px; height: 72px; }
.auth-product-wordmark { display: grid; gap: 3px; min-width: 0; }
.auth-product-name { font-size: clamp(24px, 2.22vw, 32px); font-weight: 700; line-height: 1.12; letter-spacing: -.04em; white-space: nowrap; }
.auth-product-byline { display: flex; align-items: center; gap: 6px; font-size: 19px; line-height: 24px; }
.auth-product-byline img { display: block; width: 100px; height: 24px; object-fit: contain; }
@media (max-width: 1200px) {
  .auth-product-symbol { flex-basis: 60px; width: 60px; height: 60px; }
  .auth-product-brand { gap: 10px; }
  .auth-product-byline { font-size: 16px; line-height: 21px; }
  .auth-product-byline img { width: 88px; height: 21px; }
}
@media (max-width: 520px) {
  .auth-product-name { font-size: clamp(18px, 5.8vw, 26px); }
  .auth-product-symbol { flex-basis: 52px; width: 52px; height: 52px; }
  .auth-product-byline { font-size: 14px; line-height: 20px; }
  .auth-product-byline img { width: 83px; height: 20px; }
}
