/*
 * login.css: the sign-in pages (login.html for staff, account-login.html for clients). The card reuses the panel's look from sheet.css
 * (bar, heading, fields); this file only centres it on the page.
 */

/* The same as every page: the light panel colour behind, a white card on it (like the market study's page). */
body { background: var(--sheet); }

.login {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: var(--edge);
}

.login__card {
  width: 100%;
  max-width: var(--sheet-width);
  background: var(--sheet-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-sheet);
  box-shadow: var(--shadow-sheet);
  overflow: hidden;
}

.login__body { padding: var(--space-4) var(--space-4) var(--space-5); }

.login__error { margin-top: var(--space-3); font-size: var(--text-sm); color: var(--warn); }
.login__error.login__note { color: var(--ink); } /* "sent again": news, not a problem */
.login__submit { width: 100%; margin-top: var(--space-5); }
.login__submit:disabled { opacity: 0.6; cursor: wait; }

/* Task 13's /start (start.html): the tick that accepts the Terms and Privacy Policy, and the small links under a form. */
.login .sign-tick { display: flex; gap: var(--space-2); margin-top: var(--space-4); align-items: flex-start; font-size: var(--text-sm); }
.login .sign-tick input { margin-top: 0.2em; }
.login__links { display: flex; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-3); font-size: var(--text-sm); }
/* .link-button ("Forgot your password?") is a text button (controls.css). */
