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

main[b-lg5ma55w3k] {
    flex: 1;
    margin-top: 64px;
}

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

.content[b-lg5ma55w3k] {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding: clamp(1rem, 2vw, 2rem);
}

#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;
    }

@media (max-width: 767px) {
    main[b-lg5ma55w3k] {
        margin-top: 56px;
    }

    .content[b-lg5ma55w3k] {
        padding: 1rem;
        padding-bottom: 5.75rem;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.app-navbar[b-ps3lmeq4yk] {
    min-height: 64px;
    padding: 0.65rem clamp(0.75rem, 2vw, 1.5rem);
    background: rgba(255, 251, 245, 0.92);
    border-bottom: 1px solid rgba(78, 58, 40, 0.1);
    box-shadow: 0 10px 30px rgba(68, 52, 37, 0.08);
    backdrop-filter: blur(18px);
}

.app-navbar-brand[b-ps3lmeq4yk] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--app-text);
    font-size: 1rem;
    font-weight: 760;
    letter-spacing: 0;
}

.app-navbar-brand:hover[b-ps3lmeq4yk],
.app-navbar-brand:focus[b-ps3lmeq4yk] {
    color: var(--app-accent);
}

.app-navbar .container-fluid[b-ps3lmeq4yk] {
    gap: 1rem;
}

.navbar-toggler[b-ps3lmeq4yk] {
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    color: var(--app-text);
    border: 1px solid var(--app-border);
    border-radius: 0.85rem;
    background-color: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.navbar-toggler:focus[b-ps3lmeq4yk] {
    box-shadow: 0 0 0 0.25rem var(--app-ring);
}

.navbar-toggler-icon[b-ps3lmeq4yk] {
    background-image: none;
    position: relative;
    width: 1.25rem;
    height: 0.9rem;
}

.navbar-toggler-icon[b-ps3lmeq4yk]::before,
.navbar-toggler-icon[b-ps3lmeq4yk]::after,
.navbar-toggler-icon[b-ps3lmeq4yk] {
    border-top: 2px solid var(--app-text);
}

.navbar-toggler-icon[b-ps3lmeq4yk]::before,
.navbar-toggler-icon[b-ps3lmeq4yk]::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
}

.navbar-toggler-icon[b-ps3lmeq4yk]::before {
    top: -0.45rem;
}

.navbar-toggler-icon[b-ps3lmeq4yk]::after {
    top: 0.45rem;
}

.navbar-nav[b-ps3lmeq4yk] {
    gap: 0.2rem;
}

.nav-item[b-ps3lmeq4yk] {
    font-size: 0.92rem;
}

.nav-link[b-ps3lmeq4yk],
.navbar-text[b-ps3lmeq4yk] {
    color: var(--app-muted);
}

.nav-link[b-ps3lmeq4yk] {
    display: inline-flex;
    align-items: center;
    min-height: 2.45rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    font-weight: 620;
}

.nav-link:hover[b-ps3lmeq4yk],
.nav-link:focus[b-ps3lmeq4yk],
.nav-link.active[b-ps3lmeq4yk] {
    color: var(--app-text);
    background: linear-gradient(135deg, rgba(52, 87, 213, 0.1), rgba(226, 85, 53, 0.08));
}

.dropdown-menu[b-ps3lmeq4yk] {
    border: 1px solid var(--app-border);
    border-radius: 1rem;
    box-shadow: var(--app-shadow);
}

.dropdown-item[b-ps3lmeq4yk] {
    border-radius: 0.65rem;
    margin: 0.1rem 0.35rem;
    width: auto;
}

.app-navbar-actions[b-ps3lmeq4yk] {
    align-items: center;
    flex-direction: row;
    gap: 0.65rem;
}

.app-navbar-actions .navbar-text[b-ps3lmeq4yk] {
    max-width: 18rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.88rem;
}

.bi[b-ps3lmeq4yk] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1rem;
    margin-right: 0;
}

@media (max-width: 1199px) {
    .app-navbar[b-ps3lmeq4yk] {
        min-height: 56px;
        padding: 0.45rem 0.75rem;
    }

    .navbar-collapse[b-ps3lmeq4yk] {
        margin-top: 0.8rem;
        padding: 0.8rem;
        background: #fff;
        border: 1px solid var(--app-border);
        border-radius: 1.2rem;
        box-shadow: var(--app-shadow);
    }

    .navbar-nav[b-ps3lmeq4yk],
    .app-navbar-actions[b-ps3lmeq4yk] {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
    }

    .nav-link[b-ps3lmeq4yk] {
        width: 100%;
        border-radius: 0.85rem;
    }

    .app-navbar-actions .navbar-text[b-ps3lmeq4yk] {
        max-width: 100%;
        padding: 0.5rem 0.75rem;
    }
}
/* /Components/Pages/About.razor.rz.scp.css */
.about-page[b-e047llezlu] {
    max-width: 1480px;
    margin: 0 auto;
}

.about-page > .row[b-e047llezlu] {
    width: 100%;
}

