body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: #f8f4ec;
  color: #2c2c2c;
}

header {
  background-color: #e7d3b6;
  padding: 20px;
  text-align: center;
  border-bottom: 4px solid #d1b08a;
}

header img.logo {
  width: 200px;
  max-width: 90%;
  height: auto;
  margin-bottom: 10px;
}

header h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
}

header p {
  margin: 4px 0 0;
  font-size: 14px;
  color: #5a4b3f;
}

main {
  max-width: 800px;
  margin: 20px auto;
  padding: 0 20px 40px;
}

.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  padding: 20px;
  margin-bottom: 20px;

  /* PATCH UX: deixa transições mais suaves */
  will-change: opacity, transform;
}

.card h2 {
  margin-top: 0;
}

.options label {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #e0dad2;
  margin: 6px 0;
  cursor: pointer;
  transition: background 0.2s;
}

.options label:hover {
  background: #f5efe5;
}

.button {
  display: inline-block;
  padding: 12px 16px;
  margin-top: 10px;
  background-color: #5a4b3f;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
}

.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* PATCH UX: botão secundário (Voltar/Avançar/Retomar) */
.button.secondary {
  background: rgba(90, 75, 63, 0.12);
  color: #5a4b3f;
  border: 1px solid rgba(90, 75, 63, 0.22);
}

.button.secondary:hover:not(:disabled) {
  background: rgba(90, 75, 63, 0.18);
}

.message {
  padding: 16px;
  background: #f3f7fb;
  border-left: 4px solid #5a4b3f;
  margin-bottom: 20px;
  border-radius: 8px;
}

.footer {
  text-align: center;
  font-size: 12px;
  color: #6e5c4a;
  margin-top: 40px;
}

.input-area {
  width: 100%;
  padding: 10px;
  margin-top: 8px;
  margin-bottom: 8px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;

  /* PATCH UX: garante que não “estoura” layout */
  box-sizing: border-box;
}

/* PATCH UX: se o #app existir fora do <main>, evita tela “curta” */
#app {
  min-height: 60vh;
}
