.owt7-lms {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto;
  padding: 0;
}


/* Pagination Styles */

.owt7_lms_front_books .pagination {
  display: flex;
  justify-content: center;
  padding: 20px 0;
  margin: 20px 0;
}

.owt7_lms_front_books .pagination a,
.owt7_lms_front_books .pagination span {
  display: inline-block;
  margin: 0 5px;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 3px;
  text-decoration: none;
  color: #333;
}

.owt7_lms_front_books .pagination a:hover {
  background-color: #f0f0f0;
}

.owt7_lms_front_books .pagination .current-page {
  background-color: #000;
  color: #fff;
  border-color: #0073aa;
}

/* ===== Book List Grid ===== */
#owt7_lms_books .book-list-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* ✅ 5 books per row */
  gap: 1.5rem;
  padding: 2rem 1rem;
}

/* ===== Individual Book Card ===== */
#owt7_lms_books .book-card {
  max-width: 400px;
  background: #EBEBEB;
  border-radius: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

#owt7_lms_books .book-card:hover {
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
}

/* ===== Book Cover ===== */
#owt7_lms_books .book-card .book-cover {
  text-align: center;
  padding: 1rem;
}

#owt7_lms_books .book-card .book-cover img {
  width: 100%;
  height: auto;
  max-height: 400px;
  border-radius: 15px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* ===== Book Details ===== */
#owt7_lms_books .book-card .book-details {
  padding: 1rem 1.2rem;
  flex-grow: 1;
}

#owt7_lms_books .book-card .book-name {
  color: #000000;
  margin-bottom: 0.5rem;
}

#owt7_lms_books .book-card p {
  color: #000000;
  font-size: 1.5rem;
  margin: 0.25rem 0;
}

/* ===== Availability Buttons ===== */
.owt7_lms_book_available,
.owt7_lms_book_not_available {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
}

.owt7_lms_book_available {
  background-color: #009940;
  color: #fff;
}

.owt7_lms_book_not_available {
  background-color: #e70000;
  color: #fff;
}

/* ===== Footer Button (Centered) ===== */
#owt7_lms_books .book-card .book-footer {
  text-align: center;
  /* ✅ Center the View button */
  padding: 0.8rem 1.2rem;
  border-top: 1px solid #b1b1b1;
}

#owt7_lms_books .book-card .view-book-btn {
  background-color: #000;
  color: #fff;
  text-decoration: None;
  padding: 0.45rem 1.1rem;
  border-radius: 25%;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  display: inline-block;
}

#owt7_lms_books .book-card .view-book-btn:hover {
  background-color: #888888;
  transform: scale(1.05);
}

/* ===== Responsive Grid ===== */
@media (max-width: 1400px) {
  #owt7_lms_books .book-list-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 800px) {
  #owt7_lms_books .book-list-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 550px) {
  #owt7_lms_books .book-list-container {
    grid-template-columns: 1fr;
	 grid-template-columns: repeat(1, 1fr);
  }
}

/* ===== Single Book Page Styling ===== */
.owt7-lms-single-book {
    max-width: 900px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    font-family: "Inter", sans-serif;
}

/* Back button */
.owt7-lms-single-book .owt7_lms_back_button {
    display: inline-block;
    margin-bottom: 25px;
    color: #000;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease, transform 0.2s ease;
}

.owt7-lms-single-book .owt7_lms_back_button:hover {
    color: #D8D8D8;
    transform: translateX(-3px);
}

/* Container layout */
.owt7-lms-single-book .book-details-container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 30px;
}

/* Book cover */
.owt7-lms-single-book .book-cover {
    flex: 0 0 230px;
    text-align: center;
}

.owt7-lms-single-book .book-cover img {
    width: 100%;
    max-width: 230px;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.owt7-lms-single-book .book-cover img:hover {
    transform: scale(1.03);
}

/* Book Info Section */
.owt7-lms-single-book .book-info {
    flex: 1;
    min-width: 260px;
}

.owt7-lms-single-book .book-title {
    font-size: 26px;
	letter-spacing: 0px;
    margin-bottom: 12px;
    color: #000;
}

.owt7-lms-single-book .book-author,
.owt7-lms-single-book .book-status,
.owt7-lms-single-book .book-category,
.owt7-lms-single-book .book-description {
    font-size: 16px;
    line-height: 1.6;
    color: #000;
    margin-bottom: 10px;
}

.owt7-lms-single-book .book-info strong {
    color: #000;
}

/* Description style */
.owt7-lms-single-book .book-description {
    margin-top: 15px;
    background: #EBEBEB;
    padding: 15px 20px;
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .owt7-lms-single-book .book-details-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

@media (max-width: 1100px) {
    #owt7_lms_books .book-list-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

    .owt7-lms-single-book .book-cover img {
        max-width: 200px;
    }

    .owt7-lms-single-book .book-info {
        width: 100%;
    }

    .owt7-lms-single-book .book-description {
        text-align: left;
    }
}

.filter-bar {
	background-color: #EBEBEB;
}