.about-page .card-header[b-e047llezlu] {
    color: var(--app-text);
    background:
        radial-gradient(circle at 100% 0%, rgba(52, 87, 213, 0.12), transparent 34%),
        linear-gradient(135deg, #fffaf4, #eff8f6);
}

.about-page .card-header h2[b-e047llezlu] {
    font-weight: 820;
}

.about-page .list-group-item[b-e047llezlu] {
    background: transparent;
    border-color: rgba(116, 87, 57, 0.1);
}

.about-page .accordion-item[b-e047llezlu] {
    overflow: hidden;
    border-color: rgba(116, 87, 57, 0.12);
}

.about-page .accordion-button:not(.collapsed)[b-e047llezlu] {
    color: var(--app-text);
    background: var(--app-accent-soft);
}
/* /Components/Pages/Admin.razor.rz.scp.css */
.admin-page[b-1o0hx9ftup] {
    max-width: 1480px;
    margin: 0 auto;
}

.admin-page .card-header[b-1o0hx9ftup] {
    color: var(--app-text) !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(52, 87, 213, 0.12), transparent 34%),
        linear-gradient(135deg, #fffaf4, #eff8f6) !important;
    border-bottom: 1px solid rgba(116, 87, 57, 0.1);
}

.admin-page .card-header h5[b-1o0hx9ftup] {
    font-weight: 780;
}

.admin-page .list-group-item[b-1o0hx9ftup] {
    border-color: rgba(116, 87, 57, 0.1);
}

@media (max-width: 767px) {
    .admin-page .list-group-item[b-1o0hx9ftup] {
        align-items: stretch !important;
        flex-direction: column;
        gap: 0.75rem;
    }

    .admin-page .list-group-item > div[b-1o0hx9ftup] {
        display: flex;
        gap: 0.5rem;
    }
}
/* /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;
}

.book-detail-page[b-3p2d6psctx] {
    max-width: 1480px;
    margin: 0 auto;
}

.book-detail-page .breadcrumb[b-3p2d6psctx] {
    margin-bottom: 0;
}

.book-detail-page .card[b-3p2d6psctx] {
    overflow: hidden;
    background: var(--app-surface);
    border: 1px solid rgba(116, 87, 57, 0.11);
    border-radius: var(--app-radius);
    box-shadow: 0 12px 35px rgba(68, 52, 37, 0.07);
}

.book-detail-page .card-header[b-3p2d6psctx] {
    background:
        radial-gradient(circle at 100% 0%, rgba(52, 87, 213, 0.1), transparent 32%),
        linear-gradient(135deg, #fffaf4, #f3f8ff);
    border-bottom: 1px solid rgba(116, 87, 57, 0.1);
}

.book-detail-page .card-header .btn-link[b-3p2d6psctx] {
    color: var(--app-text);
    font-weight: 760;
}

.book-detail-page .card-title[b-3p2d6psctx] {
    color: var(--app-text);
    font-weight: 820;
    line-height: 1.15;
}

.book-detail-page .badge.bg-primary[b-3p2d6psctx] {
    background: linear-gradient(135deg, var(--app-primary), #2d728f) !important;
}

.book-detail-page .badge.bg-secondary[b-3p2d6psctx] {
    color: #585d6d;
    background: #f3eee7 !important;
}

.book-detail-page .badge.bg-info[b-3p2d6psctx] {
    color: #075f5a;
    background: var(--app-teal-soft) !important;
}

.book-detail-main-row > .col-12 > .card[b-3p2d6psctx] {
    border-radius: 24px;
}

/* 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;
}

@media (max-width: 767px) {
    .book-detail-page[b-3p2d6psctx] {
        gap: 0.9rem;
    }

    .book-detail-page .card-body[b-3p2d6psctx] {
        padding: 1rem;
    }

    .book-detail-page .card-title[b-3p2d6psctx] {
        font-size: 1.1rem !important;
    }

    .book-detail-page .action-btn-icon[b-3p2d6psctx] {
        min-width: 2.25rem;
    }
}
/* /Components/Pages/Books.razor.rz.scp.css */
.books-page[b-8r20d91fy6] {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.books-breadcrumb[b-8r20d91fy6] {
    margin-bottom: -0.35rem;
}

.breadcrumb[b-8r20d91fy6] {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.breadcrumb a[b-8r20d91fy6] {
    color: var(--app-primary);
    font-weight: 650;
}

.library-hero[b-8r20d91fy6] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(14rem, 18rem);
    gap: 1.5rem;
    align-items: end;
    padding: clamp(1.25rem, 3vw, 2.25rem);
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 100%, rgba(226, 85, 53, 0.18), transparent 32%),
        radial-gradient(circle at 100% 0%, rgba(52, 87, 213, 0.16), transparent 34%),
        linear-gradient(135deg, #fffaf2 0%, #f5fbff 52%, #e8f7f2 100%);
    border: 1px solid rgba(116, 87, 57, 0.12);
    border-radius: 24px;
    box-shadow: 0 18px 48px rgba(68, 52, 37, 0.1);
}

.library-kicker[b-8r20d91fy6] {
    margin: 0 0 0.55rem;
    color: var(--app-accent);
    font-size: 0.78rem;
    font-weight: 780;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.library-hero h1[b-8r20d91fy6] {
    margin: 0;
    color: var(--app-text);
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 820;
    line-height: 1;
}

.library-subtitle[b-8r20d91fy6] {
    max-width: 48rem;
    margin: 0.9rem 0 0;
    color: var(--app-muted);
    font-size: 1.02rem;
}

.library-stat-card[b-8r20d91fy6] {
    display: grid;
    gap: 0.25rem;
    justify-items: start;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(52, 87, 213, 0.16);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(68, 52, 37, 0.08);
}

.library-stat-card strong[b-8r20d91fy6] {
    color: var(--app-text);
    font-size: 2rem;
    line-height: 1;
}

.library-stat-card span:last-child[b-8r20d91fy6] {
    color: var(--app-muted);
    font-size: 0.9rem;
}

.library-stat-label[b-8r20d91fy6] {
    color: var(--app-primary);
    font-size: 0.78rem;
    font-weight: 760;
    text-transform: uppercase;
}

.active-filter-row[b-8r20d91fy6],
.library-controls[b-8r20d91fy6] {
    padding: 1rem;
    background: var(--app-surface);
    border: 1px solid rgba(116, 87, 57, 0.11);
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(68, 52, 37, 0.07);
}

.mobile-library-tools[b-8r20d91fy6],
.mobile-filter-header[b-8r20d91fy6],
.mobile-filter-backdrop[b-8r20d91fy6] {
    display: none;
}

.library-controls[b-8r20d91fy6] {
    display: grid;
    gap: 1rem;
}

.library-controls > .row[b-8r20d91fy6] {
    --bs-gutter-y: 0.95rem;
    margin-bottom: 0 !important;
}

.library-controls > .row > [class*="col-"][b-8r20d91fy6] {
    margin-bottom: 0 !important;
}

.library-controls .btn[b-8r20d91fy6],
.library-controls .form-control[b-8r20d91fy6],
.library-controls .form-select[b-8r20d91fy6],
.library-controls .input-group-text[b-8r20d91fy6] {
    min-height: 2.7rem;
}

.library-controls .btn[b-8r20d91fy6] {
    font-weight: 680;
}

.library-controls .btn-outline-secondary[b-8r20d91fy6] {
    color: #5c6170;
    background: #fffaf4;
    border-color: var(--app-border-strong);
}

.library-controls .btn-outline-secondary:hover[b-8r20d91fy6],
.library-controls .btn-outline-secondary:focus[b-8r20d91fy6] {
    color: var(--app-text);
    background: var(--app-accent-soft);
    border-color: var(--app-accent);
}

.library-controls .btn-outline-success[b-8r20d91fy6] {
    color: var(--app-teal);
    background: #f8fffd;
    border-color: rgba(7, 132, 126, 0.55);
}

.library-controls .btn-outline-success:hover[b-8r20d91fy6],
.library-controls .btn-outline-success:focus[b-8r20d91fy6] {
    color: #fff;
    background: var(--app-teal);
    border-color: var(--app-teal);
}

.library-controls .btn-group .btn[b-8r20d91fy6] {
    border-radius: 0.85rem;
}

.library-controls .btn-group .btn:first-child[b-8r20d91fy6] {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.library-controls .btn-group .btn:last-child[b-8r20d91fy6] {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.form-check-input[b-8r20d91fy6] {
    cursor: pointer;
}

.form-check-input:checked[b-8r20d91fy6] {
    background-color: var(--app-accent);
    border-color: var(--app-accent);
}

.book-grid[b-8r20d91fy6] {
    --bs-gutter-x: 1.35rem;
    --bs-gutter-y: 1.35rem;
}

.books-results[b-8r20d91fy6] {
    scroll-margin-top: 5rem;
}

.book-list[b-8r20d91fy6] {
    display: grid;
    gap: 1rem;
}

.book-list-item[b-8r20d91fy6] {
    overflow: hidden;
    background: var(--app-surface);
    border: 1px solid rgba(116, 87, 57, 0.1) !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.07);
}

.book-list-item img[b-8r20d91fy6],
.book-list-item .bg-secondary[b-8r20d91fy6] {
    border-radius: 0.9rem !important;
}

.empty-state[b-8r20d91fy6] {
    padding: 1.25rem;
    color: #075f5a;
    text-align: center;
    background: var(--app-teal-soft);
    border: 1px solid rgba(7, 132, 126, 0.24);
    border-radius: 18px;
}

.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;
    line-height: 1;
}

.card-title[b-8r20d91fy6],
.list-group-item h5[b-8r20d91fy6] {
    font-size: 0.95rem;
    line-height: 1.3;
}

@media (max-width: 767px) {
    .books-page[b-8r20d91fy6] {
        gap: 0.85rem;
    }

    .books-breadcrumb[b-8r20d91fy6] {
        display: none;
    }

    .library-hero[b-8r20d91fy6] {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        padding: 1rem;
        border-radius: 20px;
    }

    .library-hero h1[b-8r20d91fy6] {
        font-size: 1.85rem;
    }

    .library-subtitle[b-8r20d91fy6] {
        display: none;
    }

    .library-stat-card[b-8r20d91fy6] {
        width: 100%;
        grid-template-columns: auto 1fr;
        align-items: center;
        padding: 0.8rem;
    }

    .library-stat-card strong[b-8r20d91fy6] {
        font-size: 1.5rem;
    }

    .library-stat-card span:last-child[b-8r20d91fy6] {
        justify-self: end;
        font-size: 0.84rem;
    }

    .library-stat-label[b-8r20d91fy6] {
        grid-column: 1 / -1;
    }

    .active-filter-row[b-8r20d91fy6] {
        padding: 0.85rem;
        border-radius: 18px;
    }

    .active-filter-row .badge[b-8r20d91fy6] {
        max-width: 100%;
        white-space: normal;
    }

    .mobile-library-tools[b-8r20d91fy6] {
        display: grid;
        grid-template-columns: 3rem minmax(0, 1fr);
        gap: 0.65rem;
        padding: 0.85rem;
        background: rgba(255, 255, 255, 0.94);
        border: 1px solid rgba(116, 87, 57, 0.12);
        border-radius: 20px;
        box-shadow: 0 12px 35px rgba(68, 52, 37, 0.08);
    }

    .mobile-library-tools .input-group[b-8r20d91fy6] {
        grid-column: 1 / -1;
    }

    .mobile-library-tools .mobile-search-submit[b-8r20d91fy6] {
        width: 100%;
        min-height: 2.8rem;
        padding: 0;
        border-radius: 0.9rem;
    }

    .mobile-filter-toggle[b-8r20d91fy6] {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.45rem;
        min-height: 2.8rem;
        color: var(--app-text);
        font-weight: 760;
        background: var(--app-accent-soft);
        border: 1px solid rgba(226, 85, 53, 0.32);
        border-radius: 0.9rem;
    }

    .mobile-filter-count[b-8r20d91fy6] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 1.35rem;
        height: 1.35rem;
        padding: 0 0.35rem;
        color: #fff;
        font-size: 0.75rem;
        background: var(--app-accent);
        border-radius: 999px;
    }

    .mobile-filter-backdrop[b-8r20d91fy6] {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1048;
        background: rgba(23, 24, 38, 0.32);
        border: 0;
    }

    .library-controls[b-8r20d91fy6] {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1049;
        display: grid;
        max-height: min(82svh, 42rem);
        padding: 1rem;
        overflow: auto;
        border-radius: 24px 24px 0 0;
        transform: translateY(110%);
        transition: transform 180ms ease;
        -webkit-overflow-scrolling: touch;
    }

    .library-controls.is-open[b-8r20d91fy6] {
        transform: translateY(0);
    }

    .mobile-filter-header[b-8r20d91fy6] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding-bottom: 0.15rem;
    }

    .mobile-filter-header div[b-8r20d91fy6] {
        display: grid;
        gap: 0.1rem;
    }

    .mobile-filter-header strong[b-8r20d91fy6] {
        color: var(--app-text);
        font-size: 1rem;
    }

    .mobile-filter-header span[b-8r20d91fy6] {
        color: var(--app-muted);
        font-size: 0.82rem;
    }

    .library-controls .row[b-8r20d91fy6] {
        --bs-gutter-y: 0.9rem;
    }

    .book-grid[b-8r20d91fy6] {
        --bs-gutter-y: 1rem;
    }

    .btn-sm[b-8r20d91fy6] {
        padding: 0.15rem 0.3rem;
        font-size: 0.75rem;
        min-width: 1.75rem;
    }

}
/* /Components/Pages/CurrentReadPage.razor.rz.scp.css */
/* Full-screen reading surface */
.current-read-shell[b-wlndli5bh5] {
    position: fixed;
    top: 56px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 56px);
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #f8f9fa;
    z-index: 1;
}

