
.bvw-book-grid {
    display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}
.bvw-book-card h3{
    color: #7f3427;
    display: block;
    font-family: Besley, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 16px;
}
.bvw-book-card p{
    font-family: "DM Sans", Sans-serif;
    font-size: 13px;
    line-height: 15px;
    color: #1B1B1B;
    transition: color 0.3s;
    margin-bottom: 0;
}

/* Each book card as a vertical flex container */
.bvw-book-card {
    width: 100% ;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* push button to bottom */
    padding: 15px;
    box-sizing: border-box;
    border: 1px solid #ddd; /* optional */
    border-radius: 10px; /* optional */
    box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
}
.bvw-book-card img {
    max-width: 100%;
    height: auto;
}
.bvw-vote-btn {
    margin-top: 20px;
    width: 100%;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}


.bvw-vote-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
}
.bvw-vote-modal-content {
    background: white;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    position: relative;
}
.bvw-vote-modal-content img {
    max-width: 100px;
    margin: 10px 0;
}
.bvw-close {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 20px;
}
.bvw-ok-btn {
    padding: 5px 20px;
    color: white;
    width: 100%;
    border: none;
    border-radius: 5px;
}

/* Large devices (desktops, <1200px) */
@media (max-width: 1200px) {
  .bvw-book-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Medium devices (tablets, <992px) */
@media (max-width: 992px) {
  .bvw-book-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Small devices (large phones, <768px) */
@media (max-width: 768px) {
  .bvw-book-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Extra small devices (phones, <480px) */
@media (max-width: 480px) {
  .bvw-book-grid {
    grid-template-columns: 1fr;
  }
}
.bvw-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f44336; /* red background */
  color: #fff; /* white close icon */
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 10;
}

/* Hover effect */
.bvw-close:hover {
  background: #d32f2f; /* darker red */
  transform: scale(1.1);
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
}

/* Responsive tweak for small screens */
@media (max-width: 480px) {
  .bvw-close {
    width: 28px;
    height: 28px;
    font-size: 18px;
    top: 10px;
    right: 10px;
  }
}

