body {
  background-color: #0f0f0f;
  color: #f2f2f2;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
  padding: 2rem;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

#paginacao {
  margin-top: 1rem;
  text-align: center;
}

#paginacao button {
  background-color: #1c1c1c;
  border: 2px solid #ff0000;
  color: #ff6666;
  padding: 0.5rem 1rem;
  margin: 0 0.3rem;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#paginacao button:hover:not(:disabled) {
  background-color: #ff0000;
  color: #1c1c1c;
  box-shadow: 0 0 8px #ff0000;
}

#paginacao button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  border-color: #660000;
  color: #660000;
  background-color: #1c1c1c;
  box-shadow: none;
}

/* Cor fixa dos links */
a {
  color: #cccccc; /* cinza claro */
  text-decoration: none;
  cursor: pointer;
}

/* Sublinhado só no hover, sem mudar a cor */
a:hover {
  text-decoration: underline;
  color: #cccccc; /* mantém cinza claro */
}

/* Links visitados mantêm a mesma cor */
a:visited {
  color: #cccccc;
  text-decoration: none;
}

.progress-container {
  background-color: #222;
  border-radius: 25px;
  padding: 3px;
  width: 90%;
  max-width: 800px;
  margin: 2rem auto;
  animation: pulseShadow 2s infinite;
}

.progress-bar {
  height: 30px;
  border-radius: 25px;
  width: 0%;
  text-align: right;
  padding-right: 10px;
  line-height: 30px;
  font-weight: bold;
  color: #000;
  transition: width 2s ease-out, background 2s ease-out;
}

.info, .history {
  background-color: #1c1c1c;
  padding: 1rem;
  border-radius: 10px;
  max-width: 700px;
  margin: 2rem auto;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.2);
}

.history h2 {
  color: #ff6666;
  margin-bottom: 1rem;
}

.history ul {
  list-style-type: none;
  padding-left: 0;
  text-align: left;
}

.history li {
  margin-bottom: 0.6rem;
  border-left: 3px solid #ff0000;
  padding-left: 1rem;
}

@keyframes pulseShadow {
  0% {
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.2);
  }
  50% {
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.7);
  }
  100% {
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.2);
  }
}
.progress-wrapper {
  display: flex;
  align-items: center;
  justify-content: center; /* centraliza a barra com os ícones */
  width: 90%;
  max-width: 800px;
  margin: 2rem auto;
  gap: 10px; /* espaço entre ícones e barra */
}

.icon-left,
.icon-right {
  width: 40px;
  height: 40px;
  object-fit: contain;
  user-select: none;
}

/* Responsividade */
@media (max-width: 480px) {
  .icon-left,
  .icon-right {
    width: 30px;
    height: 30px;
  }

  .progress-container {
    width: 100%; /* para ocupar o máximo possível em telas pequenas */
  }
}