.current-read-header[b-wlndli5bh5] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 84px;
    background: white;
    border-bottom: 1px solid #dee2e6;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 0.45rem 1rem 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.current-read-title-row[b-wlndli5bh5] {
    display: flex;
    align-items: baseline;
    justify-content: center;
    min-width: 0;
}

.current-read-title[b-wlndli5bh5] {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    color: #171826;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.18;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.current-read-page-status[b-wlndli5bh5] {
    margin: 0;
    color: #6c757d;
    font-size: 0.76rem;
    white-space: nowrap;
}

.current-read-actions-row[b-wlndli5bh5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.45rem;
}

.current-read-action-buttons[b-wlndli5bh5] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    min-width: 0;
}

.pdf-reading-area[b-wlndli5bh5] {
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    bottom: 50px;
    overflow: hidden;
    background: #525252;
    touch-action: pan-x pan-y pinch-zoom;
}

.pdf-viewer-container[b-wlndli5bh5] {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: auto;
    background: #525252;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 12px;
    touch-action: pan-x pan-y pinch-zoom;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.pdf-canvas[b-wlndli5bh5] {
    display: block;
    margin: 0 auto;
    background: white;
    max-width: none;
    max-height: none;
    height: auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    touch-action: pan-x pan-y pinch-zoom;
}

.pdf-viewer-container--pan-x[b-wlndli5bh5] {
    justify-content: flex-start;
    touch-action: pan-x pan-y pinch-zoom;
}

.pdf-canvas--pan-x[b-wlndli5bh5] {
    margin: 0;
    touch-action: pan-x pan-y pinch-zoom;
}

.notes-floating-panel[b-wlndli5bh5] {
    position: fixed;
    top: 100px;
    left: 50%;
    right: auto;
    bottom: 64px;
    width: min(1120px, calc(100vw - 48px));
    max-width: calc(100vw - 48px);
    z-index: 1050;
    transform: translateX(-50%);
}

.notes-floating-card[b-wlndli5bh5] {
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.32);
    background: #fff;
    display: flex;
    flex-direction: column;
}

