/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-lg5ma55w3k] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-lg5ma55w3k] {
    flex: 1;
    margin-top: 56px; /* Height of navbar */
}

.top-header[b-lg5ma55w3k] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    width: 100%;
}

.content[b-lg5ma55w3k] {
    padding-top: 1rem;
}

#blazor-error-ui[b-lg5ma55w3k] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-lg5ma55w3k] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-ps3lmeq4yk] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-ps3lmeq4yk] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-ps3lmeq4yk] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-ps3lmeq4yk] {
    font-size: 1.1rem;
}

.bi[b-ps3lmeq4yk] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-ps3lmeq4yk] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-ps3lmeq4yk] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-ps3lmeq4yk] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

/* Horizontal navbar styles - Bootstrap handles most alignment */
.navbar-nav[b-ps3lmeq4yk] {
    flex-direction: row;
}

.navbar-nav .nav-item[b-ps3lmeq4yk] {
    font-size: 0.9rem;
    padding: 0;
}

.navbar-nav .nav-item[b-ps3lmeq4yk]  .nav-link {
    color: rgba(255, 255, 255, 0.75);
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    border-radius: 4px;
}

.navbar-nav .nav-item[b-ps3lmeq4yk]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.navbar-nav .nav-item[b-ps3lmeq4yk]  a.active {
    background-color: rgba(255,255,255,0.2);
    color: white;
}

.nav-scrollable[b-ps3lmeq4yk] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-ps3lmeq4yk] {
    display: block;
}

@media (min-width: 1200px) {
    .navbar-toggler[b-ps3lmeq4yk] {
        display: none;
    }

    .nav-scrollable[b-ps3lmeq4yk] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Pages/BookDetail.razor.rz.scp.css */
/* Ensure columns have equal height */
.row.mb-4 > div[class*="col-"][b-3p2d6psctx] {
    display: flex;
    flex-direction: column;
}

.row.mb-4 > div[class*="col-"] > .card[b-3p2d6psctx] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.row.mb-4 > div[class*="col-"] > .card > .card-body[b-3p2d6psctx] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Medium-sized icon buttons */
.action-btn-icon[b-3p2d6psctx] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    padding: 0.5rem;
}

.action-btn-icon .bi[b-3p2d6psctx] {
    font-size: 1.25rem;
    display: inline-block;
    line-height: 1;
}

.markdown-content[b-3p2d6psctx] {
    line-height: 1.6;
}

.markdown-content h1[b-3p2d6psctx],
.markdown-content h2[b-3p2d6psctx],
.markdown-content h3[b-3p2d6psctx],
.markdown-content h4[b-3p2d6psctx],
.markdown-content h5[b-3p2d6psctx],
.markdown-content h6[b-3p2d6psctx] {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: 600;
    line-height: 1.25;
}

.markdown-content h1[b-3p2d6psctx] {
    font-size: 2em;
    border-bottom: 1px solid #eaecef;
    padding-bottom: 0.3em;
}

.markdown-content h2[b-3p2d6psctx] {
    font-size: 1.5em;
    border-bottom: 1px solid #eaecef;
    padding-bottom: 0.3em;
}

.markdown-content h3[b-3p2d6psctx] {
    font-size: 1.25em;
}

.markdown-content h4[b-3p2d6psctx] {
    font-size: 1em;
}

.markdown-content h5[b-3p2d6psctx] {
    font-size: 0.875em;
}

.markdown-content h6[b-3p2d6psctx] {
    font-size: 0.85em;
    color: #6a737d;
}

.markdown-content p[b-3p2d6psctx] {
    margin-bottom: 1em;
}

.markdown-content ul[b-3p2d6psctx],
.markdown-content ol[b-3p2d6psctx] {
    margin-bottom: 1em;
    padding-left: 2em;
}

.markdown-content li[b-3p2d6psctx] {
    margin-bottom: 0.25em;
}

