/* ============================================================
   post-jornais.css — Visualizador de Jornal / Flipbook
   ============================================================ */

.jornal-wrapper {
  margin-top: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #525659;
}

.jornal-toolbar {
  background-color: #093c52;
  color: white;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Lato', sans-serif;
  border-bottom: 2px solid #062b3b;
}

.btn-download-jornal {
  background-color: #c62828;
  color: white !important;
  padding: 6px 15px;
  border-radius: 4px;
  font-size: 13px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
}
.btn-download-jornal:hover { background-color: #a51f1f; }

/* Flipbook */
.flip-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 10px;
  min-height: 800px;
  position: relative;
}

#flip-book {
  display: none;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
}

.flip-page {
  background-color: white;
  overflow: hidden;
}
.flip-page canvas {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Tela de carregamento */
#flip-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  font-size: 16px;
}