.notes-workspace-header[b-wlndli5bh5] {
    border-bottom: 1px solid rgba(255,255,255,0.18);
}

.notes-floating-card .card-body[b-wlndli5bh5] {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.notes-toolbar[b-wlndli5bh5] {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #dee2e6;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
}

.notes-toolbar-actions[b-wlndli5bh5] {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.25rem;
    margin-left: auto;
    flex: 0 0 auto;
}

.notes-tool-group[b-wlndli5bh5] {
    flex: 0 0 auto;
    flex-wrap: nowrap;
}

.notes-tool-group .btn[b-wlndli5bh5],
.notes-icon-action[b-wlndli5bh5] {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    min-height: 1.95rem;
    padding-left: 0.45rem;
    padding-right: 0.45rem;
}

.notes-tool-group .btn[b-wlndli5bh5],
.notes-icon-action[b-wlndli5bh5] {
    min-width: 2rem;
}

.notes-inline-control[b-wlndli5bh5] {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 0.25rem;
}

.notes-inline-control label[b-wlndli5bh5] {
    font-size: 0.72rem;
}

.notes-color-input[b-wlndli5bh5] {
    width: 2.2rem;
    height: 1.85rem;
    padding: 0.12rem;
}

.notes-ribbon-shell[b-wlndli5bh5] {
    flex: 0 0 auto;
    margin: -0.15rem 0 0.5rem;
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: 12px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    overflow: hidden;
}

.notes-ribbon-shell.is-collapsed[b-wlndli5bh5] {
    background: rgba(248, 251, 255, 0.95);
}

.notes-ribbon-header[b-wlndli5bh5] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 1.85rem;
    padding: 0.2rem 0.45rem;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.notes-ribbon-shell.is-collapsed .notes-ribbon-header[b-wlndli5bh5] {
    border-bottom: 0;
}

.notes-ribbon-heading[b-wlndli5bh5] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #1d4ed8;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-right: auto;
    text-transform: uppercase;
    white-space: nowrap;
}

.notes-ribbon-label-editor[b-wlndli5bh5] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 12rem;
}

.notes-ribbon-label-editor input[b-wlndli5bh5] {
    min-width: 8rem;
    max-width: 14rem;
}

.notes-ribbon-collapse[b-wlndli5bh5] {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    flex: 0 0 auto;
    min-height: 1.55rem;
    font-size: 0.72rem;
    padding: 0.1rem 0.5rem;
}

.notes-ribbon[b-wlndli5bh5] {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 0.35rem;
    overflow: hidden;
    padding: 0.25rem 0.3rem;
}

.notes-ribbon-group[b-wlndli5bh5] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.2rem 0.25rem;
    flex: 0 1 auto;
    min-width: 0;
    padding: 0.2rem 0.3rem 0.25rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
}

.notes-ribbon-title[b-wlndli5bh5] {
    flex: 0 0 100%;
    color: #475569;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.05rem;
    line-height: 1.1;
}

.notes-ribbon-tile[b-wlndli5bh5] {
    align-items: center;
    display: inline-flex;
    flex-direction: row;
    gap: 0.3rem;
    justify-content: flex-start;
    min-width: 0;
    min-height: 1.7rem;
    padding: 0.18rem 0.5rem;
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 6px;
    background: #fff;
    color: #1f2937;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1;
}