.markdown-content li > p[b-3p2d6psctx] {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.markdown-content code[b-3p2d6psctx] {
    padding: 0.2em 0.4em;
    margin: 0;
    font-size: 85%;
    background-color: rgba(27, 31, 35, 0.05);
    border-radius: 3px;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

.markdown-content pre[b-3p2d6psctx] {
    padding: 1em;
    overflow: auto;
    font-size: 85%;
    line-height: 1.45;
    background-color: #f6f8fa;
    border-radius: 6px;
    margin-bottom: 1em;
}

.markdown-content pre code[b-3p2d6psctx] {
    display: inline;
    max-width: auto;
    padding: 0;
    margin: 0;
    overflow: visible;
    line-height: inherit;
    word-wrap: normal;
    background-color: transparent;
    border: 0;
}

.markdown-content blockquote[b-3p2d6psctx] {
    padding: 0 1em;
    color: #6a737d;
    border-left: 0.25em solid #dfe2e5;
    margin-bottom: 1em;
}

.markdown-content table[b-3p2d6psctx] {
    border-spacing: 0;
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 1em;
}

.markdown-content table th[b-3p2d6psctx],
.markdown-content table td[b-3p2d6psctx] {
    padding: 0.5em 1em;
    border: 1px solid #dfe2e5;
}

.markdown-content table th[b-3p2d6psctx] {
    font-weight: 600;
    background-color: #f6f8fa;
}

.markdown-content table tr:nth-child(2n)[b-3p2d6psctx] {
    background-color: #f6f8fa;
}

.markdown-content strong[b-3p2d6psctx] {
    font-weight: 600;
}

.markdown-content em[b-3p2d6psctx] {
    font-style: italic;
}

.markdown-content hr[b-3p2d6psctx] {
    height: 0.25em;
    padding: 0;
    margin: 1.5em 0;
    background-color: #e1e4e8;
    border: 0;
}

.markdown-content a[b-3p2d6psctx] {
    color: #0366d6;
    text-decoration: none;
}

.markdown-content a:hover[b-3p2d6psctx] {
    text-decoration: underline;
}
/* /Components/Pages/Books.razor.rz.scp.css */
/* Responsive icon buttons */
.btn-sm[b-8r20d91fy6] {
    padding: 0.2rem 0.35rem;
    font-size: 0.8rem;
    min-width: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Ensure buttons wrap nicely on small screens */
.d-flex.flex-wrap.gap-1[b-8r20d91fy6] {
    gap: 0.25rem !important;
}

/* Make buttons more compact on mobile */
@media (max-width: 576px) {
    .btn-sm[b-8r20d91fy6] {
        padding: 0.15rem 0.3rem;
        font-size: 0.75rem;
        min-width: 1.75rem;
    }
}

/* Tablet adjustments */
@media (min-width: 577px) and (max-width: 991px) {
    .btn-sm[b-8r20d91fy6] {
        padding: 0.2rem 0.35rem;
        min-width: 2rem;
    }
}

/* Smaller icon buttons */
.action-btn-icon[b-8r20d91fy6] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    padding: 0.25rem 0.4rem;
}

.action-btn-icon .bi[b-8r20d91fy6] {
    font-size: 1rem;
    display: inline-block;
    line-height: 1;
}

/* Smaller book titles to display more books per page */
.card-title[b-8r20d91fy6] {
    font-size: 0.95rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

/* Reduce title size in list view as well */
.list-group-item h5[b-8r20d91fy6] {
    font-size: 0.95rem;
    line-height: 1.3;
}
/* /Components/Pages/CurrentReadPage.razor.rz.scp.css */
/* Bottom Controls Bar - Base Styles */
.pdf-bottom-controls[b-wlndli5bh5] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #dee2e6;
    z-index: 1040;
    padding: 0.5rem 1rem;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    min-height: 50px;
}

.pdf-page-slider[b-wlndli5bh5] {
    cursor: pointer;
    margin: 0;
}

.pdf-page-label-start[b-wlndli5bh5],
.pdf-page-label-end[b-wlndli5bh5] {
    min-width: 25px;
    font-size: 0.75rem;
    white-space: nowrap;
    color: #6c757d;
}

.pdf-page-input[b-wlndli5bh5] {
    width: 65px;
}

.pdf-page-total-label[b-wlndli5bh5] {
    white-space: nowrap;
    font-size: 0.875rem;
    color: #6c757d;
}

.pdf-zoom-percentage[b-wlndli5bh5] {
    min-width: 40px;
    text-align: center;
    white-space: nowrap;
    font-size: 0.875rem;
    color: #6c757d;
}

/* Hide button text on small screens (mobile/iPhone) - show only icons */
@media (max-width: 575.98px) {
    .header-btn-text[b-wlndli5bh5] {
        display: none;
    }
    
    /* Ensure buttons have proper spacing when text is hidden */
    .header-btn[b-wlndli5bh5] {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
        min-width: auto;
    }
    
    /* Remove margin from icon when text is hidden */
    .header-btn .bi[b-wlndli5bh5] {
        margin: 0 !important;
    }
    
    /* Make header buttons container more flexible on small screens */
    .header-buttons-container[b-wlndli5bh5] {
        gap: 0.25rem !important;
        flex-wrap: nowrap;
    }
    
    /* Bottom controls adjustments for mobile */
    .pdf-bottom-controls[b-wlndli5bh5] {
        padding: 0.5rem 0.75rem;
    }
    
    /* Hide bottom button text on small screens (mobile/iPhone) - show only icons */
    .bottom-btn-text[b-wlndli5bh5] {
        display: none;
    }
    
    /* Ensure bottom buttons have proper spacing when text is hidden */
    .bottom-btn[b-wlndli5bh5] {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
        min-width: auto;
    }
    
    /* Remove margin from icon when text is hidden */
    .bottom-btn .bi[b-wlndli5bh5] {
        margin: 0 !important;
    }
    
    /* Adjust page labels for mobile */
    .pdf-page-label-start[b-wlndli5bh5],
    .pdf-page-label-end[b-wlndli5bh5] {
        min-width: 20px;
        font-size: 0.7rem;
    }
    
    /* Adjust page input for mobile */
    .pdf-page-input[b-wlndli5bh5] {
        width: 55px;
    }
    
    /* Adjust zoom percentage for mobile */
    .pdf-zoom-percentage[b-wlndli5bh5] {
        min-width: 35px;
        font-size: 0.8rem;
    }
}

/* Flipbook animation styles */
#pdf-viewer-container[b-wlndli5bh5] {
    perspective: 1200px;
    -webkit-perspective: 1200px;
}

#pdf-canvas[b-wlndli5bh5] {
    transition: transform 0.6s ease-in-out;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Flip animation classes */
.pdf-page-flip-forward[b-wlndli5bh5] {
    animation: flipForward-b-wlndli5bh5 0.6s ease-in-out;
}

.pdf-page-flip-backward[b-wlndli5bh5] {
    animation: flipBackward-b-wlndli5bh5 0.6s ease-in-out;
}

@keyframes flipForward-b-wlndli5bh5 {
    0% {
        transform: perspective(1200px) rotateY(0deg) scale(1);
        opacity: 1;
    }
    50% {
        transform: perspective(1200px) rotateY(-90deg) scale(0.95);
        opacity: 0.5;
    }
    100% {
        transform: perspective(1200px) rotateY(0deg) scale(1);
        opacity: 1;
    }
}

@keyframes flipBackward-b-wlndli5bh5 {
    0% {
        transform: perspective(1200px) rotateY(0deg) scale(1);
        opacity: 1;
    }
    50% {
        transform: perspective(1200px) rotateY(90deg) scale(0.95);
        opacity: 0.5;
    }
    100% {
        transform: perspective(1200px) rotateY(0deg) scale(1);
        opacity: 1;
    }
}

/* Disable animation on mobile for better performance */
@media (max-width: 767.98px) {
    #pdf-canvas[b-wlndli5bh5] {
        transition: none;
    }
    
    .pdf-page-flip-forward[b-wlndli5bh5],
    .pdf-page-flip-backward[b-wlndli5bh5] {
        animation: none;
    }
}
/* /Components/Pages/ReadingListDetail.razor.rz.scp.css */
/* Action button icons matching Books and BookDetail pages */
.action-btn-icon[b-fq7kvo2gse] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    padding: 0.25rem 0.4rem;
}

