/* Page surface override */
.error-page {
  background: var(--color-bg-off);
  overflow-y: auto;
}

/* Standalone variant — unauthenticated, rendered outside the .app shell */
.error-page--standalone {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Full-height centering stage */
.error-page__stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-20) var(--space-8);
  min-height: 0;
}

/* Constrained content column */
.error-page__content {
  width: 100%;
  max-width: 480px;
  text-align: center;
}

/* Eyebrow — "Error 404" */
.error-page__eyebrow {
  font-size: var(--font-size-micro);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-uppercase);
  text-transform: uppercase;
  color: var(--color-text-dim);
  margin: 0 0 var(--space-7) 0;
}

/* Display heading */
.error-page__title {
  font-family: var(--font-display);
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-h1);
  letter-spacing: var(--letter-spacing-h1);
  color: var(--color-text);
  margin: 0 0 var(--space-6) 0;
}

/* Body paragraph */
.error-page__body {
  font-size: var(--font-size-h5);
  line-height: var(--line-height-body-lg);
  color: var(--color-text-secondary);
  margin: 0 0 var(--space-10) 0;
}

/* Action button group */
.error-page__actions {
  display: inline-flex;
  gap: var(--space-5);
  flex-wrap: wrap;
  justify-content: center;
}

/* ------------------------------------------------------------------
   Public not-found variant — brand header, contextual icon, footer.
   Used by scheduling-not-found.hbs and reviews-not-found.hbs.
------------------------------------------------------------------ */

/* Top brand header — anchors the top of the standalone layout */
.error-page__brand {
  display: flex;
  justify-content: center;
  padding: var(--space-9) var(--space-8) 0;
}

.error-page__logo {
  height: 32px;
  width: auto;
}

/* Contextual icon badge — sits above the eyebrow */
.error-page__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-7);
  border-radius: var(--radius-pill);
  background: var(--color-action-bg-subtle);
  color: var(--color-action);
}

.error-page__icon svg {
  width: 30px;
  height: 30px;
}

/* Icon tone variants — default is the action-blue badge above. */
.error-page__icon--warning { background: var(--color-yellow-glow); color: var(--color-yellow); }
.error-page__icon--success { background: var(--color-green-glow);  color: var(--color-green); }
.error-page__icon--danger  { background: var(--color-red-glow);    color: var(--color-red); }

/* Footer — "Powered by EveryChat" */
.error-page__footer {
  padding: var(--space-8);
  text-align: center;
  font-size: var(--font-size-micro);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-dim);
}
