/* Shared styles used by both the public web pages and the mailer.
   Uses literal colors (no CSS custom properties) so email clients render them. */

.error-component, .error-component::before, .error-component::after {
  box-sizing: border-box;
}

.error-component {
  margin: 0;
  width: 100%;
  height: 100%;
}

.error-component {
  font-size: 16px;
}

.error-component {
  background: #FFF;
  color: #261B23;
  display: grid;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Aptos, Roboto, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: clamp(1rem, 2.5vw, 2rem);
  -webkit-font-smoothing: antialiased;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.0025em;
  line-height: 1.4;
  place-items: center;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}

#error-description {
  fill: #d30001;
}

#error-id {
  fill: #f0eff0;
}

.error-component a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.0925em;
}

.error-component b, .error-component strong {
  font-weight: 700;
}

.error-component i, .error-component em {
  font-style: italic;
}

.error-component {
  display: grid;
  gap: 1em;
  padding: 2em;
  place-items: center;
  text-align: center;
}

.error-component header {
  width: min(100%, 12em);
}

.error-component header svg {
  height: auto;
  max-width: 100%;
  width: 100%;
}

.error-component article {
  width: min(100%, 30em);
}

.error-component article p {
  font-size: 75%;
}

.error-component article br {
  display: none;

  @media(min-width: 48em) {
    display: inline;
  }
}

a {
  text-decoration: none;
}

.bold-italic {
  font-weight: bold;
  font-style: italic;
}

.container {
  background: #ffffff;
  border: 1px solid #eef0f2;
  border-radius: 12px;
  padding: 48px 36px;
  text-align: center;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1f2937;
}

.title {
  margin: 0 0 16px 0;
  font-size: 32px;
  font-weight: 600;
  white-space: nowrap;
}

.text-espago-blue {
  color: #0052ff;
}

.button {
  display: inline-block;
  margin: 16px 0px;
  padding: 12px 28px;
  background: #0052ff;
  color: #ffffff !important;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.muted {
  font-size: 13px;
  color: #6b7280;
}

.flash {
  text-align: center;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 15px;
}

.flash-notice {
  background: #e9f3e2;
  border: 1px solid #b6f281;
  color: #5fcd10;
}

.flash-alert {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}