.action-btn-icon .bi[b-fq7kvo2gse] {
    font-size: 1rem;
    display: inline-block;
    line-height: 1;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .action-btn-icon[b-fq7kvo2gse] {
        padding: 0.2rem 0.35rem;
        min-width: 1.75rem;
    }
    
    .action-btn-icon .bi[b-fq7kvo2gse] {
        font-size: 0.9rem;
    }
}

/* Ensure buttons in header are properly spaced */
.card-header .d-flex.gap-2[b-fq7kvo2gse] {
    gap: 0.5rem !important;
}
/* /Components/Shared/RecommendedBooksSlider.razor.rz.scp.css */
.recommended-books-panel[b-c8ex6w80bi] {
    margin-bottom: 1.5rem;
}

.recommended-books-container[b-c8ex6w80bi] {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.recommended-book-slider-wrapper[b-c8ex6w80bi] {
    width: 100%;
    overflow: hidden !important; /* Force clipping */
    position: relative;
    padding: 0 50px; /* Space for navigation buttons */
    box-sizing: border-box;
}

.recommended-book-slider[b-c8ex6w80bi] {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    will-change: transform;
    flex-wrap: nowrap;
    align-items: flex-start;
    box-sizing: border-box;
    /* Ensure slider fits within wrapper content area */
    min-width: 0;
    max-width: 100%;
}

/* Default: Show 5 books per page on extra large screens (>= 1200px) */
.recommended-book-item[b-c8ex6w80bi] {
    flex: 0 0 20%; /* Exactly 20% each for 5 items = 100% */
    width: 20%;
    max-width: 20%;
    min-width: 0;
    text-align: center;
    padding: 0.5rem 0; /* No horizontal padding to ensure exact fit */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    position: relative;
    margin: 0;
    flex-shrink: 0;
    flex-grow: 0;
    /* Ensure item content doesn't overflow its allocated space */
    word-wrap: break-word;
}

.recommended-book-image-container[b-c8ex6w80bi] {
    width: 100%;
    max-width: 160px;
    height: 180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border-radius: 0.375rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 1;
    box-sizing: border-box;
}

.recommended-book-item:hover .recommended-book-image-container[b-c8ex6w80bi] {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.recommended-book-image[b-c8ex6w80bi] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0.375rem;
}

.recommended-book-placeholder[b-c8ex6w80bi] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e9ecef;
    border-radius: 0.375rem;
}