.notes-ribbon-tile:hover[b-wlndli5bh5],
.notes-ribbon-tile:focus-visible[b-wlndli5bh5] {
    border-color: rgba(37, 99, 235, 0.55);
    background: #eff6ff;
    color: #1d4ed8;
    outline: none;
}

.notes-ribbon-tile .bi[b-wlndli5bh5] {
    color: #2563eb;
    font-size: 0.95rem;
    line-height: 1;
}

.notes-shape-icon[b-wlndli5bh5] {
    display: inline-block;
    width: 1.1rem;
    height: 0.7rem;
    border: 1.5px solid #2563eb;
    background: rgba(37, 99, 235, 0.08);
    flex: 0 0 auto;
}

.notes-shape-icon.process[b-wlndli5bh5] {
    border-radius: 4px;
}

.notes-shape-icon.diamond[b-wlndli5bh5] {
    transform: rotate(45deg) scale(0.82);
}

.notes-shape-icon.terminal[b-wlndli5bh5] {
    border-radius: 999px;
}

.notes-shape-icon.data[b-wlndli5bh5] {
    transform: skewX(-18deg);
}

.notes-shape-icon.document[b-wlndli5bh5] {
    border-radius: 2px 2px 8px 8px;
}

.notes-shape-icon.database[b-wlndli5bh5] {
    border-radius: 50% / 28%;
}

.notes-size-range[b-wlndli5bh5] {
    width: 4.4rem;
    min-width: 4rem;
    margin: 0;
}

.notes-page-style-select[b-wlndli5bh5] {
    width: 6.25rem;
}

.notes-flow-select[b-wlndli5bh5] {
    width: 7rem;
}

.notes-insert-select[b-wlndli5bh5] {
    width: 6.5rem;
}

.notes-page-controls[b-wlndli5bh5] {
    display: grid;
    grid-template-columns: auto minmax(220px, 1fr) auto;
    gap: 0.65rem;
    align-items: center;
    flex-shrink: 0;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #dee2e6;
}

.notes-page-nav-group[b-wlndli5bh5],
.notes-page-actions[b-wlndli5bh5],
.notes-page-jump[b-wlndli5bh5],
.notes-page-number[b-wlndli5bh5] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notes-page-jump[b-wlndli5bh5] {
    min-width: 0;
}

.notes-page-slider[b-wlndli5bh5] {
    min-width: 120px;
    margin: 0;
}

.notes-page-number[b-wlndli5bh5] {
    flex-shrink: 0;
}

.notes-page-input[b-wlndli5bh5] {
    width: 4.75rem;
}

.notes-zoom-reset[b-wlndli5bh5] {
    min-width: 3.6rem;
    font-weight: 600;
}

