/* Página em manutenção — baseada na rota /undermaintenance do Rabal.AdminTemplate.
   Tokens de cor e tipografia extraídos do tema do template (styles.css). */

:root {
    --primary: #845adf;
    --primary-soft: rgba(132, 90, 223, 0.1);
    --text: #02556F;
    --text-muted: #8c9097;
    --surface: #ffffff;
    --panel: #f3f6f8;
    --dashed: rgba(0, 0, 0, 0.1);
    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  overflow-x: clip;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

.authentication {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 100vh;
  min-height: 100dvh;
}

/* Coluna de conteúdo */
.cover {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  text-align: center;
  background: var(--surface);
}

.cover-content {
  width: 100%;
  max-width: 34rem;
}

.brand {
  display: inline-block;
  margin-bottom: 2.5rem;
}

.brand img {
  display: block;
  width: auto;
  height: 100px;
}

.eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.4;
}

h1 {
  margin: 0 0 1rem;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: break-word;
  min-width: 0;
}

.lead {
  margin: 0 0 1.5rem;
}

/* Contagem regressiva */
.timer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0 2.5rem;
  padding: 0;
  list-style: none;
}

.timer-item {
  padding: 0.75rem 0.25rem;
  border: 2px dashed var(--dashed);
  border-radius: 0.35rem;
}

.timer-label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  opacity: 0.5;
}

.timer-value {
  display: block;
  font-size: 2.125rem;
  font-weight: 600;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.timer-done {
  margin: -1.5rem 0 2.5rem;
  color: var(--text-muted);
}

/* Redes sociais (opcional — veja o bloco comentado no HTML) */
.social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.35rem;
  color: #fff;
  background: var(--primary);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.social a:hover {
  transform: translateY(-2px);
}

.social svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

/* Coluna da ilustração */
.illustration {
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--panel);
}

.illustration img {
  width: 100%;
  height: auto;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

@media (min-width: 992px) {
  .authentication {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  }

  .cover {
    padding: 3rem;
  }

  .illustration {
    display: flex;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  .timer {
    gap: 0.5rem;
  }

  .timer-value {
    font-size: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .social a {
    transition: none;
  }
}