.recommended-book-placeholder .bi[b-c8ex6w80bi] {
    font-size: 2.5rem !important;
    color: #6c757d !important;
}

.recommended-book-title[b-c8ex6w80bi] {
    width: 100%;
    max-width: 160px;
    margin: 0.75rem auto 0;
    padding: 0 0.25rem;
    flex-shrink: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.recommended-book-title h6[b-c8ex6w80bi] {
    font-size: 0.85rem;
    line-height: 1.4;
    font-weight: 500;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    /* Allow full title to be visible - remove line clamp */
    display: block;
    min-height: auto;
}

.slider-nav-btn[b-c8ex6w80bi] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.slider-nav-btn:hover:not(:disabled)[b-c8ex6w80bi] {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.slider-nav-btn:disabled[b-c8ex6w80bi] {
    opacity: 0.3;
    cursor: not-allowed;
}

.slider-nav-prev[b-c8ex6w80bi] {
    left: 10px;
}

.slider-nav-next[b-c8ex6w80bi] {
    right: 10px;
}

.slider-indicators[b-c8ex6w80bi] {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.slider-indicator[b-c8ex6w80bi] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #6c757d;
    background-color: transparent;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-indicator:hover[b-c8ex6w80bi] {
    background-color: #adb5bd;
    border-color: #adb5bd;
}

.slider-indicator.active[b-c8ex6w80bi] {
    background-color: #0d6efd;
    border-color: #0d6efd;
    width: 12px;
    height: 12px;
}

/* Large screens (992px - 1199px): Show 4 books */
@media (max-width: 1199px) and (min-width: 992px) {
    .recommended-book-item[b-c8ex6w80bi] {
        flex: 0 0 25%; /* Exactly 25% each for 4 items = 100% */
        width: 25%;
        max-width: 25%;
        min-width: 0;
        padding: 0.5rem 0;
    }

    .recommended-book-image-container[b-c8ex6w80bi] {
        max-width: 150px;
        height: 170px;
    }

    .recommended-book-title[b-c8ex6w80bi] {
        max-width: 150px;
    }

    .recommended-book-title h6[b-c8ex6w80bi] {
        font-size: 0.8rem;
    }
}

/* Medium screens (768px - 991px): Show 3 books */
@media (max-width: 991px) and (min-width: 768px) {
    .recommended-book-item[b-c8ex6w80bi] {
        flex: 0 0 33.333333%; /* Exactly 33.33% each for 3 items = 100% */
        width: 33.333333%;
        max-width: 33.333333%;
        min-width: 0;
        padding: 0.5rem 0;
    }

    .recommended-book-image-container[b-c8ex6w80bi] {
        max-width: 150px;
        height: 170px;
    }

    .recommended-book-title[b-c8ex6w80bi] {
        max-width: 150px;
    }

    .recommended-book-title h6[b-c8ex6w80bi] {
        font-size: 0.8rem;
    }
}

/* Small screens (576px - 767px): Show 2 books */
@media (max-width: 767px) and (min-width: 576px) {
    .recommended-book-item[b-c8ex6w80bi] {
        flex: 0 0 50%; /* Exactly 50% each for 2 items = 100% */
        width: 50%;
        max-width: 50%;
        min-width: 0;
        padding: 0.5rem 0;
    }

    .recommended-book-image-container[b-c8ex6w80bi] {
        max-width: 140px;
        height: 160px;
    }

    .recommended-book-title[b-c8ex6w80bi] {
        max-width: 140px;
    }

    .recommended-book-title h6[b-c8ex6w80bi] {
        font-size: 0.8rem;
    }

    .recommended-book-slider-wrapper[b-c8ex6w80bi] {
        padding: 0 45px;
    }

    .slider-nav-btn[b-c8ex6w80bi] {
        width: 35px;
        height: 35px;
    }

    .slider-nav-prev[b-c8ex6w80bi] {
        left: 5px;
    }

    .slider-nav-next[b-c8ex6w80bi] {
        right: 5px;
    }
}

/* Extra small screens (< 576px): Show 1 book */
@media (max-width: 575px) {
    .recommended-book-item[b-c8ex6w80bi] {
        flex: 0 0 100%; /* 100% / 1 = 100% */
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .recommended-book-image-container[b-c8ex6w80bi] {
        max-width: 130px;
        height: 150px;
    }

    .recommended-book-title[b-c8ex6w80bi] {
        max-width: 130px;
    }

    .recommended-book-title h6[b-c8ex6w80bi] {
        font-size: 0.8rem;
    }

    .recommended-book-slider-wrapper[b-c8ex6w80bi] {
        padding: 0 40px;
    }

    .slider-nav-btn[b-c8ex6w80bi] {
        width: 32px;
        height: 32px;
    }

    .slider-nav-prev[b-c8ex6w80bi] {
        left: 5px;
    }

    .slider-nav-next[b-c8ex6w80bi] {
        right: 5px;
    }
}
