body {
  --padding-bottom: 40px;
}

main {
  width: min(620px, 100%);
  padding-top: 8px;
}

h1 {
  margin: 0 0 6px;
  font-size: clamp(1.3rem, 6vw, 1.8rem);
  letter-spacing: -0.03em;
  font-weight: 1000;
}

.painel {
  background: rgba(15, 23, 42, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 20px;
  padding: 20px;
}

.painel p {
  margin: 0 0 16px;
  color: #cbd5e1;
  font-size: 0.94rem;
  line-height: 1.5;
}

.painel h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 900;
  color: #bef264;
}

.secao-download {
  margin-top: 18px;
}

button.secondary {
  appearance: none;
  display: block;
  width: 100%;
  border-radius: 18px;
  padding: 17px 12px;
  font-size: 1.05rem;
  font-weight: 950;
  cursor: pointer;
  touch-action: manipulation;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #e2e8f0;
}

button.secondary:active {
  transform: translateY(1px) scale(0.99);
}

.painel code {
  background: rgba(148, 163, 184, 0.16);
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 0.9em;
}

.status {
  background: rgba(148, 163, 184, 0.1);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 18px;
  font-size: 0.88rem;
  color: #cbd5e1;
}

.status strong {
  color: #ffffff;
}

.campo-arquivo {
  display: block;
  text-align: center;
  background: rgba(148, 163, 184, 0.12);
  border: 1px dashed rgba(148, 163, 184, 0.4);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
  font-weight: 800;
  color: #e2e8f0;
  cursor: pointer;
}

.campo-arquivo:active {
  transform: translateY(1px) scale(0.99);
}

.ou {
  text-align: center;
  color: #64748b;
  font-size: 0.82rem;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

textarea {
  width: 100%;
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 0.85rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #e2e8f0;
  resize: vertical;
  margin-bottom: 14px;
}

textarea:focus {
  outline: none;
  border-color: #bef264;
}

button.primary {
  appearance: none;
  display: block;
  width: 100%;
  border: none;
  border-radius: 18px;
  padding: 17px 12px;
  font-size: 1.05rem;
  font-weight: 950;
  cursor: pointer;
  touch-action: manipulation;
  background: #bef264;
  color: #06110a;
}

button.primary:active {
  transform: translateY(1px) scale(0.99);
}

.mensagem {
  margin-top: 14px;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 0.9rem;
  font-weight: 700;
}

.mensagem.sucesso {
  background: rgba(190, 242, 100, 0.14);
  border: 1px solid rgba(190, 242, 100, 0.4);
  color: #bef264;
}

.mensagem.erro {
  background: rgba(251, 113, 133, 0.14);
  border: 1px solid rgba(251, 113, 133, 0.4);
  color: #fb7185;
}

.mensagem a {
  color: inherit;
  font-weight: 900;
}
