
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: #f7f9f6;
  color: #333;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.urgente-banner {
  background: #d9534f;
  color: white;
  text-align: center;
  padding: 10px 0;
  font-weight: bold;
  font-size: 1.1rem;
}

main {
  flex: 1;
  padding: 20px;
  max-width: 480px;
  margin: 0 auto;
}

.introducao {
  text-align: center;
  margin-bottom: 20px;
}

.introducao h1 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #2e7d32;
}

.introducao p {
  font-size: 1rem;
  color: #444;
}

.video-section {
  margin-bottom: 25px;
}

.pix-section {
  background: #e8f5e9;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 0 6px rgba(0,0,0,0.1);
  margin-bottom: 20px;
  text-align: center;
}

.pix-key {
  font-size: 1.1rem;
  word-break: break-all;
  margin-bottom: 15px;
  user-select: all;
  font-weight: 600;
}

#copy-btn {
  background: #4caf50;
  border: none;
  padding: 10px 25px;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
}

#copy-btn:hover {
  background: #388e3c;
}

.msg {
  margin-top: 10px;
  color: green;
  font-weight: 600;
  min-height: 18px;
}

.stats-section {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  margin-bottom: 25px;
}

.progress-info {
  text-align: center;
}

.labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.progress-bar {
  width: 100%;
  background: #c8e6c9;
  height: 12px;
  border-radius: 6px;
  overflow: hidden;
}

.progress {
  height: 100%;
  background: #4caf50;
}

.tempo {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #444;
}

.hist-doadores {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.imagem-no-meio {
  display: block;
  max-width: 100%;
  width: 600px;       /* Pode ajustar: 400px, 70%, etc */
  height: auto;
  margin: 2em auto;   /* Centraliza e dá respiro em cima/baixo */
  border-radius: 6px; /* Opcional: deixa a imagem com cantos levemente arredondados */
}

.historia, .doadores {
  background: white;
  border-radius: 8px;
  padding: 15px 20px;
  box-shadow: 0 0 7px rgba(0,0,0,0.08);
}

.historia p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  text-align: justify;
}

.doadores h2 {
  margin-bottom: 12px;
  text-align: center;
  color: #4caf50;
}

.doadores ul {
  list-style: none;
  max-height: 250px;
  overflow-y: auto;
  padding-right: 10px;
}

.doadores li {
  display: flex;
  justify-content: space-between;
  padding: 6px 10px;
  border-bottom: 1px solid #e0e0e0;
  font-weight: 600;
  font-size: 1rem;
  color: #333;
}

footer {
  background: #4caf50;
  color: white;
  text-align: center;
  padding: 15px 0;
  margin-top: auto;
  font-size: 0.9rem;
}

/* Responsivo */
@media (min-width: 600px) {
  .hist-doadores {
    flex-direction: row;
  }

  .historia, .doadores {
    flex: 1;
  }
}
