/* The static notice pages (expired password, expired link, connection error) and the cookie
   policy, on the sign in page's layout (auth.css): one column, the logo, a card. */

/* Only a message and a link: the card is as tall as its content, not as the sign in form. */
.au-page--info .au-card {
  min-height: 0;
}

/* A round badge above the title says at a glance what kind of notice this is. */
.au-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--accent-background-secondary);
  color: var(--accent-ink, var(--accent-color));
  font-size: 1.5rem;
}

.au-badge--warning {
  background: var(--warning-color-light);
  color: var(--warning-color);
}

.au-badge--error {
  background: var(--error-color-light);
  color: var(--error-color);
}

.au-message {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0 0 1.75rem;
  color: var(--text-primary);
  font-size: 0.9375rem;
  line-height: 1.55;
  text-align: center;
}

.au-message p {
  margin: 0;
}

/* The cookie policy: a document to read, not a form. A line of about 70 characters, on a
   raised sheet, with the usual headings, paragraphs and bullets. */
.au-card--doc {
  max-width: 70ch;
}

.au-doc {
  padding: 2rem;
  border: 1px solid var(--border-color);
  border-radius: var(--kit-radius-xl);
  background: var(--background-secondary);
  color: var(--text-primary);
  font-size: 0.9375rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.au-doc h1 {
  margin: 0 0 0.25rem;
  color: var(--text-strong, var(--text-primary));
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.au-doc h2 {
  margin: 2rem 0 0.5rem;
  color: var(--text-strong, var(--text-primary));
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
}

.au-doc p {
  margin: 0 0 0.75rem;
}

.au-doc > h1 + p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary, var(--text-primary));
  font-size: 0.875rem;
}

.au-doc ul {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
  list-style: disc;
}

.au-doc li {
  margin-bottom: 0.5rem;
}

.au-doc li > p:last-child,
.au-doc > :last-child {
  margin-bottom: 0;
}

.au-doc a {
  color: var(--accent-ink, var(--accent-color));
  text-decoration: underline;
  text-underline-offset: 2px;
}

.au-doc a:hover,
.au-doc a:focus-visible {
  color: var(--accent-color);
}

.au-doc-links {
  margin-top: 1.25rem;
}

@media (max-width: 768px) {
  .au-doc {
    padding: 1.25rem 1rem;
  }
}
