@import '_content/Blazored.Modal/Blazored.Modal.bundle.scp.css';
@import '_content/Blazored.Toast/Blazored.Toast.bundle.scp.css';
@import '_content/ZXingBlazor/ZXingBlazor.bundle.scp.css';

/* _content/BookwormsUI/Components/BorrowedBookItem.razor.rz.scp.css */
/* ============ Base Card ============ */
.borrowed-book-item[b-hni745y8tr] {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #e7e9ee;
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.borrowed-book-item:hover[b-hni745y8tr] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
    border-color: #d7dae2;
}

/* ============ Book Info ============ */
.book-info[b-hni745y8tr] {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    min-width: 0;
}
.book-code[b-hni745y8tr] {
    font-size: 12px;
    font-weight: 700;
    color: #5a48ff;
    background: #f3f2ff;
    padding: 3px 8px;
    border-radius: 6px;
    width: max-content;
}
.book-title .book-link[b-hni745y8tr] {
    font-size: 16px;
    font-weight: 800;
    color: #222;
    text-decoration: none;
    line-height: 1.25;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: min(70vw, 840px);
    transition: color .2s ease, text-decoration-color .2s ease;
}
.book-title .book-link:hover[b-hni745y8tr] { color: #5a48ff; text-decoration: underline; }
.book-meta[b-hni745y8tr] {
    font-size: 14px;
    color: #555;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.book-request-info[b-hni745y8tr] {
    display: flex;
    gap: 14px;
    align-items: center;
    font-size: 13px;
    color: #666;
}
.request-date[b-hni745y8tr] { white-space: nowrap; }

/* ============ Badges (status) ============ */
.book-status[b-hni745y8tr] {
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: #fff7e6;
    color: #b35c00;
}
.book-status--confirmed[b-hni745y8tr] {
    background: #e6fffb;
    color: #006d75;
    border-color: #b5f5ec;
}
.book-status--declined[b-hni745y8tr] {
    background: #fff1f0;
    color: #a8071a;
    border-color: #ffccc7;
}

/* ============ Actions ============ */
.actions[b-hni745y8tr] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Button reset + focus ring */
.actions button[b-hni745y8tr],
.remove-button[b-hni745y8tr] {
    appearance: none;
    border: none;
    outline: none;
    cursor: pointer;
    font-weight: 700;
    border-radius: 10px;
    padding: 10px 14px;
    line-height: 1;
    transition: transform .12s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.actions button:focus-visible[b-hni745y8tr],
.remove-button:focus-visible[b-hni745y8tr] {
    box-shadow: 0 0 0 3px rgba(90,72,255,.18), 0 1px 2px rgba(0,0,0,.05);
}

/* Specific buttons */
.confirm-button[b-hni745y8tr] {
    background: #e6fffb;
    color: #006d75;
    border: 1px solid #b5f5ec;
}
.confirm-button:hover[b-hni745y8tr] { background: #ccfbf5; }
.confirm-button:active[b-hni745y8tr] { transform: translateY(1px); }

.decline-button[b-hni745y8tr] {
    background: #fff1f0;
    color: #a8071a;
    border: 1px solid #ffccc7;
}
.decline-button:hover[b-hni745y8tr] { background: #ffe2e0; }
.decline-button:active[b-hni745y8tr] { transform: translateY(1px); }

.unconfirm-button[b-hni745y8tr] {
    background: #f0f5ff;
    color: #2f54eb;
    border: 1px solid #d6e4ff;
}
.unconfirm-button:hover[b-hni745y8tr] { background: #e6eeff; }
.unconfirm-button:active[b-hni745y8tr] { transform: translateY(1px); }

/* Remove icon-only button (for non-admin) */
.remove-button[b-hni745y8tr] {
    background: #fff5f5;
    color: #d63031;
    padding: 8px;
    border-radius: 999px;
    border: 1px solid #ffd6d6;
}
.remove-button:hover[b-hni745y8tr] { background: #ffecec; transform: scale(1.05); }

/* Disabled state */
.actions button:disabled[b-hni745y8tr],
.remove-button:disabled[b-hni745y8tr] {
    opacity: .55;
    cursor: not-allowed;
    transform: none !important;
}

/* ============ Compact / Dense Mode (optional) ============ */
/* Thêm class `compact` vào .borrowed-book-item nếu muốn */
.borrowed-book-item.compact[b-hni745y8tr] { padding: 12px 14px; gap: 12px; }
.borrowed-book-item.compact .book-title .book-link[b-hni745y8tr] { font-size: 15px; }
.borrowed-book-item.compact .actions button[b-hni745y8tr] { padding: 8px 12px; border-radius: 8px; }

/* ============ Responsive ============ */
@media (max-width: 720px) {
    .borrowed-book-item[b-hni745y8tr] {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .actions[b-hni745y8tr] {
        justify-content: flex-end;
    }
    .book-title .book-link[b-hni745y8tr] { max-width: 100%; }
}

@media (max-width: 420px) {
    .actions[b-hni745y8tr] { gap: 8px; }
    .actions button[b-hni745y8tr] { flex: 1 1 auto; text-align: center; }
    .book-meta[b-hni745y8tr] { font-size: 13px; }
}

/* ============ Auto Dark Mode ============ */
@media (prefers-color-scheme: dark) {
    .borrowed-book-item[b-hni745y8tr] {
        background: #111418;
        border-color: #1e232b;
        box-shadow: 0 2px 10px rgba(0,0,0,.45);
    }
    .borrowed-book-item:hover[b-hni745y8tr] {
        border-color: #2a313b;
        box-shadow: 0 10px 24px rgba(0,0,0,.6);
    }
    .book-code[b-hni745y8tr] { color: #b9b4ff; background: #1a1630; }
    .book-title .book-link[b-hni745y8tr] { color: #e6e6e6; }
    .book-title .book-link:hover[b-hni745y8tr] { color: #b9b4ff; }
    .book-meta[b-hni745y8tr] { color: #c9cdd4; }
    .book-request-info[b-hni745y8tr],
    .request-date[b-hni745y8tr] { color: #aeb4bf; }

    .book-status[b-hni745y8tr] { background: #2e2614; color: #ffcd7a; border-color: #3d2f14; }
    .book-status--confirmed[b-hni745y8tr] { background: #072926; color: #7ce1d6; border-color: #0f3b37; }
    .book-status--declined[b-hni745y8tr] { background: #2a1215; color: #ff8a99; border-color: #3a1a1e; }

    .confirm-button[b-hni745y8tr] { background: #0f2b28; color: #7ce1d6; border-color: #13403b; }
    .confirm-button:hover[b-hni745y8tr] { background: #133733; }
    .decline-button[b-hni745y8tr] { background: #2a1215; color: #ff8a99; border-color: #3a1a1e; }
    .decline-button:hover[b-hni745y8tr] { background: #35161a; }
    .unconfirm-button[b-hni745y8tr] { background: #111b3a; color: #8ea4ff; border-color: #1a2a59; }
    .unconfirm-button:hover[b-hni745y8tr] { background: #142046; }
    .remove-button[b-hni745y8tr] { background: #331416; color: #ff9aa0; border-color: #462026; }
    .remove-button:hover[b-hni745y8tr] { background: #3b181c; }
    
    .return-button.disabled[b-hni745y8tr] {
        background: #2a2a2a;
        color: #666;
        border-color: #404040;
    }
    
    .return-button.disabled:hover[b-hni745y8tr] {
        background: #2a2a2a;
    }
}

/* ============ Return Mode Styles ============ */
.borrowed-book-item.overdue[b-hni745y8tr] {
    border-color: #ff6b6b;
    background: #fff5f5;
}

.book-loan-info[b-hni745y8tr] {
    display: flex;
    gap: 14px;
    align-items: center;
    font-size: 13px;
    color: #666;
    flex-wrap: wrap;
}

.loan-start[b-hni745y8tr],
.loan-end[b-hni745y8tr],
.loan-days[b-hni745y8tr] {
    white-space: nowrap;
}

.loan-end.overdue[b-hni745y8tr] {
    color: #dc2626;
    font-weight: 600;
}

.overdue-warning[b-hni745y8tr] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 6px 10px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    color: #dc2626;
    font-size: 12px;
    font-weight: 500;
}

.overdue-warning svg[b-hni745y8tr] {
    flex-shrink: 0;
}

.return-button[b-hni745y8tr] {
    background: #e6fffb;
    color: #006d75;
    border: 1px solid #b5f5ec;
    display: flex;
    align-items: center;
    gap: 6px;
}

.return-button:hover[b-hni745y8tr] {
    background: #ccfbf5;
}

.return-button:active[b-hni745y8tr] {
    transform: translateY(1px);
}

.return-button svg[b-hni745y8tr] {
    flex-shrink: 0;
}

.return-button.disabled[b-hni745y8tr] {
    background: #f5f5f5;
    color: #999;
    border-color: #e0e0e0;
    cursor: not-allowed;
}

.return-button.disabled:hover[b-hni745y8tr] {
    background: #f5f5f5;
    transform: none;
}

/* ============ Utility: map status runtime ============ */
/* Nếu bạn có binding trạng thái, bạn có thể gắn thêm class bằng code:
   <span class="book-status @(Book.IsConfirmed ? "book-status--confirmed" : (Book.IsDeclined ? "book-status--declined" : ""))">
*/
/* _content/BookwormsUI/Components/CitationModal.razor.rz.scp.css */
/* ===== Citation Modal – Clean & Professional ===== */
.citation-modal[b-cy8v7j7sl3] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* căn giữa tuyệt đối */
    width: 100%;
    max-width: 560px;
    padding: 1rem 1.25rem;
    background: var(--bs-body-bg, #fff);
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgb(16 13 13 / 60%);
    z-index: 1050;
}



@keyframes cm-fade-in-b-cy8v7j7sl3 {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
.citation-modal h6[b-cy8v7j7sl3] {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .2px;
    margin: 0 2rem 0.75rem; /* chừa chỗ nút close */
}

/* Close button – nổi, dễ bấm */
.citation-modal .close-modal[b-cy8v7j7sl3] {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #f8f9fa; /* nền sáng */
    color: #212529; /* icon tối rõ */
    border: 1px solid rgba(0,0,0,.15);
    font-size: 1.25rem;
    line-height: 1;
    opacity: 1; /* không mờ */
    transition: all .2s ease;
}

    .citation-modal .close-modal:hover[b-cy8v7j7sl3],
    .citation-modal .close-modal:focus-visible[b-cy8v7j7sl3] {
        background: #dc3545; /* đỏ cảnh báo khi hover */
        color: #fff; /* icon trắng trên nền đỏ */
        border-color: #dc3545;
        outline: none;
    }


/* Tabs – tinh gọn, có chỉ báo dưới */
.citation-modal .nav-tabs[b-cy8v7j7sl3] {
    border-bottom: none;
    gap: .25rem;
}

    .citation-modal .nav-tabs .nav-link[b-cy8v7j7sl3] {
        position: relative;
        padding: 0.4rem 0.9rem;
        font-size: .9rem;
        border: none;
        color: var(--bs-secondary-color, #6c757d);
        background: transparent;
        border-radius: .75rem;
        transition: color .15s ease;
    }

        .citation-modal .nav-tabs .nav-link:hover[b-cy8v7j7sl3] {
            color: var(--bs-body-color, #212529);
        }

        .citation-modal .nav-tabs .nav-link.active[b-cy8v7j7sl3] {
            color: var(--bs-body-color, #212529);
            background: rgba(0,0,0,.04);
        }

            .citation-modal .nav-tabs .nav-link.active[b-cy8v7j7sl3]::after {
                content: "";
                position: absolute;
                left: 14%;
                right: 14%;
                bottom: -6px;
                height: 3px;
                border-radius: 3px;
                background: var(--bs-primary, #0d6efd);
            }

/* Panel body spacing */
.citation-modal .tab-content[b-cy8v7j7sl3] {
    margin-top: 1rem;
}

/* Input group – căn đều và gọn */
.citation-modal .input-group.input-group-sm[b-cy8v7j7sl3] {
    align-items: stretch;
    gap: .5rem;
}

/* Textarea – mono, dễ copy, read-only look */
.citation-modal textarea[b-cy8v7j7sl3] {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    font-size: .9rem;
    line-height: 1.5;
    resize: none;
    min-height: 112px; /* tương đương rows=3 nhưng ổn định */
    padding: .75rem .9rem;
    background: var(--bs-tertiary-bg, #f8f9fa);
    border: 1px solid rgba(0,0,0,.08);
    border-radius: .75rem;
    color: var(--bs-body-color, #212529);
}

    .citation-modal textarea:focus[b-cy8v7j7sl3] {
        outline: none;
        border-color: var(--bs-primary, #0d6efd);
        box-shadow: 0 0 0 .2rem rgba(13,110,253,.1);
    }

/* Copy button – icon-only, nhấn cái là rõ */
.citation-modal .btn-copy[b-cy8v7j7sl3] {
    align-self: flex-start;
    padding: .55rem .65rem;
    border-radius: .65rem;
    border: 1px solid rgba(0,0,0,.08);
    background: #fff;
    transition: all .15s ease;
}

    .citation-modal .btn-copy:hover[b-cy8v7j7sl3],
    .citation-modal .btn-copy:focus-visible[b-cy8v7j7sl3] {
        background: var(--bs-primary, #0d6efd);
        border-color: var(--bs-primary, #0d6efd);
        color: #fff;
        outline: none;
    }

/* Footer actions */
.citation-modal .actions[b-cy8v7j7sl3] {
    display: flex;
    justify-content: flex-end;
    gap: .5rem;
    margin-top: 1rem;
}

    .citation-modal .actions .btn[b-cy8v7j7sl3] {
        border-radius: .65rem;
        padding: .4rem .7rem;
    }

/* Focus visible – a11y */
.citation-modal :is(button, .nav-link):focus-visible[b-cy8v7j7sl3] {
    outline: 2px solid var(--bs-primary, #0d6efd);
    outline-offset: 2px;
}

/* Dark mode auto */
@media (prefers-color-scheme: dark) {
    .citation-modal[b-cy8v7j7sl3] {
        background: #121212;
        border-color: rgba(255,255,255,.08);
        box-shadow: 0 10px 30px rgba(0,0,0,.6), 0 2px 10px rgba(0,0,0,.4);
    }

        .citation-modal .nav-tabs .nav-link.active[b-cy8v7j7sl3] {
            background: rgba(255,255,255,.06);
        }

        .citation-modal textarea[b-cy8v7j7sl3] {
            background: #1a1a1a;
            border-color: rgba(255,255,255,.08);
            color: #e9ecef;
        }

        .citation-modal .btn-copy[b-cy8v7j7sl3] {
            background: #1a1a1a;
            border-color: rgba(255,255,255,.1);
            color: #e9ecef;
        }

            .citation-modal .btn-copy:hover[b-cy8v7j7sl3],
            .citation-modal .btn-copy:focus-visible[b-cy8v7j7sl3] {
                background: var(--bs-primary, #0d6efd);
                color: #fff;
                border-color: var(--bs-primary, #0d6efd);
            }
}
/* _content/BookwormsUI/Components/ConfirmAddress.razor.rz.scp.css */
.address-modal-message[b-tai3x15ob2] {
    font-size: 1rem;
    font-weight: 600;
    width: 575px;
    color: red;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.5rem 0 1.5rem 0
}

.address-modal-title[b-tai3x15ob2] {
    font-size: 1.25rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 2rem 0
}

.address-modal-buttons[b-tai3x15ob2] {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem
}

.address-modal-buttons button[b-tai3x15ob2] {
    margin: 0.25rem;
}
/* _content/BookwormsUI/Components/ConfirmModal.razor.rz.scp.css */
.confirm-modal-message[b-mo2xvmic9m] {
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.5rem 0 1.5rem 0
}

.confirm-modal-buttons[b-mo2xvmic9m] {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem
}

.confirm-modal-buttons button[b-mo2xvmic9m] {
    margin: 0.5rem;
}
/* _content/BookwormsUI/Components/ExportAccessModal.razor.rz.scp.css */
/* ===== Export Access Modal - Centered like citation modal ===== */
.export-modal[b-qztfdlbw56] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 400px;
    padding: 1rem 1.25rem;
    background: var(--bs-body-bg, #fff);
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgb(16 13 13 / 60%);
    z-index: 1050;
}

.export-modal .close-modal[b-qztfdlbw56] {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #f8f9fa;
    color: #212529;
    border: 1px solid rgba(0,0,0,.15);
    font-size: 1.25rem;
    line-height: 1;
    opacity: 1;
    transition: all .2s ease;
}

.export-modal .close-modal:hover[b-qztfdlbw56],
.export-modal .close-modal:focus-visible[b-qztfdlbw56] {
    background: #dc3545;
    color: #fff;
    border-color: #dc3545;
    outline: none;
}

/* _content/BookwormsUI/Components/HomeNewsSpotlight.razor.rz.scp.css */
/* Styling moved to site-wide stylesheet (wwwroot/css/site.css) to share with legacy home layout */
/* _content/BookwormsUI/Components/HomeQuickAccessSection.razor.rz.scp.css */
/* Styling moved to site-wide stylesheet (wwwroot/css/site.css) to share with legacy home layout */
/* _content/BookwormsUI/Components/Paging/Paging.razor.rz.scp.css */
.paging-showing[b-mndjqv1mli] {
    padding: .5rem .75rem;
}

.pagination-link[b-mndjqv1mli] {
    color: #000 !important
}

.pagination-link:active[b-mndjqv1mli] {
    color: #fff !important
}
/* _content/BookwormsUI/Components/PromoCarousel.razor.rz.scp.css */
.carousel-container-fluid[b-czerd806lg] {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    max-width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0;
    overflow: hidden;
}

.carousel-img[b-czerd806lg] {
    width: 100%;
    height: 60vh; /* Adjust height as needed for your design */
    object-fit: cover; /* Ensures images cover the area without distortion */
}

.carousel-inner[b-czerd806lg] {
    width: 100%;
}

#promo-carousel[b-czerd806lg] {
    width: 100%;
}

/* Optional: Adjust carousel indicators and controls for better visibility */
.carousel-indicators[b-czerd806lg] {
    bottom: 10px;
}

.carousel-control-prev[b-czerd806lg],
.carousel-control-next[b-czerd806lg] {
    width: 5%;
    background: rgba(0, 0, 0, 0.3); /* Optional: slight background for visibility */
}

/* Ensure responsiveness for smaller screens */
@media (max-width: 768px) {
    .carousel-img[b-czerd806lg] {
        height: 40vh; /* Smaller height for mobile devices */
    }
}
/* _content/BookwormsUI/Components/SearchBox.razor.rz.scp.css */
/* Home page hero */
#home-hero[b-131jf1jq4j] {
    background-color:#f5e909;
    color: #0931f3;
    padding: 1rem 0;
}
.home-title[b-131jf1jq4j] {
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: 'Roboto', sans-serif;
}

#promo-carousel[b-131jf1jq4j] {
    margin-bottom: 2rem;
}

.home-tagline[b-131jf1jq4j] {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.home-search-group[b-131jf1jq4j] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 600px;
    margin: 0 auto;
}

.home-search-input-container[b-131jf1jq4j] {
    position: relative;
    flex: 1;
}

.home-search-input[b-131jf1jq4j] {
    width: 100%;
    border: none;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.1);
    transition: box-shadow 0.2s ease;
}

.home-search-input:focus[b-131jf1jq4j] {
    outline: none;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.4);
}

.home-search-group > .btn-primary[b-131jf1jq4j] {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
}

.home-search-input-container .search-clear-btn[b-131jf1jq4j] {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: #64748b;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.home-search-input-container .search-clear-btn:hover[b-131jf1jq4j],
.home-search-input-container .search-clear-btn:focus-visible[b-131jf1jq4j] {
    background-color: rgba(100, 116, 139, 0.12);
    color: #0f172a;
    outline: none;
}

.suggest-list[b-131jf1jq4j] {
    position: absolute;
    top: calc(100% + 0.25rem);
    left: 0;
    right: 0;
    z-index: 900;
    list-style: none;
    margin: 0;
    padding: 0.25rem 0;
    background: #ffffff;
    border-radius: 0;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
    border: 1px solid rgba(148, 163, 184, 0.35);
    overflow: hidden;
}

.suggest-list li[b-131jf1jq4j] {
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: #0f172a;
    transition: background-color 0.15s ease;
    text-align: left;
}

.suggest-list li strong[b-131jf1jq4j] {
    font-weight: 700;
    color: #1d4ed8;
}

.suggest-list li:hover[b-131jf1jq4j],
.suggest-list li.active[b-131jf1jq4j] {
    background-color: rgba(59, 130, 246, 0.12);
}
.category-list[b-131jf1jq4j] {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.category-item[b-131jf1jq4j] {
    background-color: #ffffff;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
}

    .category-item:hover[b-131jf1jq4j] {
        background-color: #e5e5e5;
    }
.clear-btn[b-131jf1jq4j] {
    font-size: 1.125rem;
}

.info-section[b-131jf1jq4j] {
    padding: 3rem 0;
    background-color: #ffffff;
}

.info-section i[b-131jf1jq4j] {
    color: var(--primary-color);
}

.info-section h5[b-131jf1jq4j] {
    font-weight: 600;
    margin-top: 1rem;
}

.info-section p[b-131jf1jq4j] {
    color: #6c757d;
}

.section-heading[b-131jf1jq4j] {
    font-weight: 600;
    font-size: 1.75rem;
}

.services-section[b-131jf1jq4j] {
    background-color: #f8f9fa;
    padding: 3rem 0;
}

.services-section i[b-131jf1jq4j] {
    color: var(--primary-color);
}

.services-section h6[b-131jf1jq4j] {
    font-weight: 600;
    margin-top: 1rem;
}

.services-section p[b-131jf1jq4j] {
    color: #6c757d;
}

.cta-section[b-131jf1jq4j] {
    background-color: #ffffff;
    padding: 3rem 0;
}

.cta-section p[b-131jf1jq4j] {
    max-width: 600px;
    margin: 0 auto 1.5rem;
    color: #6c757d;
}

/* _content/BookwormsUI/Pages/Account/ChangePasswordForm.razor.rz.scp.css */
.btn-see-pass[b-8kjvzf6yte] {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
/* _content/BookwormsUI/Pages/Account/Index.razor.rz.scp.css */
.account-card[b-03v5spmz2l] {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: transform 0.1s ease-in-out, box-shadow 0.1s ease-in-out;
    cursor: pointer;
}

.account-card:hover[b-03v5spmz2l] {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.account-card i[b-03v5spmz2l] {
    color: #0d6efd;
}

/* Loan History Styling */
.loan-history-card[b-03v5spmz2l] {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border-radius: 12px;
    overflow: hidden;
}

.loan-history-header[b-03v5spmz2l] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1.25rem;
}

.loan-history-header h5[b-03v5spmz2l] {
    margin: 0;
    font-weight: 600;
    font-size: 1.25rem;
}

.loan-history-table[b-03v5spmz2l] {
    margin: 0;
}

.loan-history-table thead th[b-03v5spmz2l] {
    background-color: #f8f9fa;
    border: none;
    font-weight: 600;
    color: #495057;
    padding: 1rem 0.75rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.loan-history-table tbody tr[b-03v5spmz2l] {
    border: none;
    transition: all 0.2s ease;
}

.loan-history-table tbody tr:hover[b-03v5spmz2l] {
    background-color: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.loan-history-table tbody td[b-03v5spmz2l] {
    border: none;
    padding: 1rem 0.75rem;
    vertical-align: middle;
}

.loan-history-item[b-03v5spmz2l] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.loan-history-book-icon[b-03v5spmz2l] {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.loan-history-book-info[b-03v5spmz2l] {
    flex: 1;
}

.loan-history-title[b-03v5spmz2l] {
    font-weight: 600;
    color: #212529;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.4;
}

.loan-history-title:hover[b-03v5spmz2l] {
    color: #667eea;
    text-decoration: none;
}

.loan-history-copy-id[b-03v5spmz2l] {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.loan-history-date[b-03v5spmz2l] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #495057;
}

.loan-history-date-icon[b-03v5spmz2l] {
    color: #6c757d;
    font-size: 0.9rem;
}

.loan-history-days[b-03v5spmz2l] {
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    text-align: center;
    min-width: 80px;
}

.loan-history-days.overdue[b-03v5spmz2l] {
    background-color: #fee;
    color: #dc3545;
    border: 1px solid #f5c6cb;
}

.loan-history-days.normal[b-03v5spmz2l] {
    background-color: #e8f5e8;
    color: #28a745;
    border: 1px solid #c3e6cb;
}

.loan-history-overdue-row[b-03v5spmz2l] {
    background-color: #fff5f5 !important;
    border-left: 4px solid #dc3545;
}

.loan-history-overdue-row:hover[b-03v5spmz2l] {
    background-color: #ffeaea !important;
}

/* Book Requests Styling */
.book-requests-card[b-03v5spmz2l] {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border-radius: 12px;
    overflow: hidden;
}

.book-requests-header[b-03v5spmz2l] {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
    padding: 1.25rem;
}

.book-requests-header h5[b-03v5spmz2l] {
    margin: 0;
    font-weight: 600;
    font-size: 1.25rem;
}

.book-requests-table[b-03v5spmz2l] {
    margin: 0;
}

.book-requests-table thead th[b-03v5spmz2l] {
    background-color: #f8f9fa;
    border: none;
    font-weight: 600;
    color: #495057;
    padding: 1rem 0.75rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.book-requests-table tbody tr[b-03v5spmz2l] {
    border: none;
    transition: all 0.2s ease;
}

.book-requests-table tbody tr:hover[b-03v5spmz2l] {
    background-color: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.book-requests-table tbody td[b-03v5spmz2l] {
    border: none;
    padding: 1rem 0.75rem;
    vertical-align: middle;
}

.book-request-item[b-03v5spmz2l] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.book-request-icon[b-03v5spmz2l] {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.book-request-info[b-03v5spmz2l] {
    flex: 1;
}

.book-request-title[b-03v5spmz2l] {
    font-weight: 600;
    color: #212529;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.4;
}

.book-request-title:hover[b-03v5spmz2l] {
    color: #f5576c;
    text-decoration: none;
}

.book-request-author[b-03v5spmz2l] {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.book-request-year[b-03v5spmz2l] {
    font-size: 0.875rem;
    color: #495057;
    font-weight: 500;
}

.book-request-date[b-03v5spmz2l] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #495057;
}

.book-request-date-icon[b-03v5spmz2l] {
    color: #6c757d;
    font-size: 0.9rem;
}

.book-request-copy-badge[b-03v5spmz2l] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .loan-history-table thead th[b-03v5spmz2l],
    .book-requests-table thead th[b-03v5spmz2l] {
        font-size: 0.75rem;
        padding: 0.75rem 0.5rem;
    }
    
    .loan-history-table tbody td[b-03v5spmz2l],
    .book-requests-table tbody td[b-03v5spmz2l] {
        padding: 0.75rem 0.5rem;
    }
    
    .loan-history-item[b-03v5spmz2l],
    .book-request-item[b-03v5spmz2l] {
        gap: 0.5rem;
    }
    
    .loan-history-book-icon[b-03v5spmz2l],
    .book-request-icon[b-03v5spmz2l] {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}

/* Loading States */
.loading-spinner[b-03v5spmz2l] {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem;
}

.loading-spinner .spinner-border[b-03v5spmz2l] {
    width: 2.5rem;
    height: 2.5rem;
    color: #667eea;
}

/* Empty States */
.empty-state[b-03v5spmz2l] {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.empty-state i[b-03v5spmz2l] {
    font-size: 3rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

.empty-state p[b-03v5spmz2l] {
    font-size: 1rem;
    margin: 0;
}
/* _content/BookwormsUI/Pages/Admin/Menus/Index.razor.rz.scp.css */
.list-group-item[b-01dzzki2p4] {
    cursor: move;
}
/* _content/BookwormsUI/Pages/Admin/News/Posts.razor.rz.scp.css */
.news-editor-overlay[b-itka2fymn7] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    z-index: 1040;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.news-editor-panel[b-itka2fymn7] {
    position: relative;
    width: min(960px, 100%);
    max-height: min(92vh, 900px);
    background: #ffffff;
    z-index: 1050;
    box-shadow: 0 24px 60px rgba(15, 30, 90, 0.22);
    border-radius: 24px;
    padding: 2rem 2.5rem 3rem;
    overflow-y: auto;
}

.editor-header[b-itka2fymn7] {
    margin-bottom: 1.5rem;
}

.news-image-picker[b-itka2fymn7] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.image-upload-btn[b-itka2fymn7] {
    width: 180px;
    aspect-ratio: 4 / 3;
    border: 2px dashed rgba(10, 100, 240, 0.45);
    border-radius: 18px;
    background: rgba(10, 100, 240, 0.06);
    color: #0a64f0;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
}

.image-upload-btn i[b-itka2fymn7] {
    font-size: 1.5rem;
}

.image-upload-btn:hover[b-itka2fymn7],
.image-upload-btn:focus-visible[b-itka2fymn7] {
    background: rgba(10, 100, 240, 0.12);
    border-color: rgba(10, 100, 240, 0.8);
    color: #094dc0;
}

.image-upload-btn[disabled][b-itka2fymn7] {
    opacity: 0.7;
    cursor: not-allowed;
}

.image-upload-btn .spinner-border[b-itka2fymn7] {
    color: #0a64f0;
}

.image-preview[b-itka2fymn7] {
    position: relative;
    width: 220px;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18);
}

.image-preview img[b-itka2fymn7] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-preview .btn-remove[b-itka2fymn7] {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: none;
    background: rgba(11, 26, 69, 0.85);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.image-preview .btn-remove:hover[b-itka2fymn7],
.image-preview .btn-remove:focus-visible[b-itka2fymn7] {
    background: rgba(217, 52, 79, 0.95);
}

.editor-upload-tools[b-itka2fymn7] {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.75rem;
}

.editor-upload-tools .btn[b-itka2fymn7] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.editor-upload-tools .spinner-border[b-itka2fymn7] {
    margin-right: 0.25rem;
}

.rich-text-editor[b-itka2fymn7] {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(11, 26, 69, 0.1);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
    background: #ffffff;

}

.editor-toolbar[b-itka2fymn7] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.75rem 0.75rem 0.65rem;
    background: linear-gradient(90deg, #f3f6ff 0%, #eef2ff 100%);
    border-bottom: 1px solid rgba(11, 26, 69, 0.08);
}

.toolbar-btn[b-itka2fymn7] {
    border: none;
    background: transparent;
    color: #0b1a45;
    border-radius: 10px;
    padding: 0.35rem 0.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    font-size: 1rem;
}

.toolbar-btn i[b-itka2fymn7] {
    font-size: 1rem;
}

.toolbar-btn:hover[b-itka2fymn7],
.toolbar-btn:focus-visible[b-itka2fymn7] {
    background-color: rgba(10, 100, 240, 0.14);
    color: #094dc0;
    box-shadow: 0 4px 12px rgba(9, 77, 192, 0.18);
}

.toolbar-btn:disabled[b-itka2fymn7] {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
}

.toolbar-divider[b-itka2fymn7] {
    width: 1px;
    align-self: stretch;
    background: rgba(11, 26, 69, 0.12);
    margin: 0 0.35rem;
}

.editor-surface[b-itka2fymn7] {
    min-height: 320px;
    max-height: 60vh;
    padding: 1.25rem;
    font-size: 0.98rem;
    line-height: 1.6;
    color: #0b1a45;
    overflow-y: auto;
    outline: none;
    cursor: text;
    white-space: normal;
    word-break: break-word;

}

.editor-surface:focus[b-itka2fymn7] {
    box-shadow: inset 0 0 0 2px rgba(10, 100, 240, 0.15);
}

.editor-surface:empty[b-itka2fymn7]::before {
    content: attr(data-placeholder);
    color: #94a3b8;
    font-style: italic;
    pointer-events: none;
}

.editor-surface p[b-itka2fymn7],
.editor-surface div[b-itka2fymn7] {
    margin-bottom: 0.85rem;
}

.editor-surface ul[b-itka2fymn7],
.editor-surface ol[b-itka2fymn7] {
    padding-left: 1.25rem;
    margin-bottom: 0.85rem;
}

.editor-surface img[b-itka2fymn7] {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0.75rem auto;
}

.editor-surface a[b-itka2fymn7] {
    color: #0a64f0;
    text-decoration: underline;
}

.editor-surface[b-itka2fymn7]::-webkit-scrollbar {
    width: 8px;
}

.editor-surface[b-itka2fymn7]::-webkit-scrollbar-thumb {
    background: rgba(9, 77, 192, 0.35);
    border-radius: 999px;
}

.topic-grid[b-itka2fymn7] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.5rem 1rem;
    padding: 0.75rem;
    border: 1px solid rgba(11, 26, 69, 0.1);
    border-radius: 12px;
    background: #f8f9ff;
}

.editor-actions[b-itka2fymn7] {
    position: sticky;
    bottom: 0;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding-top: 1.5rem;
    padding-bottom: 1rem;
    margin-top: 2.5rem;
    border-top: 1px solid rgba(11, 26, 69, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 60%);
    z-index: 2;
}

.editor-actions .btn[b-itka2fymn7] {
    min-width: 140px;
}

.badge.bg-outline-primary[b-itka2fymn7] {
    border: 1px solid rgba(10, 100, 240, 0.35);
    color: #0a64f0;
    background: rgba(10, 100, 240, 0.08);
}

.news-pagination .page-link[b-itka2fymn7] {
    border-radius: 999px;
}

@media (max-width: 767.98px) {
    .news-editor-overlay[b-itka2fymn7] {
        padding: 1rem;
    }

    .news-editor-panel[b-itka2fymn7] {
        padding: 1.5rem;
    }

    .topic-grid[b-itka2fymn7] {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
}
.news-manage-tabs .btn[b-itka2fymn7] {
    border-radius: 999px;
    font-weight: 600;
    min-width: 120px;
}

.slug-preview[b-itka2fymn7] {
    display: flex;
    gap: 0.5rem;
    align-items: baseline;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6b7a99;
}

.slug-preview .value[b-itka2fymn7] {
    font-weight: 600;
    color: #0a64f0;
    word-break: break-all;
}

/* _content/BookwormsUI/Pages/Admin/News/Topics.razor.rz.scp.css */
.news-topic-actions .btn[b-wupofs6er0] {
    min-width: 36px;
}

.news-topic-actions .btn + .btn[b-wupofs6er0] {
    margin-left: 0.35rem;
}

.table td[b-wupofs6er0], .table th[b-wupofs6er0] {
    vertical-align: middle;
}
/* _content/BookwormsUI/Pages/Authors/Details.razor.rz.scp.css */
.author-details[b-qvgbi0vdvs] {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.author-name[b-qvgbi0vdvs] {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    margin-top: -0.5rem;
}

.author-biography[b-qvgbi0vdvs] {
    font-size: 1rem;
    font-weight: 500;
    text-align: justify;
    text-justify: inter-word;
}

h4[b-qvgbi0vdvs] {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem; 
}

ul.book-list[b-qvgbi0vdvs] {
    list-style-type: none;
    padding-left: 0;
}

li.book-list-item[b-qvgbi0vdvs] {
    margin-bottom: 1.5rem;
}

img.book-thumbnail[b-qvgbi0vdvs] {
    width: 65px;
    max-height: 100px;
    margin-right: 1rem;
}
/* _content/BookwormsUI/Pages/Authors/Index.razor.rz.scp.css */
.author-row[b-90ylol9d3i] {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    border-bottom: rgba(0,0,0,0.1) solid 1px;
    margin: 1rem 0 2rem 0;
    padding: 0.5rem 0 2rem 0;
}

.author-image[b-90ylol9d3i] {
    width:200px; 
    max-height: 275px;
    margin-right: 2rem;
}

.author-name[b-90ylol9d3i] {
    font-size: 1.25rem; 
    font-weight: 700;
}

.author-biography[b-90ylol9d3i] {
    height: 4rem; 
    font-size:0.9rem;
    text-align: justify;
    text-justify: inter-word;
}
/* _content/BookwormsUI/Pages/Books/DailyNewBooks.razor.rz.scp.css */
.daily-new-books[b-7dgtudkc9k] {
    max-width: 1200px;
}

.filter-panel[b-7dgtudkc9k] {
    background-color: #ffffff;
    border: 1px solid #e3e7f0;
    padding: 24px;
    /*position: sticky;*/
    top: 96px;
}

.filter-panel__header[b-7dgtudkc9k] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.filter-title[b-7dgtudkc9k] {
    font-size: 18px;
    font-weight: 600;
    color: #182033;
}

.filter-reset[b-7dgtudkc9k] {
    border: none;
    background: transparent;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    color: #1f78ff;
    text-decoration: none;
    cursor: pointer;
}

.filter-reset:hover[b-7dgtudkc9k] {
    color: #0d5ed7;
    text-decoration: underline;
}

.filter-panel__body[b-7dgtudkc9k] {
    display: block;
}

.filter-list li + li[b-7dgtudkc9k] {
    margin-top: 8px;
}

.filter-list[b-7dgtudkc9k] {
    padding-left: 0;
}

.filter-link[b-7dgtudkc9k] {
    width: 100%;
    background: #ffffff;
    border: 0;   
    text-align: left;
    color: #22314d;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
    cursor: pointer;
}

.filter-link:hover[b-7dgtudkc9k] {
    border-color: #1f78ff;
    color: #1f78ff;
}

.filter-link.active-field[b-7dgtudkc9k] {
    border-color: #1f78ff;
    background: rgba(31, 120, 255, 0.08);
    color: #1f78ff;
    font-weight: 600;
}

.filter-link__name[b-7dgtudkc9k] {
    flex: 1;
}

.mobile-filter .form-label[b-7dgtudkc9k] {
    font-weight: 600;
    color: #24304a;
}

.mobile-filter .form-select[b-7dgtudkc9k] {
    border-radius: 0;
}

.results-header[b-7dgtudkc9k] {
    align-items: flex-start;
}

.results-info[b-7dgtudkc9k] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.results-label[b-7dgtudkc9k] {
    font-size: 12px;
    letter-spacing: 0.08em;
    color: #8994a7;
}

.results-title[b-7dgtudkc9k] {
    font-size: 20px;
    font-weight: 700;
    color: #16213b;
    margin: 0;
}

.results-count[b-7dgtudkc9k] {
    font-size: 14px;
    color: #56607a;
}

.results-header__actions[b-7dgtudkc9k] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.results-sort-label[b-7dgtudkc9k] {
    font-size: 14px;
    color: #56607a;
    min-width: 80px;
}

.results-header__actions .form-select[b-7dgtudkc9k] {
    min-width: 160px;
    border-radius: 0;
}

.book-card[b-7dgtudkc9k] {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px;
    border: 1px solid #e4e7eb;
    background: #ffffff;
    box-shadow: 0 12px 24px rgba(18, 34, 64, 0.08);
    height: 100%;
    color: inherit;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.book-card:hover[b-7dgtudkc9k] {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(18, 34, 64, 0.12);
}

.book-card__thumb[b-7dgtudkc9k] {
    flex: 0 0 auto;
    width: 152px;
    align-self: flex-start;
    margin-bottom: 16px;
}

.book-card__thumb img[b-7dgtudkc9k] {
    width: 150px;
    height: 220px;
    object-fit: cover;
    display: block;
    border: 1px solid #d8dce3;
}

.book-card__body[b-7dgtudkc9k] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    color: #22314d;
}

.book-card__category[b-7dgtudkc9k] {
    font-size: 13px;
    font-weight: 600;
    color: #1f78ff;
    text-transform: uppercase;
}

.book-card__title[b-7dgtudkc9k] {
    font-size: 16px;
    font-weight: 600;
    color: #16213b;
    margin: 0;
}

.book-card__authors[b-7dgtudkc9k] {
    font-size: 14px;
    color: #3e4a63;
}
.result-author[b-7dgtudkc9k] {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 4px
}

    .result-author a[b-7dgtudkc9k] {
        text-decoration: none;
        color: #64748b;
        transition: color 0.2s ease;
    }

        .result-author a:hover[b-7dgtudkc9k] {
            color: #2563eb;
            text-decoration: underline;
        }

.author-label[b-7dgtudkc9k] {
    font-style: italic;
    color: #94a3b8;
    margin-right: 0.25rem;
}
.book-card__label[b-7dgtudkc9k] {    
    margin-right: 4px;
}

.book-card__author-list a[b-7dgtudkc9k] {
    color: #1f78ff;
    text-decoration: none;
    font-weight: 400;
}

.book-card__author-list a:hover[b-7dgtudkc9k] {
    text-decoration: underline !important;
}

.book-card__summary[b-7dgtudkc9k] {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #4c5871;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-card__details[b-7dgtudkc9k] {
    font-size: 13px;
    color: #5b657c;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.book-card__details span[b-7dgtudkc9k] {
    font-weight: 600;
    color: #33405a;
    margin-right: 6px;
}

.book-card__footer[b-7dgtudkc9k] {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #3e4a63;
    border-top: 1px solid #eceff3;
    padding-top: 16px;
}

.book-card__availability[b-7dgtudkc9k] {
    font-weight: 600;
}

.book-card__cta[b-7dgtudkc9k] {
    color: #1f78ff;
    font-weight: 600;
}

.book-card__cta[b-7dgtudkc9k]::after {
    content: '\2192';
    margin-left: 6px;
}

.book-grid[b-7dgtudkc9k] {
    --bs-gutter-x: 1.5rem;
}

@media (min-width: 576px) {
    .book-card[b-7dgtudkc9k] {
        display: grid;
        grid-template-columns: 152px 1fr;
        column-gap: 24px;
        row-gap: 16px;
    }

    .book-card__thumb[b-7dgtudkc9k] {
        grid-row: 1 / span 2;
        margin-bottom: 0;
    }

    .book-card__body[b-7dgtudkc9k] {
        grid-column: 2;
        padding-right: 8px;
    }

    .book-card__footer[b-7dgtudkc9k] {
        grid-column: 1 / -1;
    }
}

@media (max-width: 991.98px) {
    .filter-panel[b-7dgtudkc9k] {
        position: static;
    }

    .results-header[b-7dgtudkc9k] {
        align-items: flex-start;
    }
}

@media (max-width: 767.98px) {
    .daily-new-books[b-7dgtudkc9k] {
        padding: 0 1rem;
    }

    .book-card[b-7dgtudkc9k] {
        padding: 20px;
    }

    .book-card__thumb[b-7dgtudkc9k] {
        margin-bottom: 16px;
    }

    .book-card__body[b-7dgtudkc9k] {
        padding-right: 0;
    }
}

@media (max-width: 575.98px) {
    .book-card__thumb[b-7dgtudkc9k] {
        align-self: center;
    }
}
/* _content/BookwormsUI/Pages/Books/Details.razor.rz.scp.css */
/* Column styles */
.book-cover-column[b-eu1vj4l91j] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.book-cover[b-eu1vj4l91j] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

.book-cover-img[b-eu1vj4l91j] {
    display: block;
    width: 100%;
    max-width: 160px; /* Điện thoại */
    max-height: 240px;
    object-fit: cover;
    border-radius: 6px;
    /*box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);*/
    /*transition: transform 0.2s ease;*/
    margin-bottom: 8px;
}

.record-id[b-eu1vj4l91j] {
    font-size: 0.8rem;
    color: #444;
    text-align: center;
    width: 100%;
}

.availability[b-eu1vj4l91j] {
    font-size: 0.85rem;
    color: #444;
    text-align: center;
    margin-top: 8px;
}


.title[b-eu1vj4l91j] {
    color: #444;
    font-weight: 600;
    font-size: 1.25rem; /* Nhỏ hơn trên điện thoại */
}

.details-grid[b-eu1vj4l91j] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

    .details-grid div[b-eu1vj4l91j] {
        color: #444;
        font-size: 0.85rem; /* Nhỏ hơn trên điện thoại */
    }

    .details-grid a[b-eu1vj4l91j] {
        color: #0d6efd;
        text-decoration: none;
        touch-action: manipulation; /* Cải thiện tương tác trên cảm ứng */
    }

        .details-grid a:hover[b-eu1vj4l91j] {
            text-decoration: underline;
        }

    .details-grid .label[b-eu1vj4l91j] {
        font-weight: 600;
        color: #686060;
        font-size: 0.9rem;
    }

.isbn-list[b-eu1vj4l91j] {
    display: inline;
}

    .isbn-list p[b-eu1vj4l91j] {
        display: inline;
        margin: 0;
    }

.isbn-10[b-eu1vj4l91j] {
    color: blue;
    font-weight: bold;
    font-size: 0.8rem;
}

.isbn-13[b-eu1vj4l91j] {
    color: green;
    font-weight: bold;
    font-size: 0.8rem;
}

.isbn-other[b-eu1vj4l91j] {
    color: gray;
    font-size: 0.8rem;
}

.summary-collapsed[b-eu1vj4l91j] {
    display: -webkit-box;
    -webkit-line-clamp: 4; /* Giảm số dòng trên điện thoại */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.summary-expanded[b-eu1vj4l91j] {
    display: block;
}

.see-more-link[b-eu1vj4l91j] {
    color: #0d6efd;
    text-decoration: none;
    font-size: 0.8rem;
    cursor: pointer;
}

    .see-more-link:hover[b-eu1vj4l91j] {
        text-decoration: underline;
    }

.summary-wrapper[b-eu1vj4l91j] {
    margin-bottom: 0.5rem;
}

.subject-list[b-eu1vj4l91j] {
    margin: 0;
    padding: 0;
}

.subject-item[b-eu1vj4l91j] {
    margin: 4px 0 0 16px;
}

    .subject-item a[b-eu1vj4l91j] {
        display: inline;
    }

.subject-link[b-eu1vj4l91j], .author-link[b-eu1vj4l91j] {
    color: navy;
    text-decoration: none;
    font-size: 0.85rem;
}

/* Related books */

.related-books[b-eu1vj4l91j] {
    background: linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
    border-radius: 18px;
    padding: 32px 28px;
    box-shadow: 0 22px 45px rgba(12, 32, 75, 0.08);
    position: relative;
}

.related-books-header[b-eu1vj4l91j] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.related-books-title[b-eu1vj4l91j] {
    margin: 0;
    font-size: 1.35rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #0f172a;
}

.related-books-controls[b-eu1vj4l91j] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.related-books-arrow[b-eu1vj4l91j] {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 0;
    background: linear-gradient(135deg, #fef6ed 0%, #ffe4cc 100%);
    color: #c56a2b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 30px rgba(197, 106, 43, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .related-books-arrow:hover[b-eu1vj4l91j] {
        transform: translateY(-2px) scale(1.03);
        box-shadow: 0 18px 38px rgba(197, 106, 43, 0.35);
    }

    .related-books-arrow:focus[b-eu1vj4l91j] {
        outline: 3px solid rgba(197, 106, 43, 0.35);
        outline-offset: 2px;
    }

.related-books-arrow i[b-eu1vj4l91j] {
    font-size: 1.25rem;
}

.featured-related-card[b-eu1vj4l91j] {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.08);
    padding: 24px 22px 28px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .featured-related-card[b-eu1vj4l91j]::before {
        content: "";
        position: absolute;
        top: -45px;
        right: -45px;
        width: 120px;
        height: 120px;
        border-radius: 50%;
        background: rgba(255, 210, 173, 0.25);
        z-index: 0;
        transition: transform 0.25s ease;
    }

    .featured-related-card:hover[b-eu1vj4l91j] {
        transform: translateY(-8px);
        box-shadow: 0 28px 45px rgba(15, 23, 42, 0.12);
    }

    .featured-related-card:hover[b-eu1vj4l91j]::before {
        transform: scale(1.1);
    }

.featured-related-thumb[b-eu1vj4l91j] {
    display: flex;
    justify-content: center;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.featured-related-cover[b-eu1vj4l91j] {
    display: inline-flex;
    padding: 12px 16px;
    border-radius: 18px;
    background: #f7f4ff;
    box-shadow: inset 0 0 0 1px rgba(79, 70, 229, 0.08);
}

.featured-related-cover img[b-eu1vj4l91j] {
    width: 140px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 35px rgba(12, 32, 75, 0.22);
    transition: transform 0.25s ease;
}

.featured-related-card:hover .featured-related-cover img[b-eu1vj4l91j] {
    transform: translateY(-6px) scale(1.03);
}

.featured-related-body[b-eu1vj4l91j] {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.featured-related-title[b-eu1vj4l91j] {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
}

    .featured-related-title:hover[b-eu1vj4l91j] {
        color: #c56a2b;
    }

.featured-related-author[b-eu1vj4l91j] {
    margin: 0;
    font-size: 0.85rem;
    color: #6b7280;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-related-link[b-eu1vj4l91j] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #c56a2b;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    justify-content: center;
}

    .featured-related-link i[b-eu1vj4l91j] {
        font-size: 0.95rem;
        transition: transform 0.2s ease;
    }

    .featured-related-link:hover i[b-eu1vj4l91j] {
        transform: translateX(4px);
    }

@media (max-width: 992px) {
    .related-books[b-eu1vj4l91j] {
        padding: 28px 20px;
    }

    .featured-related-cover img[b-eu1vj4l91j] {
        width: 120px;
        height: 180px;
    }
}

@media (max-width: 768px) {
    .related-books-header[b-eu1vj4l91j] {
        flex-direction: column;
        align-items: flex-start;
    }

    .related-books-controls[b-eu1vj4l91j] {
        width: 100%;
        justify-content: flex-end;
    }
}

@media (max-width: 576px) {
    .related-books[b-eu1vj4l91j] {
        padding: 24px 18px;
    }

    .related-books-controls[b-eu1vj4l91j] {
        justify-content: space-between;
    }

    .related-books-arrow[b-eu1vj4l91j] {
        width: 42px;
        height: 42px;
    }
}

.subject-link:hover[b-eu1vj4l91j], .author-link:hover[b-eu1vj4l91j] {
    text-decoration: underline;
}
.btn-custom[b-eu1vj4l91j] {
    background-color: #fff;
    color: #000;
    border: 1px solid #686060;
    transition: background-color 0.2s ease;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.85rem;
}

    .btn-custom:hover[b-eu1vj4l91j] {
        background-color: #f2f2ed;
        color: #404041;
        border: 1px solid #495057;
    }

/* Download hub styling */

.download-hub[b-eu1vj4l91j] {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.35);
    padding: 1.75rem;
    box-shadow: 0 16px 32px -28px rgba(15, 23, 42, 0.4);
    border-radius: 6px;
}

.download-hub-alert[b-eu1vj4l91j] {
    border: 0;
    background: rgba(59, 130, 246, 0.12);
    color: #1d4ed8;
    padding: 0.85rem 1rem;
    border-radius: 0.85rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.download-hub-alert .alert-link[b-eu1vj4l91j] {
    color: #1d4ed8;
    font-weight: 600;
}

.pdf-downloads[b-eu1vj4l91j] {
    display: grid;
    gap: 1.25rem;
}

.pdf-download-section[b-eu1vj4l91j] {
   
    
    background: linear-gradient(180deg, #ffffff 0%, #f5f3ff 100%);
    
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 14px 30px -24px rgba(124, 58, 237, 0.35);
}

.pdf-download-title[b-eu1vj4l91j] {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.05rem;
    color: #0f172a;
}

.pdf-download-icon[b-eu1vj4l91j] {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #38bdf8, #3b82f6);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 12px 24px -18px rgba(37, 99, 235, 0.6);
}

.pdf-download-buttons[b-eu1vj4l91j] {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pdf-download-btn[b-eu1vj4l91j] {
    width: 100%;
    border-radius: 999px;
    padding: 0.3rem 1rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pdf-download-btn i[b-eu1vj4l91j],
.pdf-download-btn span[b-eu1vj4l91j] {
    pointer-events: none;
}

.pdf-download-btn-view[b-eu1vj4l91j] {
    background: linear-gradient(135deg, #22d3ee, #3b82f6);
    color: #ffffff;
    border: none;
    box-shadow: 0 12px 24px -18px rgba(14, 116, 144, 0.6);
}

.pdf-download-btn-view:hover[b-eu1vj4l91j] {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px -18px rgba(14, 116, 144, 0.7);
}

.pdf-download-btn-download[b-eu1vj4l91j] {
    background: #ffffff;
    border: 2px solid #3b82f6;
    color: #1d4ed8;
}

.pdf-download-btn-download:hover:not(:disabled)[b-eu1vj4l91j] {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px -18px rgba(37, 99, 235, 0.45);
}

.pdf-download-btn-download:disabled[b-eu1vj4l91j] {
    opacity: 0.7;
    cursor: not-allowed;
    box-shadow: none;
}

.pdf-download-status[b-eu1vj4l91j] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.5rem 1.25rem;
}

.pdf-download-status-warning[b-eu1vj4l91j] {
    background: #fef3c7;
    color: #92400e;
}

.pdf-download-status-danger[b-eu1vj4l91j] {
    background: #fee2e2;
    color: #b91c1c;
}

.pdf-download-status-muted[b-eu1vj4l91j] {
    background: #e2e8f0;
    color: #475569;
}

.download-section[b-eu1vj4l91j] {
    margin-top: 1.5rem;
}

.download-section-icon[b-eu1vj4l91j] {
    width: 3rem;
    height: 3rem;
    border-radius: 0.85rem;
    background: linear-gradient(135deg, rgba(125, 211, 252, 0.35), rgba(191, 219, 254, 0.2));
    color: #1d4ed8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.other-download-section[b-eu1vj4l91j] {
    padding-top: 1.5rem;
    border-top: 1px dashed rgba(15, 23, 42, 0.1);
}

.download-grid[b-eu1vj4l91j] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.download-card[b-eu1vj4l91j] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 1rem;
    box-shadow: 0 12px 24px -18px rgba(15, 23, 42, 0.35);
}

.download-card-info[b-eu1vj4l91j] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.download-card-icon[b-eu1vj4l91j] {
    width: 3rem;
    height: 3rem;
    border-radius: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #1f2937;
}

.download-card-icon.download-icon-pdf[b-eu1vj4l91j] {
    background: linear-gradient(135deg, #fde68a, #fca5a5);
    color: #7f1d1d;
}

.download-card-icon.download-icon-generic[b-eu1vj4l91j] {
    background: linear-gradient(135deg, #bbf0f3, #a5b4fc);
    color: #1e3a8a;
}

.download-card-icon.download-icon-warning[b-eu1vj4l91j] {
    background: linear-gradient(135deg, #fef08a, #fed7aa);
    color: #92400e;
}

.download-card-icon.download-icon-danger[b-eu1vj4l91j] {
    background: linear-gradient(135deg, #fecaca, #fca5a5);
    color: #7f1d1d;
}

.download-card-title[b-eu1vj4l91j] {
    font-weight: 600;
    color: #0f172a;
}

.download-card-meta[b-eu1vj4l91j] {
    font-size: 0.9rem;
}

.download-card-actions[b-eu1vj4l91j] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.download-card-actions .btn[b-eu1vj4l91j] {
    border-radius: 999px;
    padding-inline: 1.1rem;
}

.download-empty i[b-eu1vj4l91j] {
    font-size: 2rem;
}

@media (max-width: 575.98px) {
    .download-hub[b-eu1vj4l91j] {
        padding: 1.25rem;
    }

    .pdf-download-section[b-eu1vj4l91j] {
        padding: 1.5rem 1.25rem;
    }

    .pdf-download-btn[b-eu1vj4l91j] {
        font-size: 0.95rem;
    }

    .download-card[b-eu1vj4l91j] {
        flex-direction: column;
        align-items: flex-start;
    }

    .download-card-actions[b-eu1vj4l91j] {
        width: 100%;
        justify-content: flex-start;
    }
}


/* Responsive adjustments */
@media (min-width: 576px) {
    .book-cover-img[b-eu1vj4l91j] {
        max-width: 160px; /* Máy tính bảng */
        max-height: 270px;
    }

    .icon-openac[b-eu1vj4l91j] {
        width: 110px;
        height: 110px;
    }

    .title[b-eu1vj4l91j] {
        font-size: 1.5rem;
    }

    .details-grid div[b-eu1vj4l91j] {
        font-size: 0.9rem;
    }

    .summary-collapsed[b-eu1vj4l91j] {
        -webkit-line-clamp: 5;
    }

    .view-online-section[b-eu1vj4l91j] {
        margin-bottom: 1rem;
    }

    .view-online-item[b-eu1vj4l91j] {
        margin-bottom: 0.5rem;
    }

        .view-online-item .btn[b-eu1vj4l91j] {
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
        }

        .view-online-item .bi-eye[b-eu1vj4l91j] {
            margin-right: 0.5rem;
        }
}

@media (min-width: 768px) {
    .book-cover-column[b-eu1vj4l91j], .qr-action-column[b-eu1vj4l91j] {
        justify-content: flex-start;
    }

    .details-grid[b-eu1vj4l91j] {
        gap: 0.7rem;
    }
}

@media (min-width: 992px) {
    .book-cover-img[b-eu1vj4l91j] {
        max-width: 160px; /* Máy tính để bàn */
        max-height: 270px;
    }

    .qr-code[b-eu1vj4l91j] {
        width: 120px;
        height: 120px;
    }

    .title[b-eu1vj4l91j] {
        font-size: 1.25rem;
    }

    .details-grid div[b-eu1vj4l91j] {
        font-size: 0.95rem;
    }

    .record-id[b-eu1vj4l91j], .availability[b-eu1vj4l91j], .subject-link[b-eu1vj4l91j], .author-link[b-eu1vj4l91j] {
        font-size: 0.9rem;
    }
}

/*Thông tin sách mượn*/
.book-info-section[b-eu1vj4l91j] {
    background-color: #f1eeee;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ddd;
}
    /* Tiêu đề */
    .book-info-section .info-title[b-eu1vj4l91j] {
        font-size: 0.75rem; /* Kích thước nhỏ hơn */
        font-weight: bold;
        color: #000;
        text-transform: uppercase;
        padding: 0; /* Xóa padding để sát mép */
    }

/* Thông tin số bản */
.availability-info[b-eu1vj4l91j] {
    margin-bottom: 0.5rem;
}

    .availability-info p[b-eu1vj4l91j] {
        font-size: 0.8rem; /* Kích thước nhỏ hơn */
        color: #000;
        margin: 0.1rem 0; /* Khoảng cách nhỏ giữa các dòng */
        line-height: 1.2; /* Chiều cao dòng nhỏ hơn */
        position: relative;
        padding-left: 1rem; /* Để chừa chỗ cho ký tự "-" */
    }

        .availability-info p[b-eu1vj4l91j]::before {
            content: "-";
            position: absolute;
            left: 0;
            color: #000;
        }

    .availability-info strong[b-eu1vj4l91j] {
        font-weight: bold;
    }

/* Nhãn "ĐÂY KỆ" */
.shelf-section[b-eu1vj4l91j] {
    align-items: center;
    margin: 0.6rem 0 0.6rem 0;
    display: inline-flex;
}

    .shelf-section .shelf-label[b-eu1vj4l91j] {
        display: inline-flex;
        align-items: center;
        font-weight: bold;
        color: #704c0b;
        padding: 0.15rem 0.4rem; /* Padding nhỏ hơn */
        font-size: 0.75rem; /* Kích thước chữ nhỏ hơn */
        font-weight: bold;
        border-radius: 0.2rem;
        margin-bottom: 0.3rem;
    }

        .shelf-section .shelf-label i[b-eu1vj4l91j] {
            font-size: 0.9rem; /* Kích thước biểu tượng nhỏ hơn */
        }

/* Kệ sách */
.shelf-locations[b-eu1vj4l91j] {
    margin-left: 0; /* Thụt lề nhẹ để căn chỉnh với các dòng trên */
}

    .shelf-locations .shelf-item[b-eu1vj4l91j] {
        font-size: 0.8rem; /* Kích thước chữ nhỏ hơn */
        color: #000;
        line-height: 1.2; /* Chiều cao dòng nhỏ hơn */
        margin-bottom: 0.3rem; /* Khoảng cách nhỏ giữa các kệ */
    }

    .shelf-locations .shelf-code-circle[b-eu1vj4l91j] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 1.5rem; /* Hình tròn nhỏ hơn */
        height: 1.5rem;
        background-color: #1a3c63; /* Màu xanh đậm */
        color: #fff;
        border-radius: 50%;
        font-size: 0.7rem; /* Chữ trong hình tròn nhỏ hơn */
        font-weight: bold;
        margin-right: 0.5rem; /* Khoảng cách nhỏ hơn */
    }

/* Ký hiệu xếp giá */
.dewey-info[b-eu1vj4l91j] {
    font-size: 0.8rem; /* Kích thước chữ nhỏ hơn */
    color: #000;
    margin-top: 0.3rem;
    line-height: 1.2;
    display: flex;
    align-items: center;
}

    .dewey-info i[b-eu1vj4l91j] {
        color: #000;
        font-size: 0.9rem; /* Biểu tượng nhỏ hơn */
        margin-right: 0.3rem;
    }

    .dewey-info strong[b-eu1vj4l91j] {
        font-weight: bold;
        margin-left: 3px;
    }

.link-site[b-eu1vj4l91j] {
    text-decoration: underline !important
}

/* Modal Backdrop */
.modal-backdrop[b-eu1vj4l91j] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn-b-eu1vj4l91j 0.3s ease-out;
}

/* Modal Content */
.modal-content[b-eu1vj4l91j] {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 25px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    max-width: 650px;
    width: 90%;
    max-height: 85vh;
    overflow: hidden;
    animation: slideIn-b-eu1vj4l91j 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    will-change: transform, opacity;
    transform: translateZ(0);
}

/* Modal Header */
.modal-header[b-eu1vj4l91j] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: linear-gradient(135deg, #102daf 0%, #7a95e7 100%);
    color: white;
    border-radius: 20px 20px 0 0;
}

.modal-title[b-eu1vj4l91j] {
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

    .modal-title i[b-eu1vj4l91j] {
        font-size: 22px;
        opacity: 0.9;
    }

.modal-close-btn[b-eu1vj4l91j] {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

    .modal-close-btn:hover[b-eu1vj4l91j] {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.1);
    }

/* Modal Body */
.modal-body[b-eu1vj4l91j] {
    padding: 24px 32px;
    max-height: 60vh;
    overflow: hidden;
}

/* Book Preview */
.book-preview[b-eu1vj4l91j] {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(102, 126, 234, 0.04);
    position: relative;
    overflow: hidden;
}

    .book-preview[b-eu1vj4l91j]::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #667eea 100%);
        border-radius: 16px 16px 0 0;
    }

.book-cover[b-eu1vj4l91j] {
    position: relative;
    flex-shrink: 0;
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

    .book-cover:hover[b-eu1vj4l91j] {
        transform: perspective(1000px) rotateY(0deg) scale(1.02);
    }

    .book-cover img[b-eu1vj4l91j] {
        width: 140px;*/
        height: 180px;
        object-fit: cover;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.1);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        filter: brightness(0.95) contrast(1.05);
    }

    .book-cover:hover img[b-eu1vj4l91j] {
        transform: scale(1.05);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2), 0 6px 16px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.2);
        filter: brightness(1.05) contrast(1.1);
    }

.book-cover-overlay[b-eu1vj4l91j] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(4px);
}

.book-cover:hover .book-cover-overlay[b-eu1vj4l91j] {
    opacity: 1;
}

.book-cover-overlay i[b-eu1vj4l91j] {
    color: white;
    font-size: 24px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.book-cover:hover .book-cover-overlay i[b-eu1vj4l91j] {
    transform: scale(1);
}

.book-details[b-eu1vj4l91j] {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.book-title[b-eu1vj4l91j] {
    font-size: 16px;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 8px 0;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    position: relative;
}

    .book-title[b-eu1vj4l91j]::after {
        content: '';
        position: absolute;
        bottom: -6px;
        left: 0;
        width: 40px;
        height: 2px;
        background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
        border-radius: 1px;
    }

.book-author[b-eu1vj4l91j], .book-id[b-eu1vj4l91j] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0;
    color: #4a5568;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 8px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 6px;
    border-left: 2px solid #667eea;
    transition: all 0.3s ease;
}

    .book-author:hover[b-eu1vj4l91j], .book-id:hover[b-eu1vj4l91j] {
        background: rgba(102, 126, 234, 0.1);
        transform: translateX(4px);
    }

    .book-author i[b-eu1vj4l91j], .book-id i[b-eu1vj4l91j] {
        color: #667eea;
        font-size: 14px;
        opacity: 0.8;
    }

/* Collections Section */
.collections-section[b-eu1vj4l91j] {
    margin-top: 24px;
}

.section-header[b-eu1vj4l91j] {
    margin-bottom: 20px;
}

    .section-header h6[b-eu1vj4l91j] {
        font-size: 16px;
        font-weight: 600;
        color: #2c3e50;
        margin: 0 0 8px 0;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .section-header h6 i[b-eu1vj4l91j] {
            color: #667eea;
        }

.section-subtitle[b-eu1vj4l91j] {
    font-size: 14px;
    color: #6c757d;
    display: block;
}

/* Loading State */
.loading-collections[b-eu1vj4l91j] {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.loading-spinner[b-eu1vj4l91j] {
    margin-bottom: 16px;
}

.spinner[b-eu1vj4l91j] {
    width: 40px;
    height: 40px;
    border: 3px solid #e9ecef;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin-b-eu1vj4l91j 0.8s linear infinite;
    margin: 0 auto;
    will-change: transform;
}

/* Empty State */
.no-collections[b-eu1vj4l91j] {
    text-align: center;
    padding: 40px 20px;
}

.empty-state[b-eu1vj4l91j] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

    .empty-state i[b-eu1vj4l91j] {
        font-size: 48px;
        color: #dee2e6;
        margin-bottom: 8px;
    }

    .empty-state h6[b-eu1vj4l91j] {
        font-size: 16px;
        font-weight: 600;
        color: #495057;
        margin: 0;
    }

    .empty-state p[b-eu1vj4l91j] {
        font-size: 14px;
        color: #6c757d;
        margin: 0;
        max-width: 300px;
        line-height: 1.5;
    }

/* Collections List */
.collections-list[b-eu1vj4l91j] {
    max-height: 260px;
    overflow-y: auto;
    padding-right: 8px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    will-change: scroll-position;
    margin-right: -8px;
}

    .collections-list[b-eu1vj4l91j]::-webkit-scrollbar {
        width: 8px;
    }

    .collections-list[b-eu1vj4l91j]::-webkit-scrollbar-track {
        background: rgba(241, 241, 241, 0.5);
        border-radius: 4px;
        margin: 4px 0;
    }

    .collections-list[b-eu1vj4l91j]::-webkit-scrollbar-thumb {
        background: rgba(193, 193, 193, 0.8);
        border-radius: 4px;
        transition: background 0.2s ease;
    }

        .collections-list[b-eu1vj4l91j]::-webkit-scrollbar-thumb:hover {
            background: rgba(168, 168, 168, 0.9);
        }

        .collections-list[b-eu1vj4l91j]::-webkit-scrollbar-thumb:active {
            background: rgba(120, 120, 120, 1);
        }

.collection-item[b-eu1vj4l91j] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    margin-bottom: 8px;
    background: white;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    will-change: transform, box-shadow, border-color;
    transform: translateZ(0);
}

    .collection-item:hover[b-eu1vj4l91j] {
        transform: translateY(-2px) translateZ(0);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
        border-color: rgba(102, 126, 234, 0.3);
    }

    .collection-item.book-exists[b-eu1vj4l91j] {
        background: linear-gradient(135deg, #f0f9f4 0%, #e8f5e8 100%);
        border-color: #28a745;
        cursor: default;
    }

        .collection-item.book-exists:hover[b-eu1vj4l91j] {
            transform: none;
            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
        }

.collection-info[b-eu1vj4l91j] {
    flex: 1;
}

.collection-header[b-eu1vj4l91j] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.collection-name[b-eu1vj4l91j] {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.book-exists-badge[b-eu1vj4l91j] {
    display: flex;
    align-items: center;
    gap: 3px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 500;
    white-space: nowrap;
}

    .book-exists-badge i[b-eu1vj4l91j] {
        font-size: 10px;
    }

.collection-meta[b-eu1vj4l91j] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.book-count[b-eu1vj4l91j] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #6c757d;
}

    .book-count i[b-eu1vj4l91j] {
        color: #667eea;
        font-size: 12px;
    }

.collection-action[b-eu1vj4l91j] {
    flex-shrink: 0;
}

.action-disabled[b-eu1vj4l91j] {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #28a745;
    font-size: 12px;
    font-weight: 500;
}

    .action-disabled i[b-eu1vj4l91j] {
        font-size: 13px;
    }

/* Buttons */
.btn[b-eu1vj4l91j] {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    white-space: nowrap;
    will-change: transform, box-shadow;
    transform: translateZ(0);
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

    .btn:active[b-eu1vj4l91j] {
        transform: translateY(0) translateZ(0) scale(0.98);
    }

.btn-add[b-eu1vj4l91j] {
    background: linear-gradient(135deg, #102daf 0%, #7a95e7 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.25);
}

    .btn-add:hover[b-eu1vj4l91j] {
        transform: translateY(-2px) translateZ(0);
        box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
    }

    .btn-add:active[b-eu1vj4l91j] {
        transform: translateY(0) translateZ(0) scale(0.98);
        box-shadow: 0 2px 8px rgba(102, 126, 234, 0.25);
    }

.btn-remove[b-eu1vj4l91j] {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.25);
}

    .btn-remove:hover[b-eu1vj4l91j] {
        transform: translateY(-2px) translateZ(0);
        box-shadow: 0 6px 16px rgba(220, 53, 69, 0.4);
    }

    .btn-remove:active[b-eu1vj4l91j] {
        transform: translateY(0) translateZ(0) scale(0.98);
        box-shadow: 0 2px 8px rgba(220, 53, 69, 0.25);
    }

    .btn-remove:disabled[b-eu1vj4l91j] {
        background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
        cursor: not-allowed;
        transform: none;
        box-shadow: 0 2px 8px rgba(108, 117, 125, 0.25);
    }

.btn:disabled[b-eu1vj4l91j] {
    cursor: not-allowed;
    transform: none;
    opacity: 0.7;
}

.btn-outline-primary[b-eu1vj4l91j] {
    background: linear-gradient(135deg, #102daf 0%, #7a95e7 100%);
    color: white;
    border: none;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.25);
}

    .btn-outline-primary:hover[b-eu1vj4l91j] {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.35);
    }

.btn-primary[b-eu1vj4l91j] {
    background: linear-gradient(135deg, #102daf 0%, #7a95e7 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.25);
}

    .btn-primary:hover[b-eu1vj4l91j] {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.35);
    }

.btn-secondary[b-eu1vj4l91j] {
    background: linear-gradient(135deg, #102daf 0%, #7a95e7 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.25);
}

    .btn-secondary:hover[b-eu1vj4l91j] {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.35);
    }

.btn-closes[b-eu1vj4l91j] {
    padding: 10px 20px;
    font-size: 14px;
    max-height: 47px;
}

/* Create Collection Section */
.create-collection-section[b-eu1vj4l91j] {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    text-align: center;
    width: 100%;
}

.btn-create-collection[b-eu1vj4l91j] {
    padding: 12px 24px;
    font-size: 15px;
}

/* Create Collection Form */
.create-collection-form[b-eu1vj4l91j] {
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    animation: slideDown-b-eu1vj4l91j 0.3s ease-out;
}

.form-group[b-eu1vj4l91j] {
    margin-bottom: 16px;
}

    .form-group label[b-eu1vj4l91j] {
        display: block;
        font-size: 14px;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 6px;
    }

.form-input[b-eu1vj4l91j], .form-textarea[b-eu1vj4l91j] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 8px;
    font-size: 14px;
    background: white;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

    .form-input:focus[b-eu1vj4l91j], .form-textarea:focus[b-eu1vj4l91j] {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        transform: translateY(-1px);
    }

.form-textarea[b-eu1vj4l91j] {
    min-height: 80px;
    resize: vertical;
    font-family: inherit;
}

.form-actions[b-eu1vj4l91j] {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
}

.btn-confirm-create[b-eu1vj4l91j] {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-cancel-create[b-eu1vj4l91j] {
    padding: 10px 20px;
    font-size: 14px;
}

@keyframes slideDown-b-eu1vj4l91j {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Footer */
.modal-footer[b-eu1vj4l91j] {
    display: flex;
    justify-content: flex-end;
    padding: 20px 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(248, 249, 250, 0.8);
    backdrop-filter: blur(10px);
}

/* Animations */
@keyframes fadeIn-b-eu1vj4l91j {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn-b-eu1vj4l91j {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.98) translateZ(0);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1) translateZ(0);
    }
}

@keyframes spin-b-eu1vj4l91j {
    0% {
        transform: rotate(0deg) translateZ(0);
    }

    100% {
        transform: rotate(360deg) translateZ(0);
    }
}

/* Performance optimizations */
.modal-backdrop[b-eu1vj4l91j] {
    will-change: opacity;
}

.modal-header[b-eu1vj4l91j], .modal-footer[b-eu1vj4l91j] {
    will-change: transform;
    transform: translateZ(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal-content[b-eu1vj4l91j] {
        width: 95%;
        margin: 10px;
        max-height: 95vh;
        border-radius: 16px;
    }

    .modal-header[b-eu1vj4l91j] {
        padding: 16px 20px 12px;
        border-radius: 16px 16px 0 0;
    }

    .modal-title[b-eu1vj4l91j] {
        font-size: 18px;
    }

        .modal-title i[b-eu1vj4l91j] {
            font-size: 20px;
        }

    .modal-close-btn[b-eu1vj4l91j] {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .modal-body[b-eu1vj4l91j] {
        padding: 16px 20px;
        max-height: 70vh;
    }

    .modal-footer[b-eu1vj4l91j] {
        padding: 12px 20px;
    }

    .book-preview[b-eu1vj4l91j] {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 16px;
        border-radius: 10px;
    }

    .book-cover[b-eu1vj4l91j] {
        transform: none;
        margin: 0 auto;
    }

        .book-cover:hover[b-eu1vj4l91j] {
            transform: scale(1.05);
        }

        .book-cover img[b-eu1vj4l91j] {
            width: 160px;
            height: 270px;
            border-radius: 6px;
        }

    .book-title[b-eu1vj4l91j] {
        font-size: 15px;
        margin: 0 0 6px 0;
    }

    .book-author[b-eu1vj4l91j], .book-id[b-eu1vj4l91j] {
        font-size: 12px;
        padding: 6px 12px;
        margin: 3px 0;
        justify-content: center;
    }

        .book-author i[b-eu1vj4l91j], .book-id i[b-eu1vj4l91j] {
            font-size: 12px;
        }

    .section-header h6[b-eu1vj4l91j] {
        font-size: 15px;
        margin: 0 0 6px 0;
    }

    .section-subtitle[b-eu1vj4l91j] {
        font-size: 13px;
    }

    .collection-item[b-eu1vj4l91j] {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 14px;
        border-radius: 8px;
    }

    .collection-header[b-eu1vj4l91j] {
        width: 100%;
        justify-content: space-between;
        align-items: flex-start;
    }

    .collection-name[b-eu1vj4l91j] {
        font-size: 13px;
        flex: 1;
    }

    .book-exists-badge[b-eu1vj4l91j] {
        font-size: 9px;
        padding: 1px 5px;
        flex-shrink: 0;
    }

    .collection-meta[b-eu1vj4l91j] {
        width: 100%;
    }

    .book-count[b-eu1vj4l91j] {
        font-size: 10px;
    }

    .collection-action[b-eu1vj4l91j] {
        align-self: stretch;
        width: 100%;
    }

    .btn-add[b-eu1vj4l91j], .btn-remove[b-eu1vj4l91j] {
        width: 100%;
        justify-content: center;
        padding: 10px 14px;
        font-size: 13px;
        border-radius: 6px;
    }

    .collections-list[b-eu1vj4l91j] {
        max-height: 220px;
        padding-right: 4px;
    }

    .create-collection-section[b-eu1vj4l91j] {
        flex-direction: column;
        gap: 12px;
        margin-top: 16px;
        padding-top: 16px;
    }

    .btn-create-collection[b-eu1vj4l91j], .btn-closes[b-eu1vj4l91j] {
        width: 100%;
        padding: 12px 16px;
        font-size: 14px;
        justify-content: center;
    }

    .create-collection-form[b-eu1vj4l91j] {
        padding: 16px;
        margin-bottom: 12px;
    }

    .form-group[b-eu1vj4l91j] {
        margin-bottom: 12px;
    }

        .form-group label[b-eu1vj4l91j] {
            font-size: 13px;
            margin-bottom: 4px;
        }

    .form-input[b-eu1vj4l91j], .form-textarea[b-eu1vj4l91j] {
        padding: 8px 10px;
        font-size: 13px;
    }

    .form-textarea[b-eu1vj4l91j] {
        min-height: 60px;
    }

    .form-actions[b-eu1vj4l91j] {
        gap: 8px;
        margin-top: 16px;
    }

    .btn-confirm-create[b-eu1vj4l91j], .btn-cancel-create[b-eu1vj4l91j] {
        padding: 8px 16px;
        font-size: 13px;
    }

    /* Touch optimizations for mobile */
    .btn[b-eu1vj4l91j] {
        min-height: 40px;
        touch-action: manipulation;
    }

    .collection-item[b-eu1vj4l91j] {
        min-height: 55px;
        touch-action: manipulation;
    }

    /* Loading and empty states */
    .loading-collections[b-eu1vj4l91j] {
        padding: 30px 16px;
    }

    .spinner[b-eu1vj4l91j] {
        width: 32px;
        height: 32px;
        border-width: 2px;
    }

    .no-collections[b-eu1vj4l91j] {
        padding: 30px 16px;
    }

    .empty-state i[b-eu1vj4l91j] {
        font-size: 40px;
    }

    .empty-state h6[b-eu1vj4l91j] {
        font-size: 15px;
    }

    .empty-state p[b-eu1vj4l91j] {
        font-size: 13px;
        max-width: 280px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .modal-content[b-eu1vj4l91j] {
        width: 98%;
        margin: 5px;
        max-height: 98vh;
    }

    .modal-header[b-eu1vj4l91j] {
        padding: 14px 16px 10px;
    }

    .modal-title[b-eu1vj4l91j] {
        font-size: 16px;
    }

    .modal-body[b-eu1vj4l91j] {
        padding: 14px 16px;
        max-height: 75vh;
    }

    .modal-footer[b-eu1vj4l91j] {
        padding: 10px 16px;
    }

    .book-preview[b-eu1vj4l91j] {
        padding: 12px;
        gap: 12px;
    }

    .book-cover img[b-eu1vj4l91j] {
        width: 160px;
        height: 270px;
    }

    .book-title[b-eu1vj4l91j] {
        font-size: 14px;
    }

    .book-author[b-eu1vj4l91j], .book-id[b-eu1vj4l91j] {
        font-size: 11px;
        padding: 4px 8px;
    }

    .collection-item[b-eu1vj4l91j] {
        padding: 10px 12px;
        gap: 8px;
    }

    .collection-name[b-eu1vj4l91j] {
        font-size: 12px;
    }

    .btn-add[b-eu1vj4l91j], .btn-remove[b-eu1vj4l91j] {
        padding: 8px 12px;
        font-size: 12px;
    }

    .collections-list[b-eu1vj4l91j] {
        max-height: 200px;
    }

    .btn-create-collection[b-eu1vj4l91j], .btn-closes[b-eu1vj4l91j] {
        padding: 10px 14px;
        font-size: 13px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .btn[b-eu1vj4l91j], .collection-item[b-eu1vj4l91j] {
        transform: translateZ(0);
    }
}

.marc-record-btn[b-eu1vj4l91j] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-weight: 500;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.18);
    color: #0f172a;
    background: #ffffff;
    padding: 0.6rem 1rem;
    transition: all 0.2s ease;
}

.marc-record-btn:hover[b-eu1vj4l91j],
.marc-record-btn:focus[b-eu1vj4l91j] {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.18);
}

.marc-modal-backdrop[b-eu1vj4l91j] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 1080;
}

.marc-modal-dialog[b-eu1vj4l91j] {
    width: 100%;
    max-width: 720px;
    max-height: 85vh;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.18);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.marc-modal-header[b-eu1vj4l91j] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(135deg, #f5f7fb 0%, #eef1f8 100%);
}

.marc-modal-title[b-eu1vj4l91j] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
}

.marc-modal-body[b-eu1vj4l91j] {
    padding: 1.25rem;
    overflow: auto;
}

.marc-modal-content[b-eu1vj4l91j] {
    margin: 0;
    background: #0f172a;
    color: #e2e8f0;
    border-radius: 14px;
    padding: 1.25rem;
    font-family: "Fira Mono", "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.92rem;
    line-height: 1.45;
    white-space: pre-wrap;
    word-break: break-word;
    box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.08);
}

.marc-modal-empty[b-eu1vj4l91j] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #475569;
    background: #f8fafc;
    border-radius: 14px;
    border: 1px dashed rgba(148, 163, 184, 0.7);
    padding: 1.5rem;
    font-size: 0.95rem;
}

@media (max-width: 576px) {
    .marc-modal-dialog[b-eu1vj4l91j] {
        max-width: 100%;
        border-radius: 12px;
    }

    .marc-modal-content[b-eu1vj4l91j] {
        font-size: 0.85rem;
        padding: 1rem;
    }
}
/* _content/BookwormsUI/Pages/Books/Index.razor.rz.scp.css */
.book-row[b-h3cwidk97l] {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    border-bottom: rgba(0,0,0,0.1) solid 1px;
    margin: 1rem 0 2rem 0;
    padding: 0.5rem 0 2rem 0;
}

.book-image[b-h3cwidk97l] {
    width: 100px; 
    max-height: 150px;
    margin-right: 1rem;
}

.book-title[b-h3cwidk97l] {
    font-size: 1.25rem; 
    font-weight: 700;
}

.book-author[b-h3cwidk97l] {
    font-size: 1rem; 
    font-weight: 500;
    color: rgba(0,0,0,0.2);
    margin-bottom: 1.5rem;
}

.book-summary[b-h3cwidk97l] {
    height: 4rem; 
    font-size:0.9rem;
    text-align: justify;
    text-justify: inter-word;
}

li.active[b-h3cwidk97l] {
    list-style-type: square;
    list-style-position: outside;
    font-style: normal;
    font-weight: 700;
}
/* _content/BookwormsUI/Pages/BorrowBooks/BorrowBooks.razor.rz.scp.css */
/* Mobile-first responsive design with iOS-style UI */
.borrow-books-container[b-8qoucs1fax] {
    min-height: 100vh;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
}

/* App Bar */
.app-bar[b-8qoucs1fax] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #ffffff;
    border-bottom: 1px solid #e1e5e9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.back-button[b-8qoucs1fax], .scan-button[b-8qoucs1fax] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    border-radius: 22px;
    color: #007aff;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.back-button:hover[b-8qoucs1fax], .scan-button:hover[b-8qoucs1fax] {
    background: rgba(0, 122, 255, 0.1);
}

.app-title[b-8qoucs1fax] {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0;
}

/* Main Content */
.main-content[b-8qoucs1fax] {
    flex: 1;
    padding: 16px;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

/* Loading State */
.loading-state[b-8qoucs1fax] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.loading-spinner[b-8qoucs1fax] {
    margin-bottom: 20px;
    animation: spin-b-8qoucs1fax 1s linear infinite;
}

.loading-spinner svg[b-8qoucs1fax] {
    color: #007aff;
}

.loading-state p[b-8qoucs1fax] {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
    font-weight: 500;
}

@keyframes spin-b-8qoucs1fax {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Loading Books State */
.loading-books[b-8qoucs1fax] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
}

.loading-spinner-small[b-8qoucs1fax] {
    animation: spin-b-8qoucs1fax 1s linear infinite;
}

.loading-spinner-small svg[b-8qoucs1fax] {
    color: #007aff;
}

/* Admin Section Styles */
.admin-section[b-8qoucs1fax] {
    border-radius: 20px;
    padding: 28px;
    color: #1d1d1f;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.3);
    contain: layout style paint;
}

.admin-header h2[b-8qoucs1fax] {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 8px 0;
    color: #1d1d1f;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.admin-header p[b-8qoucs1fax] {
    font-size: 16px;
    opacity: 0.9;
    margin: 0 0 28px 0;
    font-weight: 500;
}

.admin-tools[b-8qoucs1fax] {
    display: grid;
    gap: 20px;
    margin-bottom: 28px;
}

.admin-card[b-8qoucs1fax] {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.admin-card h3[b-8qoucs1fax] {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #1d1d1f;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.stats-grid[b-8qoucs1fax] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.stat-item[b-8qoucs1fax] {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stat-number[b-8qoucs1fax] {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: #1d1d1f;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label[b-8qoucs1fax] {
    font-size: 16px;
    opacity: 0.9;
    color: #1d1d1f;
    font-weight: 600;
}

/* Student Info Styles */
.student-info[b-8qoucs1fax] {
    margin-top: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.student-info p[b-8qoucs1fax] {
    margin: 0 0 12px 0;
    font-size: 16px;
    color: #1d1d1f;
}

.process-student-btn[b-8qoucs1fax] {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #1d1d1f;
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.process-student-btn:hover[b-8qoucs1fax] {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* Input styling for admin */
.student-id-input[b-8qoucs1fax] {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(121, 120, 120, 0.3);
    border-radius: 12px;
    background: rgba(114, 113, 113, 0.1);
    color: #1d1d1f;
    font-size: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.student-id-input[b-8qoucs1fax]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.student-id-input:focus[b-8qoucs1fax] {
    outline: none;
    border: 2px solid rgba(121, 120, 120, 0.3);
    border-radius: 12px;
    background: rgba(114, 113, 113, 0.1);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}

/* User Section Styles */
.user-section[b-8qoucs1fax] {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive Design for Admin Tools */
@media (min-width: 768px) {
    .admin-tools[b-8qoucs1fax] {
        grid-template-columns: 2fr 1fr;
    }
    
}


/* Input Section */
.input-section[b-8qoucs1fax] {
    margin-bottom: 24px;
}

.input-group[b-8qoucs1fax] {
    display: grid;
    gap: 18px;
    align-items: center;
    grid-template-columns: 7fr 1fr;
}

.book-code-input[b-8qoucs1fax] {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 16px;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.book-code-input:focus[b-8qoucs1fax] {
    outline: none;
    border-color: #007aff;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.scan-qr-button[b-8qoucs1fax] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: none;
    background: #007aff;
    border-radius: 12px;
    color: #1d1d1f;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.scan-qr-button:hover[b-8qoucs1fax] {
    background: #0056b3;
}

/* Book List */
.book-list[b-8qoucs1fax] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    contain: layout style paint;
}

.borrowed-book-item[b-8qoucs1fax] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e1e5e9;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    contain: layout style paint;
    will-change: transform;
}

.borrowed-book-item:hover[b-8qoucs1fax] {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.book-info[b-8qoucs1fax] {
    flex: 1;
    min-width: 0;
}

.book-code[b-8qoucs1fax] {
    font-size: 14px;
    font-weight: 600;
    color: #007aff;
    margin-bottom: 4px;
}

.book-title[b-8qoucs1fax] {
    margin-bottom: 8px;
}

.book-link[b-8qoucs1fax] {
    font-size: 16px;
    font-weight: 500;
    color: #1d1d1f;
    text-decoration: none;
    line-height: 1.4;
}

.book-link:hover[b-8qoucs1fax] {
    color: #007aff;
    text-decoration: underline;
}

.book-meta[b-8qoucs1fax] {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #6b7280;
}

.book-author[b-8qoucs1fax] {
    font-weight: 500;
}

.book-year[b-8qoucs1fax] {
    color: #9ca3af;
}

.book-request-info[b-8qoucs1fax] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.request-date[b-8qoucs1fax] {
    color: #6b7280;
}

.book-status[b-8qoucs1fax] {
    padding: 4px 8px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 12px;
}

.status-pending[b-8qoucs1fax] {
    background: #d1fae5;
    color: #065f46;
}

.status-confirmed[b-8qoucs1fax] {
    background: #dbeafe;
    color: #1e40af;
}

.status-borrowed[b-8qoucs1fax] {
    background: #fef3c7;
    color: #92400e;
}

.status-returned[b-8qoucs1fax] {
    background: #e5e7eb;
    color: #374151;
}

.status-rejected[b-8qoucs1fax] {
    background: #fee2e2;
    color: #991b1b;
}

.remove-button[b-8qoucs1fax] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    border-radius: 18px;
    color: #ef4444;
    cursor: pointer;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}

.remove-button:hover[b-8qoucs1fax] {
    background: rgba(239, 68, 68, 0.1);
}

/* Empty State */
.empty-state[b-8qoucs1fax] {
    text-align: center;
    padding: 48px 24px;
    color: #6b7280;
}

.empty-icon[b-8qoucs1fax] {
    margin-bottom: 16px;
    color: #d1d5db;
}

.empty-state h3[b-8qoucs1fax] {
    font-size: 18px;
    font-weight: 600;
    color: #374151;
    margin: 0 0 8px 0;
}

.empty-state p[b-8qoucs1fax] {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Camera Sheet */
.camera-sheet[b-8qoucs1fax] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000000;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.camera-sheet.show[b-8qoucs1fax] {
    opacity: 1;
    visibility: visible;
}

.camera-content[b-8qoucs1fax] {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.camera-header[b-8qoucs1fax] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);
}

.camera-header h3[b-8qoucs1fax] {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.close-camera[b-8qoucs1fax] {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 65px;
    max-height: 30px;
    font-size: 20px;
    border: none;
    color: #b81010;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.close-camera:hover[b-8qoucs1fax] {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.camera-preview[b-8qoucs1fax] {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000000;
    overflow: hidden;
}

.camera-preview :deep(video)[b-8qoucs1fax] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.camera-preview :deep(canvas)[b-8qoucs1fax] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ẩn các button trong ZXingBlazor */
button.btn.btn-primary.p-2.m-1.w-25[b-8qoucs1fax] {
    display: none;
}
button.btn.btn-secondary.p-2.m-1.w-25[b-8qoucs1fax] {
    display: none;
}

button.btn.btn-info.p-2.m-1.w-25[b-8qoucs1fax] {
    display: none;
}

.scan-frame[b-8qoucs1fax] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 120px;
    border: 2px dashed #ffffff;
    border-radius: 12px;
}

.scan-corners[b-8qoucs1fax] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.corner[b-8qoucs1fax] {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid #007aff;
}

.corner.top-left[b-8qoucs1fax] {
    top: -3px;
    left: -3px;
    border-right: none;
    border-bottom: none;
    border-top-left-radius: 4px;
}

.corner.top-right[b-8qoucs1fax] {
    top: -3px;
    right: -3px;
    border-left: none;
    border-bottom: none;
    border-top-right-radius: 4px;
}

.corner.bottom-left[b-8qoucs1fax] {
    bottom: -3px;
    left: -3px;
    border-right: none;
    border-top: none;
    border-bottom-left-radius: 4px;
}

.corner.bottom-right[b-8qoucs1fax] {
    bottom: -3px;
    right: -3px;
    border-left: none;
    border-top: none;
    border-bottom-right-radius: 4px;
}

.camera-instructions[b-8qoucs1fax] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 20px;
    text-align: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.camera-instructions p[b-8qoucs1fax] {
    font-size: 16px;
    color: #ffffff;
    margin: 0;
    font-weight: 500;
}

/* Tablet and Desktop */
@media (min-width: 768px) {
    .main-content[b-8qoucs1fax] {
        padding: 24px;
    }
    
    .borrowed-book-item[b-8qoucs1fax] {
        padding: 20px;
    }
    
    .camera-content[b-8qoucs1fax] {
        max-width: 600px;
        max-height: 80vh;
        border-radius: 16px;
        margin: 20px auto;
        overflow: hidden;
    }
    
    .camera-preview[b-8qoucs1fax] {
        height: 400px;
    }
    
    .scan-frame[b-8qoucs1fax] {
        width: 250px;
        height: 150px;
    }
}

@media (min-width: 1024px) {
    .main-content[b-8qoucs1fax] {
        max-width: 800px;
    }
    
    .camera-content[b-8qoucs1fax] {
        max-width: 600px;
        margin: 40px auto;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .camera-sheet[b-8qoucs1fax],
    .camera-content[b-8qoucs1fax],
    .borrowed-book-item[b-8qoucs1fax],
    .back-button[b-8qoucs1fax],
    .scan-button[b-8qoucs1fax],
    .scan-qr-button[b-8qoucs1fax],
    .remove-button[b-8qoucs1fax],
    .close-camera[b-8qoucs1fax] {
        transition: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .borrowed-book-item[b-8qoucs1fax] {
        border: 2px solid #000000;
    }
    
    .book-code[b-8qoucs1fax] {
        color: #0000ff;
    }
    
    .book-link[b-8qoucs1fax] {
        color: #000000;
    }
}


/* Đảm bảo camera-instructions có position relative */
.camera-instructions[b-8qoucs1fax] {
    position: relative;
}

/* Đảm bảo không có element nào che button close */
.camera-sheet[b-8qoucs1fax],
.camera-content[b-8qoucs1fax],
.camera-preview[b-8qoucs1fax] {
    pointer-events: auto;
}



/* Đảm bảo không có element nào che button close */
.modal[b-8qoucs1fax],
.popup[b-8qoucs1fax],
.alert[b-8qoucs1fax],
.toast[b-8qoucs1fax],
.overlay[b-8qoucs1fax],
.backdrop[b-8qoucs1fax] {
    z-index: 9999 !important;
}

/* Button close phải cao hơn tất cả */
.camera-instructions .close-camera[b-8qoucs1fax] {
    z-index: 2147483647 !important;
}

/* Button close camera đẹp */
.camera-instructions .close-camera[b-8qoucs1fax] {
    position: fixed !important;
    bottom: 30px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 2147483647 !important;
    pointer-events: auto !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    
    /* Style đẹp */
    background: rgba(0, 0, 0, 0.8) !important;
    color: #1d1d1f !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 25px !important;
    padding: 12px 24px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    min-width: 120px !important;
    justify-content: center !important;
    align-items: center !important;
}

.camera-instructions .close-camera:hover[b-8qoucs1fax] {
    background: rgba(220, 38, 38, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateX(-50%) scale(1.05) !important;
    box-shadow: 0 6px 25px rgba(220, 38, 38, 0.4) !important;
}

.camera-instructions .close-camera:active[b-8qoucs1fax] {
    transform: translateX(-50%) scale(0.95) !important;
}

.camera-instructions .close-camera i[b-8qoucs1fax] {
    margin-right: 8px !important;
    font-size: 18px !important;
}

/* Đảm bảo không có element nào có z-index cao hơn button close */
*[b-8qoucs1fax] {
    z-index: auto !important;
}

/* Đảm bảo video và canvas vẫn hoạt động */
.camera-preview :deep(video)[b-8qoucs1fax],
.camera-preview :deep(canvas)[b-8qoucs1fax] {
    pointer-events: auto;
}



.admin-reader-info[b-8qoucs1fax] { margin: 12px 0 4px; }
.reader-info-card[b-8qoucs1fax] {
    padding: 12px 16px;
    border: 1px solid #e5e7eb; /* gray-200 */
    border-radius: 12px;
    background: #fafafa;
}
.reader-info-row[b-8qoucs1fax] { display:flex; gap:8px; margin-bottom:6px; }
.reader-info-label[b-8qoucs1fax] { font-weight:600; color:#374151; } /* gray-700 */
.reader-info-value[b-8qoucs1fax] { color:#111827; } /* gray-900 */

/* Mode Toggle Styles */
.admin-mode-toggle[b-8qoucs1fax] {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.mode-button[b-8qoucs1fax] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #f3f4f6;
    color: #6b7280;
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mode-button:hover[b-8qoucs1fax] {
    background: #e5e7eb;
    color: #374151;
}

.mode-button.active[b-8qoucs1fax] {
    background: #3b82f6;
    color: white;
    border-color: #2563eb;
}

.mode-button svg[b-8qoucs1fax] {
    flex-shrink: 0;
}

/* Responsive adjustments for mode toggle */
@media (max-width: 480px) {
    .admin-mode-toggle[b-8qoucs1fax] {
        flex-direction: column;
        gap: 8px;
    }
    
    .mode-button[b-8qoucs1fax] {
        width: 100%;
        justify-content: center;
    }
}

/* Inventory Selection Styles */
.inventory-selection[b-8qoucs1fax] {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.inventory-header[b-8qoucs1fax] {
    text-align: center;
    margin-bottom: 20px;
}

.inventory-header h3[b-8qoucs1fax] {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 8px 0;
}

.inventory-header p[b-8qoucs1fax] {
    color: #6b7280;
    margin: 0;
    font-size: 14px;
}

.inventory-grid[b-8qoucs1fax] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.inventory-card[b-8qoucs1fax] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f8fafc;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.inventory-card:hover[b-8qoucs1fax] {
    border-color: #d1d5db;
    background: #f1f5f9;
    transform: translateY(-1px);
}

.inventory-card.selected[b-8qoucs1fax] {
    border-color: #3b82f6;
    background: #eff6ff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.inventory-icon[b-8qoucs1fax] {
    flex-shrink: 0;
    color: #6b7280;
}

.inventory-card.selected .inventory-icon[b-8qoucs1fax] {
    color: #3b82f6;
}

.inventory-info[b-8qoucs1fax] {
    flex: 1;
    min-width: 0;
}

.inventory-info h4[b-8qoucs1fax] {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.inventory-info p[b-8qoucs1fax] {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.3;
}

.inventory-check[b-8qoucs1fax] {
    position: absolute;
    top: 8px;
    right: 8px;
    color: #3b82f6;
    background: #ffffff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.inventory-loading[b-8qoucs1fax] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px;
    color: #6b7280;
    font-size: 14px;
}

.inventory-empty[b-8qoucs1fax] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    color: #6b7280;
}

.inventory-empty .empty-icon[b-8qoucs1fax] {
    margin-bottom: 16px;
    color: #d1d5db;
}

.inventory-empty h4[b-8qoucs1fax] {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin: 0 0 8px 0;
}

.inventory-empty p[b-8qoucs1fax] {
    font-size: 14px;
    margin: 0;
}

/* Responsive adjustments for inventory selection */
@media (max-width: 768px) {
    .inventory-grid[b-8qoucs1fax] {
        grid-template-columns: 1fr;
    }
    
    .inventory-card[b-8qoucs1fax] {
        padding: 12px;
    }
    
    .inventory-info h4[b-8qoucs1fax] {
        font-size: 15px;
    }
    
    .inventory-info p[b-8qoucs1fax] {
        font-size: 13px;
    }
}
/* _content/BookwormsUI/Pages/Collections/Collection.razor.rz.scp.css */
html[b-aj41usuttb], body[b-aj41usuttb] {
    background: #f5f7fb;
    min-height: 100vh;
    font-family: 'Inter', Arial, sans-serif;
    color: #23263c;
}

/* === Root Layout === */
.collection-root[b-aj41usuttb] {
    display: flex;
    min-height: 100vh;
    background: none;
}

.collection-main[b-aj41usuttb] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 20px 20px 20px 0;
    background: #F3F4F6;
    padding-left: 10px;
}

/* === SIDEBAR === */
.collection-sidebar[b-aj41usuttb] {
    background: #fff;
    min-width: 280px;
    max-width: 330px;
    padding: 46px 0 36px 0;
    border-radius: 36px 24px 36px 24px;
    color: #23263c;
    box-shadow: 0 8px 28px #47556922;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;
}

.collection-sidebar .logo[b-aj41usuttb] {
    margin-bottom: 44px;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 1.2px;
    background: linear-gradient(90deg, #fff 20%, #f9a8d4 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    text-align: left;
    user-select: none;
}

.collection-sidebar nav ul[b-aj41usuttb] {
    list-style: none;
    padding: 0;
    margin: 0;
}
.collection-sidebar .menu-item[b-aj41usuttb] {
    align-items: center;
    font-size: 18px;
    padding: 16px 30px 16px 36px;
    border-radius: 17px;
    margin-bottom: 12px;
    font-weight: 500;
    color: #23263c;
    opacity: 0.94;
    cursor: pointer;
    background: transparent;
    transition: background 0.16s, color 0.14s, box-shadow 0.18s;
    box-shadow: 0 2px 8px transparent;
    border: none;
}
.collection-sidebar .menu-item:hover[b-aj41usuttb],
.collection-sidebar .menu-item.active[b-aj41usuttb] {
    color: #bd550f;
    box-shadow: 0 4px 16px #7b62ff22;
    opacity: 1;
    font-weight: 700;
}
.collection-sidebar .submenu[b-aj41usuttb] {
    margin-left: 25px;
    padding-left: 0;
    position: relative;
}
.collection-sidebar .submenu li[b-aj41usuttb] {
    display: block;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 5px rgba(80,112,255,0.06);
    font-size: 16px;
    gap: 11px;
    padding: 8px 16px 8px 14px;
    margin-bottom: 6px;
    cursor: pointer;
    transition: background 0.13s, color 0.13s;
}
.collection-sidebar .submenu li:hover .folder-name[b-aj41usuttb] {
    color: #2a84d8;
    box-shadow: 0 2px 8px rgba(255,165,0,0.10);
}

.folder-group[b-aj41usuttb]{
    display: block;
}

.collection-sidebar .caret[b-aj41usuttb] {
    display: inline-block;
    margin-left: auto;
    border: solid #fff;
    border-width: 0 2.5px 2.5px 0;
    padding: 6px;
    transform: rotate(45deg);
    transition: transform 0.18s;
}
.collection-sidebar .caret.open[b-aj41usuttb] {
    transform: rotate(-135deg);
}
.collection-sidebar .folder-actions[b-aj41usuttb] {
    margin-left: auto;
    display: flex;
    gap: 6px;
}
.collection-sidebar .folder-action-btn[b-aj41usuttb] {
    background: none;
    border: none;
    color: #4F8CFF;
    font-size: 17px;
    border-radius: 6px;
    padding: 2px 7px;
    cursor: pointer;
    transition: background 0.13s, color 0.17s;
}
.collection-sidebar .folder-action-btn:hover[b-aj41usuttb] {
    background: #F3F4F6;
    color: inherit;
}
.close-sidebar-btn[b-aj41usuttb] {
    display: none;
}

/* === MAIN HEADER & SEARCH === */
.collection-header[b-aj41usuttb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto 0 auto;
    padding-bottom: 0;
    position: relative;
}
.collection-header .title[b-aj41usuttb] {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(90deg, #6366f1 30%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0;
    letter-spacing: 0.5px;
}
.collection-header .search-bar[b-aj41usuttb] {
    flex: 1;
    max-width: 320px;
    display: flex;
    background: #eef3fc;
    border-radius: 12px;
    align-items: center;
    padding: 6px 12px;
    margin-left: auto;
    border: 1px solid #d1d5db;
    box-shadow: 0 1px 4px rgba(99, 102, 241, 0.08);
}
.collection-header .search-bar input[b-aj41usuttb] {
    border: none;
    background: transparent;
    font-size: 14px;
    outline: none;
    margin-left: 8px;
    color: #3b3365;
    flex: 1;
    padding: 2px 0;
}

.collection-actions[b-aj41usuttb] {
    margin: 12px 0 4px 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* === EMPTY VIEW === */
.initial-empty-view[b-aj41usuttb] {
    text-align: center;
    padding: 72px 18px;
    border: 2px dashed #d5e2f0;
    border-radius: 17px;
    background-color: #f7fafd;
    margin-top: 24px;
    transition: box-shadow 0.22s;
    box-shadow: 0 2px 20px #49cfff0a;
}
.initial-empty-view svg[b-aj41usuttb] {
    margin-bottom: 20px;
}
.initial-empty-view h2[b-aj41usuttb] {
    font-size: 1.45rem;
    color: #384356;
    font-weight: 700;
}
.initial-empty-view p[b-aj41usuttb] {
    font-size: 1.07rem;
    color: #6c7892;
    max-width: 540px;
    margin: 13px auto 0;
    line-height: 1.6;
}

/* === FILE GRID & CARD === */
.collection-files[b-aj41usuttb] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.collection-grid[b-aj41usuttb] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 16px 0 24px 0;
    width: 100%;
}
.file-card[b-aj41usuttb] {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 8px rgba(56, 189, 248, 0.08);
    padding: 16px 12px 12px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: box-shadow 0.14s, transform 0.13s;
    min-height: 280px;
}
.file-card:hover[b-aj41usuttb] {
    box-shadow: 0 4px 16px rgba(56, 189, 248, 0.12);
    transform: translateY(-2px) scale(1.01);
}
.file-thumb-box[b-aj41usuttb] {
    width: 75px;
    height: 105px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.file-thumb[b-aj41usuttb] {
    width: 75px;
    height: 105px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(99, 102, 241, 0.08);
}
.file-checkbox[b-aj41usuttb] {
    position: absolute;
    top: 6px;
    left: 7px;
    background: rgba(255,255,255,0.93);
    border-radius: 6px;
    padding: 2px 4px;
}
.select-card[b-aj41usuttb] {
    width: 16px;
    height: 16px;
}
.file-card-content[b-aj41usuttb] {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 3px;
}
.file-title[b-aj41usuttb] {
    font-size: 15px;
    font-weight: 600;
    color: #30436a;
    margin-bottom: 3px;
    text-align: center;
    word-break: break-word;
}
.file-meta[b-aj41usuttb] {
    font-size: 12px;
    color: #8892a9;
    font-weight: 500;
    margin-bottom: 3px;
    text-align: center;
}
.card-actions[b-aj41usuttb] {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    width: 100%;
    justify-content: center;
}
.card-btn[b-aj41usuttb] {
    background: linear-gradient(90deg,#6366f1 20%,#38bdf8 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 5px 14px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: filter 0.13s;
}
.card-btn:hover[b-aj41usuttb] {
    filter: brightness(1.11);
}
.delete-card-btn[b-aj41usuttb] {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #f4f6fa;
    border: 1px solid #fca5a5;
    color: #ef4444;
    font-size: 18px;
    border-radius: 8px;
    padding: 2px 8px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s, background 0.13s, color 0.13s;
    z-index: 2;
}
.file-card:hover .delete-card-btn[b-aj41usuttb] {
    opacity: 1;
    pointer-events: auto;
}
.delete-card-btn:hover[b-aj41usuttb] {
    background: #fee2e2;
    color: #b91c1c;
    border-color: #ef4444;
}

/* === MODAL === */
.modal-backdrop[b-aj41usuttb], .share-modal-backdrop[b-aj41usuttb] {
    position: fixed;
    inset: 0;
    background: rgba(44,48,89,0.18);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-content[b-aj41usuttb], .share-modal-content[b-aj41usuttb] {
    background: #fff;
    border-radius: 19px;
    padding: 34px 32px 28px 32px;
    min-width: 330px;
    max-width: 99vw;
    width: 470px;
    box-shadow: 0 14px 44px #49cfff30,0 1.5px 8px #7b62ff10;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.modal-close-btn[b-aj41usuttb], .share-modal-close-btn[b-aj41usuttb] {
    position: absolute;
    right: 16px;
    top: 14px;
    font-size: 26px;
    color: #6366f1;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 700;
    z-index: 3;
    opacity: 0.73;
}
.modal-title[b-aj41usuttb], .share-modal-title[b-aj41usuttb] {
    font-size: 1.32rem;
    font-weight: 900;
    margin-bottom: 13px;
    background: linear-gradient(90deg,#6366f1 40%,#49cfff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1100px) {
    .collection-root[b-aj41usuttb] {
        flex-direction: column;
    }
    .collection-sidebar[b-aj41usuttb] {
        position: fixed;
        top: 0; left: 0;
        width: 86vw;
        max-width: 340px;
        height: 100vh;
        border-radius: 0 24px 24px 0;
        margin: 0;
        z-index: 2100;
        box-shadow: 4px 0 20px #23263c24;
        padding: 28px 8px;
        transform: translateX(-101%);
        transition: transform 0.33s cubic-bezier(.4,0,.2,1);
    }
    .collection-sidebar.open[b-aj41usuttb] {
        transform: translateX(0);
    }
    .sidebar-overlay[b-aj41usuttb] {
        display: block;
        position: fixed;
        top: 0; left: 0;
        width: 100vw; height: 100vh;
        background: rgba(0,0,0,0.13);
        z-index: 1999;
        backdrop-filter: blur(2px);
    }
    .close-sidebar-btn[b-aj41usuttb] {
        display: block;
        position: absolute;
        top: 15px; right: 15px;
        background: rgba(255,255,255,0.13);
        border: none;
        border-radius: 50%;
        width: 40px; height: 40px;
        color: #000;
        font-size: 20px;
        z-index: 2101;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 8px #22223b15;
        cursor: pointer;
    }
    .mobile-menu-btn[b-aj41usuttb] {
        display: flex;
        position: static;
        margin: 18px 0 8px 0;
        background: linear-gradient(90deg, #6366f1 10%, #38bdf8 100%);
        color: #fff;
        border: none;
        border-radius: 22px;
        font-size: 17px;
        padding: 12px 26px;
        align-items: center;
        gap: 12px;
        font-weight: 700;
        box-shadow: 0 2px 8px #38bdf812;
        cursor: pointer;
        transition: filter 0.14s;
    }
    .collection-main[b-aj41usuttb] {
        padding: 0 10px !important;
        margin-left: 0 !important;
        width: 100%;
    }
    .collection-header[b-aj41usuttb] {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 0 0 18px 0;
        border-bottom: 1px solid #e5e7eb;
     
    }
    .collection-header .title[b-aj41usuttb] {
        font-size: 2rem;
        margin-bottom: 8px;
    }
    .collection-header .search-bar[b-aj41usuttb] {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 5px;
    }
    .collection-grid[b-aj41usuttb] {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 8px 0 16px 0;
    }
}

/* Small mobile */
@media (max-width: 540px) {
    .collection-sidebar[b-aj41usuttb] {
        max-width: 99vw;
        width: 99vw;
        padding: 15px 2px;
        border-radius: 0 15px 15px 0;
    }
    .collection-header .title[b-aj41usuttb] {
        font-size: 1.04rem;
    }
    .file-thumb-box[b-aj41usuttb], .file-thumb[b-aj41usuttb] {
        width: 52px;
        height: 76px;
    }
    .file-card[b-aj41usuttb] {
        padding: 7px 4px;
        min-height: 80px;
    }
    .modal-content[b-aj41usuttb], .share-modal-content[b-aj41usuttb] {
        min-width: 97vw;
        width: 99vw;
        padding: 13px 3px;
        border-radius: 12px;
    }
}

@media (max-width: 600px) {
    .collection-root[b-aj41usuttb] {
        flex-direction: column;
        min-height: 100vh;
    }
    .collection-sidebar[b-aj41usuttb] {
        position: fixed;
        top: 0; left: 0;
        width: 98vw;
        max-width: 99vw;
        min-width: unset;
        height: 100vh;
        padding: 20px 6px 22px 8px;
        margin: 0;
        border-radius: 0 18px 18px 0;
        z-index: 2100;
        box-shadow: 3px 0 24px #23263c24;
        font-size: 15px;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.33s cubic-bezier(.4,0,.2,1);
    }
    .collection-sidebar.open[b-aj41usuttb] {
        transform: translateX(0);
    }
    .close-sidebar-btn[b-aj41usuttb] {
        display: block;
        position: absolute;
        top: 12px; right: 12px;
        background: rgba(255,255,255,0.19);
        border: none;
        border-radius: 50%;
        width: 37px; height: 37px;
        color: #000;
        font-size: 18px;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 7px #22223b25;
        cursor: pointer;
        z-index: 2200;
    }
    .sidebar-overlay[b-aj41usuttb] {
        display: block;
        position: fixed;
        top: 0; left: 0;
        width: 100vw; height: 100vh;
        background: rgba(40,40,80,0.20);
        z-index: 2000;
        backdrop-filter: blur(3px);
    }
    .collection-sidebar .logo[b-aj41usuttb] {
        font-size: 20px;
        margin-bottom: 26px;
        text-align: left;
    }
    .collection-sidebar .menu-item[b-aj41usuttb],
    .collection-sidebar .submenu li[b-aj41usuttb] {
        font-size: 15px;
        padding: 12px 10px 12px 16px;
        gap: 8px;
        margin-bottom: 5px;
        border-radius: 12px;
    }
    .collection-sidebar .submenu[b-aj41usuttb] {
        margin-left: 7px;
    }

    .mobile-menu-btn[b-aj41usuttb] {
        display: flex;
        position: static;
        width: 100vw;
        min-width: unset;
        justify-content: flex-start;
        font-size: 16px;
        border-radius: 17px;
        box-shadow: 0 2px 9px #6366f112;
    }

    .collection-main[b-aj41usuttb] {
        padding: 0 2vw !important;
        margin: 0 !important;
        width: 100vw;
        min-width: 0;
    }
    .collection-header[b-aj41usuttb] {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 0 0 8px 0;
        border-bottom: 1px solid #e5e7eb;
    }
    .collection-header .title[b-aj41usuttb] {
        font-size: 2rem;
        margin-bottom: 4px;
    }
    .collection-header .search-bar[b-aj41usuttb] {
        width: 100%;
        max-width: 100%;
        margin: 0;
        font-size: 15px;
        border-radius: 15px;
    }
    .collection-header .search-bar input[b-aj41usuttb] {
        font-size: 15px;
        padding: 7px 8px 7px 0;
    }
    .collection-actions[b-aj41usuttb] {
        font-size: 15px;
        margin: 10px 0 2px 0;
    }

    .collection-files[b-aj41usuttb], .collection-grid[b-aj41usuttb] {
        width: 100vw;
        min-width: 0;
    }
    .collection-grid[b-aj41usuttb] {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 3px 0 10px 0;
    }
    .file-card[b-aj41usuttb] {
        padding: 9px 5px;
        min-height: 140px;
        border-radius: 10px;
    }
    .file-thumb-box[b-aj41usuttb], .file-thumb[b-aj41usuttb] {
        width: 54px;
        height: 80px;
        border-radius: 7px;
    }
    .file-title[b-aj41usuttb] {
        font-size: 14px;
    }
    .file-meta[b-aj41usuttb] {
        font-size: 12px;
    }
    .card-btn[b-aj41usuttb] {
        padding: 7px 15px;
        font-size: 13px;
        border-radius: 7px;
    }
    .delete-card-btn[b-aj41usuttb] {
        top: 8px;
        right: 7px;
        padding: 1px 6px;
        font-size: 15px;
        border-radius: 7px;
    }

    .initial-empty-view[b-aj41usuttb] {
        padding: 38px 4px;
        margin-top: 10px;
        border-radius: 10px;
        font-size: 13.5px;
    }
    .initial-empty-view h2[b-aj41usuttb] {
        font-size: 1.08rem;
    }
    .initial-empty-view p[b-aj41usuttb] {
        font-size: 0.98rem;
        max-width: 96vw;
        margin: 8px auto 0;
    }
    .modal-content[b-aj41usuttb], .share-modal-content[b-aj41usuttb] {
        width: 98vw;
        padding: 14px 7px;
        border-radius: 13px;
        min-width: unset;
        max-width: 99vw;
    }
    .modal-title[b-aj41usuttb], .share-modal-title[b-aj41usuttb] {
        font-size: 1.07rem;
        margin-bottom: 8px;
    }
    .input[b-aj41usuttb] {
        font-size: 14.5px;
        padding: 7px 7px;
        border-radius: 8px;
        margin-bottom: 4px;
    }
}

.collection-sidebar .submenu[b-aj41usuttb] {
    margin-left: 0;
    padding: 12px 16px 12px 12px;
    border-radius: 18px;
    background: linear-gradient(90deg, rgba(255,255,255,0.07) 0%, rgba(0,0,0,0.03) 100%);
    box-shadow: 0 2px 8px #49cfff14;
    min-width: 210px;
}
.collection-sidebar .submenu li[b-aj41usuttb] {
    display: block;
    align-items: center;
    gap: 14px;
    margin-bottom: 7px;
    border-radius: 13px;
    font-size: 17px;
    color: #fff;
    font-weight: 600;
    background: rgba(255,255,255,0.06);
    cursor: pointer;
    transition: background 0.15s, color 0.14s, box-shadow 0.18s;
    box-shadow: 0 1.5px 6px #2dd4bf13;
    position: relative;
}

.collection-sidebar .submenu li:hover[b-aj41usuttb] {
    color: #df4c12;
    box-shadow: 0 2px 12px #49cfff2a;
}

.collection-sidebar .submenu i[b-aj41usuttb] {
    font-size: 20px;
    color: #000;
    margin-right: 7px;
}

.collection-sidebar .folder-name[b-aj41usuttb] {
    flex: 1 1 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
    font-size: 15px;
    color: #252D3A;
    letter-spacing: 0.03em;
    margin-left: 2px;
}

.collection-sidebar .folder-actions[b-aj41usuttb] {
    margin-left: 9px;
    display: flex;
    align-items: center;
}

.collection-sidebar .folder-action-btn[b-aj41usuttb] {
    background: none;
    border: none;
    color: #4F8CFF;
    font-size: 21px;
    border-radius: 6px;
    padding: 1px 8px;
    cursor: pointer;
    transition: background 0.11s, color 0.18s;
}
.collection-sidebar .folder-action-btn:hover[b-aj41usuttb] {
    background: #b9b9b944;
}
.folder-action-btn:focus[b-aj41usuttb] {
    outline: none;
    box-shadow: none;
    border: none;
    background: none;
}

.folder-popover-menu[b-aj41usuttb] {
    position: absolute;
    min-width: 160px;
    background: #FFFFFF;
    border-radius: 15px;
    box-shadow: 0 8px 32px #6366f133, 0 2px 7px #6366f110;
    padding: 12px 0;
    z-index: 3001;
    display: flex;
    flex-direction: column;
    gap: 2px;
    animation: popoverFadeIn-b-aj41usuttb 0.19s cubic-bezier(.4,0,.2,1);
    border: 1.5px solid #E2E8F0;
}

@keyframes popoverFadeIn-b-aj41usuttb {
    0% { opacity: 0; transform: translateY(7px) scale(.98);}
    100% { opacity: 1; transform: none;}
}

.folder-popover-btn[b-aj41usuttb] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    border: none;
    background: none;
    font-size: 16px;
    font-weight: 600;
    color: #252D3A;
    padding: 11px 20px 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.13s, color 0.16s;
}
.folder-popover-btn i[b-aj41usuttb] {
    font-size: 18px;
}
.folder-popover-btn:hover[b-aj41usuttb] {
    background: #EDF2FA;
    color: #4F8CFF;
}
.folder-popover-btn:active[b-aj41usuttb] {
    background: #dde5fa;
}

.folder-popover-overlay[b-aj41usuttb] {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 3000;
    background: transparent;
}

@media (max-width: 600px) {
    .folder-popover-menu[b-aj41usuttb] {
        min-width: 0 !important;
        max-width: 90vw !important;
        width: 82vw !important;
        right: 8vw !important; /* Bám vào lề phải màn hình */
        left: auto !important;
        top: auto !important;
        /* Nếu bạn muốn popover ở dưới dấu 3 chấm: dùng top, nếu muốn bám phải: dùng right */
        box-shadow: 0 7px 32px #6366f133, 0 2px 7px #6366f110;
        font-size: 15.5px;
    }
}

.folder-popover-menu[b-aj41usuttb] {
    border-radius: 18px !important;
    padding: 10px 0;
    background: rgba(255,255,255,0.98);
}
.folder-popover-btn[b-aj41usuttb] {
    font-size: 16px;
    padding: 14px 20px 14px 23px;
    border-radius: 14px;
}
.folder-popover-btn:hover[b-aj41usuttb] {
    background: linear-gradient(90deg, #f0f7ff 50%, #e0e7ff 100%);
    color: #6366f1;
}

.folder-popover-menu[b-aj41usuttb] {
    position: absolute;
    /* Top, left sẽ được tính toán so với .collection-sidebar */
    z-index: 3001;
    min-width: 160px;
    max-width: 96vw;
    background: rgba(255,255,255,0.98);
    border-radius: 16px;
    box-shadow: 0 8px 32px #6366f133, 0 2px 7px #6366f110;
    padding: 13px 0;
    font-size: 16px;
}

.folder-row[b-aj41usuttb] {
    display: flex;
    align-items: center;
    gap: 11px;
    border-radius: 13px;
    background: rgba(255,255,255,0.07);
    font-weight: 600;
    color: #fff;
}
.folder-action-btn[b-aj41usuttb] {
    margin-left: auto;
    background: none;
    border: none;
    color: #4F8CFF;
    font-size: 22px;
    border-radius: 6px;
    padding: 0 4px;
    cursor: pointer;
    transition: background 0.11s, color 0.18s;
}
.folder-inline-menu[b-aj41usuttb] {

    border-radius: 10px;
    box-shadow: 0 2px 12px #6366f133;
    display: flex;
    flex-direction: column;
    gap: 2px;
    animation: fadeInMenu-b-aj41usuttb 0.17s;
}
.folder-inline-menu button[b-aj41usuttb] {
    background: none;
    border: none;
    text-align: left;
    padding: 7px 0 7px 4px;
    font-size: 15px;
    font-weight: 600;
    color: #252D3A;
    border-radius: 7px;
    display: flex;
    align-items: center;
    gap: 9px;
    transition: background 0.11s, color 0.17s;
}
.folder-inline-menu button:hover[b-aj41usuttb] {
    background: #F5F8FF;
}
.folder-inline-menu button.share[b-aj41usuttb] {
    color: #3388FF;
}
.folder-inline-menu button.edit[b-aj41usuttb] {
    color: #F9A825;
}
.folder-inline-menu button.delete[b-aj41usuttb] {
    color: #F44336;
}
@keyframes fadeInMenu-b-aj41usuttb {
    from { opacity: 0; transform: translateY(-8px);}
    to { opacity: 1; transform: none;}
}

.mobile-menu-btn[b-aj41usuttb] {
    display: none;
}

@media (max-width: 1100px) {
    .mobile-menu-btn[b-aj41usuttb] {
        display: flex;
    }
}

.mobile-menu-btn[b-aj41usuttb] {
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 188px;
    margin: 6px 0 0px 0;
    padding: 4px 8px;
    border: none;
    border-radius: 22px;
    background: linear-gradient(90deg, #dfdfdf 30%, #8eb0bf 100%);
    color: #000;
    font-size: 1.12rem;
    font-weight: 700;
    box-shadow: 0 2px 16px #7b62ff17, 0 1px 2px #38bdf82e;
    cursor: pointer;
    transition: filter 0.15s, box-shadow 0.18s, transform 0.13s;
    position: relative;
    overflow: hidden;
}
.mobile-menu-btn i[b-aj41usuttb] {
    font-size: 1.5rem;
    align-items: center;
    /* Nếu icon quá to, giảm font-size */
}
.mobile-menu-btn:active[b-aj41usuttb] {
    filter: brightness(0.92);
    transform: scale(0.97);
    box-shadow: 0 2px 10px #6366f12a;
}
.mobile-menu-btn:hover[b-aj41usuttb] {
    filter: brightness(1.11);
    box-shadow: 0 4px 22px #6366f15a;
}
@media (max-width: 600px) {
    .mobile-menu-btn[b-aj41usuttb] {
        font-size: 1rem;
        border-radius: 15px;
        gap: 8px;
    }
}

.share-modal-backdrop[b-aj41usuttb] {
    position: fixed;
    inset: 0;
    background: rgba(60, 72, 121, 0.17);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-modal-content[b-aj41usuttb] {
    background: #fff;
    border-radius: 22px;
    padding: 36px 28px 24px 28px;
    min-width: 320px;
    max-width: 99vw;
    width: 490px;
    box-shadow: 0 10px 38px #7b62ff18, 0 2px 8px #38bdf810;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.share-modal-close-btn[b-aj41usuttb] {
    position: absolute;
    right: 18px;
    top: 13px;
    font-size: 24px;
    color: #6366f1;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 900;
    z-index: 3;
    opacity: 0.68;
    transition: color 0.17s;
}
.share-modal-close-btn:hover[b-aj41usuttb] {
    color: #f43f5e;
    opacity: 1;
}

.share-modal-title[b-aj41usuttb] {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #363a67;
    background: linear-gradient(90deg, #6366f1 30%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.share-modal-section-title[b-aj41usuttb] {
    font-size: 15px;
    color: #6366f1;
    font-weight: 700;
    margin-bottom: 8px;
}

.share-modal-table[b-aj41usuttb] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 4px;
    background: none;
    font-size: 15px;
}

.share-modal-table th[b-aj41usuttb], .share-modal-table td[b-aj41usuttb] {
    padding: 5px 7px;
    text-align: left;
    font-size: 15px;
    vertical-align: middle;
}
.share-modal-table th[b-aj41usuttb] {
    color: #6366f1;
    font-weight: 900;
    background: none;
    border-bottom: 1.5px solid #f3f5fb;
}
.share-modal-table td[b-aj41usuttb] {
    background: #f8fafc;
    border-radius: 7px;
    color: #384356;
    font-weight: 500;
    transition: background 0.12s;
}

.share-modal-table tr:hover td[b-aj41usuttb] {
    background: #e0f2fe;
}

.perm-role-select[b-aj41usuttb] {
    padding: 5px 10px;
    border-radius: 7px;
    border: 1px solid #b6b8f9;
    background: #f3f6fc;
    color: #3730a3;
    font-size: 15px;
    outline: none;
    transition: border 0.15s;
}
.perm-role-select:focus[b-aj41usuttb] {
    border-color: #6366f1;
}

.perm-role-label[b-aj41usuttb] {
    padding: 3px 11px;
    border-radius: 7px;
    background: #eef2ff;
    color: #6366f1;
    font-weight: 600;
    font-size: 15px;
}

.perm-action-btn[b-aj41usuttb] {
    background: #f4f6fa;
    border: 1px solid #c9d4fa;
    color: #6366f1;
    font-size: 15px;
    border-radius: 7px;
    cursor: pointer;
    transition: background 0.13s, color 0.13s, border 0.13s;
    outline: none;
    vertical-align: middle;
    box-shadow: 0 1px 4px rgba(99,102,241,0.07);
}
.perm-action-btn:hover[b-aj41usuttb] {
    background: #e0e7ff;
    color: #ec4899;
    border-color: #a78bfa;
}
.perm-action-delete[b-aj41usuttb] {
    color: #ef4444;
    border-color: #fca5a5;
}
.perm-action-delete:hover[b-aj41usuttb] {
    background: #fee2e2;
    color: #b91c1c;
    border-color: #ef4444;
}
.perm-action-cancel[b-aj41usuttb] {
    color: #6b7280;
    border-color: #d1d5db;
}
.perm-action-cancel:hover[b-aj41usuttb] {
    background: #f3f4f6;
    color: #111827;
}

.share-modal-invite-box[b-aj41usuttb] {
    display: flex;
    gap: 8px;
    margin: 13px 0 6px 0;
}
.share-modal-invite-box input[type="text"][b-aj41usuttb] {
    flex: 1;
    padding: 7px 12px;
    border-radius: 8px;
    border: 1.3px solid #c7d2fe;
    background: #f3f6fc;
    font-size: 15px;
    transition: border 0.14s;
}
.share-modal-invite-box input[type="text"]:focus[b-aj41usuttb] {
    border-color: #6366f1;
}
.btn-action[b-aj41usuttb] {
    background: #eef3fc;
    border: 1.2px solid #c7d2fe;
    color: #6366f1;
    font-size: 15px;
    border-radius: 8px;
    padding: 5px 13px;
    cursor: pointer;
    transition: background 0.13s, color 0.13s;
}
.btn-action:hover[b-aj41usuttb] {
    background: #e0e7ff;
    color: #ec4899;
}

.share-modal-public[b-aj41usuttb] {
    border-top: 1px solid #ecebf5;
    margin-top: 10px;
    padding-top: 12px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 13px;
    flex-wrap: wrap;
}
.btn-public[b-aj41usuttb] {
    padding: 5px 21px;
    background: linear-gradient(90deg,#6366f1 20%,#38bdf8 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    margin-top: 0;
    transition: filter 0.13s, background 0.13s;
}
.btn-public:disabled[b-aj41usuttb] {
    filter: grayscale(1) brightness(1.22);
    opacity: 0.7;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 600px) {
    .share-modal-content[b-aj41usuttb] {
        width: 98vw;
        padding: 13px 7px 13px 7px;
        border-radius: 13px;
        min-width: unset;
        max-width: 99vw;
    }
    .share-modal-title[b-aj41usuttb] {
        font-size: 1.07rem;
    }
    .share-modal-table th[b-aj41usuttb], .share-modal-table td[b-aj41usuttb] {
        font-size: 14px;
        padding: 4px 5px;
    }
    .share-modal-invite-box input[type="text"][b-aj41usuttb] {
        font-size: 14px;
        padding: 5px 8px;
    }
    .btn-action[b-aj41usuttb], .btn-public[b-aj41usuttb] {
        font-size: 14px;
        padding: 4px 10px;
    }
}

.folder-submenu[b-aj41usuttb],
.sharedfolder-submenu[b-aj41usuttb] {
    scrollbar-width: thin;              /* Firefox */
    scrollbar-color: #6e727b #E2E8F0;   /* Firefox */
    max-height: 430px;
    overflow-y: scroll;
}
.folder-submenu[b-aj41usuttb]::-webkit-scrollbar,
.sharedfolder-submenu[b-aj41usuttb]::-webkit-scrollbar {
    width: 6px;
    border-radius: 6px;
    background: #E2E8F0;
}
.folder-submenu[b-aj41usuttb]::-webkit-scrollbar-thumb,
.sharedfolder-submenu[b-aj41usuttb]::-webkit-scrollbar-thumb {
    background: #4F8CFF;
    border-radius: 6px;
}
.folder-submenu[b-aj41usuttb]::-webkit-scrollbar-thumb:hover,
.sharedfolder-submenu[b-aj41usuttb]::-webkit-scrollbar-thumb:hover {
    background: #3388FF;
}

.collection-sidebar .submenu li.active[b-aj41usuttb] {
    background: #FFE5B4;
    color: #bd550f;
    font-weight: 700;
}
.collection-sidebar .submenu li.active .folder-name[b-aj41usuttb] {
    color: #2a84d8;
}
.collection-sidebar .submenu li.active i[b-aj41usuttb] {
    color: #2a84d8;
}



/* _content/BookwormsUI/Pages/Collections/SharedCollection.razor.rz.scp.css */

    .collection-root[b-ez91y8cj4p] {
        min-height: 100vh;
        background: linear-gradient(135deg, #717eb7 0%, var(--primary-color) 100%);
        padding: 20px;
    }

    .collection-header-main[b-ez91y8cj4p] {
        background: white;
        border-radius: 12px;
        padding: 16px 20px;
        margin-bottom: 16px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    }

    .header-content[b-ez91y8cj4p] {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 16px;
    }

    .header-left[b-ez91y8cj4p] {
        flex: 1;
    }

    .page-title[b-ez91y8cj4p] {
        font-size: 22px;
        font-weight: 600;
        color: #2d3748;
        margin: 0 0 6px 0;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .page-title i[b-ez91y8cj4p] {
        color: #667eea;
    }

    .page-subtitle[b-ez91y8cj4p] {
        color: #718096;
        margin: 0;
        font-size: 14px;
        line-height: 1.4;
    }

    .add-to-library-btn[b-ez91y8cj4p] {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border: none;
        padding: 10px 20px;
        border-radius: 8px;
        font-weight: 500;
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 6px;
        transition: all 0.3s ease;
    }

    .add-to-library-btn:hover[b-ez91y8cj4p] {
        transform: translateY(-1px);
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    }

    .search-filter-bar[b-ez91y8cj4p] {
        background: white;
        border-radius: 12px;
        padding: 4px;
        margin-bottom: 16px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .search-container[b-ez91y8cj4p] {
        flex: 1;
        position: relative;
        max-width: 500px;
    }

    .search-icon[b-ez91y8cj4p] {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: #a0aec0;
        font-size: 16px;
    }

    .search-input[b-ez91y8cj4p] {
        width: 100%;
        padding: 8px 16px 8px 44px;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        font-size: 14px;
        transition: all 0.3s ease;
    }

    .search-input:focus[b-ez91y8cj4p] {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

    .filter-actions[b-ez91y8cj4p] {
        display: flex;
        gap: 12px;
    }

    .filter-actions .btn[b-ez91y8cj4p] {
        border-radius: 6px;
        padding: 6px 12px;
        font-weight: 500;
        font-size: 13px;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .collection-main[b-ez91y8cj4p] {
        background: white;
        border-radius: 16px;
        padding: 24px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .loading-container[b-ez91y8cj4p] {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 80px 0;
    }

    .spinner[b-ez91y8cj4p] {
        width: 48px;
        height: 48px;
        border: 4px solid #f3f3f3;
        border-top: 4px solid #667eea;
        border-radius: 50%;
        animation: spin-b-ez91y8cj4p 1s linear infinite;
    }

    .loading-text[b-ez91y8cj4p] {
        margin-top: 20px;
        color: #667eea;
        font-size: 18px;
        font-weight: 500;
    }

    .empty-collection-view[b-ez91y8cj4p] {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 80px 0;
        text-align: center;
    }

    .empty-icon[b-ez91y8cj4p] {
        font-size: 80px;
        color: #cbd5e0;
        margin-bottom: 24px;
    }

    .empty-title[b-ez91y8cj4p] {
        color: #4a5568;
        font-size: 24px;
        font-weight: 600;
        margin: 0 0 12px 0;
    }

    .empty-subtitle[b-ez91y8cj4p] {
        color: #718096;
        font-size: 16px;
        margin: 0;
    }

    .books-grid[b-ez91y8cj4p] {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .book-card[b-ez91y8cj4p] {
        background: white;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        overflow: hidden;
        transition: all 0.3s ease;
        cursor: pointer;
        position: relative;
        display: flex;
        align-items: stretch;
    }

    .book-card:hover[b-ez91y8cj4p] {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
        border-color: #667eea;
    }

    .book-card.selected[b-ez91y8cj4p] {
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
    }

    .book-card-header[b-ez91y8cj4p] {
        position: relative;
        flex-shrink: 0;
        width: 160px;
    }

    .selection-checkbox[b-ez91y8cj4p] {
        position: absolute;
        top: 8px;
        left: 8px;
        z-index: 10;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 4px;
        padding: 2px;
    }

    .selection-checkbox input[type="checkbox"][b-ez91y8cj4p] {
        width: 16px;
        height: 16px;
        accent-color: #667eea;
    }

    .book-cover[b-ez91y8cj4p] {
        position: relative;
        height: 160px;
        overflow: hidden;
    }

    .cover-image[b-ez91y8cj4p] {
        width: 100%;
        height: 100%;
        object-fit: contain;
        background: #f8f9fa;
        transition: transform 0.3s ease;
    }

    .book-card:hover .cover-image[b-ez91y8cj4p] {
        transform: scale(1.05);
    }

    .book-overlay[b-ez91y8cj4p] {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .book-card:hover .book-overlay[b-ez91y8cj4p] {
        opacity: 1;
    }

    .view-details-btn[b-ez91y8cj4p] {
        background: white;
        color: #2d3748;
        border: none;
        padding: 6px 12px;
        border-radius: 6px;
        font-weight: 500;
        font-size: 13px;
        display: flex;
        align-items: center;
        gap: 4px;
        transition: all 0.3s ease;
    }

    .view-details-btn:hover[b-ez91y8cj4p] {
        background: #667eea;
        color: white;
    }

    .book-card-body[b-ez91y8cj4p] {
        padding: 16px;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .book-title[b-ez91y8cj4p] {
        font-size: 16px;
        font-weight: 600;
        color: #2d3748;
        margin: 0 0 10px 0;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .book-author[b-ez91y8cj4p], .book-id[b-ez91y8cj4p] {
        color: #718096;
        font-size: 13px;
        margin: 0 0 6px 0;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .book-author i[b-ez91y8cj4p], .book-id i[b-ez91y8cj4p] {
        color: #a0aec0;
        font-size: 12px;
    }

    @keyframes spin-b-ez91y8cj4p {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    @media (max-width: 768px) {
        .collection-root[b-ez91y8cj4p] {
            padding: 12px;
        }

        .header-content[b-ez91y8cj4p] {
            flex-direction: column;
            align-items: flex-start;
        }

        .search-filter-bar[b-ez91y8cj4p] {
            flex-direction: column;
            align-items: stretch;
        }

                 .book-card[b-ez91y8cj4p] {
             flex-direction: column;
         }
         
         .book-card-header[b-ez91y8cj4p] {
             width: 100%;
         }
         
         .book-cover[b-ez91y8cj4p] {
             height: 160px;
         }

        .page-title[b-ez91y8cj4p] {
            font-size: 24px;
        }
    }
/* _content/BookwormsUI/Pages/News/Details.razor.rz.scp.css */
.news-detail-page[b-dbbq1pebbv] {
    background: #f7f8fc;
    min-height: 100vh;
}

.news-article[b-dbbq1pebbv] {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(11, 26, 69, 0.08);
    box-shadow: 0 18px 36px rgba(11, 26, 69, 0.12);
    padding: 2.5rem 3rem;
}

.article-topics .badge[b-dbbq1pebbv] {
    margin-right: 0.5rem;
}

.article-title[b-dbbq1pebbv] {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0b1a45;
    margin-bottom: 0.75rem;
}

.article-meta[b-dbbq1pebbv] {
    display: flex;
    gap: 1.25rem;
    font-size: 0.9rem;
}

.article-meta i[b-dbbq1pebbv] {
    margin-right: 0.35rem;
}

.article-hero[b-dbbq1pebbv] {
    height: 380px;
    border-radius: 0;
    background: linear-gradient(135deg, #5a6dfc 0%, #8797ff 100%);
    background-size: cover;
    background-position: center;
}

.article-summary[b-dbbq1pebbv] {
    font-size: 1.15rem;
    color: #445078;
}

.article-content[b-dbbq1pebbv] {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #273047;
}

.article-content p[b-dbbq1pebbv] {
    margin-bottom: 1.25rem;
}

.article-content img[b-dbbq1pebbv] {
    max-width: 100%;
    border-radius: 0;
    margin: 1.5rem 0;
}

.article-content h2[b-dbbq1pebbv],
.article-content h3[b-dbbq1pebbv],
.article-content h4[b-dbbq1pebbv] {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #0b1a45;
}

@media (max-width: 991.98px) {
    .news-article[b-dbbq1pebbv] {
        padding: 2rem;
    }

    .article-title[b-dbbq1pebbv] {
        font-size: 1.9rem;
    }

    .article-hero[b-dbbq1pebbv] {
        height: 300px;
    }
}

@media (max-width: 575.98px) {
    .news-article[b-dbbq1pebbv] {
        padding: 1.5rem;
    }

    .article-meta[b-dbbq1pebbv] {
        flex-direction: column;
        gap: 0.75rem;
    }

    .article-title[b-dbbq1pebbv] {
        font-size: 1.6rem;
    }

    .article-hero[b-dbbq1pebbv] {
        height: 240px;
    }
}
/* _content/BookwormsUI/Pages/News/Index.razor.rz.scp.css */
.news-page[b-5esylzx6c7] {
    background: #f6f7fb;
    min-height: 100vh;
}

.news-filter-card[b-5esylzx6c7] {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(11, 26, 69, 0.08);
    box-shadow: 0 12px 24px rgba(11, 26, 69, 0.08);
    padding: 1.75rem 2rem;
}

.news-feature[b-5esylzx6c7] {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    min-height: 340px;
    background: #101735;
    color: #ffffff;
    box-shadow: 0 24px 42px rgba(16, 23, 53, 0.25);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-feature:hover[b-5esylzx6c7],
.news-feature:focus-visible[b-5esylzx6c7] {
    transform: translateY(-6px);
    box-shadow: 0 30px 50px rgba(16, 23, 53, 0.3);
}

.news-feature .feature-image[b-5esylzx6c7] {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #1d275c;
    filter: brightness(0.72);
}

.news-feature .feature-body[b-5esylzx6c7] {
    position: relative;
    z-index: 1;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: flex-end;
    min-height: 340px;
    background: linear-gradient(180deg, rgba(13, 22, 58, 0.1) 0%, rgba(13, 22, 58, 0.85) 70%, rgba(13, 22, 58, 0.95) 100%);
}

.feature-topics[b-5esylzx6c7] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-title[b-5esylzx6c7] {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.feature-summary[b-5esylzx6c7] {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
}

.feature-meta[b-5esylzx6c7] {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.news-side-list[b-5esylzx6c7] {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(11, 26, 69, 0.08);
    box-shadow: 0 12px 24px rgba(11, 26, 69, 0.08);
    padding: 1.5rem;
}

.news-side-item[b-5esylzx6c7] {
    display: flex;
    gap: 1rem;
    width: 100%;
    background: transparent;
    border: none;
    text-align: left;
    padding: 0.5rem 0.25rem;
    border-radius: 14px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.news-side-item:hover[b-5esylzx6c7],
.news-side-item:focus-visible[b-5esylzx6c7] {
    background: rgba(11, 26, 69, 0.06);
    transform: translateX(4px);
}

.news-side-item .thumb[b-5esylzx6c7] {
    width: 88px;
    height: 68px;
    border-radius: 0;
    background: linear-gradient(135deg, #4f6bdc 0%, #8c9df5 100%);
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.news-side-item .body .meta[b-5esylzx6c7] {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5c6b92;
}

.news-side-item .body .title[b-5esylzx6c7] {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0b1a45;
}

.news-grid .news-card[b-5esylzx6c7] {
    border-radius: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(11, 26, 69, 0.08);
    box-shadow: 0 12px 24px rgba(11, 26, 69, 0.08);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-grid .news-card:hover[b-5esylzx6c7],
.news-grid .news-card:focus-visible[b-5esylzx6c7] {
    transform: translateY(-6px);
    box-shadow: 0 20px 36px rgba(11, 26, 69, 0.16);
}

.news-card .card-image[b-5esylzx6c7] {
    height: 180px;
    background: linear-gradient(135deg, #5a6dfc 0%, #8797ff 100%);
    background-size: cover;
    background-position: center;
}

.news-card .card-body[b-5esylzx6c7] {
    padding: 1.35rem;
}

.card-meta[b-5esylzx6c7] {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5b6785;
    margin-bottom: 0.5rem;
}

.card-title[b-5esylzx6c7] {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0b1a45;
    margin-bottom: 0.5rem;
}

.card-summary[b-5esylzx6c7] {
    font-size: 0.95rem;
    color: #5c6b92;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-tags[b-5esylzx6c7] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.badge.bg-outline-primary[b-5esylzx6c7] {
    border: 1px solid rgba(10, 100, 240, 0.35);
    color: #0a64f0;
    background: rgba(10, 100, 240, 0.08);
}

.news-empty-card[b-5esylzx6c7] {
    background: #ffffff;
    border-radius: 20px;
    border: 1px dashed rgba(11, 26, 69, 0.2);
}

.news-pagination .page-link[b-5esylzx6c7] {
    border-radius: 999px;
    margin: 0 0.2rem;
    color: #0b1a45;
}

.news-pagination .page-item.active .page-link[b-5esylzx6c7] {
    background-color: #0a64f0;
    border-color: #0a64f0;
}

@media (max-width: 991.98px) {
    .news-feature .feature-body[b-5esylzx6c7] {
        padding: 2rem;
        min-height: 300px;
    }

    .news-side-list[b-5esylzx6c7] {
        margin-top: 1rem;
    }
}

@media (max-width: 575.98px) {
    .news-filter-card[b-5esylzx6c7] {
        padding: 1.25rem;
    }

    .news-feature[b-5esylzx6c7] {
        min-height: 280px;
    }

    .news-feature .feature-body[b-5esylzx6c7] {
        padding: 1.75rem;
    }

    .news-side-item .thumb[b-5esylzx6c7] {
        width: 72px;
        height: 56px;
    }
}
/* _content/BookwormsUI/Pages/Programs/Index.razor.rz.scp.css */
/* Styles for Programs page
   NOTE: keep all Programs page styles in this file rather than site.css */
.result-card[b-uxrpbrt4b3] {
    display: flex;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    padding: 0.75rem;
}

.result-cover[b-uxrpbrt4b3] {
    margin-right: 1rem;
    flex-shrink: 0;
    text-align: center;
}

.result-cover-img[b-uxrpbrt4b3] {
    width: 80px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
}

.result-content[b-uxrpbrt4b3] {
    flex-grow: 1;
}

.result-title[b-uxrpbrt4b3] {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.meta-details[b-uxrpbrt4b3] {
    font-size: 0.875rem;
    color: #6c757d;
}
.ology-btn-selected[b-uxrpbrt4b3] {
    background-color: #f1db11;
    font-weight: 600;
    color: #000;
    border: 0;
}
.ology-btn[b-uxrpbrt4b3] {
    padding: 0.25rem 0.5rem;
    font-size: 0.9rem;
}
.ology-number[b-uxrpbrt4b3] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 0.25rem;    
    background-color: #279be8;
    color: #fff;
    font-size: 0.75rem;
}
.ology-btn:hover[b-uxrpbrt4b3] {
    background-color: #d4cece;
    cursor: pointer;
}

.curriculum-item[b-uxrpbrt4b3] {
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    line-height: 1.2;
}

.curriculum-item:hover[b-uxrpbrt4b3] {
    background-color: #f2f2f2;
}

.result-card:hover[b-uxrpbrt4b3] {
    background-color: #f5f5f5;
    cursor: pointer;
}
.meta-details[b-uxrpbrt4b3] {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-top: 0.8rem;
}

.meta-label[b-uxrpbrt4b3] {
    font-size: 0.9rem;
    color: #483d3d;
}

.meta-item[b-uxrpbrt4b3] {
    margin: 0;
    padding: 0;
}

.meta-icons[b-uxrpbrt4b3] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.meta-item-group .meta-item:not(:last-child)[b-uxrpbrt4b3]:after {
    content: " - ";
}
.icon-item[b-uxrpbrt4b3] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

    .icon-item i[b-uxrpbrt4b3] {
        font-size: 16px;
    }

        .icon-item i.bi-book[b-uxrpbrt4b3] {
            color: #2c5282;
        }

        .icon-item i.bi-file-earmark-text[b-uxrpbrt4b3] {
            color: #e53e3e;
        }

    .icon-item.open-access i.bi-unlock[b-uxrpbrt4b3] {
        color: #f28c38;
    }
.list-group-item + .list-group-item[b-uxrpbrt4b3] {
    border-top-width: 0;
}

.list-group-item.active[b-uxrpbrt4b3] {
    z-index: 2;
    color: #fff;
    background-color: #5395f2;    
    cursor: pointer;
}

.list-group-item[b-uxrpbrt4b3] {
    position: relative;
    display: block;
    padding: .5rem 1rem;
    color: #212529;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .125);
}
/* _content/BookwormsUI/Pages/ReadPDF.razor.rz.scp.css */
.read-pdf-container[b-nlxcvh59ez] {
    width: 100%;
    height: calc(100vh - 64px);
    position: relative;
    overflow: hidden;
    background: #f5f7fa;
    display: flex;
    flex-direction: column;
}

.pdf-viewer-container[b-nlxcvh59ez] {
    width: 100%;
    height: 100%;
    background: #1f2933;
    border: none;
    flex: 1 1 auto;
}

.pdf-viewer-container.hidden[b-nlxcvh59ez] {
    display: none;
}

.pdf-loading-message[b-nlxcvh59ez] {
    color: #e2e8f0;
    font-size: 1rem;
    padding: 2rem;
    text-align: center;
}

.pdf-status[b-nlxcvh59ez] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
    padding: 2rem;
    color: #1f2933;
    margin: auto;
}

.pdf-status i[b-nlxcvh59ez] {
    font-size: 2.75rem;
    color: #2563eb;
}

.pdf-status h2[b-nlxcvh59ez] {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.pdf-status p[b-nlxcvh59ez] {
    margin: 0;
    max-width: 32rem;
    color: #475569;
}

.pdf-status-error i[b-nlxcvh59ez] {
    color: #dc3545;
}

.pdf-status-error p[b-nlxcvh59ez] {
    color: #6b7280;
}

.pdf-status-loading .spinner-border[b-nlxcvh59ez] {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    .read-pdf-container[b-nlxcvh59ez] {
        height: calc(100vh - 56px);
        padding: 1rem;
    }

    .pdf-status h2[b-nlxcvh59ez] {
        font-size: 1.25rem;
    }

    .pdf-status p[b-nlxcvh59ez] {
        font-size: 0.95rem;
    }
}

footer#footer[b-nlxcvh59ez] {
    display: none;
}
/* _content/BookwormsUI/Pages/Search/SearchBooks.razor.rz.scp.css */
/* Reset và cơ bản */

*[b-gwjfy8w132] {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Container và Wrapper */
.search-wrapper[b-gwjfy8w132] {    
    min-height: 70vh;
    position: relative;
}

.container[b-gwjfy8w132] {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Loading */
.loading-container[b-gwjfy8w132] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-size: 1.25rem;
    color: #64748b;
    animation: fadeIn-b-gwjfy8w132 0.5s ease-in;
}
/*Title search*/
.knowledge-title[b-gwjfy8w132] {
    font-family: 'Inter', 'Helvetica Neue', 'Arial', sans-serif; /* Phông chữ hiện đại, chuyên nghiệp */
    font-size: 2.5rem; /* Kích thước lớn (~40px), nổi bật nhưng không quá to */
    font-weight: 700; /* Độ đậm mạnh mẽ, tinh tế */
    color: #0f172a; /* Màu xám đen đậm, sang trọng */
    letter-spacing: -0.025em; /* Thu hẹp khoảng cách chữ nhẹ để trông hiện đại */
    text-transform: uppercase; /* In hoa để tăng tính trang trọng */
    position: relative; /* Để thêm trang trí */
    display: inline-block; /* Giữ kích thước vừa với nội dung */
    padding: 0 16px; /* Khoảng cách hai bên để thoáng hơn */
}
   

/* Header */
.search-header[b-gwjfy8w132] {
    background: #ffffff;
    padding: 1.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);    
}

.search-input-group[b-gwjfy8w132] {
    display: flex;
    flex-direction: column;
    max-width: 900px;
    margin: 0 auto;
    /*background: #e1dede;*/   
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
    padding: 0.5rem;
}

.search-options-container[b-gwjfy8w132] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.1rem;
    width: 100%;
}

.search-select[b-gwjfy8w132] {
    width: 200px;
    padding: 1rem 1.25rem;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: #1e293b;
    background: #fff;   
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2364748B%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 0.75rem;
}

.input-button-wrapper[b-gwjfy8w132] {
    display: flex;
    flex: 1;
    min-width: 0;
}

.search-input-container[b-gwjfy8w132] {
    position: relative;
    flex: 1;
}

.suggest-list[b-gwjfy8w132] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 900;
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 0;
}

.suggest-list li[b-gwjfy8w132] {
    padding: 0.5rem 1rem;
    cursor: pointer;
    text-align: left;
}

.suggest-list li:hover[b-gwjfy8w132],
.suggest-list li.active[b-gwjfy8w132] {
    background-color: #f1f1f1;
}

.search-input[b-gwjfy8w132] {
    border: none;
    padding: 1rem 2.5rem 1rem 1.25rem;
    font-size: 1.125rem;
    color: #1e293b;
    background: #ffffff;
    border-radius: 0;
    transition: box-shadow 0.2s ease;
    width: 100%;
    box-shadow: inset 0 0 0 1px #3b82f6;
}

    .search-input:focus[b-gwjfy8w132] {
        outline: none;
        box-shadow: inset 0 0 0 2px #3b82f6;
    }

.search-clear-btn[b-gwjfy8w132] {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #64748b;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
}

    .search-clear-btn:hover[b-gwjfy8w132] {
        color: #3b82f6;
        transform: translateY(-50%) scale(1.1);
    }

.search-btn[b-gwjfy8w132] {
    background: #3b82f6;
    border: none;
    padding: 1rem 1.75rem;  
    color: #ffffff;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .search-btn:hover[b-gwjfy8w132] {
        background: #2563eb;
        transform: translateY(-1px);
    }

.pagination-summary-top[b-gwjfy8w132] {
    font-size: 0.9375rem;
    color: #64748b;
    margin: 1rem 0 0 7rem;
    text-align: left;
}

/* Search Options */
.search-options-toggle[b-gwjfy8w132] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: #3b82f6;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .search-options-toggle:hover[b-gwjfy8w132] {
        color: #2563eb;
    }

.search-options[b-gwjfy8w132] {
    display: none;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
    align-items: center;
    padding: 0 0.75rem;
}

    .search-options.open[b-gwjfy8w132] {
        display: flex;
        animation: slideDown-b-gwjfy8w132 0.3s ease-out;
    }

    .search-options label[b-gwjfy8w132] {
        font-size: 0.875rem;
        color: #64748b;
        margin-right: 0.5rem;
    }

.filter-select[b-gwjfy8w132] {
    padding: 0.2rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #1e293b;
    background: #fff;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2364748B%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 0.65rem;
    min-width: 120px;
}

/* Main Content */
.search-content[b-gwjfy8w132] {
    padding: 0rem 0;
}

/* Filters Sidebar */
.filter-aside[b-gwjfy8w132] {
    position: relative;
}

.filter-toggle-btn[b-gwjfy8w132] {
    display: none;
    width: 100%;
    padding: 0.875rem;
    background: #3b82f6;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .filter-toggle-btn:hover[b-gwjfy8w132] {
        background: #2563eb;
        transform: translateY(-2px);
    }

.filters-sidebar[b-gwjfy8w132] {
    background: #ffffff;
    padding: 1.75rem;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.filter-close-btn[b-gwjfy8w132] {
    display: none;
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #64748b;
    font-size: 1.75rem;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
}

    .filter-close-btn:hover[b-gwjfy8w132] {
        color: #3b82f6;
        transform: scale(1.1);
    }

.filter-group[b-gwjfy8w132] {
    margin-bottom: 1.75rem;
}

.filter-group-title[b-gwjfy8w132] {
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.875rem;
}

.filter-options[b-gwjfy8w132] {
   
    padding-left: 1.5rem; /* Dịch danh sách sang phải để chấm tròn không bị cắt */
    margin: 0; /* Loại bỏ margin mặc định */
}

.filter-option a[b-gwjfy8w132] {
    list-style-type: disc; /* Thêm dấu chấm tròn */
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 0;
    color: #374151;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
}

    .filter-option a:hover[b-gwjfy8w132] {
        color: #3b82f6;       
        text-decoration: underline;
    }

.filter-see-more[b-gwjfy8w132] {
    list-style: none;
    text-align: right;
    text-decoration: underline;
    font-size: 0.8rem;
    font-style:italic;
    margin-top: 10px
   
}
.filter-see-more:hover[b-gwjfy8w132]{
    color:#439fed
}
.filter-count[b-gwjfy8w132] {
    color: #94a3b8;
    font-size: 0.8125rem;
    transition: transform 0.3s ease;
}

/* Selected Filters */
.selected-filters[b-gwjfy8w132] {
    margin-bottom: 2.25rem;
}

.selected-filters-heading[b-gwjfy8w132] {
    font-weight: 600;
    color: #1e293b;
    margin: 1rem 0.5rem;
}

.filter-tags[b-gwjfy8w132] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.filter-tag[b-gwjfy8w132] {
    display: flex;
    align-items: center;
    background:#f5f1f1;
    border: 1px solid #94a3b8;
    padding: 0.15rem 0.7rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    color: #374151;
    transition: background 0.2s ease;
}

.filter-tag-text[b-gwjfy8w132] {
    margin-right: 0.625rem;
}

.filter-tag-close[b-gwjfy8w132] {
    background: none;
    border: none;
    color: #ef0a0a;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease;    
}

    .filter-tag-close:hover[b-gwjfy8w132] {
       color: #ef0a0a;
       font-weight:600
    }

/* Results List */
.results-list[b-gwjfy8w132] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 0;
}

.result-card[b-gwjfy8w132] {
    position: relative; /* Để định vị nút tuyệt đối */
    display: flex;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    padding: 1.25rem;
    transition: box-shadow 0.2s ease;
}

    .result-card:hover[b-gwjfy8w132] {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    }

.result-cover[b-gwjfy8w132] {
    position: relative;
    flex-shrink: 0;
    margin-right: 1.5rem;
    text-align: center; /* Căn giữa nội dung bên trong, bao gồm RecordId */
}

.result-cover-img[b-gwjfy8w132] {
    display: block; /* Đảm bảo ảnh chiếm toàn bộ dòng */
    width: 80px;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
    margin: 0 auto; /* Căn giữa ảnh trong khối cha */
}

.result-cover span[b-gwjfy8w132] {
    display: block; /* Đảm bảo RecordId nằm trên dòng riêng */
    margin-top: 5px; /* Khoảng cách giữa ảnh và RecordId */
    font-size: 0.7em; /* Kích thước chữ */
    width: 100%; /* Đảm bảo chiều rộng bằng ảnh để căn giữa chính xác */
}

.result-cover-img:hover[b-gwjfy8w132] {
    transform: scale(1.03);
}

.result-content[b-gwjfy8w132] {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.result-header[b-gwjfy8w132] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.result-title[b-gwjfy8w132] {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    color: #1e293b;
}

    .result-title a[b-gwjfy8w132] {
        text-decoration: none;
        color: inherit;
        transition: color 0.2s ease;
    }

        .result-title a:hover[b-gwjfy8w132] {
            color: #2563eb;
        }

.result-author[b-gwjfy8w132] {
    font-size: 0.9rem;
    color: #64748b;   
    margin-top:4px
}
    .result-author a[b-gwjfy8w132] {
        text-decoration: none;
        color: #64748b;
        transition: color 0.2s ease;
    }

        .result-author a:hover[b-gwjfy8w132] {
            color: #2563eb;
            text-decoration: underline; 
        }
.author-label[b-gwjfy8w132] {
    font-style: italic;
    color: #94a3b8;
    margin-right: 0.25rem;
}

.result-meta[b-gwjfy8w132] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.meta-details[b-gwjfy8w132] {
    font-size: 0.9rem;
    color: #94a3b8;
}
.meta-label[b-gwjfy8w132] {
    font-size: 0.9rem;
    color: #483d3d;
}
.meta-item[b-gwjfy8w132] {
    margin: 0;
    padding: 0;
}

.meta-icons[b-gwjfy8w132] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #6b7280;
}
.meta-item-group .meta-item:not(:last-child)[b-gwjfy8w132]:after {
    content: " - ";
}
.icon-item[b-gwjfy8w132] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

    .icon-item i[b-gwjfy8w132] {
        font-size: 16px;
    }

        .icon-item i.bi-book[b-gwjfy8w132] {
            color: #2c5282;
        }

        .icon-item i.bi-file-earmark-text[b-gwjfy8w132] {
            color: #e53e3e;
        }

    .icon-item.open-access i.bi-unlock[b-gwjfy8w132] {
        color: #f28c38;
    }
/*Open Access License*/
.open-access[b-gwjfy8w132] {    
    font-size:0.8em;
    vertical-align:middle
}

.license-icon[b-gwjfy8w132] {
    height: 20px;
    vertical-align: middle;
    border-radius:5px;
    
}
.license-group[b-gwjfy8w132] {
    margin-top: 15px;
}

.result-actions[b-gwjfy8w132] {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
}
/* Tooltip CSS */
.tooltip[b-gwjfy8w132] {
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    max-width: 300px;
}
.btn-action[b-gwjfy8w132] {
    background: none;
    border: none;
    padding: 0.5rem;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.1s ease;
    border-radius: 50%; /* Bo tròn nút */
}

    .btn-action:hover[b-gwjfy8w132] {
        transform: scale(1.1);
    }

.btn-add-cart[b-gwjfy8w132] {
    color: #10b981;
}

    .btn-add-cart:hover[b-gwjfy8w132] {
        color: #059669;
    }

.btn-print[b-gwjfy8w132] {
    color: #3b82f6;
}

    .btn-print:hover[b-gwjfy8w132] {
        color: #2563eb;
    }

.btn-zotero[b-gwjfy8w132] {
    color: #f59e0b;
}

    .btn-zotero:hover[b-gwjfy8w132] {
        color: #d97706;
    }

    .no-results h3[b-gwjfy8w132] {
        font-size: 1.5rem;
        font-weight: 600;
        color: #1e293b;
        margin-bottom: 0.75rem;
    }

    .no-results p[b-gwjfy8w132] {
        font-size: 1rem;
        color: #64748b;
    }

/* Pagination */
.pagination[b-gwjfy8w132] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding: 1rem 0;
}

.pagination-summary[b-gwjfy8w132] {
    font-size: 0.9375rem;
    color: #64748b;
}

.pagination-buttons[b-gwjfy8w132] {
    display: flex;
    gap: 0.5rem;
}

.btn-paginate[b-gwjfy8w132], .btn-paginate-active[b-gwjfy8w132] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #374151;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .btn-paginate:hover:not(:disabled)[b-gwjfy8w132] {
        background: #f1f5f9;
        border-color: #cbd5e1;
        transform: translateY(-2px);
    }

.btn-paginate-active[b-gwjfy8w132] {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #ffffff;
}

.btn-paginate:disabled[b-gwjfy8w132] {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Advanced Search Modal */
.advanced-search-modal[b-gwjfy8w132] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn-b-gwjfy8w132 0.3s ease-in;
}

.advanced-search-content[b-gwjfy8w132] {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 720px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    padding: 2rem;
}

.advanced-search-header[b-gwjfy8w132] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

    .advanced-search-header h3[b-gwjfy8w132] {
        font-size: 1.5rem;
        font-weight: 600;
        color: #1e293b;
    }

.advanced-search-close[b-gwjfy8w132] {
    background: none;
    border: none;
    color: #64748b;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .advanced-search-close:hover[b-gwjfy8w132] {
        color: #3b82f6;
        transform: scale(1.1);
    }
.advanced-search-toggle[b-gwjfy8w132]
{
    font-size:0.85em
}
    .advanced-search-toggle:hover[b-gwjfy8w132] {
        text-decoration: underline;       
    }
    /* Body */
    .advanced-search-body[b-gwjfy8w132] {
        padding: 1.5rem 0;
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

.group-title[b-gwjfy8w132] {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

/* Condition Group */
.condition-group[b-gwjfy8w132] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.condition-row[b-gwjfy8w132] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.condition-placeholder[b-gwjfy8w132] {
    width: 60px;
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
    text-align: center;
}

.condition-operator[b-gwjfy8w132] {
    width: 60px;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.875rem;
    color: #1e293b;
    background: #f9fafb;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2364748B%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 0.65rem;
}

.condition-field[b-gwjfy8w132] {
    width: 150px;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.875rem;
    color: #1e293b;
    background: #ffffff;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2364748B%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 0.65rem;
}

.condition-value[b-gwjfy8w132] {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.875rem;
    color: #1e293b;
    background: #ffffff;
    transition: border-color 0.2s ease;
}

    .condition-value:focus[b-gwjfy8w132] {
        outline: none;
        border-color: #3b82f6;
        box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
    }

.condition-actions[b-gwjfy8w132] {
    display: flex;
    gap: 0.5rem;
}

.btn-add[b-gwjfy8w132],
.btn-remove[b-gwjfy8w132] {
    background: none !important;
    border: none;
    padding: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: none !important;
}

.btn-add[b-gwjfy8w132] {
    color: #2c3e50 !important;
}

    .btn-add:hover[b-gwjfy8w132] {
        color: #059669;
        transform: scale(1.1);
    }

.btn-remove[b-gwjfy8w132] {
    color: #ef0a0a !important;
}

    .btn-remove:hover[b-gwjfy8w132] {
        color: #dc2626;
        transform: scale(1.1);
    }

/* Range Group */
.range-group[b-gwjfy8w132] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.range-row[b-gwjfy8w132] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dual-range-slider[b-gwjfy8w132] {
    position: relative;
    width: 100%;
    height: 30px;
}

.range-min[b-gwjfy8w132], .range-max[b-gwjfy8w132] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: transparent;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 2;
}

    .range-min[b-gwjfy8w132]::-webkit-slider-thumb, .range-max[b-gwjfy8w132]::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 16px;
        height: 16px;
        background: #3b82f6;
        border-radius: 50%;
        cursor: pointer;
        pointer-events: auto;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .range-min:-moz-range-thumb[b-gwjfy8w132], .range-max:-moz-range-thumb[b-gwjfy8w132] {
        width: 16px;
        height: 16px;
        background: #3b82f6;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        pointer-events: auto;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

.slider-track[b-gwjfy8w132] {
    position: absolute;
    top: 50%;
    transform: translateY(-100%);
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 4px;
    z-index: 1;
}

.slider-range[b-gwjfy8w132] {
    position: absolute;
    height: 6px;
    background: #3b82f6;
    border-radius: 4px;
    z-index: 1;
}

.range-values[b-gwjfy8w132] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    gap: 0.5rem;
}

.range-input[b-gwjfy8w132] {
    width: 80px;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.875rem;
    text-align: center;
    color: #1e293b;
}

    .range-input:focus[b-gwjfy8w132] {
        outline: none;
        border-color: #3b82f6;
        box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
    }

/* Dewey Group */
.dewey-group[b-gwjfy8w132] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dewey-row[b-gwjfy8w132] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dewey-input[b-gwjfy8w132] {
    width: 120px;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.875rem;
    color: #1e293b;
    background: #ffffff;
    transition: border-color 0.2s ease;
}

    .dewey-input:focus[b-gwjfy8w132] {
        outline: none;
        border-color: #3b82f6;
        box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
    }

/* Validation */
.validation-error[b-gwjfy8w132] {
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

/* Footer */
.advanced-search-footer[b-gwjfy8w132] {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.btn-reset[b-gwjfy8w132],
.btn-apply[b-gwjfy8w132] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-reset[b-gwjfy8w132] {
    background: #f3f4f6;
    color: #374151;
    border: none;
}

    .btn-reset:hover[b-gwjfy8w132] {
        background: #e5e7eb;
        transform: translateY(-1px);
    }

.btn-apply[b-gwjfy8w132] {
    background: #3b82f6;
    color: #ffffff;
    border: none;
}

    .btn-apply:hover[b-gwjfy8w132] {
        background: #2563eb;
        transform: translateY(-1px);
    }

    .btn-apply:disabled[b-gwjfy8w132] {
        background: #94a3b8;
        cursor: not-allowed;
        transform: none;
    }

/* Animations */
@keyframes fadeIn-b-gwjfy8w132 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideDown-b-gwjfy8w132 {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .search-header[b-gwjfy8w132] {
        padding: 1rem 0;
    }

    .pagination-summary-top[b-gwjfy8w132] {
        margin: 0.75rem 0 0 1rem;
    }

    .search-input-group[b-gwjfy8w132] {
        box-shadow: none;
        max-width: 100%;
        padding: 0;
    }

    .search-options-container[b-gwjfy8w132] {
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
        border-radius: 12px;
        overflow: visible;
    }

    .search-select[b-gwjfy8w132] {
        width: 100%;        
        margin-bottom: 0.75rem;
    }

    .input-button-wrapper[b-gwjfy8w132] {
        width: 100%;
        border-radius: 12px;
    }

    .search-input[b-gwjfy8w132] {
        padding: 0.875rem 2.5rem 0.875rem 1.25rem;
        font-size: 1.125rem;
        color: #1e293b;
        background: #ffffff;
        border-radius: 8px 0 0 8px;
        transition: box-shadow 0.2s ease;
        width: 100%;
        box-shadow: inset 0 0 0 1px #3b82f6;
    }

        .search-input:focus[b-gwjfy8w132] {
            outline: none;
            box-shadow: none;
            border-color: #e2e8f0;
            box-shadow: inset 0 0 0 1px #3b82f6;
        }

   

    .search-options-toggle[b-gwjfy8w132] {
        padding: 0.75rem 1rem;
    }

    .search-options[b-gwjfy8w132] {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.75rem 1rem;
    }
   
   /* .filter-select {
        width: 100%;
    }*/

    .filter-toggle-btn[b-gwjfy8w132] {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .filters-sidebar[b-gwjfy8w132] {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        transform: translateX(-100%);
        z-index: 1020;
        overflow-y: auto;
        padding-top: 3.5rem;
    }

        .filters-sidebar.open[b-gwjfy8w132] {
            transform: translateX(0);
        }

    .filter-close-btn[b-gwjfy8w132] {
        display: block;
    }

    .search-wrapper[b-gwjfy8w132]::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 199;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
    }

    .search-wrapper:has(.filters-sidebar.open)[b-gwjfy8w132]::before {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 576px) 
{
    .pagination-summary-top[b-gwjfy8w132] {
        font-size: 0.875rem;
        margin: 0.5rem 0 0 1rem;
    }

    .search-input[b-gwjfy8w132] {
        font-size: 1rem;
    }

    .search-btn[b-gwjfy8w132] {
        padding: 1rem 1.25rem;
    }

    .search-clear-btn[b-gwjfy8w132] {
        font-size: 1.125rem;
    }

    .result-cover-img[b-gwjfy8w132] {
        width: 100px;
        height: 150px;
    }

    .result-title[b-gwjfy8w132] {
        font-size: 1.25rem;
    }    

    .result-details[b-gwjfy8w132] {
        font-size: 0.8125rem;
    }

    .pagination[b-gwjfy8w132] {
        flex-direction: column;
        gap: 1.25rem;
    }

    .btn-paginate[b-gwjfy8w132], .btn-paginate-active[b-gwjfy8w132] {
        width: 36px;
        height: 36px;
    }
}
/* Group Modal */
.group-modal[b-gwjfy8w132] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow: hidden;
    animation: fadeIn-b-gwjfy8w132 0.3s ease-in;
}

.group-modal-content[b-gwjfy8w132] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
    height: 600px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    z-index: 1200;
}

.group-modal-header[b-gwjfy8w132] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
}

    .group-modal-header h3[b-gwjfy8w132] {
        font-size: 1.2rem;
        font-weight: 600;
        color: #1e293b;
        margin-left:20px
    }

.group-modal-close[b-gwjfy8w132] {
    background: none;
    border: none;
    color: #64748b;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .group-modal-close:hover[b-gwjfy8w132] {
        color: #3b82f6;
        transform: scale(1.1);
    }

.group-modal-fixed-top[b-gwjfy8w132] {
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
    flex-shrink: 0;
}

.group-search-container[b-gwjfy8w132] {
    position: relative;
}

.group-search-input[b-gwjfy8w132] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.875rem;
    color: #1e293b;
    transition: border-color 0.2s ease;
}

    .group-search-input:focus[b-gwjfy8w132] {
        outline: none;
        border-color: #3b82f6;
    }

.group-search-clear[b-gwjfy8w132] {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.2s ease;
}

    .group-search-clear:hover[b-gwjfy8w132] {
        color: #3b82f6;
    }

.group-modal-scrollable[b-gwjfy8w132] {
    flex: 1;
    overflow-y: auto;
    padding: 40px;
}

.group-modal-list[b-gwjfy8w132] {
    list-style: none;
    padding: 0;
    margin: 0;
}

.group-modal-item[b-gwjfy8w132] {
    padding: 0.625rem 0;
    border-bottom: 1px solid #e2e8f0;
}

    .group-modal-item a[b-gwjfy8w132] {
        display: flex;
        justify-content: space-between;
        color: #374151;
        text-decoration: none;
        transition: all 0.2s ease;
    }

        .group-modal-item a:hover[b-gwjfy8w132] {
            color: #3b82f6;
            padding-left: 0.25rem;
        }

.filter-count[b-gwjfy8w132] {
    color: #94a3b8;
    font-size: 0.8125rem;
}

.group-modal-footer[b-gwjfy8w132] {
    padding: 15px;
    border-top: 1px solid #e2e8f0;
    flex-shrink: 0;
    display: flex;
    justify-content: flex-end;
    background: #ffffff;
}

.btn-close[b-gwjfy8w132] {
    display: flex;
    justify-content: center; /* Căn giữa ngang */
    align-items: center; /* Căn giữa dọc */
    background:#b20808;
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;    
    letter-spacing: 0.05em;
    cursor: pointer;   
    transition: all 0.3s ease;
    min-width: 80px; /* Đảm bảo nút đủ rộng để chữ không bị lệch */
}

    .btn-close:hover[b-gwjfy8w132] {
        background: linear-gradient(135deg, #2563eb, #1e40af);
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
    }

    .btn-close:active[b-gwjfy8w132] {
        transform: translateY(0);
        box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
    }

/* Animations */
@keyframes fadeIn-b-gwjfy8w132 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ////////////////////////////////////////////////  */

@keyframes fadein-b-gwjfy8w132 {
    from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Modal Backdrop */
.modal-backdrop[b-gwjfy8w132] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn-b-gwjfy8w132 0.3s ease-out;
}

/* Modal Content */
.modal-content[b-gwjfy8w132] {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 8px 25px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    max-width: 650px;
    width: 90%;
    max-height: 85vh;
    overflow: hidden;
    animation: slideIn-b-gwjfy8w132 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    will-change: transform, opacity;
    transform: translateZ(0);
}

/* Modal Header */
.modal-header[b-gwjfy8w132] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: linear-gradient(135deg, #102daf 0%, #7a95e7 100%);
    color: white;
    border-radius: 20px 20px 0 0;
}

.modal-title[b-gwjfy8w132] {
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.modal-title i[b-gwjfy8w132] {
    font-size: 22px;
    opacity: 0.9;
}

.modal-close-btn[b-gwjfy8w132] {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.modal-close-btn:hover[b-gwjfy8w132] {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Modal Body */
.modal-body[b-gwjfy8w132] {
    padding: 24px 32px;
    max-height: 60vh;
    overflow: hidden;
}

/* Book Preview */
.book-preview[b-gwjfy8w132] {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    margin-bottom: 20px;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.06),
        0 1px 4px rgba(102, 126, 234, 0.04);
    position: relative;
    overflow: hidden;
}

.book-preview[b-gwjfy8w132]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    border-radius: 16px 16px 0 0;
}

.book-cover[b-gwjfy8w132] {
    position: relative;
    flex-shrink: 0;
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.book-cover:hover[b-gwjfy8w132] {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.book-cover img[b-gwjfy8w132] {
    width: 60px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.12),
        0 2px 6px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.95) contrast(1.05);
}

.book-cover:hover img[b-gwjfy8w132] {
    transform: scale(1.05);
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.2),
        0 6px 16px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    filter: brightness(1.05) contrast(1.1);
}

.book-cover-overlay[b-gwjfy8w132] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(4px);
}

.book-cover:hover .book-cover-overlay[b-gwjfy8w132] {
    opacity: 1;
}

.book-cover-overlay i[b-gwjfy8w132] {
    color: white;
    font-size: 24px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.book-cover:hover .book-cover-overlay i[b-gwjfy8w132] {
    transform: scale(1);
}

.book-details[b-gwjfy8w132] {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.book-title[b-gwjfy8w132] {
    font-size: 16px;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 8px 0;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    position: relative;
}

.book-title[b-gwjfy8w132]::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 1px;
}

.book-author[b-gwjfy8w132], .book-id[b-gwjfy8w132] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0;
    color: #4a5568;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 8px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 6px;
    border-left: 2px solid #667eea;
    transition: all 0.3s ease;
}

.book-author:hover[b-gwjfy8w132], .book-id:hover[b-gwjfy8w132] {
    background: rgba(102, 126, 234, 0.1);
    transform: translateX(4px);
}

.book-author i[b-gwjfy8w132], .book-id i[b-gwjfy8w132] {
    color: #667eea;
    font-size: 14px;
    opacity: 0.8;
}

/* Collections Section */
.collections-section[b-gwjfy8w132] {
    margin-top: 24px;
}

.section-header[b-gwjfy8w132] {
    margin-bottom: 20px;
}

.section-header h6[b-gwjfy8w132] {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header h6 i[b-gwjfy8w132] {
    color: #667eea;
}

.section-subtitle[b-gwjfy8w132] {
    font-size: 14px;
    color: #6c757d;
    display: block;
}

/* Loading State */
.loading-collections[b-gwjfy8w132] {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.loading-spinner[b-gwjfy8w132] {
    margin-bottom: 16px;
}

.spinner[b-gwjfy8w132] {
    width: 40px;
    height: 40px;
    border: 3px solid #e9ecef;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin-b-gwjfy8w132 0.8s linear infinite;
    margin: 0 auto;
    will-change: transform;
}

/* Empty State */
.no-collections[b-gwjfy8w132] {
    text-align: center;
    padding: 40px 20px;
}

.empty-state[b-gwjfy8w132] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.empty-state i[b-gwjfy8w132] {
    font-size: 48px;
    color: #dee2e6;
    margin-bottom: 8px;
}

.empty-state h6[b-gwjfy8w132] {
    font-size: 16px;
    font-weight: 600;
    color: #495057;
    margin: 0;
}

.empty-state p[b-gwjfy8w132] {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
    max-width: 300px;
    line-height: 1.5;
}

/* Collections List */
.collections-list[b-gwjfy8w132] {
    max-height: 260px;
    overflow-y: auto;
    padding-right: 8px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    will-change: scroll-position;
    margin-right: -8px;
}

.collections-list[b-gwjfy8w132]::-webkit-scrollbar {
    width: 8px;
}

.collections-list[b-gwjfy8w132]::-webkit-scrollbar-track {
    background: rgba(241, 241, 241, 0.5);
    border-radius: 4px;
    margin: 4px 0;
}

.collections-list[b-gwjfy8w132]::-webkit-scrollbar-thumb {
    background: rgba(193, 193, 193, 0.8);
    border-radius: 4px;
    transition: background 0.2s ease;
}

.collections-list[b-gwjfy8w132]::-webkit-scrollbar-thumb:hover {
    background: rgba(168, 168, 168, 0.9);
}

.collections-list[b-gwjfy8w132]::-webkit-scrollbar-thumb:active {
    background: rgba(120, 120, 120, 1);
}

.collection-item[b-gwjfy8w132] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    margin-bottom: 8px;
    background: white;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    will-change: transform, box-shadow, border-color;
    transform: translateZ(0);
}

.collection-item:hover[b-gwjfy8w132] {
    transform: translateY(-2px) translateZ(0);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
}

.collection-item.book-exists[b-gwjfy8w132] {
    background: linear-gradient(135deg, #f0f9f4 0%, #e8f5e8 100%);
    border-color: #28a745;
    cursor: default;
}

.collection-item.book-exists:hover[b-gwjfy8w132] {
    transform: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.collection-info[b-gwjfy8w132] {
    flex: 1;
}

.collection-header[b-gwjfy8w132] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.collection-name[b-gwjfy8w132] {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.book-exists-badge[b-gwjfy8w132] {
    display: flex;
    align-items: center;
    gap: 3px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 500;
    white-space: nowrap;
}

.book-exists-badge i[b-gwjfy8w132] {
    font-size: 10px;
}

.collection-meta[b-gwjfy8w132] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.book-count[b-gwjfy8w132] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #6c757d;
}

.book-count i[b-gwjfy8w132] {
    color: #667eea;
    font-size: 12px;
}

.collection-action[b-gwjfy8w132] {
    flex-shrink: 0;
}

.action-disabled[b-gwjfy8w132] {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #28a745;
    font-size: 12px;
    font-weight: 500;
}

.action-disabled i[b-gwjfy8w132] {
    font-size: 13px;
}

/* Buttons */
.btn[b-gwjfy8w132] {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    white-space: nowrap;
    will-change: transform, box-shadow;
    transform: translateZ(0);
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.btn:active[b-gwjfy8w132] {
    transform: translateY(0) translateZ(0) scale(0.98);
}

.btn-add[b-gwjfy8w132] {
    background: linear-gradient(135deg, #102daf 0%, #7a95e7 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.25);
}

.btn-add:hover[b-gwjfy8w132] {
    transform: translateY(-2px) translateZ(0);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.btn-add:active[b-gwjfy8w132] {
    transform: translateY(0) translateZ(0) scale(0.98);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.25);
}

.btn-remove[b-gwjfy8w132] {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.25);
}

.btn-remove:hover[b-gwjfy8w132] {
    transform: translateY(-2px) translateZ(0);
    box-shadow: 0 6px 16px rgba(220, 53, 69, 0.4);
}

.btn-remove:active[b-gwjfy8w132] {
    transform: translateY(0) translateZ(0) scale(0.98);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.25);
}

.btn-remove:disabled[b-gwjfy8w132] {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.25);
}

.btn:disabled[b-gwjfy8w132] {
    cursor: not-allowed;
    transform: none;
    opacity: 0.7;
}

.btn-outline-primary[b-gwjfy8w132] {
    background: linear-gradient(135deg, #102daf 0%, #7a95e7 100%);
    color: white;
    border: none;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.25);
}

.btn-outline-primary:hover[b-gwjfy8w132] {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.35);
}

.btn-primary[b-gwjfy8w132] {
    background: linear-gradient(135deg, #102daf 0%, #7a95e7 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.25);
}

.btn-primary:hover[b-gwjfy8w132] {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.35);
}

.btn-secondary[b-gwjfy8w132] {
    background: linear-gradient(135deg, #102daf 0%, #7a95e7 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.25);
}

.btn-secondary:hover[b-gwjfy8w132] {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.35);
}

.btn-closes[b-gwjfy8w132] {

    padding: 10px 20px;
    font-size: 14px;
    max-height: 47px;
}

/* Create Collection Section */
.create-collection-section[b-gwjfy8w132] {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    text-align: center;
    width: 100%; 
}

.btn-create-collection[b-gwjfy8w132] {
    padding: 12px 24px;
    font-size: 15px;
}

/* Create Collection Form */
.create-collection-form[b-gwjfy8w132] {
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    animation: slideDown-b-gwjfy8w132 0.3s ease-out;
}

.form-group[b-gwjfy8w132] {
    margin-bottom: 16px;
}

.form-group label[b-gwjfy8w132] {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 6px;
}

.form-input[b-gwjfy8w132], .form-textarea[b-gwjfy8w132] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 8px;
    font-size: 14px;
    background: white;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus[b-gwjfy8w132], .form-textarea:focus[b-gwjfy8w132] {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.form-textarea[b-gwjfy8w132] {
    min-height: 80px;
    resize: vertical;
    font-family: inherit;
}

.form-actions[b-gwjfy8w132] {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
}

.btn-confirm-create[b-gwjfy8w132] {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-cancel-create[b-gwjfy8w132] {
    padding: 10px 20px;
    font-size: 14px;
}

@keyframes slideDown-b-gwjfy8w132 {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Footer */
.modal-footer[b-gwjfy8w132] {
    display: flex;
    justify-content: flex-end;
    padding: 20px 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(248, 249, 250, 0.8);
    backdrop-filter: blur(10px);
}

/* Animations */
@keyframes fadeIn-b-gwjfy8w132 {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn-b-gwjfy8w132 {
    from { 
        opacity: 0;
        transform: translateY(-20px) scale(0.98) translateZ(0);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1) translateZ(0);
    }
}

@keyframes spin-b-gwjfy8w132 {
    0% { transform: rotate(0deg) translateZ(0); }
    100% { transform: rotate(360deg) translateZ(0); }
}

/* Performance optimizations */
.modal-backdrop[b-gwjfy8w132] {
    will-change: opacity;
}

.modal-header[b-gwjfy8w132], .modal-footer[b-gwjfy8w132] {
    will-change: transform;
    transform: translateZ(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal-content[b-gwjfy8w132] {
        width: 95%;
        margin: 10px;
        max-height: 95vh;
        border-radius: 16px;
    }

    .modal-header[b-gwjfy8w132] {
        padding: 16px 20px 12px;
        border-radius: 16px 16px 0 0;
    }

    .modal-title[b-gwjfy8w132] {
        font-size: 18px;
    }

    .modal-title i[b-gwjfy8w132] {
        font-size: 20px;
    }

    .modal-close-btn[b-gwjfy8w132] {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .modal-body[b-gwjfy8w132] {
        padding: 16px 20px;
        max-height: 70vh;
    }

    .modal-footer[b-gwjfy8w132] {
        padding: 12px 20px;
    }

    .book-preview[b-gwjfy8w132] {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 16px;
        border-radius: 10px;
    }

    .book-cover[b-gwjfy8w132] {
        transform: none;
        margin: 0 auto;
    }

    .book-cover:hover[b-gwjfy8w132] {
        transform: scale(1.05);
    }

    .book-cover img[b-gwjfy8w132] {
        width: 70px;
        height: 105px;
        border-radius: 6px;
    }

    .book-title[b-gwjfy8w132] {
        font-size: 15px;
        margin: 0 0 6px 0;
    }

    .book-author[b-gwjfy8w132], .book-id[b-gwjfy8w132] {
        font-size: 12px;
        padding: 6px 12px;
        margin: 3px 0;
        justify-content: center;
    }

    .book-author i[b-gwjfy8w132], .book-id i[b-gwjfy8w132] {
        font-size: 12px;
    }

    .section-header h6[b-gwjfy8w132] {
        font-size: 15px;
        margin: 0 0 6px 0;
    }

    .section-subtitle[b-gwjfy8w132] {
        font-size: 13px;
    }

    .collection-item[b-gwjfy8w132] {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 14px;
        border-radius: 8px;
    }

    .collection-header[b-gwjfy8w132] {
        width: 100%;
        justify-content: space-between;
        align-items: flex-start;
    }

    .collection-name[b-gwjfy8w132] {
        font-size: 13px;
        flex: 1;
    }

    .book-exists-badge[b-gwjfy8w132] {
        font-size: 9px;
        padding: 1px 5px;
        flex-shrink: 0;
    }

    .collection-meta[b-gwjfy8w132] {
        width: 100%;
    }

    .book-count[b-gwjfy8w132] {
        font-size: 10px;
    }

    .collection-action[b-gwjfy8w132] {
        align-self: stretch;
        width: 100%;
    }

    .btn-add[b-gwjfy8w132], .btn-remove[b-gwjfy8w132] {
        width: 100%;
        justify-content: center;
        padding: 10px 14px;
        font-size: 13px;
        border-radius: 6px;
    }

    .collections-list[b-gwjfy8w132] {
        max-height: 220px;
        padding-right: 4px;
    }

    .create-collection-section[b-gwjfy8w132] {
        flex-direction: column;
        gap: 12px;
        margin-top: 16px;
        padding-top: 16px;
    }

    .btn-create-collection[b-gwjfy8w132], .btn-closes[b-gwjfy8w132] {
        width: 100%;
        padding: 12px 16px;
        font-size: 14px;
        justify-content: center;
    }

    .create-collection-form[b-gwjfy8w132] {
        padding: 16px;
        margin-bottom: 12px;
    }

    .form-group[b-gwjfy8w132] {
        margin-bottom: 12px;
    }

    .form-group label[b-gwjfy8w132] {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .form-input[b-gwjfy8w132], .form-textarea[b-gwjfy8w132] {
        padding: 8px 10px;
        font-size: 13px;
    }

    .form-textarea[b-gwjfy8w132] {
        min-height: 60px;
    }

    .form-actions[b-gwjfy8w132] {
        gap: 8px;
        margin-top: 16px;
    }

    .btn-confirm-create[b-gwjfy8w132], .btn-cancel-create[b-gwjfy8w132] {
        padding: 8px 16px;
        font-size: 13px;
    }

    /* Touch optimizations for mobile */
    .btn[b-gwjfy8w132] {
        min-height: 40px;
        touch-action: manipulation;
    }

    .collection-item[b-gwjfy8w132] {
        min-height: 55px;
        touch-action: manipulation;
    }

    /* Loading and empty states */
    .loading-collections[b-gwjfy8w132] {
        padding: 30px 16px;
    }

    .spinner[b-gwjfy8w132] {
        width: 32px;
        height: 32px;
        border-width: 2px;
    }

    .no-collections[b-gwjfy8w132] {
        padding: 30px 16px;
    }

    .empty-state i[b-gwjfy8w132] {
        font-size: 40px;
    }

    .empty-state h6[b-gwjfy8w132] {
        font-size: 15px;
    }

    .empty-state p[b-gwjfy8w132] {
        font-size: 13px;
        max-width: 280px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .modal-content[b-gwjfy8w132] {
        width: 98%;
        margin: 5px;
        max-height: 98vh;
    }

    .modal-header[b-gwjfy8w132] {
        padding: 14px 16px 10px;
    }

    .modal-title[b-gwjfy8w132] {
        font-size: 16px;
    }

    .modal-body[b-gwjfy8w132] {
        padding: 14px 16px;
        max-height: 75vh;
    }

    .modal-footer[b-gwjfy8w132] {
        padding: 10px 16px;
    }

    .book-preview[b-gwjfy8w132] {
        padding: 12px;
        gap: 12px;
    }

    .book-cover img[b-gwjfy8w132] {
        width: 60px;
        height: 90px;
    }

    .book-title[b-gwjfy8w132] {
        font-size: 14px;
    }

    .book-author[b-gwjfy8w132], .book-id[b-gwjfy8w132] {
        font-size: 11px;
        padding: 4px 8px;
    }

    .collection-item[b-gwjfy8w132] {
        padding: 10px 12px;
        gap: 8px;
    }

    .collection-name[b-gwjfy8w132] {
        font-size: 12px;
    }

    .btn-add[b-gwjfy8w132], .btn-remove[b-gwjfy8w132] {
        padding: 8px 12px;
        font-size: 12px;
    }

    .collections-list[b-gwjfy8w132] {
        max-height: 200px;
    }

    .btn-create-collection[b-gwjfy8w132], .btn-closes[b-gwjfy8w132] {
        padding: 10px 14px;
        font-size: 13px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .btn[b-gwjfy8w132], .collection-item[b-gwjfy8w132] {
        transform: translateZ(0);
    }
}
/* _content/BookwormsUI/Shared/LoginDisplay.razor.rz.scp.css */
/* Ensure dropdown anchors to the right edge and stays above all content */
.nav-item.dropdown[b-aj7uwneegx] {
    position: relative;
}

.nav-user-dropdown[b-aj7uwneegx] {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    z-index: 9999;
    background-color: #ffffff;
    color: #000000;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
    padding: 0.5rem 0;
    overflow: visible;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}

    /* Arrow pointing to the username */
    .nav-user-dropdown[b-aj7uwneegx]::before {
        content: "";
        position: absolute;
        top: -10px;
        right: 10px;
        border-width: 0 8px 10px 8px;
        border-style: solid;
        border-color: transparent transparent rgba(0, 0, 0, 0.15) transparent;
    }

    .nav-user-dropdown[b-aj7uwneegx]::after {
        content: "";
        position: absolute;
        top: -8px;
        right: 10px;
        border-width: 0 8px 8px 8px;
        border-style: solid;
        border-color: transparent transparent #ffffff transparent;
        transition: opacity 0.8s ease, visibility 0s linear 0.2s;
    }

    .nav-user-dropdown .dropdown-item[b-aj7uwneegx] {
        color: #000000;
    }

        .nav-user-dropdown .dropdown-item:hover[b-aj7uwneegx] {
            background-color: #f8f9fa;
            color: #000000;
        }

/* Reveal dropdown on hover without click and delay hide */
.nav-item.dropdown:hover .nav-user-dropdown[b-aj7uwneegx] {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}

/* Shortcut icon link near login */
.folder-link[b-aj7uwneegx] {
    display: flex;
    align-items: center;
    color: inherit;
}

.folder-link:hover[b-aj7uwneegx] {
    color: var(--primary-color);
}

.qr-code-link[b-aj7uwneegx] {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background-color: rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
    margin: 0 0.75rem 0 0;
    font-size: 1.5rem;
    line-height: 1;
    border-radius: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    padding: 0;
}

.qr-code-link:hover[b-aj7uwneegx],
.qr-code-link:focus[b-aj7uwneegx] {
    background-color: #ffffff;
    border-color: var(--primary-color);
}

@media (min-width: 992px) {
    .navbar-nav .qr-code-link[b-aj7uwneegx] {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
        font-size: 1.25rem;
        margin-right: 0.5rem;
    }
}
/* _content/BookwormsUI/Shared/MainLayout.razor.rz.scp.css */

.navbar#upper-nav[b-dcrp8frbje],
.navbar#lower-nav[b-dcrp8frbje] {
   /* box-shadow: 0px 5px 5px rgba(202, 202, 202, 0.5);*/
    border-bottom: rgb(77, 77, 77);
    padding-bottom: 1.25rem;
    background-color: var(--nav-bg-color);
}

.navbar#upper-nav[b-dcrp8frbje] {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1020;
    height: var(--upper-nav-height);
}

.navbar#lower-nav[b-dcrp8frbje] {
    position: fixed;
    top: var(--upper-nav-height);
    width: 100%;
    z-index: 1000;
    height: var(--lower-nav-height);
}

@media (max-width: 840px) {
    .navbar#lower-nav[b-dcrp8frbje] {
        padding-bottom: 1.6rem !important;
       
    }

}

.body-content[b-dcrp8frbje] {
    display: flex;
    flex-direction: column;
    /* min-height: 100vh; */
    width: 100%;
}

main[b-dcrp8frbje] {
    padding-top: calc(var(--upper-nav-height) + var(--lower-nav-height));
}

.borrow-link .qr-code-link[b-dcrp8frbje] {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.15);   
    flex-shrink: 0;
    margin-left: 0.75rem;
    font-size: 1.75rem;
    line-height: 1;
    border-radius: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    padding: 0;
    margin-top:10px
}

.borrow-link .qr-code-link:hover[b-dcrp8frbje],
.borrow-link .qr-code-link:focus[b-dcrp8frbje] {
    background-color: #ffffff;
    
}

#main-body[b-dcrp8frbje] {
    border-top: gray solid 2px;
}

/* footer */

.footer-content[b-dcrp8frbje] {
    text-align: justify;
    text-justify: inter-word;
    font-size: 0.9rem;
}

.footer-title[b-dcrp8frbje] {
    font-size: 1.3rem;
}

.footer-links-container[b-dcrp8frbje] {
    width: 50%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding-left: 3rem;
    font-size: 0.9rem;
}
.list-unstyled[b-dcrp8frbje] {
    font-size: 0.9rem;
}

@media (max-width: 945.98px) {
    .rm_mg[b-dcrp8frbje]{
        margin: -18px !important;
    }
    
}


/*@media (min-width: 641px) {
    .page {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
} */
/* _content/BookwormsUI/Shared/NavMenu.razor.rz.scp.css */
.navbar[b-vi7lbhz92f] {
    background-color: var(--nav-bg-color);
    padding-top: 1.1rem;
}

.navbar-collapse[b-vi7lbhz92f] {
    background-color: var(--nav-bg-color);
}

/* Desktop Navigation (Bootstrap) */
@media (min-width: 840px) {
    .navbar-nav .dropdown:hover > .dropdown-menu[b-vi7lbhz92f] {
        display: block;
        padding-top: 0;
    }

    .dropdown-submenu[b-vi7lbhz92f] {
        position: relative;
    }

        .dropdown-submenu > .dropdown-menu[b-vi7lbhz92f] {
            top: 0;
            left: 100%;
            margin-top: -6px;
            margin-left: -1px;
            border-radius: 0.25rem;
        }

    .navbar-nav .nav-item.dropdown:last-child .dropdown-submenu > .dropdown-menu[b-vi7lbhz92f] {
        left: auto;
        right: 100%;
        margin-left: 0;
        margin-right: -1px;
    }

    .dropdown-submenu:hover > .dropdown-menu[b-vi7lbhz92f] {
        display: block;
    }

    .dropdown-submenu:hover .submenu-arrow[b-vi7lbhz92f] {
        transform: rotate(90deg); /* Rotate to point down */
    }

    .dropdown-submenu > .dropdown-toggle[b-vi7lbhz92f]:after {
        display: block;
        content: " ";
        float: right;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-left-color: #cccccc;
        margin-top: 5px;
        margin-right: -10px;
    }

    .navbar-nav .nav-item.dropdown:last-child .dropdown-submenu > .dropdown-toggle[b-vi7lbhz92f]:after {
        float: left;
        border-width: 5px 5px 5px 0;
        border-left-color: transparent;
        border-right-color: #cccccc;
        margin-left: -10px;
        margin-right: 0;
    }

    .dropdown-toggle[b-vi7lbhz92f]::after {
        display: none !important;
    }

    .dropdown-menu[b-vi7lbhz92f] {
        margin: 0;
        padding: 0.5rem 0;
        border: 1px solid rgba(0,0,0,.15);
        box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
        z-index: 1000;
    }

    .dropdown-item[b-vi7lbhz92f] {
        font-family: Arial;
        font-size: 12px;
        padding: 0.5rem 1.5rem;
        transition: background-color 0.2s;
    }

        .dropdown-item:hover[b-vi7lbhz92f] {
            background-color: #f8f9fa;
        }

    li.dropdown-submenu[b-vi7lbhz92f] {
        display: flex;
    }

    i.bi.bi-chevron-right.submenu-arrow[b-vi7lbhz92f] {
        margin-right: 15px;
        display: flex;
        align-items: center;
    }
}
 
