.owt7-lms .error-400-container,
.owt7-lms .error-400-container {
    text-align: center;
    margin-top: 100px;
}

.owt7-lms .error-400-container h1,
.owt7-lms .error-500-container h1 {
    font-size: 36px;
    color: #dc3545;
    margin-bottom: 20px;
}

.owt7-lms .error-400-container p,
.owt7-lms .error-500-container p {
    font-size: 18px;
    color: #343a40;
    margin-bottom: 30px;
}

.owt7-lms .btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.owt7-lms .btn:hover {
    background-color: #0056b3;
}


/* Filter Dropdowns */

.filter-dropdowns {
    display: flex;
    gap: 10px;
}

.filter-dropdown {
    display: flex;
    flex-direction: column;
}

.filter-dropdown label {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}

.filter-dropdown select {
    width: 162px;
    padding: 5px 10px;
    margin-bottom: 13px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}


/*All books*/

.book-list-container .book-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: calc(33.333% - 20px);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.book-list-container .book-card:hover {
    transform: translateY(-10px);
}

.book-list-container .book-cover img {
    width: 100%;
    height: auto;
    width: 100%;
    padding: 20px;
    max-height: 175px;
    max-width: 156px;
}

.book-list-container .book-details h3 {
    color: #007bff;
}

.book-list-container .book-details p {
    font-size: 14px;
    color: #666;
    margin: 5px 0;
}

.book-list-container .book-status {
    color: #28a745;
}

.book-list-container .book-quantity,
.book-list-container .book-category {
    color: #343a40;
}

.book-list-container .book-author {
    color: #6c757d;
}

.book-list-container .book-footer {
    padding: 15px;
    text-align: right;
}

.book-list-container .view-book-btn {
    display: inline-block;
    padding: 4px 9px;
    font-size: 15px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.book-list-container .view-book-btn:hover {
    background-color: #0056b3;
    color: #fff;
}

.owt7-lms .owt7_lms_front_books {
    font-family: Arial, sans-serif;
    padding: 20px;
}

.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.book-list-heading {
    font-size: 24px;
    font-weight: bold;
}

.filter-dropdowns {
    display: flex;
    gap: 10px;
}

.filter-dropdown select {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.book-list-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.book-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.book-cover img {
    width: 100%;
    height: auto;
}

.book-details {
    padding: 15px;
}

.book-details h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
    color: #333;
}

.book-details p {
    margin: 5px 0;
    color: #666;
}

.book-footer {
    padding: 15px;
    text-align: center;
    background-color: #f9f9f9;
}

.view-book-btn {
    display: inline-block;
    padding: 10px 20px;
    color: #fff;
    background-color: #0073aa;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s;
}

.view-book-btn:hover {
    background-color: #005c8a;
}

.owt7_lms_back_button {
    padding: 10px;
    background: blue;
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
}


/* Responsive Design */

@media (max-width: 1200px) {
    .book-list-container .book-card {
        flex: 1 1 calc(33.333% - 15px);
    }
}

@media (max-width: 992px) {
    .book-list-container .book-card {
        flex: 1 1 calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .book-list-container .book-card {
        flex: 1 1 calc(100% - 20px);
    }
}


/** Single Book */

.owt7-lms-single-book {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.book-details-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
}

.book-details-container .book-cover {
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.book-details-container .book-cover img {
    width: 100%;
    max-height: 322px;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}

.book-details-container .book-cover img:hover {
    transform: scale(1.1);
}

.book-details-container .book-info {
    flex: 2 1 600px;
    padding: 20px;
}

.book-details-container .book-title {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.book-details-container .book-info p {
    font-size: 16px;
    margin: 10px 0;
    color: #666;
}

.book-details-container .book-status {
    color: #28a745;
}

.book-details-container .book-category,
.book-details-container .book-author {
    color: #343a40;
}

.book-details-container .book-description {
    color: #6c757d;
}

.owt7_lms_single_book {
    margin-top: 20px;
}


/* Responsive Design */

@media (max-width: 768px) {
    .book-details-container {
        flex-direction: column;
        align-items: center;
    }
    .book-details-container .book-cover,
    .book-details-container .book-info {
        flex: 1 1 100%;
        text-align: center;
    }
    .book-details-container .book-info {
        padding: 0;
    }
}

.owt7_lms_front_btns {
    display: inline-block;
    margin-bottom: 0;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    line-height: 1.42857143;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-decoration: none;
    padding: 1px 6px;
    font-size: 13px;
    cursor: text;
}

.owt7_lms_book_available {
    color: #fff;
    background-color: #5cb85c;
    border-color: #4cae4c;
}

.owt7_lms_book_available:hover {
    color: #fff;
    background-color: #449d44;
    border-color: #398439;
}

.owt7_lms_book_not_available {
    color: #fff;
    background-color: #d9534f;
    border-color: #d43f3a;
}

.owt7_lms_book_not_available:hover {
    color: #fff;
    background-color: #c9302c;
    border-color: #ac2925;
}


/* Ensure the page takes 100% width of the container */

.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: #0073aa;
    color: #fff;
    border-color: #0073aa;
}