/* auth.css — the member pages on top of the site: the sign-in card, the account form, the
   legal text column. Drawn only in the contract's tokens (docs/WEBSITE.md). */

.authwrap { max-width: 30rem; }
.authcard { padding: 1.75rem 1.75rem 1.5rem; }
.authcard h1 { margin: 0 0 1.25rem; font-size: 1.45rem; font-weight: 700; letter-spacing: -0.01em; }

.authintro { color: var(--muted); margin: -0.8rem 0 1.25rem; font-size: 0.95rem; }

.authcard .form { gap: 0.3rem; }
.authcard .form label { margin-top: 0.75rem; font-size: 0.85rem; }
.authcard .form label:first-child { margin-top: 0; }
.authcard .form input { padding: 0.55rem 0.75rem; font-size: 0.95rem; line-height: 1.3; }
.authcard .form button[type="submit"] { margin-top: 1rem; padding: 0.6rem 1.2rem; font-size: 0.95rem; line-height: 1.3; }
.authcard .status { margin: 0.5rem 0 0; min-height: 0; }
.authcard .status:empty { display: none; }

/* The divider between the two ways in. */

.author {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 1.1rem 0;
	color: var(--muted);
	font-size: 0.8rem;
}
.author::before, .author::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.button--google {
	width: 100%;
	padding: 0.6rem 1.2rem;
	font-size: 0.95rem;
	line-height: 1.3;
	background: var(--surface);
	border-color: var(--line);
	color: var(--text);
}
.button--google:hover { border-color: var(--muted); }
.button--google svg { width: 1.15rem; height: 1.15rem; }

.form button[type="submit"] { width: 100%; justify-self: stretch; }

.authlinks {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	margin: 1.25rem 0 0;
	font-size: 0.9rem;
}
.authlinks a { color: var(--muted); transition: color 0.15s ease; }
.authlinks a:hover { color: var(--accent-text); }

.authnote { margin: 1.1rem 0 0; font-size: 0.85rem; color: var(--muted); }
.authnote a { color: inherit; }

.authemail {
	border: 0 !important;
	background: transparent !important;
	padding-left: 0 !important;
	color: var(--muted);
	font-weight: 600;
}

.authemail-line { margin: 0 0 0.4rem; color: var(--muted); font-weight: 600; }

.legal { max-width: 46rem; }
.legalbody h2 { margin-top: 2rem; font-size: 1.4rem; }
.legalbody p, .legalbody li { color: var(--text); }
