/* auth.css - layout of the login / register page only (docs/client/mockup/Login.dc.html).
   Colours, fonts and sizes come from css/theme.css through var(--name). */

.auth-header {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: var(--space-5) 40px;
}
.auth-header .logo svg { width: 36px; height: 36px; }
.auth-logo-text { font-size: var(--font-size-screen-title); }

/* Illustration on the left, card on the right; flex-wrap puts the
   illustration above the card on narrow screens without a media query. */
.auth-layout {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: var(--space-2) 40px var(--space-7);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-7);
  align-items: center;
}

.auth-hero {
  flex: 999 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  align-items: flex-start;
}
.auth-illustration { width: 100%; max-width: 640px; padding: var(--space-4); }
.auth-illustration svg { display: block; }
.auth-welcome { display: flex; flex-direction: column; gap: var(--space-2); max-width: 560px; }
.auth-title { font-size: var(--font-size-hero); line-height: 40px; }
.auth-tagline { margin: 0; color: var(--color-text-muted); font-size: 18px; line-height: 28px; }

.auth-side { flex: 1 1 380px; max-width: 440px; display: flex; flex-direction: column; gap: var(--space-3); }
.auth-card { padding: 0 var(--space-6) var(--space-6); }
.auth-form { display: flex; flex-direction: column; gap: 20px; padding-top: var(--space-5); }
.auth-card-title { font-size: var(--font-size-card-title); line-height: 28px; font-weight: 800; }
.auth-submit { width: 100%; }
.auth-switch { margin: 0; text-align: center; }
.auth-mock-note {
  margin: 0;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-small);
  background: var(--color-accent-tint);
}

/* Phones: the illustration moves above the form and shrinks to 240 px high. */
@media (max-width: 719px) {
  .auth-header { padding: var(--space-4); }
  .auth-layout { padding: 0 var(--space-4) var(--space-6); gap: var(--space-5); }
  .auth-hero { flex-basis: 100%; }
  .auth-illustration svg { max-height: 240px; width: 100%; }
  .auth-title { font-size: var(--font-size-screen-title); line-height: 32px; }
  .auth-side { flex-basis: 100%; max-width: none; }
  .auth-card { padding: 0 var(--space-5) var(--space-5); }
}

/* ---- waiting.html (v0.13, R43): one card in the middle of the page ---- */
.waiting-layout {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: var(--space-6) 40px var(--space-7);
  display: flex;
  justify-content: center;
}
.waiting-card {
  width: 100%;
  max-width: 560px;
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.waiting-title { font-size: var(--font-size-screen-title); line-height: 36px; margin: 0; }
.waiting-name { margin: 0; font-weight: 800; font-size: 18px; }
.waiting-text { margin: 0; color: var(--color-text-muted); font-size: 18px; line-height: 28px; }
.waiting-checked { margin: 0; }
.waiting-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

@media (max-width: 719px) {
  .waiting-layout { padding: var(--space-4); }
  .waiting-card { padding: var(--space-5); }
}
