/* ======== ESTILO GERAL ======== */
body {
  background-color: #000;           /* Fundo escuro para destacar a capa e o texto */
  color: #fff;                      /* Texto branco para contraste */
  font-family: Arial, sans-serif;   /* Fonte limpa e legível */
  margin: 0;
  padding: 0;
}

.comments-section {
  color: #fff;
}

.comment-login-panel,
.comment-form-panel,
.comment-item {
  background: #171717;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
}

.rating-input {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 3px;
}

.rating-input input {
  display: none !important;
  visibility: hidden !important;
}

.rating-input label {
  color: #fff;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.comment-rating {
  color: #f5b301;
  font-size: 1rem;
  letter-spacing: 0;
}

.rating-input label {
  cursor: pointer;
}

.rating-input input:checked + label,
.rating-input input:checked + label ~ input + label,
.rating-input label:hover,
.rating-input label:hover ~ input + label {
  color: #ffd866;
}

.comment-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.comment-avatar-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #4a4a4a;
  color: #ddd;
}

.comment-rating {
  margin-top: 8px;
}

.comment-rating-empty {
  color: #555;
}

.comment-login-panel {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.comment-form-panel {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.comment-item {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ======== MENU SUPERIOR ======== */
.navbar-brand {
  font-weight: bold;
  font-size: 1.2rem;
}

.nav-link {
  color: #fff !important;
}

.nav-link:hover {
  color: #0d6efd !important;        /* Azul Bootstrap ao passar o mouse */
}

/* ======== IMAGEM DA CAPA ======== */
.cover-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

.autor-img {
  max-width: 150px;  /* ou 120px, se quiser menor */
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
  margin-top: 20px;
}


/* ======== SINOPSE ======== */
.sinopse {
  font-size: 1rem;
  line-height: 1.5;
  margin-top: 10px;
}

/* ======== RESPONSIVIDADE ======== */
@media (max-width: 576px) {
  .cover-img {
    max-width: 70%;                 /* Reduz a capa no celular */
    margin: 0 auto;
    display: block;
  }

.sinopse {
    font-size: 1rem;
    line-height: 1.5;
    margin-top: 10px;
    text-align: left;   /* mantém o corpo da sinopse alinhado à esquerda */
}

.sinopse h3 {
    text-align: center; /* centraliza apenas o título dentro da sinopse */
}



  }

  .navbar-brand {
    font-size: 1rem;
  }
  .amostra-livro {
    margin-top: 40px;
    padding: 30px;
    background-color: #0f1f1a;
    border-radius: 10px;
    text-align: center;
}

.amostra-livro h2 {
    color: #ffffff;
    margin-bottom: 15px;
}

.amostra-livro p {
    color: #cfcfcf;
    font-size: 16px;
    margin-bottom: 25px;
}

.btn-amostra {
    display: inline-block;
    padding: 14px 30px;
    background-color: #1fa97a;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    transition: background 0.3s;
}

.btn-amostra:hover {
    background-color: #168a63;
}
}

