/**
 * status-page.css
 * ----------------
 * Estilos compartilhados para páginas isoladas de status.
 *
 * Uso:
 * - 404.astro
 * - 500.astro
 * - obrigado.astro
 *
 * Responsabilidade:
 * - centralizar layout visual de páginas simples de erro/sucesso;
 * - evitar CSS inline duplicado em páginas Astro;
 * - manter visual consistente para estados operacionais do site;
 * - preservar compatibilidade com as classes atuais de erro e sucesso.
 */

/* BASE DA PÁGINA */
body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background-color: #f7f7f7;
  color: #222;
}

/* WRAPPER */
.error-wrapper,
.success-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

/* CARD */
.error-box,
.success-box {
  width: 100%;
  max-width: 520px;
  background: #ffffff;
  border-radius: 8px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

/* CÓDIGO / ÍCONE */
.error-code,
.success-icon {
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  margin: 0;
  color: #009688;
}

/* TÍTULO */
.error-title,
.success-title {
  font-size: 20px;
  margin: 10px 0;
  font-weight: 600;
}

/* TEXTO */
.error-text,
.success-text {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
  color: #555555;
}

/* AÇÕES */
.error-actions a,
.success-actions a {
  display: inline-block;
  padding: 10px 18px;
  background-color: #009688;
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.2s;
}

.error-actions a:hover,
.success-actions a:hover {
  background-color: #007f73;
}

/* RESPONSIVO */
@media (max-width: 640px) {
  .error-box,
  .success-box {
    padding: 28px 22px;
  }

  .error-code,
  .success-icon {
    font-size: 64px;
  }

  .error-title,
  .success-title {
    font-size: 19px;
  }

  .error-text,
  .success-text {
    font-size: 14px;
  }
}