.notes-canvas-container[b-wlndli5bh5] {
    flex: 1 1 auto;
    position: relative;
    min-height: 0;
    overflow: auto;
    border: 1px solid #ddd;
    background: #f8f9fa;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.notes-canvas-stage[b-wlndli5bh5] {
    min-width: 100%;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.notes-canvas[b-wlndli5bh5] {
    display: block;
    max-width: none;
    touch-action: none;
    background: white;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
}

.notes-canvas-stage .canvas-container[b-wlndli5bh5],
.notes-canvas-stage .upper-canvas[b-wlndli5bh5],
.notes-canvas-stage .lower-canvas[b-wlndli5bh5] {
    max-width: none;
    touch-action: none;
}

/* 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: #495057;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 999px;
    line-height: 1.2;
}

.pdf-zoom-percentage:hover[b-wlndli5bh5],
.pdf-zoom-percentage:focus[b-wlndli5bh5] {
    color: #0d6efd;
    background: #eef4ff;
    border-color: #b6d4fe;
}

/* Hide button text on small screens (mobile/iPhone) - show only icons */
@media (max-width: 575.98px) {
    .current-read-header[b-wlndli5bh5] {
        height: 92px;
        padding: 0.4rem 0.5rem;
    }

    .current-read-title-row[b-wlndli5bh5] {
        display: block;
    }

    .current-read-title[b-wlndli5bh5] {
        display: -webkit-box;
        overflow: hidden;
        font-size: 0.95rem;
        line-height: 1.12;
        text-overflow: clip;
        white-space: normal;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .current-read-page-status[b-wlndli5bh5] {
        margin-top: 0.1rem;
        font-size: 0.72rem;
    }

    .current-read-actions-row[b-wlndli5bh5] {
        align-items: center;
        justify-content: space-between;
        gap: 0.35rem !important;
        margin-top: 0.35rem;
    }

    .current-read-action-buttons[b-wlndli5bh5] {
        gap: 0.35rem !important;
    }

    .pdf-reading-area[b-wlndli5bh5] {
        top: 92px;
        bottom: 92px;
    }

    .pdf-viewer-container[b-wlndli5bh5] {
        padding: 8px;
        align-items: flex-start;
    }

    .pdf-canvas[b-wlndli5bh5] {
        max-width: none;
        max-height: none;
    }

    .notes-floating-panel[b-wlndli5bh5] {
        top: 56px;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        max-width: 100vw;
        max-height: none;
        z-index: 1060;
        transform: none;
    }

    .notes-floating-card[b-wlndli5bh5] {
        height: 100%;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }

    .notes-page-controls[b-wlndli5bh5] {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .notes-page-nav-group[b-wlndli5bh5],
    .notes-page-jump[b-wlndli5bh5],
    .notes-zoom-controls[b-wlndli5bh5] {
        width: 100%;
        justify-content: space-between;
    }

    .notes-page-slider[b-wlndli5bh5] {
        flex: 1 1 auto;
    }

    .notes-toolbar-actions[b-wlndli5bh5] {
        margin-left: 0;
        justify-content: flex-start;
        flex-wrap: nowrap;
    }

    .notes-tool-group[b-wlndli5bh5],
    .notes-inline-control[b-wlndli5bh5] {
        max-width: 100%;
    }

    .notes-page-style-select[b-wlndli5bh5] {
        width: 6.25rem;
    }

    .notes-ribbon-header[b-wlndli5bh5] {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .notes-ribbon-label-editor[b-wlndli5bh5] {
        order: 3;
        width: 100%;
        min-width: 0;
    }

    .notes-ribbon-label-editor input[b-wlndli5bh5] {
        max-width: none;
        width: 100%;
    }

    .notes-ribbon-collapse[b-wlndli5bh5] {
        margin-left: auto;
    }

    .notes-ribbon-group[b-wlndli5bh5] {
        grid-template-rows: auto 1fr 1fr;
    }

    .notes-ribbon-tile[b-wlndli5bh5] {
        min-width: 3.95rem;
    }

    .notes-canvas-stage[b-wlndli5bh5] {
        padding: 8px;
    }

    .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;
        min-height: 92px;
    }
    
    /* 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;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .current-read-header[b-wlndli5bh5] {
        height: 88px;
    }

    .current-read-title[b-wlndli5bh5] {
        font-size: 0.95rem;
    }

    .pdf-reading-area[b-wlndli5bh5] {
        top: 88px;
    }

    .pdf-reading-area[b-wlndli5bh5] {
        bottom: 74px;
    }

    .pdf-bottom-controls[b-wlndli5bh5] {
        min-height: 74px;
    }

    .notes-floating-panel[b-wlndli5bh5] {
        top: 76px;
        left: 3vw;
        right: 3vw;
        bottom: 16px;
        width: 94vw;
        max-width: 94vw;
        max-height: none;
        transform: none;
    }

    .notes-floating-card[b-wlndli5bh5] {
        height: 100%;
    }
}

@media (max-width: 767.98px) {
    .resize-handle[b-wlndli5bh5] {
        display: none;
    }
}

/* 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;
    }
}

/* Keyboard accessibility: visible focus ring for ribbon tiles, toolbar buttons, and ribbon collapse toggle.
   Uses :focus-visible so mouse clicks do not show the ring; only keyboard navigation does. */
.notes-ribbon-tile:focus-visible[b-wlndli5bh5],
.notes-ribbon-collapse:focus-visible[b-wlndli5bh5],
.notes-toolbar button:focus-visible[b-wlndli5bh5],
.notes-toolbar input:focus-visible[b-wlndli5bh5],
.notes-toolbar select:focus-visible[b-wlndli5bh5] {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
    border-radius: 4px;
}
/* /Components/Pages/Login.razor.rz.scp.css */
.modern-auth-page[b-nmfnekap2x] {
    min-height: calc(100vh - 5rem);
    place-items: start center;
    padding: clamp(1rem, 5vh, 2.5rem) 1rem 5rem;
}

.login-shell[b-nmfnekap2x] {
    width: min(1080px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
    gap: 1rem;
    align-items: stretch;
    padding: 0.75rem;
}

.login-story[b-nmfnekap2x],
.login-panel[b-nmfnekap2x] {
    border: 1px solid rgba(116, 87, 57, 0.12);
    border-radius: 28px;
    box-shadow: 0 22px 56px rgba(68, 52, 37, 0.11);
}

.login-story[b-nmfnekap2x] {
    min-height: 30rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(1.5rem, 4vw, 3rem);
    background:
        radial-gradient(circle at 12% 14%, rgba(226, 85, 53, 0.18), transparent 15rem),
        radial-gradient(circle at 88% 10%, rgba(52, 87, 213, 0.18), transparent 18rem),
        linear-gradient(140deg, #fffaf2 0%, #f4fbff 48%, #eaf8f4 100%);
    overflow: hidden;
}

.login-brand-mark[b-nmfnekap2x] {
    width: 3.2rem;
    height: 3.2rem;
    display: inline-grid;
    place-items: center;
    margin-bottom: auto;
    color: var(--app-primary);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(52, 87, 213, 0.16);
    border-radius: 18px;
    box-shadow: 0 14px 28px rgba(52, 87, 213, 0.1);
    font-size: 1.35rem;
}

.login-kicker[b-nmfnekap2x],
.login-panel-kicker[b-nmfnekap2x] {
    margin: 0 0 0.55rem;
    color: var(--app-accent);
    font-size: 0.76rem;
    font-weight: 820;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.login-story h1[b-nmfnekap2x] {
    max-width: 11ch;
    margin: 0;
    color: var(--app-text);
    font-size: clamp(2.25rem, 5vw, 4.5rem);
    font-weight: 850;
    line-height: 0.98;
}

.login-copy[b-nmfnekap2x] {
    max-width: 36rem;
    margin: 1.15rem 0 0;
    color: var(--app-muted);
    font-size: 1.03rem;
    line-height: 1.65;
}

.login-highlights[b-nmfnekap2x] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.6rem;
}

.login-highlights span[b-nmfnekap2x] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.48rem 0.7rem;
    color: #3f4658;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(116, 87, 57, 0.1);
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
}

.login-panel[b-nmfnekap2x] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.25rem, 3vw, 2rem);
    background: rgba(255, 255, 255, 0.92);
}

.login-panel-header[b-nmfnekap2x] {
    display: flex;
    gap: 0.9rem;
    align-items: center;
    margin-bottom: 1.25rem;
}

.login-panel-icon[b-nmfnekap2x] {
    width: 3rem;
    height: 3rem;
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    color: var(--app-teal);
    background: var(--app-teal-soft);
    border: 1px solid rgba(7, 132, 126, 0.18);
    border-radius: 16px;
    font-size: 1.2rem;
}

.login-panel h2[b-nmfnekap2x] {
    margin: 0;
    color: var(--app-text);
    font-size: clamp(1.55rem, 3vw, 2.1rem);
    font-weight: 830;
    line-height: 1.08;
}

.login-panel-copy[b-nmfnekap2x] {
    margin: 0 0 1.25rem;
    color: var(--app-muted);
    line-height: 1.55;
}

.login-google-button[b-nmfnekap2x] {
    width: 100%;
    min-height: 3.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    font-weight: 800;
}

.login-note[b-nmfnekap2x] {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    margin-top: 1rem;
    padding: 0.85rem 0.9rem;
    color: #5c6171;
    background: #fbf7f1;
    border: 1px solid rgba(116, 87, 57, 0.12);
    border-radius: 16px;
    font-size: 0.92rem;
    line-height: 1.45;
}

.login-alert[b-nmfnekap2x] {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 0.9rem;
    color: #6b321f;
    background: #fff1e9;
    border: 1px solid rgba(226, 85, 53, 0.22);
    border-radius: 16px;
}

.login-alert p[b-nmfnekap2x] {
    margin: 0.2rem 0 0;
    color: #7a4b3c;
}

.login-help[b-nmfnekap2x] {
    margin-top: 1rem;
    padding: 1rem;
    background: #f5fbfa;
    border: 1px solid rgba(7, 132, 126, 0.16);
    border-radius: 18px;
}

.login-help h3[b-nmfnekap2x] {
    margin: 0 0 0.65rem;
    color: var(--app-text);
    font-size: 1rem;
    font-weight: 800;
}

.login-help ul[b-nmfnekap2x] {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--app-muted);
    line-height: 1.55;
}

@media (max-width: 900px) {
    .login-shell[b-nmfnekap2x] {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .login-story[b-nmfnekap2x] {
        min-height: auto;
    }

    .login-story h1[b-nmfnekap2x] {
        max-width: 14ch;
    }
}

@media (max-width: 767px) {
    .modern-auth-page[b-nmfnekap2x] {
        min-height: auto;
        padding: 0.85rem 1rem 1.25rem;
    }

    .login-shell[b-nmfnekap2x] {
        gap: 0.75rem;
    }

    .login-story[b-nmfnekap2x],
    .login-panel[b-nmfnekap2x] {
        border-radius: 22px;
    }

    .login-story[b-nmfnekap2x] {
        padding: 1.15rem;
    }

    .login-brand-mark[b-nmfnekap2x] {
        width: 2.8rem;
        height: 2.8rem;
        margin-bottom: 2.25rem;
        border-radius: 16px;
    }

    .login-story h1[b-nmfnekap2x] {
        font-size: 2.15rem;
    }

    .login-copy[b-nmfnekap2x] {
        font-size: 0.95rem;
    }

    .login-highlights[b-nmfnekap2x] {
        gap: 0.45rem;
    }

    .login-highlights span[b-nmfnekap2x] {
        font-size: 0.84rem;
    }

    .login-panel[b-nmfnekap2x] {
        padding: 1.05rem;
    }
}
/* /Components/Pages/MyNotes.razor.rz.scp.css */
.my-notes-page[b-av0o2bf2r7] {
    max-width: 1480px;
    margin: 0 auto;
}

.notes-stat[b-av0o2bf2r7] {
    display: grid;
    min-width: 9rem;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(52, 87, 213, 0.16);
    border-radius: 18px;
}

.notes-stat span[b-av0o2bf2r7] {
    color: var(--app-primary);
    font-size: 0.78rem;
    font-weight: 760;
    text-transform: uppercase;
}

.notes-stat strong[b-av0o2bf2r7] {
    color: var(--app-text);
    font-size: 1.8rem;
    line-height: 1;
}

.notes-card .card-header[b-av0o2bf2r7] {
    color: var(--app-text);
}

.notes-list-item[b-av0o2bf2r7] {
    padding: 1rem;
    border-color: rgba(116, 87, 57, 0.1);
}

.notes-list-item h6 a[b-av0o2bf2r7] {
    color: var(--app-text);
    font-weight: 760;
}

.notes-list-item:hover[b-av0o2bf2r7] {
    background: #fffaf4;
}

@media (max-width: 767px) {
    .notes-list-item .col-md-4[b-av0o2bf2r7] {
        margin-top: 0.85rem;
    }

    .notes-list-item .justify-content-end[b-av0o2bf2r7] {
        justify-content: flex-start !important;
    }
}
/* /Components/Pages/MyReadingLists.razor.rz.scp.css */
.reading-lists-page[b-dd8tosx8d8] {
    max-width: 1480px;
    margin: 0 auto;
}

.reading-list-create-row[b-dd8tosx8d8] {
    display: none;
}

.reading-list-card[b-dd8tosx8d8] {
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.reading-list-card:hover[b-dd8tosx8d8] {
    transform: translateY(-2px);
    border-color: rgba(226, 85, 53, 0.24);
    box-shadow: 0 22px 52px rgba(68, 52, 37, 0.12);
}

.reading-list-card .card-title[b-dd8tosx8d8] {
    color: var(--app-text);
    font-weight: 760;
}

.reading-list-card .card-body[b-dd8tosx8d8] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.reading-list-card .card-body > a[b-dd8tosx8d8] {
    margin-top: auto;
}

@media (max-width: 767px) {
    .modern-hero .btn[b-dd8tosx8d8] {
        width: 100%;
    }
}
/* /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;
}

.reading-list-detail-page[b-fq7kvo2gse] {
    max-width: 1480px;
    margin: 0 auto;
}

.reading-list-detail-page > .row .card[b-fq7kvo2gse] {
    overflow: hidden;
    background: var(--app-surface);
    border: 1px solid rgba(116, 87, 57, 0.11);
    border-radius: var(--app-radius);
    box-shadow: 0 12px 35px rgba(68, 52, 37, 0.07);
}

.reading-list-detail-header[b-fq7kvo2gse] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background:
        radial-gradient(circle at 100% 0%, rgba(52, 87, 213, 0.14), transparent 36%),
        linear-gradient(135deg, #fffaf2, #eff8f6);
    border-bottom: 1px solid rgba(116, 87, 57, 0.1);
}

.reading-list-detail-header .card-title[b-fq7kvo2gse] {
    color: var(--app-text);
    font-size: clamp(1.45rem, 3vw, 2.2rem);
    font-weight: 820;
}

@media (max-width: 767px) {
    .reading-list-detail-header[b-fq7kvo2gse] {
        align-items: stretch;
        flex-direction: column;
    }

    .reading-list-detail-header .d-flex[b-fq7kvo2gse] {
        flex-wrap: wrap;
    }
}
/* /Components/Shared/AppQuickNav.razor.rz.scp.css */
.app-quick-nav[b-9mweoh8ibk] {
    display: none;
}

.desktop-scroll-top[b-9mweoh8ibk] {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1035;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    color: var(--app-text);
    background: rgba(255, 251, 245, 0.94);
    border: 1px solid rgba(116, 87, 57, 0.14);
    border-radius: 999px;
    box-shadow: 0 18px 42px rgba(68, 52, 37, 0.16);
    backdrop-filter: blur(16px);
}

.desktop-scroll-top:hover[b-9mweoh8ibk],
.desktop-scroll-top:focus[b-9mweoh8ibk] {
    color: var(--app-primary);
    background: #fff;
}

@media (max-width: 767px) {
    .desktop-scroll-top[b-9mweoh8ibk] {
        display: none;
    }

    .app-quick-nav[b-9mweoh8ibk] {
        position: fixed;
        right: max(0.85rem, env(safe-area-inset-right));
        bottom: max(0.85rem, env(safe-area-inset-bottom));
        left: max(0.85rem, env(safe-area-inset-left));
        z-index: 1035;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.35rem;
        padding: 0.45rem;
        background: rgba(255, 251, 245, 0.94);
        border: 1px solid rgba(116, 87, 57, 0.14);
        border-radius: 999px;
        box-shadow: 0 18px 42px rgba(68, 52, 37, 0.18);
        backdrop-filter: blur(16px);
    }

.app-quick-nav button[b-9mweoh8ibk],
.app-quick-nav a[b-9mweoh8ibk] {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.12rem;
        min-width: 0;
        min-height: 3rem;
        padding: 0.25rem;
        color: var(--app-muted);
        font-size: 0.72rem;
        font-weight: 720;
        background: transparent;
        border: 0;
        border-radius: 999px;
        text-decoration: none;
    }

    .app-quick-nav button:focus[b-9mweoh8ibk],
    .app-quick-nav button:hover[b-9mweoh8ibk],
    .app-quick-nav a:focus[b-9mweoh8ibk],
    .app-quick-nav a:hover[b-9mweoh8ibk] {
        color: var(--app-text);
        background: rgba(52, 87, 213, 0.08);
    }

    .app-quick-nav .bi[b-9mweoh8ibk] {
        font-size: 1rem;
        line-height: 1;
    }
}
/* /Components/Shared/BookCard.razor.rz.scp.css */
.book-card[b-b7ul92gruf] {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--app-surface);
    border: 1px solid rgba(116, 87, 57, 0.1);
    border-radius: var(--app-radius);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.book-card-shadow[b-b7ul92gruf] {
    box-shadow: 0 10px 30px rgba(68, 52, 37, 0.08);
}

.book-card:hover[b-b7ul92gruf] {
    transform: translateY(-2px);
    border-color: rgba(226, 85, 53, 0.28);
    box-shadow: 0 22px 52px rgba(68, 52, 37, 0.13);
}

.book-card-cover-link[b-b7ul92gruf] {
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, #fff2e9, #eef8f6);
    text-decoration: none;
}

.book-card-cover[b-b7ul92gruf],
.book-card-cover-placeholder[b-b7ul92gruf] {
    width: 100%;
    aspect-ratio: 4 / 3;
}

.book-card-cover[b-b7ul92gruf] {
    display: block;
    object-fit: cover;
    transition: transform 180ms ease;
}

.book-card:hover .book-card-cover[b-b7ul92gruf] {
    transform: scale(1.025);
}

.book-card-cover-placeholder[b-b7ul92gruf] {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--app-accent);
    background: linear-gradient(135deg, #fff2e9, #e7f6f3);
}

.book-card-cover-placeholder .bi[b-b7ul92gruf] {
    font-size: 2.25rem;
}

.book-card-body[b-b7ul92gruf] {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1rem;
}

.book-card-title[b-b7ul92gruf] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0 0 0.65rem;
    color: var(--app-text);
    font-size: 1rem;
    font-weight: 760;
    line-height: 1.25;
}

.book-title-input[b-b7ul92gruf] {
    min-width: min(14rem, 100%);
}

.book-card-search[b-b7ul92gruf] {
    flex: 0 0 auto;
    width: 2.15rem;
    height: 2.15rem;
    padding: 0;
    border-radius: 0.75rem;
}

.book-card-author[b-b7ul92gruf] {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 0.65rem;
    color: var(--app-muted);
    font-size: 0.86rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.book-card-tags[b-b7ul92gruf] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
}

.book-chip[b-b7ul92gruf] {
    max-width: 100%;
    overflow: hidden;
    padding: 0.35rem 0.48rem;
    color: #585d6d;
    text-overflow: ellipsis;
    background: #f3eee7;
    border: 1px solid rgba(116, 87, 57, 0.08);
    border-radius: 999px;
    cursor: pointer;
}

.book-chip-primary[b-b7ul92gruf] {
    color: #fff;
    background: linear-gradient(135deg, var(--app-primary), #2d728f);
}

.book-card-more[b-b7ul92gruf] {
    color: var(--app-muted);
}

.book-card-footer[b-b7ul92gruf] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(116, 87, 57, 0.09);
}

.book-card-meta[b-b7ul92gruf] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    color: var(--app-muted);
    font-size: 0.78rem;
}

.book-file-chip[b-b7ul92gruf] {
    color: #075f5a;
    background: var(--app-teal-soft);
    border-radius: 999px;
}

.book-card-actions[b-b7ul92gruf] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.action-btn-icon[b-b7ul92gruf] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0.25rem;
    border-radius: 0.65rem;
}

@media (max-width: 575px) {
    .book-card-body[b-b7ul92gruf] {
        padding: 0.9rem;
    }

    .book-card-title[b-b7ul92gruf] {
        font-size: 0.98rem;
    }
}
/* /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;
    }
}
