@import '_content/Blazored.Modal/Blazored.Modal.bundle.scp.css';
@import '_content/Blazored.Toast/Blazored.Toast.bundle.scp.css';

/* _content/SmartLibraryUI/Components/AddToCollectionModal.razor.rz.scp.css */
.modal-backdrop[b-lgchkwuf3s] {
    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-lgchkwuf3s 0.3s ease-out;
    will-change: opacity;
}

/* Modal Content */
.modal-content[b-lgchkwuf3s] {
    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-lgchkwuf3s 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-lgchkwuf3s] {
    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;
    will-change: transform;
    transform: translateZ(0);
}

.modal-title[b-lgchkwuf3s] {
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

    .modal-title i[b-lgchkwuf3s] {
        font-size: 22px;
        opacity: 0.9;
    }

.modal-close-btn[b-lgchkwuf3s] {
    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-lgchkwuf3s] {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.1);
    }

/* Modal Body */
.modal-body[b-lgchkwuf3s] {
    padding: 24px 32px;
    max-height: 60vh;
    overflow: hidden;
}

/* Book Preview */
.book-preview[b-lgchkwuf3s] {
    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-lgchkwuf3s]::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-lgchkwuf3s] {
    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-lgchkwuf3s] {
        transform: perspective(1000px) rotateY(0deg) scale(1.02);
    }

    .book-cover img[b-lgchkwuf3s] {
        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-lgchkwuf3s] {
        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-lgchkwuf3s] {
    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-lgchkwuf3s] {
    opacity: 1;
}

.book-cover-overlay i[b-lgchkwuf3s] {
    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-lgchkwuf3s] {
    transform: scale(1);
}

.book-details[b-lgchkwuf3s] {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.book-title[b-lgchkwuf3s] {
    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-lgchkwuf3s]::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-lgchkwuf3s], .book-id[b-lgchkwuf3s] {
    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-lgchkwuf3s], .book-id:hover[b-lgchkwuf3s] {
        background: rgba(102, 126, 234, 0.1);
        transform: translateX(4px);
    }

    .book-author i[b-lgchkwuf3s], .book-id i[b-lgchkwuf3s] {
        color: #667eea;
        font-size: 14px;
        opacity: 0.8;
    }

/* Collections Section */
.collections-section[b-lgchkwuf3s] {
    margin-top: 24px;
}

.section-header[b-lgchkwuf3s] {
    margin-bottom: 20px;
}

    .section-header h6[b-lgchkwuf3s] {
        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-lgchkwuf3s] {
            color: #667eea;
        }

.section-subtitle[b-lgchkwuf3s] {
    font-size: 14px;
    color: #6c757d;
    display: block;
}

/* Loading State */
.loading-collections[b-lgchkwuf3s] {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.loading-spinner[b-lgchkwuf3s] {
    margin-bottom: 16px;
}

.spinner[b-lgchkwuf3s] {
    width: 40px;
    height: 40px;
    border: 3px solid #e9ecef;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin-b-lgchkwuf3s 0.8s linear infinite;
    margin: 0 auto;
    will-change: transform;
}

/* Empty State */
.no-collections[b-lgchkwuf3s] {
    text-align: center;
    padding: 40px 20px;
}

.empty-state[b-lgchkwuf3s] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

    .empty-state i[b-lgchkwuf3s] {
        font-size: 48px;
        color: #dee2e6;
        margin-bottom: 8px;
    }

    .empty-state h6[b-lgchkwuf3s] {
        font-size: 16px;
        font-weight: 600;
        color: #495057;
        margin: 0;
    }

    .empty-state p[b-lgchkwuf3s] {
        font-size: 14px;
        color: #6c757d;
        margin: 0;
        max-width: 300px;
        line-height: 1.5;
    }

/* Collections List */
.collections-list[b-lgchkwuf3s] {
    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-lgchkwuf3s]::-webkit-scrollbar {
        width: 8px;
    }

    .collections-list[b-lgchkwuf3s]::-webkit-scrollbar-track {
        background: rgba(241, 241, 241, 0.5);
        border-radius: 4px;
        margin: 4px 0;
    }

    .collections-list[b-lgchkwuf3s]::-webkit-scrollbar-thumb {
        background: rgba(193, 193, 193, 0.8);
        border-radius: 4px;
        transition: background 0.2s ease;
    }

        .collections-list[b-lgchkwuf3s]::-webkit-scrollbar-thumb:hover {
            background: rgba(168, 168, 168, 0.9);
        }

        .collections-list[b-lgchkwuf3s]::-webkit-scrollbar-thumb:active {
            background: rgba(120, 120, 120, 1);
        }

.collection-item[b-lgchkwuf3s] {
    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-lgchkwuf3s] {
        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-lgchkwuf3s] {
        background: linear-gradient(135deg, #f0f9f4 0%, #e8f5e8 100%);
        border-color: #28a745;
        cursor: default;
    }

        .collection-item.book-exists:hover[b-lgchkwuf3s] {
            transform: none;
            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
        }

.collection-info[b-lgchkwuf3s] {
    flex: 1;
}

.collection-header[b-lgchkwuf3s] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.collection-name[b-lgchkwuf3s] {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.book-exists-badge[b-lgchkwuf3s] {
    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-lgchkwuf3s] {
        font-size: 10px;
    }

.collection-meta[b-lgchkwuf3s] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.book-count[b-lgchkwuf3s] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #6c757d;
}

    .book-count i[b-lgchkwuf3s] {
        color: #667eea;
        font-size: 12px;
    }

.collection-action[b-lgchkwuf3s] {
    flex-shrink: 0;
}

/* Buttons */
.btn[b-lgchkwuf3s] {
    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-lgchkwuf3s] {
        transform: translateY(0) translateZ(0) scale(0.98);
    }

.btn-add[b-lgchkwuf3s] {
    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-lgchkwuf3s] {
        transform: translateY(-2px) translateZ(0);
        box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
    }

    .btn-add:active[b-lgchkwuf3s] {
        transform: translateY(0) translateZ(0) scale(0.98);
        box-shadow: 0 2px 8px rgba(102, 126, 234, 0.25);
    }

.btn-remove[b-lgchkwuf3s] {
    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-lgchkwuf3s] {
        transform: translateY(-2px) translateZ(0);
        box-shadow: 0 6px 16px rgba(220, 53, 69, 0.4);
    }

    .btn-remove:active[b-lgchkwuf3s] {
        transform: translateY(0) translateZ(0) scale(0.98);
        box-shadow: 0 2px 8px rgba(220, 53, 69, 0.25);
    }

    .btn-remove:disabled[b-lgchkwuf3s] {
        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-lgchkwuf3s] {
    cursor: not-allowed;
    transform: none;
    opacity: 0.7;
}

.btn-outline-primary[b-lgchkwuf3s] {
    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-lgchkwuf3s] {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.35);
    }

.btn-primary[b-lgchkwuf3s] {
    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-lgchkwuf3s] {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.35);
    }

.btn-secondary[b-lgchkwuf3s] {
    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-lgchkwuf3s] {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.35);
    }

.btn-closes[b-lgchkwuf3s] {
    padding: 10px 20px;
    font-size: 14px;
    max-height: 47px;
}

/* Create Collection Section */
.create-collection-section[b-lgchkwuf3s] {
    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-lgchkwuf3s] {
    padding: 12px 24px;
    font-size: 15px;
}

/* Create Collection Form */
.create-collection-form[b-lgchkwuf3s] {
    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-lgchkwuf3s 0.3s ease-out;
}

.form-group[b-lgchkwuf3s] {
    margin-bottom: 16px;
}

    .form-group label[b-lgchkwuf3s] {
        display: block;
        font-size: 14px;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 6px;
    }

.form-input[b-lgchkwuf3s], .form-textarea[b-lgchkwuf3s] {
    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-lgchkwuf3s], .form-textarea:focus[b-lgchkwuf3s] {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        transform: translateY(-1px);
    }

.form-textarea[b-lgchkwuf3s] {
    min-height: 80px;
    resize: vertical;
    font-family: inherit;
}

.form-actions[b-lgchkwuf3s] {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
}

.btn-confirm-create[b-lgchkwuf3s] {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-cancel-create[b-lgchkwuf3s] {
    padding: 10px 20px;
    font-size: 14px;
}

/* Modal Footer */
.modal-footer[b-lgchkwuf3s] {
    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);
    will-change: transform;
    transform: translateZ(0);
}

/* Animations */
@keyframes fadeIn-b-lgchkwuf3s {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn-b-lgchkwuf3s {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.98) translateZ(0);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1) translateZ(0);
    }
}

@keyframes slideDown-b-lgchkwuf3s {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin-b-lgchkwuf3s {
    0% {
        transform: rotate(0deg) translateZ(0);
    }

    100% {
        transform: rotate(360deg) translateZ(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal-content[b-lgchkwuf3s] {
        width: 95%;
        margin: 10px;
        max-height: 95vh;
        border-radius: 16px;
    }

    .modal-header[b-lgchkwuf3s] {
        padding: 16px 20px 12px;
        border-radius: 16px 16px 0 0;
    }

    .modal-title[b-lgchkwuf3s] {
        font-size: 18px;
    }

        .modal-title i[b-lgchkwuf3s] {
            font-size: 20px;
        }

    .modal-close-btn[b-lgchkwuf3s] {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .modal-body[b-lgchkwuf3s] {
        padding: 16px 20px;
        max-height: 70vh;
    }

    .book-preview[b-lgchkwuf3s] {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .book-cover[b-lgchkwuf3s] {
        transform: none;
    }

        .book-cover img[b-lgchkwuf3s] {
            width: 120px;
            height: 160px;
        }

    .create-collection-section[b-lgchkwuf3s] {
        flex-direction: column;
        gap: 12px;
    }

    .create-collection-form[b-lgchkwuf3s] {
        padding: 16px;
    }
}

/* _content/SmartLibraryUI/Components/Admin/HeroContentManager.razor.rz.scp.css */
.hero-content-manager .metric-order-col[b-8l4x5l494s] {
    width: 70px;
}

.hero-content-manager .metric-icon-col[b-8l4x5l494s] {
    width: 110px;
    min-width: 110px;
}

.hero-content-manager .metric-title-col[b-8l4x5l494s] {
    min-width: 300px;
    width: 30%;
}

.hero-content-manager .metric-description-col[b-8l4x5l494s] {
    min-width: 340px;
    width: 34%;
}

.hero-content-manager .metric-link-label-col[b-8l4x5l494s] {
    min-width: 170px;
    width: 16%;
}

.hero-content-manager .metric-link-url-col[b-8l4x5l494s] {
    min-width: 220px;
}

.hero-content-manager .metric-accent-col[b-8l4x5l494s],
.hero-content-manager .metric-background-col[b-8l4x5l494s],
.hero-content-manager .metric-text-col[b-8l4x5l494s] {
    min-width: 120px;
    width: 130px;
}

.hero-content-manager .metric-status-col[b-8l4x5l494s] {
    width: 120px;
    min-width: 120px;
}

.hero-content-manager .metric-actions-col[b-8l4x5l494s] {
    width: 170px;
    min-width: 170px;
}

.hero-content-manager .metric-color-picker[b-8l4x5l494s] {
    min-width: 48px;
    width: 3rem;
    padding: 0.2rem;
    height: 2.25rem;
}

.hero-content-manager .card-title-col[b-8l4x5l494s] {
    min-width: 260px;
    width: 32%;
}

.hero-content-manager .card-description-col[b-8l4x5l494s] {
    min-width: 320px;
    width: 36%;
}

.hero-content-manager .hero-toolbar[b-8l4x5l494s] {
    flex-wrap: wrap;
}

.hero-content-manager .hero-toolbar span[b-8l4x5l494s] {
    font-size: 0.875rem;
}

.hero-content-manager .hero-metrics-table[b-8l4x5l494s],
.hero-content-manager .hero-cards-table[b-8l4x5l494s] {
    overflow-x: auto;
}

.hero-content-manager .hero-metrics-table table[b-8l4x5l494s] {
    min-width: 1100px;
}

.hero-content-manager .hero-cards-table table[b-8l4x5l494s] {
    min-width: 1100px;
}
/* _content/SmartLibraryUI/Components/AlertModal.razor.rz.scp.css */
.alert-notice-container[b-h2sftyga9d] {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    font-family: var(--bb-font-family, "Roboto", "Helvetica", "Arial", sans-serif);
}

.alert-notice-overlay[b-h2sftyga9d] {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
}

.alert-notice-modal[b-h2sftyga9d] {
    position: relative;
    background: var(--bb-surface, #fff);
    color: var(--bb-on-surface, #1f2937);
    border-radius: 20px;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.25);
    max-width: min(90vw, 420px);
    width: 100%;
    padding: 32px 28px;
    transform: translateY(0);
    transition: transform 200ms ease, opacity 200ms ease;
    opacity: 1;
}

.alert-notice-content[b-h2sftyga9d] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.alert-notice-icon[b-h2sftyga9d] {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    color: #d97706;
    background: rgba(251, 191, 36, 0.15);
}

.alert-notice-heading[b-h2sftyga9d] {
    font-size: 1.35rem;
    font-weight: 600;
    margin: 0;
    color: inherit;
}

.alert-notice-message[b-h2sftyga9d] {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(31, 41, 55, 0.85);
}

.alert-notice-action[b-h2sftyga9d] {
    padding: 10px 24px;
    border-radius: 999px;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    transition: transform 150ms ease, box-shadow 150ms ease;
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.35);
}

.alert-notice-action:hover[b-h2sftyga9d],
.alert-notice-action:focus[b-h2sftyga9d] {
    outline: none;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(217, 119, 6, 0.45);
}

.alert-notice-action:active[b-h2sftyga9d] {
    transform: translateY(0);
    box-shadow: 0 6px 16px rgba(217, 119, 6, 0.4);
}

.close-modal[b-h2sftyga9d] {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: rgba(31, 41, 55, 0.6);
    font-size: 1.35rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.close-modal:hover[b-h2sftyga9d],
.close-modal:focus[b-h2sftyga9d] {
    outline: none;
    background: rgba(251, 191, 36, 0.18);
    color: rgba(217, 119, 6, 0.95);
    transform: rotate(90deg);
}

@media (max-width: 480px) {
    .alert-notice-modal[b-h2sftyga9d] {
        margin: 0 16px;
        padding: 28px 24px;
    }

    .alert-notice-heading[b-h2sftyga9d] {
        font-size: 1.2rem;
    }

    .alert-notice-message[b-h2sftyga9d] {
        font-size: 0.95rem;
    }
}

:host-context(.dark-mode) .alert-notice-modal[b-h2sftyga9d] {
    background: #111827;
    color: #f9fafb;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
}

:host-context(.dark-mode) .alert-notice-message[b-h2sftyga9d] {
    color: rgba(249, 250, 251, 0.8);
}

:host-context(.dark-mode) .close-modal[b-h2sftyga9d] {
    color: rgba(249, 250, 251, 0.6);
}

:host-context(.dark-mode) .close-modal:hover[b-h2sftyga9d],
:host-context(.dark-mode) .close-modal:focus[b-h2sftyga9d] {
    background: rgba(251, 191, 36, 0.25);
    color: #fcd34d;
}

:host-context(.dark-mode) .alert-notice-action[b-h2sftyga9d] {
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.35);
}
/* _content/SmartLibraryUI/Components/AuthorOfMonthSection.razor.rz.scp.css */
.author-month-section[b-wnxzq733i5] {
    padding: clamp(1rem, 1vw, 4.5rem) 0;
    background-color: #ffffff;
}

.author-month-section .home-section-card[b-wnxzq733i5] {
    padding: clamp(1rem, 3.5vw, 1rem);
    border-radius: 20px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
   /* */box-shadow: 0 18px 45px -32px rgba(15, 23, 42, 0.35);
}

.author-month-section .section-header[b-wnxzq733i5] {
    display: flex;
    gap: clamp(1rem, 2vw, 1.5rem);
    align-items: flex-start;
}

.author-month-section .section-link[b-wnxzq733i5] {
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s ease;
}

.author-month-section .section-link:hover[b-wnxzq733i5],
.author-month-section .section-link:focus[b-wnxzq733i5] {
    color: #1e3a8a;
}

.author-month-section .section-eyebrow[b-wnxzq733i5] {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.author-month-section .section-title[b-wnxzq733i5] {
    font-weight: 700;
    font-size: 1.85rem;
    color: #0b1a45;
}

.author-month-card[b-wnxzq733i5] {
    padding: clamp(2rem, 3.5vw, 3rem);
    border-radius: 20px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
}

.author-month-media[b-wnxzq733i5] {
    position: relative;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: clamp(0.5rem, 3vw, 2.5rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    background-color: #f8fafc;
}

@media (min-width: 768px) and (max-width: 991.98px) {

    .author-portrait[b-wnxzq733i5] {
        padding-top: 88% !important;
    }
    
}

@media (min-width: 546px) and (max-width: 767.98px) {

    .author-portrait[b-wnxzq733i5] {
        padding-top: 118% !important;
    }
    
}

.author-portrait[b-wnxzq733i5] {
    position: relative;
    max-width: 300px; /* Giữ nguyên hoặc tăng lên 300px nếu muốn hình lớn hơn tổng thể */
    width: 100%;
    padding-top: 150%; /* Tăng chiều cao: 120% = cao hơn rộng 20%. Thử 130% hoặc 140% nếu muốn cao hơn nữa */
    overflow: hidden; /* Thêm để tránh tràn */
    border-radius: 16px; /* Di chuyển từ img sang container nếu cần */
}



.author-portrait img[b-wnxzq733i5] {
    position: absolute; /* Thêm để lấp đầy container */
    top: 0;
    left: 0;
    width: 100%;
    /* height: 100%; Thêm để cover toàn bộ */
    object-fit: cover; /* Giữ để crop mà không méo */
    border-radius: 16px; /* Nếu muốn bo góc */
}
.author-label[b-wnxzq733i5] {
    margin-top: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(15, 118, 110, 0.8);
    text-align: center;
}

.author-month-content[b-wnxzq733i5] {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.author-intro[b-wnxzq733i5] {
    font-weight: 600;
    color: rgba(13, 148, 136, 0.75);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 0;
}

.author-name[b-wnxzq733i5] {
    font-size: clamp(2.1rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.35rem;
    letter-spacing: -0.015em;
}

.author-summary[b-wnxzq733i5] {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(15, 23, 42, 0.72);
    margin-bottom: 0;
}

.author-quote[b-wnxzq733i5] {
    font-size: 1.05rem;
    font-style: italic;
    color: rgba(15, 118, 110, 0.85);
    border-left: 4px solid rgba(56, 189, 248, 0.3);
    padding-left: 1rem;
    margin: 0;
}

.author-actions .btn[b-wnxzq733i5] {
    padding: 0.85rem 2rem;
    font-weight: 600;
    border-radius: 12px;
}

.author-books[b-wnxzq733i5] {
    margin-top: 1.75rem;
}

.author-books .books-heading[b-wnxzq733i5] {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(15, 118, 110, 0.75);
    margin-bottom: 1rem;
}

.author-books-grid[b-wnxzq733i5] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.author-books .book-item[b-wnxzq733i5] {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background-color: #ffffff;
    overflow: hidden;
}

.author-books .book-link[b-wnxzq733i5] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    height: 100%;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.author-books .book-link:hover[b-wnxzq733i5],
.author-books .book-link:focus[b-wnxzq733i5] {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -18px rgba(15, 23, 42, 0.45);
}

.author-books .book-cover[b-wnxzq733i5] {
    width: 100%;
    padding-top: 140%;
    border-radius: 10px;
    overflow: hidden;
    background-color: #f8fafc;
    position: relative;
}

.author-books .book-cover img[b-wnxzq733i5] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-books .book-info[b-wnxzq733i5] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.author-books .book-title[b-wnxzq733i5] {
    font-weight: 600;
    color: #0f172a;
    transition: color 0.2s ease;
}

.author-books .book-link:hover .book-title[b-wnxzq733i5],
.author-books .book-link:focus .book-title[b-wnxzq733i5] {
    color: #1e3a8a;
}

.author-month-placeholder[b-wnxzq733i5] {
    min-height: 360px;
    border-radius: 20px;
    background: linear-gradient(110deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: author-month-placeholder-pulse-b-wnxzq733i5 1.6s ease-in-out infinite;
}

@keyframes author-month-placeholder-pulse-b-wnxzq733i5 {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@media (min-width: 768px) {
    .author-books-grid[b-wnxzq733i5] {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .author-month-card[b-wnxzq733i5] {
        padding: 2.35rem;
    }

    .author-month-media[b-wnxzq733i5] {
        padding: 1.85rem;
    }
}

@media (max-width: 767.98px) {
    .author-month-card[b-wnxzq733i5] {
        padding: 1rem;
    }

    .author-month-media[b-wnxzq733i5] {
        padding: 1.6rem;
    }

    .author-month-content[b-wnxzq733i5] {
        gap: 1rem;
    }

    .author-books .book-link[b-wnxzq733i5] {
        padding: 0.95rem;
    }
}
/* _content/SmartLibraryUI/Components/Auth/Login.razor.rz.scp.css */
.login-page[b-zdxkxcbr69] {
    min-height: 80vh;
    background: #fff;
    display: flex;
    align-items: center;
}

.login-wrapper[b-zdxkxcbr69] {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.info-panel[b-zdxkxcbr69] {
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.92), rgba(30, 64, 175, 0.85));
    color: #e2e8f0;
    padding: 4rem 2rem;
}

.info-content[b-zdxkxcbr69] {
    max-width: 20rem;
}

.brand-mark[b-zdxkxcbr69] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 0;
    font-size: 1.4rem;
}

.info-panel ul i[b-zdxkxcbr69] {
    font-size: 1.25rem;
}

.login-form-section[b-zdxkxcbr69] {
    background: #ffffff;
}

.section-tag[b-zdxkxcbr69] {
    font-size: 0.9rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #2563eb;
}

.login-form .form-label[b-zdxkxcbr69] {
    font-weight: 600;
    color: #111827;
}

.login-form .input-group.has-icon .input-group-text[b-zdxkxcbr69] {
    border-radius: 0;
    border-right: 0;
    background-color: #f8fafc;
    color: #1d4ed8;
    font-size: 1.1rem;
}

.login-form .input-group.has-icon .form-control[b-zdxkxcbr69] {
    border-left: 0;
}

.login-form .form-control[b-zdxkxcbr69],
.login-form .input-group-text[b-zdxkxcbr69],
.login-form .toggle-password[b-zdxkxcbr69],
.login-form .btn[b-zdxkxcbr69] {
    border-radius: 0;
}

.login-form .form-control[b-zdxkxcbr69] {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.login-form .form-control:focus[b-zdxkxcbr69] {
    border-color: #2563eb;
    box-shadow: none;
}

.password-group .toggle-password[b-zdxkxcbr69] {
    border-left: 0;
}

.password-group .toggle-password:focus[b-zdxkxcbr69] {
    box-shadow: none;
}

.login-form a[b-zdxkxcbr69] {
    color: #2563eb;
}

.login-form a:hover[b-zdxkxcbr69] {
    color: #1e3a8a;
}

@media (max-width: 991.98px) {
    .info-panel[b-zdxkxcbr69] {
        padding: 3rem 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .login-form-section[b-zdxkxcbr69] {
        padding: 3rem 2.5rem !important;
    }
}

@media (max-width: 575.98px) {
    .login-page[b-zdxkxcbr69] {
        padding: 2rem 0;
    }

    .login-form-section[b-zdxkxcbr69] {
        padding: 2.5rem 1.75rem !important;
    }

    .login-form .input-group.has-icon .input-group-text[b-zdxkxcbr69] {
        display: none;
    }

    .login-form .input-group.has-icon .form-control[b-zdxkxcbr69] {
        border-left: 1px solid #ced4da;
    }

    .password-group .toggle-password[b-zdxkxcbr69] {
        border-left: 1px solid #ced4da;
    }
}
/* _content/SmartLibraryUI/Components/BorrowedBookItem.razor.rz.scp.css */
/* ============ Base Card ============ */
.borrowed-book-item[b-a7dzda5vx1] {
    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-a7dzda5vx1] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
    border-color: #d7dae2;
}

/* ============ Book Info ============ */
.book-info[b-a7dzda5vx1] {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    min-width: 0;
}
.book-code[b-a7dzda5vx1] {
    font-size: 12px;   
    color: #5a48ff;
    background: #f3f2ff;
    padding: 3px 8px;
    border-radius: 6px;
    width: max-content;
}
.book-title .book-link[b-a7dzda5vx1] {
    font-size: 16px;   
    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-a7dzda5vx1] { color: #5a48ff; text-decoration: underline; }
.book-meta[b-a7dzda5vx1] {
    font-size: 14px;
    color: #555;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.book-request-info[b-a7dzda5vx1] {
    display: flex;
    gap: 14px;
    align-items: center;
    font-size: 13px;
    color: #666;
}
.request-date[b-a7dzda5vx1] { white-space: nowrap; }

/* ============ Badges (status) ============ */
.book-status[b-a7dzda5vx1] {
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: #fff7e6;
    color: #b35c00;
}
.book-status--confirmed[b-a7dzda5vx1] {
    background: #e6fffb;
    color: #006d75;
    border-color: #b5f5ec;
}
.book-status--declined[b-a7dzda5vx1] {
    background: #fff1f0;
    color: #a8071a;
    border-color: #ffccc7;
}

/* ============ Actions ============ */
.actions[b-a7dzda5vx1] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Button reset + focus ring */
.actions button[b-a7dzda5vx1],
.remove-button[b-a7dzda5vx1] {
    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-a7dzda5vx1],
.remove-button:focus-visible[b-a7dzda5vx1] {
    box-shadow: 0 0 0 3px rgba(90,72,255,.18), 0 1px 2px rgba(0,0,0,.05);
}

/* Specific buttons */
.confirm-button[b-a7dzda5vx1] {
    background: #e6fffb;
    color: #006d75;
    border: 1px solid #b5f5ec;
}
.confirm-button:hover[b-a7dzda5vx1] { background: #ccfbf5; }
.confirm-button:active[b-a7dzda5vx1] { transform: translateY(1px); }

.decline-button[b-a7dzda5vx1] {
    background: #fff1f0;
    color: #a8071a;
    border: 1px solid #ffccc7;
}
.decline-button:hover[b-a7dzda5vx1] { background: #ffe2e0; }
.decline-button:active[b-a7dzda5vx1] { transform: translateY(1px); }

.unconfirm-button[b-a7dzda5vx1] {
    background: #f0f5ff;
    color: #2f54eb;
    border: 1px solid #d6e4ff;
}
.unconfirm-button:hover[b-a7dzda5vx1] { background: #e6eeff; }
.unconfirm-button:active[b-a7dzda5vx1] { transform: translateY(1px); }

/* Remove icon-only button (for non-admin) */
.remove-button[b-a7dzda5vx1] {
    background: #fff5f5;
    color: #d63031;
    padding: 8px;
    border-radius: 999px;
    border: 1px solid #ffd6d6;
}
.remove-button:hover[b-a7dzda5vx1] { background: #ffecec; transform: scale(1.05); }

/* Disabled state */
.actions button:disabled[b-a7dzda5vx1],
.remove-button:disabled[b-a7dzda5vx1] {
    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-a7dzda5vx1] { padding: 12px 14px; gap: 12px; }
.borrowed-book-item.compact .book-title .book-link[b-a7dzda5vx1] { font-size: 15px; }
.borrowed-book-item.compact .actions button[b-a7dzda5vx1] { padding: 8px 12px; border-radius: 8px; }

/* ============ Responsive ============ */
/* ============ Responsive ============ */
@media (max-width: 720px) {
    .borrowed-book-item[b-a7dzda5vx1] {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .actions[b-a7dzda5vx1] {
        justify-content: flex-end;
    }

    .book-title .book-link[b-a7dzda5vx1] {
        max-width: 100%;
    }
}

/* --- BẮT ĐẦU SỬA Ở ĐÂY --- */

@media (max-width: 420px) {
    .actions[b-a7dzda5vx1] {
        gap: 8px;
        /* Thêm dòng này để ép các nút luôn nằm trên 1 hàng */
        flex-wrap: nowrap;
    }

        .actions button[b-a7dzda5vx1] {
            /* Quy tắc này giờ sẽ hoạt động đúng,
           chia đều không gian cho các nút mà không làm vỡ layout */
            flex: 1 1 auto;
            text-align: center;
        }

    .book-meta[b-a7dzda5vx1] {
        font-size: 13px;
    }
}

/* ============ Auto Dark Mode ============ */
@media (prefers-color-scheme: dark) {
    .borrowed-book-item[b-a7dzda5vx1] {
        background: #111418;
        border-color: #1e232b;
        box-shadow: 0 2px 10px rgba(0,0,0,.45);
    }
    .borrowed-book-item:hover[b-a7dzda5vx1] {
        border-color: #2a313b;
        box-shadow: 0 10px 24px rgba(0,0,0,.6);
    }
    .book-code[b-a7dzda5vx1] { color: #b9b4ff; background: #1a1630; }
    .book-title .book-link[b-a7dzda5vx1] { color: #e6e6e6; }
    .book-title .book-link:hover[b-a7dzda5vx1] { color: #b9b4ff; }
    .book-meta[b-a7dzda5vx1] { color: #c9cdd4; }
    .book-request-info[b-a7dzda5vx1],
    .request-date[b-a7dzda5vx1] { color: #aeb4bf; }

    .book-status[b-a7dzda5vx1] { background: #2e2614; color: #ffcd7a; border-color: #3d2f14; }
    .book-status--confirmed[b-a7dzda5vx1] { background: #072926; color: #7ce1d6; border-color: #0f3b37; }
    .book-status--declined[b-a7dzda5vx1] { background: #2a1215; color: #ff8a99; border-color: #3a1a1e; }

    .confirm-button[b-a7dzda5vx1] { background: #0f2b28; color: #7ce1d6; border-color: #13403b; }
    .confirm-button:hover[b-a7dzda5vx1] { background: #133733; }
    .decline-button[b-a7dzda5vx1] { background: #2a1215; color: #ff8a99; border-color: #3a1a1e; }
    .decline-button:hover[b-a7dzda5vx1] { background: #35161a; }
    .unconfirm-button[b-a7dzda5vx1] { background: #111b3a; color: #8ea4ff; border-color: #1a2a59; }
    .unconfirm-button:hover[b-a7dzda5vx1] { background: #142046; }
    .remove-button[b-a7dzda5vx1] { background: #331416; color: #ff9aa0; border-color: #462026; }
    .remove-button:hover[b-a7dzda5vx1] { background: #3b181c; }
    
    .return-button.disabled[b-a7dzda5vx1] {
        background: #2a2a2a;
        color: #666;
        border-color: #404040;
    }
    
    .return-button.disabled:hover[b-a7dzda5vx1] {
        background: #2a2a2a;
    }
}

/* ============ Return Mode Styles ============ */
.borrowed-book-item.overdue[b-a7dzda5vx1] {
    border-color: #ff6b6b;
    background: #fff5f5;
}

.book-loan-info[b-a7dzda5vx1] {
    display: flex;
    gap: 14px;
    align-items: center;
    font-size: 13px;
    color: #666;
    flex-wrap: wrap;
}

.loan-start[b-a7dzda5vx1],
.loan-end[b-a7dzda5vx1],
.loan-days[b-a7dzda5vx1] {
    white-space: nowrap;
}

.loan-end.overdue[b-a7dzda5vx1] {
    color: #dc2626;
    font-weight: 600;
}

.overdue-warning[b-a7dzda5vx1] {
    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-a7dzda5vx1] {
    flex-shrink: 0;
}

.return-button[b-a7dzda5vx1] {
    background: #e6fffb;
    color: #006d75;
    border: 1px solid #b5f5ec;
    display: flex;
    align-items: center;
    gap: 6px;
}

.return-button:hover[b-a7dzda5vx1] {
    background: #ccfbf5;
}

.return-button:active[b-a7dzda5vx1] {
    transform: translateY(1px);
}

.return-button svg[b-a7dzda5vx1] {
    flex-shrink: 0;
}

.return-button.disabled[b-a7dzda5vx1] {
    background: #f5f5f5;
    color: #999;
    border-color: #e0e0e0;
    cursor: not-allowed;
}

.return-button.disabled:hover[b-a7dzda5vx1] {
    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/SmartLibraryUI/Components/CitationModal.razor.rz.scp.css */
/* ===== Citation Modal – Clean & Professional ===== */
.citation-modal[b-2vf0pl3ybx] {
    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-2vf0pl3ybx {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
.citation-modal h6[b-2vf0pl3ybx] {
    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-2vf0pl3ybx] {
    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-2vf0pl3ybx],
    .citation-modal .close-modal:focus-visible[b-2vf0pl3ybx] {
        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-2vf0pl3ybx] {
    border-bottom: none;
    gap: .25rem;
}

    .citation-modal .nav-tabs .nav-link[b-2vf0pl3ybx] {
        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-2vf0pl3ybx] {
            color: var(--bs-body-color, #212529);
        }

        .citation-modal .nav-tabs .nav-link.active[b-2vf0pl3ybx] {
            color: var(--bs-body-color, #212529);
            background: rgba(0,0,0,.04);
        }

            .citation-modal .nav-tabs .nav-link.active[b-2vf0pl3ybx]::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-2vf0pl3ybx] {
    margin-top: 1rem;
}

/* Input group – căn đều và gọn */
.citation-modal .input-group.input-group-sm[b-2vf0pl3ybx] {
    align-items: stretch;
    gap: .5rem;
}

/* Textarea – mono, dễ copy, read-only look */
.citation-modal textarea[b-2vf0pl3ybx] {
    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-2vf0pl3ybx] {
        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-2vf0pl3ybx] {
    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-2vf0pl3ybx],
    .citation-modal .btn-copy:focus-visible[b-2vf0pl3ybx] {
        background: var(--bs-primary, #0d6efd);
        border-color: var(--bs-primary, #0d6efd);
        color: #fff;
        outline: none;
    }

/* Footer actions */
.citation-modal .actions[b-2vf0pl3ybx] {
    display: flex;
    justify-content: flex-end;
    gap: .5rem;
    margin-top: 1rem;
}

    .citation-modal .actions .btn[b-2vf0pl3ybx] {
        border-radius: .65rem;
        padding: .4rem .7rem;
    }

/* Focus visible – a11y */
.citation-modal :is(button, .nav-link):focus-visible[b-2vf0pl3ybx] {
    outline: 2px solid var(--bs-primary, #0d6efd);
    outline-offset: 2px;
}

/* Dark mode auto */
@media (prefers-color-scheme: dark) {
    .citation-modal[b-2vf0pl3ybx] {
        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-2vf0pl3ybx] {
            background: rgba(255,255,255,.06);
        }

        .citation-modal textarea[b-2vf0pl3ybx] {
            background: #1a1a1a;
            border-color: rgba(255,255,255,.08);
            color: #e9ecef;
        }

        .citation-modal .btn-copy[b-2vf0pl3ybx] {
            background: #1a1a1a;
            border-color: rgba(255,255,255,.1);
            color: #e9ecef;
        }

            .citation-modal .btn-copy:hover[b-2vf0pl3ybx],
            .citation-modal .btn-copy:focus-visible[b-2vf0pl3ybx] {
                background: var(--bs-primary, #0d6efd);
                color: #fff;
                border-color: var(--bs-primary, #0d6efd);
            }
}
/* _content/SmartLibraryUI/Components/CkEditor.razor.rz.scp.css */
.ckeditor-wrapper[b-6fvdbznywk] {
    position: relative;
}

.ckeditor-toolbar[b-6fvdbznywk] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.ckeditor-textarea[b-6fvdbznywk] {
    min-height: 200px;
}

/* CKEditor custom styles */
.cke_chrome[b-6fvdbznywk] {
    border: 1px solid #ced4da !important;
    border-radius: 0.375rem !important;
}

.cke_top[b-6fvdbznywk] {
    border-bottom: 1px solid #dee2e6 !important;
    background: #f8f9fa !important;
}

.cke_bottom[b-6fvdbznywk] {
    border-top: 1px solid #dee2e6 !important;
    background: #f8f9fa !important;
}
/* _content/SmartLibraryUI/Components/ConfirmAddress.razor.rz.scp.css */
.address-modal-message[b-qxd24oqybx] {
    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-qxd24oqybx] {
    font-size: 1.25rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 2rem 0
}

.address-modal-buttons[b-qxd24oqybx] {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem
}

.address-modal-buttons button[b-qxd24oqybx] {
    margin: 0.25rem;
}
/* _content/SmartLibraryUI/Components/ConfirmModal.razor.rz.scp.css */
.confirm-modal-message[b-ycuo7jb884] {
    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-ycuo7jb884] {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem
}

.confirm-modal-buttons button[b-ycuo7jb884] {
    margin: 0.5rem;
}
/* _content/SmartLibraryUI/Components/ExportAccessModal.razor.rz.scp.css */
/* ===== Export Access Modal - Centered like citation modal ===== */
.export-modal[b-7ax6tffz5f] {
    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-7ax6tffz5f] {
    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-7ax6tffz5f],
.export-modal .close-modal:focus-visible[b-7ax6tffz5f] {
    background: #dc3545;
    color: #fff;
    border-color: #dc3545;
    outline: none;
}

/* _content/SmartLibraryUI/Components/HomeNewsSpotlight.razor.rz.scp.css */
/* Styling moved to site-wide stylesheet (wwwroot/css/site.css) to share with legacy home layout */
/* _content/SmartLibraryUI/Components/HomeQuickAccessSection.razor.rz.scp.css */
/* Styling moved to site-wide stylesheet (wwwroot/css/site.css) to share with legacy home layout */
/* _content/SmartLibraryUI/Components/ImageManagerModal.razor.rz.scp.css */
.image-manager-overlay[b-1fhvsrqi5z] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.image-manager-modal[b-1fhvsrqi5z] {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 1200px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.image-manager-header[b-1fhvsrqi5z] {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.image-manager-header h5[b-1fhvsrqi5z] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.image-manager-body[b-1fhvsrqi5z] {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
}

.toolbar-top[b-1fhvsrqi5z] {
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.image-grid-container[b-1fhvsrqi5z] {
    height: 400px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    padding: 0.5rem;
    align-content: start;
    /* Optimize scrolling performance */
    contain: layout style paint;
    transform: translateZ(0);
    -webkit-overflow-scrolling: touch;
}

.image-item[b-1fhvsrqi5z] {
    position: relative;
    border: 2px solid #dee2e6;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #f8f9fa;
    aspect-ratio: 4/3;
}

.image-item:hover[b-1fhvsrqi5z] {
    border-color: #0d6efd;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.image-item.selected[b-1fhvsrqi5z] {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25);
}

.image-item img[b-1fhvsrqi5z] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #f0f0f0;
    /* Optimize image rendering */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    will-change: transform;
}

.image-overlay[b-1fhvsrqi5z] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.image-item:hover .image-overlay[b-1fhvsrqi5z] {
    opacity: 1;
}

.image-overlay .form-check-input[b-1fhvsrqi5z] {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 10;
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
}

.image-actions[b-1fhvsrqi5z] {
    display: flex;
    gap: 0.5rem;
}

.image-actions .btn[b-1fhvsrqi5z] {
    padding: 0.375rem;
    font-size: 0.875rem;
}

.image-info[b-1fhvsrqi5z] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 0.5rem;
    color: white;
    font-size: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.image-info small[b-1fhvsrqi5z] {
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.image-item.skeleton[b-1fhvsrqi5z] {
    background: #e0e0e0;
    border-radius: 0.5rem;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 2px solid #dee2e6;
}

.image-item.skeleton[b-1fhvsrqi5z]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer-b-1fhvsrqi5z 1.5s infinite;
}

@keyframes shimmer-b-1fhvsrqi5z {
    to {
        left: 100%;
    }
}

.image-manager-footer[b-1fhvsrqi5z] {
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    flex-shrink: 0;
    background: #f8f9fa;
}

/* Scrollbar styling */
.image-grid-container[b-1fhvsrqi5z]::-webkit-scrollbar {
    width: 8px;
}

.image-grid-container[b-1fhvsrqi5z]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.image-grid-container[b-1fhvsrqi5z]::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.image-grid-container[b-1fhvsrqi5z]::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.pagination-container[b-1fhvsrqi5z] {
    padding: 0.5rem 0;
    border-top: 1px solid #dee2e6;
}

.pagination-container .pagination[b-1fhvsrqi5z] {
    margin-bottom: 0;
}

.pagination-container .page-link[b-1fhvsrqi5z] {
    cursor: pointer;
    user-select: none;
}

.pagination-container .page-item.disabled .page-link[b-1fhvsrqi5z] {
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination-container .page-item.active .page-link[b-1fhvsrqi5z] {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .image-manager-modal[b-1fhvsrqi5z] {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .image-grid-container[b-1fhvsrqi5z] {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 0.75rem;
    }

    .toolbar-top[b-1fhvsrqi5z] {
        flex-direction: column;
        align-items: stretch !important;
    }

    .toolbar-top > *[b-1fhvsrqi5z] {
        width: 100%;
    }
    
    .pagination-container[b-1fhvsrqi5z] {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .pagination-container .pagination[b-1fhvsrqi5z] {
        flex-wrap: wrap;
    }
}
/* _content/SmartLibraryUI/Components/Paging/Paging.razor.rz.scp.css */
.paging-showing[b-zw50oa3hmg] {
    padding: .5rem .75rem;
}

.pagination-link[b-zw50oa3hmg] {
    color: #000 !important
}

.pagination-link:active[b-zw50oa3hmg] {
    color: #fff !important
}
/* _content/SmartLibraryUI/Components/PromoCarousel.razor.rz.scp.css */
.carousel-container-fluid[b-dodtrrr3qn] {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    max-width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0;
    overflow: hidden;
}

.carousel-img[b-dodtrrr3qn] {
    width: 100%;
    height: 100%; /* Adjust height as needed for your design */

}

.carousel-inner[b-dodtrrr3qn] {
    width: 100%;
}

#promo-carousel[b-dodtrrr3qn] {
    width: 100%;
}

/* Optional: Adjust carousel indicators and controls for better visibility */
.carousel-indicators[b-dodtrrr3qn] {
    bottom: 10px;
}

.carousel-control-prev[b-dodtrrr3qn],
.carousel-control-next[b-dodtrrr3qn] {
    width: 5%;
   
}

/* Ensure responsiveness for smaller screens */
@media (max-width: 768px) {
    .carousel-img[b-dodtrrr3qn] {
        /* height: 40vh; Smaller height for mobile devices */
    }
}
/* _content/SmartLibraryUI/Components/SearchBox.razor.rz.scp.css */
/* Home hero */
.home-hero[b-83zq5nomi7] {
    background: #fff7ff ;
    padding: clamp(3.5rem, 6vw, 1.5rem) 0 clamp(2.5rem, 4vw, 1rem);
    position: relative;
    overflow: hidden;
}

.home-hero[b-83zq5nomi7]::before,
.home-hero[b-83zq5nomi7]::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(0);
    z-index: 0;
}

.home-hero[b-83zq5nomi7]::before {
    width: 420px;
    height: 420px;
    top: -180px;
    right: -120px;
    /*background: radial-gradient(circle at center, rgba(255, 214, 102, 0.32) 0%, rgba(255, 214, 102, 0) 70%);*/
}

.home-hero[b-83zq5nomi7]::after {
    width: 360px;
    height: 360px;
    bottom: -160px;
    left: -120px;
    /*background: radial-gradient(circle at center, rgba(37, 99, 235, 0.18) 0%, rgba(37, 99, 235, 0) 70%);*/
}

.home-hero .container[b-83zq5nomi7] {
    position: relative;
    z-index: 1;
}

.hero-copy[b-83zq5nomi7] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 560px;
}

.hero-eyebrow[b-83zq5nomi7] {
    display: inline-block;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--primary-color);
}

.hero-title[b-83zq5nomi7] {
    font-size: clamp(2rem, 4vw, 2.1rem);
    font-weight: 700;
    line-height: 1.15;
    color: #0b1a45;
    margin: 0;
}

.hero-lede[b-83zq5nomi7] {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4c5a7a;
    margin: 0;
}

.hero-search-card[b-83zq5nomi7] {
    background: #f1ec1a;
    border: 1px solid rgba(214, 158, 46, 0.35);
    box-shadow: 0 26px 48px rgba(215, 158, 46, 0.18);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;

}


@media (max-width: 990.98px) and (min-width: 768px) {
    .hero-metrics.row.g-3[b-83zq5nomi7] {
        width: calc(100% + 149px);
    }
    .hero-search-card[b-83zq5nomi7]{
        width: calc(100% + 133px);
    }
    .hero-title[b-83zq5nomi7]{
        width: calc(100% + 134px);
    }
    
}


.home-search-group[b-83zq5nomi7] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
}

.home-search-input-container[b-83zq5nomi7] {
    position: relative;
    flex: 1;
    min-width: 0;
}

.home-search-input[b-83zq5nomi7] {
    width: 100%;
    border: 1px solid rgba(11, 26, 69, 0.16);
    padding: 0.95rem 3.25rem 0.95rem 1.1rem;
    border-radius: 14px;
    background-color: #ffffff;
    box-shadow: inset 0 1px 2px rgba(11, 26, 69, 0.05);
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-search-input:focus[b-83zq5nomi7] {
    outline: none;
    border-color: rgba(9, 49, 243, 0.45);
    box-shadow: 0 0 0 4px rgba(9, 49, 243, 0.12);
}

.home-search-group > .btn-primary[b-83zq5nomi7] {
    padding: 0.95rem 1.9rem;
    border-radius: 14px;
    border: none;
    font-weight: 600;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    height: 100%;
}

.home-search-input-container .search-clear-btn[b-83zq5nomi7] {
    position: absolute;
    top: 50%;
    right: 0.85rem;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.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-83zq5nomi7],
.home-search-input-container .search-clear-btn:focus-visible[b-83zq5nomi7] {
    background-color: rgba(100, 116, 139, 0.12);
    color: #0f172a;
    outline: none;
}

.suggest-list[b-83zq5nomi7] {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;
    z-index: 900;
    list-style: none;
    margin: 0;
    padding: 0.35rem 0;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
    border: 1px solid rgba(148, 163, 184, 0.25);
    overflow: hidden;
}

.suggest-list li[b-83zq5nomi7] {
    padding: 0.6rem 1.1rem;
    cursor: pointer;
    font-size: 0.98rem;
    color: #0f172a;
    transition: background-color 0.15s ease;
    text-align: left;
}

.suggest-list li strong[b-83zq5nomi7] {
    background-color: transparent;
    color: #1d4ed8;
    font-weight: 700;
}

.suggest-list li:hover[b-83zq5nomi7],
.suggest-list li.active[b-83zq5nomi7] {
    background-color: rgba(59, 130, 246, 0.12);
}

.hero-topics[b-83zq5nomi7] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.hero-topics-label[b-83zq5nomi7] {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(11, 26, 69, 0.75);
}

.hero-topics-list[b-83zq5nomi7] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero-topic[b-83zq5nomi7] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.75rem;
    background: rgba(9, 49, 243, 0.08);
    border-radius: 999px;
    color: #0b1a45;
    font-size: 0.85rem;
    font-weight: 600;
}

.topic-count[b-83zq5nomi7] {
    font-weight: 500;
    color: rgba(11, 26, 69, 0.7);
}

.hero-metric[b-83zq5nomi7] {
    --metric-accent: var(--primary-color);
    --metric-bg: rgba(11, 26, 69, 0.02);
    --metric-text: #0b1a45;
    display: flex;
    border-radius:14px;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1.05rem 1.2rem;   
    border: 1px solid rgba(11, 26, 69, 0.07);
    border-color: rgba(11, 26, 69, 0.07);
    border-color: color-mix(in srgb, var(--metric-text, #0b1a45) 12%, transparent);
    background: rgba(11, 26, 69, 0.02);
    background: var(--metric-bg, rgba(11, 26, 69, 0.02));
    box-shadow: 0 8px 18px rgba(11, 26, 69, 0.05);
    color: var(--metric-text, #0b1a45);
    height: 100%;
}

.metric-icon[b-83zq5nomi7] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.12);
    background: color-mix(in srgb, var(--metric-accent, #2563eb) 16%, transparent);
    color: var(--metric-accent, #2563eb);
    flex-shrink: 0;
    font-size: 1.25rem;
}

.hero-metric[style*="--metric-accent"] .metric-icon[b-83zq5nomi7] {
    background: color-mix(in srgb, var(--metric-accent, #2563eb) 16%, transparent);
    color: var(--metric-accent, #2563eb);
}

.metric-body[b-83zq5nomi7] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.metric-title[b-83zq5nomi7] {
    font-weight: 600;
    color: var(--metric-accent, var(--metric-text, #0b1a45));
}

.metric-text[b-83zq5nomi7] {
    font-size: 0.9rem;
    color: rgba(11, 26, 69, 0.68);
    color: color-mix(in srgb, var(--metric-text, #0b1a45) 72%, #ffffff);
}

.metric-link[b-83zq5nomi7] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--metric-accent, var(--metric-text, #0b1a45));
    text-decoration: none;
}

.metric-link:hover[b-83zq5nomi7],
.metric-link:focus-visible[b-83zq5nomi7] {
    text-decoration: underline;
}

.hero-showcase[b-83zq5nomi7] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-showcase-card[b-83zq5nomi7] {
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}


.hero-showcase-card.primary[b-83zq5nomi7] {
    background: linear-gradient(135deg, #0b1a45 0%, #204bff 100%);
    color: #ffffff;
    box-shadow: 0 30px 50px rgba(11, 26, 69, 0.25);
    position: relative;
    overflow: hidden;
}

.hero-showcase-card.primary:hover[b-83zq5nomi7],
.hero-showcase-card.primary:focus-visible[b-83zq5nomi7] {
    transform: translateY(-6px);
    box-shadow: 0 40px 60px rgba(11, 26, 69, 0.32);
}

.hero-showcase-card.primary .showcase-content[b-83zq5nomi7] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 100%;
}


.hero-showcase-card.primary.has-media[b-83zq5nomi7] {   
    grid-template-columns: minmax(0, 1fr) 230px;
    grid-template-areas: "content media";
    gap: 1.75rem;
    align-items: stretch;
}

.hero-showcase-card.primary.has-media .showcase-content[b-83zq5nomi7] {
    padding-right: 0;
    grid-area: content;
    align-self: stretch;
}

.hero-showcase-card.primary .showcase-media[b-83zq5nomi7] {
    grid-area: media;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 20px 40px rgba(8, 23, 66, 0.35);
    min-height: 220px;
    height: 100%;
    max-height: 320px;
    align-self: stretch;
}

.hero-showcase-card.primary .showcase-media img[b-83zq5nomi7] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-showcase-card.primary .showcase-content .showcase-link[b-83zq5nomi7] {
    margin-top: auto;
}

.hero-showcase-card.primary.placeholder[b-83zq5nomi7] {
    cursor: default;
    box-shadow: none;
    pointer-events: none;
}

.showcase-eyebrow[b-83zq5nomi7] {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.8;
}

.showcase-title[b-83zq5nomi7] {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
}

.showcase-subtitle[b-83zq5nomi7] {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0b1a45;
    margin: 0;
}

.showcase-text[b-83zq5nomi7] {
    font-size: 0.95rem;
    color: inherit;
    margin: 0;
    opacity: 0.9;
}

.showcase-link[b-83zq5nomi7] {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.95rem;
    color: inherit;
}

.hero-showcase-grid[b-83zq5nomi7] {
    display: grid;
    gap: 1rem;
}

.hero-showcase-card.secondary[b-83zq5nomi7] {
    background: var(--hero-card-bg, #ffffff);
    border: 1px solid rgba(11, 26, 69, 0.08);
    box-shadow: 0 16px 32px rgba(11, 26, 69, 0.1);
    color: var(--hero-card-text, #0b1a45);
}

.hero-showcase-card.secondary:hover[b-83zq5nomi7],
.hero-showcase-card.secondary:focus-visible[b-83zq5nomi7] {
    transform: translateY(-6px);
    box-shadow: 0 22px 38px rgba(11, 26, 69, 0.14);
}

@media (max-width: 1199.98px) {
    .hero-showcase-card.primary.has-media[b-83zq5nomi7] {
        grid-template-columns: minmax(0, 1fr) 200px;
        gap: 1.5rem;
    }

    .hero-showcase-card.primary .showcase-media[b-83zq5nomi7] {
        min-height: 200px;
    }
}

@media (max-width: 991.98px) {
    .hero-showcase-card.primary.has-media[b-83zq5nomi7] {
        grid-template-columns: 1fr;
        grid-template-areas:
            "media"
            "content";
    }

    .hero-showcase-card.primary .showcase-media[b-83zq5nomi7] {
        min-height: 240px;
        height: auto;
        max-height: none;
    }
}

@media (max-width: 575.98px) {
    .hero-showcase-card.primary[b-83zq5nomi7] {
        padding: 1.75rem;
    }

    .hero-showcase-card.primary .showcase-media[b-83zq5nomi7] {
        min-height: 200px;
        border-radius: 18px;
        height: auto;
        max-height: none;
    }

    .hero-showcase-card.primary .showcase-content[b-83zq5nomi7] {
        gap: 0.65rem;
    }
}

.showcase-icon[b-83zq5nomi7] {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(37, 99, 235, 0.12);
    color: var(--hero-card-icon-color, var(--primary-color));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.hero-showcase-card.secondary[style] .showcase-icon[b-83zq5nomi7] {
    background: rgba(255, 255, 255, 0.18);
    color: var(--hero-card-text, #0b1a45);
}

.hero-showcase-card.secondary .showcase-subtitle[b-83zq5nomi7] {
    color: inherit;
}

.home-section-header[b-83zq5nomi7] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 2.25rem;
}

.home-section-header .section-title[b-83zq5nomi7] {
    font-size: clamp(1.85rem, 3vw, 2.4rem);
    font-weight: 700;
    color: #0b1a45;
    margin: 0;
}

.home-section-header .section-description[b-83zq5nomi7] {
    max-width: 640px;
    color: #5b6785;
    font-size: 1rem;
}

.home-featured-collections[b-83zq5nomi7] {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.75) 0%, rgba(255, 255, 255, 0.95) 100%);
    padding: clamp(3rem, 5vw, 4rem) 0 clamp(2.5rem, 4vw, 3.5rem);
    position: relative;
}

.collection-grid[b-83zq5nomi7] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.featured-collection-card[b-83zq5nomi7] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.75rem;
    background: var(--collection-bg, #ffffff);
    border-radius: 24px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.08);
    color: #0b1a45;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    min-height: 100%;
}

.featured-collection-card[b-83zq5nomi7]::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.65) 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.featured-collection-card:hover[b-83zq5nomi7],
.featured-collection-card:focus-visible[b-83zq5nomi7] {
    transform: translateY(-8px);
    box-shadow: 0 28px 56px rgba(15, 23, 42, 0.12);
}

.featured-collection-card:hover[b-83zq5nomi7]::after,
.featured-collection-card:focus-visible[b-83zq5nomi7]::after {
    opacity: 1;
}

.collection-icon[b-83zq5nomi7] {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: color-mix(in srgb, var(--collection-accent, var(--primary-color)) 18%, #ffffff);
    color: var(--collection-accent, var(--primary-color));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.collection-title[b-83zq5nomi7] {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.collection-description[b-83zq5nomi7] {
    font-size: 0.95rem;
    color: #4c566a;
    margin: 0;
}

.collection-link[b-83zq5nomi7] {
    margin-top: auto;
    font-weight: 600;
    color: var(--collection-accent, var(--primary-color));
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.home-books-showcase[b-83zq5nomi7] {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: clamp(3rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3.5rem);
}

.home-books-header .section-description[b-83zq5nomi7] {
    margin-top: 0.75rem;
    color: #5b6785;
    max-width: 680px;
}

.home-book-tabs[b-83zq5nomi7] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 2rem 0 2.5rem;
}

.home-book-tab[b-83zq5nomi7] {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 1.3rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    background: rgba(15, 23, 42, 0.04);
    color: #0b1a45;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.home-book-tab .tab-icon[b-83zq5nomi7] {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background: color-mix(in srgb, var(--tab-accent, var(--primary-color)) 18%, #ffffff);
    color: var(--tab-accent, var(--primary-color));
}

.home-book-tab.active[b-83zq5nomi7] {
    background: color-mix(in srgb, var(--tab-accent, var(--primary-color)) 12%, rgba(255, 255, 255, 0.2));
    border-color: color-mix(in srgb, var(--tab-accent, var(--primary-color)) 32%, transparent);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
    color: #0b1a45;
}

.home-book-tab:hover[b-83zq5nomi7],
.home-book-tab:focus-visible[b-83zq5nomi7] {
    background: color-mix(in srgb, var(--tab-accent, var(--primary-color)) 10%, rgba(255, 255, 255, 0.6));
    color: #0b1a45;
}

.home-book-grid .library-book-card[b-83zq5nomi7] {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-book-grid .library-book-card:hover[b-83zq5nomi7],
.home-book-grid .library-book-card:focus-within[b-83zq5nomi7] {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.14);
}

.library-book-card .book-card-thumb[b-83zq5nomi7] {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.04), rgba(79, 70, 229, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem;
    overflow: hidden;
}

.library-book-card .book-card-thumb img[b-83zq5nomi7] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.14);
    background-color: #ffffff;
}

.library-book-card .book-card-body[b-83zq5nomi7] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem 1.6rem 1.25rem;
}

.library-book-card .book-card-category[b-83zq5nomi7] {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--book-accent, var(--primary-color));
}

.library-book-card .book-card-title[b-83zq5nomi7] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}

.library-book-card .book-card-title a[b-83zq5nomi7] {
    color: #0b1a45;
    text-decoration: none;
}

.library-book-card .book-card-title a:hover[b-83zq5nomi7],
.library-book-card .book-card-title a:focus-visible[b-83zq5nomi7] {
    text-decoration: underline;
}

.library-book-card .book-card-summary[b-83zq5nomi7] {
    font-size: 0.95rem;
    color: #4c566a;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    /* -webkit-line-clamp: 3; */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.library-book-card .book-card-footer[b-83zq5nomi7] {
    margin-top: auto;
    padding: 1rem 1.6rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.library-book-card .book-card-meta[b-83zq5nomi7] {
    font-size: 0.85rem;
    color: #5b6785;
}

.library-book-card .book-card-action[b-83zq5nomi7] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    color: var(--book-accent, var(--primary-color));
    text-decoration: none;
}

.library-book-card .book-card-action:hover[b-83zq5nomi7],
.library-book-card .book-card-action:focus-visible[b-83zq5nomi7] {
    text-decoration: underline;
}

.book-section-empty[b-83zq5nomi7] {
    padding: 3rem;
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.04);
    text-align: center;
    color: #5b6785;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
}

.book-section-empty i[b-83zq5nomi7] {
    font-size: 2.25rem;
    color: rgba(15, 23, 42, 0.35);
}

.library-book-card.skeleton[b-83zq5nomi7] {
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: none;
    padding: 1.25rem;
}

.library-book-card.skeleton .book-card-thumb[b-83zq5nomi7] {
    width: 100%;
    height: 180px;
    background: rgba(148, 163, 184, 0.25);
    border-radius: 18px;
}

.library-book-card.skeleton .book-card-body[b-83zq5nomi7] {
    padding: 1.25rem 0 0;
    gap: 0.65rem;
}

.skeleton-line[b-83zq5nomi7] {
    height: 12px;
    background: linear-gradient(90deg, rgba(226, 232, 240, 0.3) 0%, rgba(226, 232, 240, 0.8) 50%, rgba(226, 232, 240, 0.3) 100%);
    border-radius: 999px;
    animation: shimmer 1.1s ease-in-out infinite;
}

.skeleton-line.w-50[b-83zq5nomi7] {
    width: 50%;
}

.skeleton-line.w-75[b-83zq5nomi7] {
    width: 75%;
}

.skeleton-line.w-100[b-83zq5nomi7] {
    width: 100%;
}

.library-book-card.skeleton .skeleton-line:not(:last-child)[b-83zq5nomi7] {
    margin-bottom: 0.5rem;
}

.library-book-card.skeleton .skeleton-line:last-child[b-83zq5nomi7] {
    margin-bottom: 0;
}

@media (min-width: 992px) {
    .hero-showcase-grid[b-83zq5nomi7] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .hero-showcase[b-83zq5nomi7] {
        margin-top: 123px;
    }
}

@media (min-width: 992px) and (max-width: 1100px) {
    .hero-showcase[b-83zq5nomi7] {
        margin-top: 191px;
    }
}

@media (min-width: 1101px) and (max-width: 1199px) {
    .hero-showcase[b-83zq5nomi7] {
        margin-top: 191px;
    }
}

@media (max-width: 991.98px) {
    .home-hero[b-83zq5nomi7] {
        padding-bottom: 3rem;
    }

    .hero-showcase[b-83zq5nomi7] {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hero-showcase-card.primary[b-83zq5nomi7],
    .hero-showcase-grid[b-83zq5nomi7] {
        flex: 1 1 100%;
    }

    .hero-showcase-card.primary[b-83zq5nomi7] {
        min-height: 260px;
    }

    .collection-grid[b-83zq5nomi7] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-book-tabs[b-83zq5nomi7] {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        margin-bottom: 2rem;
    }

    .home-book-tab[b-83zq5nomi7] {
        white-space: nowrap;
    }
}

@media (max-width: 767.98px) {
    .hero-search-card[b-83zq5nomi7] {
        padding: 1.4rem;
    }

    .home-search-group[b-83zq5nomi7] {
        flex-direction: column;
        align-items: stretch;
    }

    .home-search-group > .btn-primary[b-83zq5nomi7] {
        width: 100%;
    }

    .home-search-input[b-83zq5nomi7] {
        padding-right: 3rem;
    }

    .hero-topics[b-83zq5nomi7] {
        align-items: flex-start;
    }

    .hero-topics-label[b-83zq5nomi7] {
        width: 100%;
    }

    .hero-topics-list[b-83zq5nomi7] {
        width: 100%;
    }

    .collection-grid[b-83zq5nomi7] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-books-showcase[b-83zq5nomi7] {
        padding-top: 2.5rem;
    }

    .library-book-card .book-card-body[b-83zq5nomi7] {
        padding: 1.3rem 1.35rem 1rem;
    }

    .library-book-card .book-card-footer[b-83zq5nomi7] {
        padding: 0.85rem 1.35rem 1.2rem;
    }

    .book-section-empty[b-83zq5nomi7] {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title[b-83zq5nomi7] {
        font-size: 2rem;
    }

    .hero-showcase-card[b-83zq5nomi7] {
        padding: 1.6rem;
    }

    .overview-card[b-83zq5nomi7] {
        padding: 1.6rem 1.4rem;
    }

    .collection-grid[b-83zq5nomi7] {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-book-tabs[b-83zq5nomi7] {
        gap: 0.5rem;
    }
}
/* _content/SmartLibraryUI/Components/SuccessModal.razor.rz.scp.css */
.success-notice-container[b-nh93qfhfvp] {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 1050;
}

.success-notice-overlay[b-nh93qfhfvp] {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
}

.success-notice-modal[b-nh93qfhfvp] {
    position: relative;
    width: min(520px, 100%);
    padding: 2.25rem 2.5rem 2rem;
    background: var(--bs-body-bg, #fff);
    border-radius: 1.25rem;
    box-shadow: 0 20px 45px rgb(15 23 42 / 35%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    z-index: 1;
}

.success-notice-modal .close-modal[b-nh93qfhfvp] {
    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, 0.15);
    font-size: 1.25rem;
    line-height: 1;
    transition: all 0.2s ease;
}

.success-notice-modal .close-modal:hover[b-nh93qfhfvp],
.success-notice-modal .close-modal:focus-visible[b-nh93qfhfvp] {
    background: #dc3545;
    color: #fff;
    border-color: #dc3545;
    outline: none;
}

.success-notice-content[b-nh93qfhfvp] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.success-notice-icon[b-nh93qfhfvp] {
    display: inline-flex;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.18), rgba(16, 185, 129, 0.22));
    color: #198754;
    font-size: 2.5rem;
}

.success-notice-heading[b-nh93qfhfvp] {
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: var(--bs-body-color, #212529);
}

.success-notice-message[b-nh93qfhfvp] {
    color: var(--bs-body-color, #212529);
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
    line-height: 1.6;
    max-width: 28rem;
}

.success-notice-action[b-nh93qfhfvp] {
    margin-top: 0.75rem;
    min-width: 140px;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 12px 20px -12px rgba(34, 197, 94, 0.7);
}

.success-notice-action:hover[b-nh93qfhfvp],
.success-notice-action:focus-visible[b-nh93qfhfvp] {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px -10px rgba(22, 163, 74, 0.65);
    outline: none;
}

.success-notice-modal :is(button):focus-visible[b-nh93qfhfvp] {
    outline: 2px solid var(--bs-primary, #0d6efd);
    outline-offset: 2px;
}

@media (prefers-color-scheme: dark) {
    .success-notice-overlay[b-nh93qfhfvp] {
        background: rgba(2, 6, 23, 0.7);
    }

    .success-notice-modal[b-nh93qfhfvp] {
        background: #111827;
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 24px 60px rgba(2, 6, 23, 0.65);
    }

    .success-notice-modal .close-modal[b-nh93qfhfvp] {
        background: rgba(255, 255, 255, 0.08);
        color: #f8fafc;
        border-color: rgba(255, 255, 255, 0.1);
    }

    .success-notice-heading[b-nh93qfhfvp] {
        color: #f8fafc;
    }

    .success-notice-message[b-nh93qfhfvp] {
        color: #cbd5f5;
    }

    .success-notice-action[b-nh93qfhfvp] {
        background: linear-gradient(135deg, #34d399, #10b981);
        box-shadow: 0 12px 24px -10px rgba(16, 185, 129, 0.6);
    }
}
/* _content/SmartLibraryUI/Pages/Account/ChangePasswordForm.razor.rz.scp.css */
.btn-see-pass[b-r3z83c00j7] {
    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/SmartLibraryUI/Pages/Account/Index.razor.rz.scp.css */
.account-card[b-4dv9hpxvtb] {
    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-4dv9hpxvtb] {
        transform: translateY(-4px);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    }

    .account-card i[b-4dv9hpxvtb] {
        color: #0d6efd;
    }

/* Loan History Styling */
.table-custom[b-4dv9hpxvtb] {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-collapse: separate;
}

    .table-custom thead[b-4dv9hpxvtb] {
        background: linear-gradient(90deg, #007bff 0%, #0dcaf0 100%);
        color: white;
        font-weight: 600;
        text-transform: uppercase;
    }

    .table-custom tbody tr[b-4dv9hpxvtb] {
        transition: all 0.2s ease-in-out;
        border-bottom: 1px solid #f0f0f0;
    }

        .table-custom tbody tr:hover[b-4dv9hpxvtb] {
            background-color: #f8faff;
            transform: scale(1.01);
        }

    .table-custom td[b-4dv9hpxvtb],
    .table-custom th[b-4dv9hpxvtb] {
        padding: 14px 18px;
        vertical-align: middle;
    }

    .table-custom a[b-4dv9hpxvtb] {
        color: #0d6efd;
        font-weight: 500;
    }

        .table-custom a:hover[b-4dv9hpxvtb] {
            color: #084298;
            text-decoration: underline;
        }

    .table-custom .text-muted[b-4dv9hpxvtb] {
        color: #6c757d !important;
    }

    .table-custom .small[b-4dv9hpxvtb] {
        font-size: 0.875rem;
    }

    .table-custom i[b-4dv9hpxvtb] {
        color: #0d6efd;
    }

/* Mobile Loan History Card Layout */
.loan-history-mobile-card[b-4dv9hpxvtb] {
    border-bottom: 1px solid #e9ecef;
    padding: 1rem;
    transition: background-color 0.2s ease;
}

    .loan-history-mobile-card:hover[b-4dv9hpxvtb] {
        background-color: #f8f9fa;
    }

    .loan-history-mobile-card:last-child[b-4dv9hpxvtb] {
        border-bottom: none;
    }

    .loan-history-mobile-card.overdue[b-4dv9hpxvtb] {
        background-color: #fff5f5;
        border-left: 4px solid #dc3545;
    }

        .loan-history-mobile-card.overdue:hover[b-4dv9hpxvtb] {
            background-color: #ffeaea;
        }

.loan-history-mobile-header[b-4dv9hpxvtb] {
    display: flex;
    align-items: start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.loan-history-mobile-index[b-4dv9hpxvtb] {
    background-color: #0d6efd;
    color: white;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    min-width: 28px;
    text-align: center;
}

.loan-history-mobile-title[b-4dv9hpxvtb] {
    flex: 1;
}

    .loan-history-mobile-title a[b-4dv9hpxvtb] {
        color: #212529;
        font-weight: 600;
        text-decoration: none;
        font-size: 0.95rem;
        line-height: 1.4;
    }

        .loan-history-mobile-title a:hover[b-4dv9hpxvtb] {
            color: #0d6efd;
        }

.loan-history-mobile-content[b-4dv9hpxvtb] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.loan-history-mobile-left[b-4dv9hpxvtb] {
    flex: 0 0 auto;
}

.loan-history-mobile-right[b-4dv9hpxvtb] {
    flex: 0 0 auto;
    text-align: right;
}

.loan-history-mobile-label[b-4dv9hpxvtb] {
    color: #6c757d;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.loan-history-mobile-value[b-4dv9hpxvtb] {
    font-size: 0.875rem;
    color: #212529;
    font-weight: 500;
}

    .loan-history-mobile-value.overdue[b-4dv9hpxvtb] {
        color: #dc3545;
        font-weight: 700;
    }

.loan-history-mobile-badge[b-4dv9hpxvtb] {
    display: inline-block;
    background-color: #6c757d;
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.loan-history-mobile-note[b-4dv9hpxvtb] {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e9ecef;
}

.loan-history-mobile-note-label[b-4dv9hpxvtb] {
    color: #6c757d;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.loan-history-mobile-note-text[b-4dv9hpxvtb] {
    color: #6c757d;
    font-size: 0.875rem;
    line-height: 1.4;
}

/* Desktop table enhancements */
.table-hover tbody tr[b-4dv9hpxvtb] {
    transition: all 0.2s ease;
}

    .table-hover tbody tr:hover[b-4dv9hpxvtb] {
        background-color: #f8f9fa;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

.table-danger[b-4dv9hpxvtb] {
    background-color: #fff5f5 !important;
    border-left: 4px solid #dc3545;
}

    .table-danger:hover[b-4dv9hpxvtb] {
        background-color: #ffeaea !important;
    }

/* Badge styling */
.badge.bg-secondary[b-4dv9hpxvtb] {
    background-color: #6c757d !important;
    font-weight: 600;
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
}

.badge.bg-primary[b-4dv9hpxvtb] {
    background-color: #0d6efd !important;
    font-weight: 600;
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
}

/* Alert styling */
.alert-danger[b-4dv9hpxvtb] {
    border-left: 4px solid #dc3545;
    background-color: #fff5f5;
    border-color: #f5c2c7;
}

/* Card header responsive */
.card-header .row[b-4dv9hpxvtb] {
    margin: 0;
}

.card-header .col-12[b-4dv9hpxvtb] {
    padding-left: 0;
    padding-right: 0;
}

.loan-history-item[b-4dv9hpxvtb] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.loan-history-book-icon[b-4dv9hpxvtb] {
    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-4dv9hpxvtb] {
    flex: 1;
}

.loan-history-title[b-4dv9hpxvtb] {
    font-weight: 600;
    color: #212529;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.4;
}

    .loan-history-title:hover[b-4dv9hpxvtb] {
        color: #667eea;
        text-decoration: none;
    }

.loan-history-copy-id[b-4dv9hpxvtb] {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.loan-history-date[b-4dv9hpxvtb] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #495057;
}

.loan-history-date-icon[b-4dv9hpxvtb] {
    color: #6c757d;
    font-size: 0.9rem;
}

.loan-history-days[b-4dv9hpxvtb] {
    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-4dv9hpxvtb] {
        background-color: #fee;
        color: #dc3545;
        border: 1px solid #f5c6cb;
    }

    .loan-history-days.normal[b-4dv9hpxvtb] {
        background-color: #e8f5e8;
        color: #28a745;
        border: 1px solid #c3e6cb;
    }

.loan-history-overdue-row[b-4dv9hpxvtb] {
    background-color: #fff5f5 !important;
    border-left: 4px solid #dc3545;
}

    .loan-history-overdue-row:hover[b-4dv9hpxvtb] {
        background-color: #ffeaea !important;
    }

.download-permissions-search[b-4dv9hpxvtb] {
    position: relative;
}

.download-permissions-suggestions[b-4dv9hpxvtb] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1055;
    max-height: 240px;
    overflow-y: auto;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-top: none;
    background-color: #fff;
}

    .download-permissions-suggestions .list-group-item[b-4dv9hpxvtb] {
        border-radius: 0 !important;
    }

.download-rules-table tbody tr[b-4dv9hpxvtb] {
    transition: background-color 0.15s ease-in-out;
    position: relative;
    z-index: 0;
}

    .download-rules-table tbody tr:hover[b-4dv9hpxvtb] {
        background-color: rgba(13, 110, 253, 0.08);
    }

.download-rule-actions[b-4dv9hpxvtb] {
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.download-rule-actions-inner[b-4dv9hpxvtb] {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

    .download-rule-actions-inner .btn[b-4dv9hpxvtb] {
        pointer-events: auto;
        position: relative;
        z-index: 2;
    }

.import-excel-button.disabled[b-4dv9hpxvtb] {
    pointer-events: none;
    opacity: 0.65;
}

/* Book Requests Styling */
.book-requests-card[b-4dv9hpxvtb] {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border-radius: 12px;
    overflow: hidden;
}

.book-requests-header[b-4dv9hpxvtb] {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
    padding: 1.25rem;
}

    .book-requests-header h5[b-4dv9hpxvtb] {
        margin: 0;
        font-weight: 600;
        font-size: 1.25rem;
    }

.book-requests-table[b-4dv9hpxvtb] {
    margin: 0;
}

    .book-requests-table thead th[b-4dv9hpxvtb] {
        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-4dv9hpxvtb] {
        border: none;
        transition: all 0.2s ease;
    }

        .book-requests-table tbody tr:hover[b-4dv9hpxvtb] {
            background-color: #f8f9fa;
            transform: translateY(-1px);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

    .book-requests-table tbody td[b-4dv9hpxvtb] {
        border: none;
        padding: 1rem 0.75rem;
        vertical-align: middle;
    }

.book-request-item[b-4dv9hpxvtb] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.book-request-icon[b-4dv9hpxvtb] {
    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-4dv9hpxvtb] {
    flex: 1;
}

.book-request-title[b-4dv9hpxvtb] {
    font-weight: 600;
    color: #212529;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.4;
}

    .book-request-title:hover[b-4dv9hpxvtb] {
        color: #f5576c;
        text-decoration: none;
    }

.book-request-author[b-4dv9hpxvtb] {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.book-request-year[b-4dv9hpxvtb] {
    font-size: 0.875rem;
    color: #495057;
    font-weight: 500;
}

.book-request-date[b-4dv9hpxvtb] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #495057;
}

.book-request-date-icon[b-4dv9hpxvtb] {
    color: #6c757d;
    font-size: 0.9rem;
}

.book-request-copy-badge[b-4dv9hpxvtb] {
    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: 991.98px) {
    .loan-history-mobile-card[b-4dv9hpxvtb] {
        padding: 0.875rem;
    }

    .loan-history-mobile-content[b-4dv9hpxvtb] {
        gap: 0.75rem;
    }
}

@media (max-width: 768px) {
    .loan-history-table thead th[b-4dv9hpxvtb],
    .book-requests-table thead th[b-4dv9hpxvtb] {
        font-size: 0.75rem;
        padding: 0.75rem 0.5rem;
    }

    .loan-history-table tbody td[b-4dv9hpxvtb],
    .book-requests-table tbody td[b-4dv9hpxvtb] {
        padding: 0.75rem 0.5rem;
    }

    .loan-history-item[b-4dv9hpxvtb],
    .book-request-item[b-4dv9hpxvtb] {
        gap: 0.5rem;
    }

    .loan-history-book-icon[b-4dv9hpxvtb],
    .book-request-icon[b-4dv9hpxvtb] {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .card-header .form-select[b-4dv9hpxvtb] {
        font-size: 0.875rem;
    }
}

@media (max-width: 576px) {
    .loan-history-mobile-card[b-4dv9hpxvtb] {
        padding: 0.75rem;
    }

    .loan-history-mobile-title a[b-4dv9hpxvtb] {
        font-size: 0.875rem;
    }

    .loan-history-mobile-label[b-4dv9hpxvtb],
    .loan-history-mobile-badge[b-4dv9hpxvtb] {
        font-size: 0.7rem;
    }

    .loan-history-mobile-value[b-4dv9hpxvtb] {
        font-size: 0.8rem;
    }
}

/* Loading States */
.loading-spinner[b-4dv9hpxvtb] {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem;
}

    .loading-spinner .spinner-border[b-4dv9hpxvtb] {
        width: 2.5rem;
        height: 2.5rem;
        color: #667eea;
    }

/* Empty States */
.empty-state[b-4dv9hpxvtb] {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

    .empty-state i[b-4dv9hpxvtb] {
        font-size: 3rem;
        color: #dee2e6;
        margin-bottom: 1rem;
    }

    .empty-state p[b-4dv9hpxvtb] {
        font-size: 1rem;
        margin: 0;
    }
/* _content/SmartLibraryUI/Pages/Admin/BookCovers/Index.razor.rz.scp.css */
.card[b-c2h68mkav3]{
    width:155px
}
.card .book-img[b-c2h68mkav3] {
    width: 150px;
    height: 230px;
    object-fit: cover;
    display: block;
    border-radius: .25rem; /* nhẹ nhàng */
}

/* Wrapper của ảnh: inline-block để kích thước ô đúng bằng ảnh */
.cover-wrap[b-c2h68mkav3] {
    line-height: 0; /* loại bỏ khoảng trắng dưới ảnh inline-block */
}

/* Nút xóa: luôn ghim góc phải phía trên của ảnh */
.delete-btn[b-c2h68mkav3] {
    position: absolute;
    top: 0px;
    right: 0px;
    padding: 2px 6px;
    border-radius: 50%;
    background: #fff;
    color: #dc3545;
    border: 1px solid rgba(0,0,0,.1);
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
    z-index: 2;
}

    .delete-btn:hover[b-c2h68mkav3] {
        background: #ffe9ea;
    }

/* (Tùy chọn) hiệu ứng nhẹ khi hover vào ảnh để làm nổi nút X */
.cover-wrap:hover .book-img[b-c2h68mkav3] {
    filter: brightness(0.96);
}
/* _content/SmartLibraryUI/Pages/Admin/FeaturedAuthor/Index.razor.rz.scp.css */
.preview-avatar[b-93l9g2jal8] {
    max-width: 220px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.25);
}

.card-header h5[b-93l9g2jal8] {
    font-weight: 600;
}

.validation-message[b-93l9g2jal8] {
    margin-top: 0.25rem;
}

.author-selector .btn[b-93l9g2jal8] {
    text-align: left;
}

.author-dropdown-menu[b-93l9g2jal8] {
    max-height: 360px;
    overflow: hidden;
    z-index: 1051;
}

.author-dropdown-list[b-93l9g2jal8] {
    max-height: 260px;
    overflow-y: auto;
}

.author-option[b-93l9g2jal8] {
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0;
}

.author-option:last-child[b-93l9g2jal8] {
    border-bottom: 0;
}

.author-dropdown-backdrop[b-93l9g2jal8] {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: transparent;
}

.text-truncate-2[b-93l9g2jal8] {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.btn-sm i[b-93l9g2jal8] {
    font-size: 14px;
}

.list-group-item:hover[b-93l9g2jal8] {
    background-color: #f8f9fa !important;
}

.btn-outline-secondary:disabled[b-93l9g2jal8] {
    opacity: 0.3;
    cursor: not-allowed;
}
/* _content/SmartLibraryUI/Pages/Admin/Menus/Index.razor.rz.scp.css */
.menu-tree[b-cuno4r6mxy],
.menu-children[b-cuno4r6mxy] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border: none;
    padding-left: 0;
    list-style: none;
    margin-bottom: 0;
}

.menu-item-row[b-cuno4r6mxy] {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    margin-bottom: 0.5rem;
    transition: box-shadow 0.12s ease, transform 0.12s ease, border-color 0.12s ease;
}

.menu-item-row:hover[b-cuno4r6mxy] {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    border-color: #d5d7db;
}

.menu-item-row.dragging[b-cuno4r6mxy] {
    opacity: 0.65;
    transform: scale(0.995);
    border-style: dashed;
}

.menu-item-row.drop-target[b-cuno4r6mxy] {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.15);
    background-color: rgba(13, 110, 253, 0.02);
}

.menu-children[b-cuno4r6mxy] {
    border-left: 2px solid #f0f2f5;
    padding-left: 0.5rem;
    margin-left: 0.5rem;
}

.menu-tree.drop-target-container[b-cuno4r6mxy],
.menu-children.drop-target-container[b-cuno4r6mxy] {
    border: 1px dashed #0d6efd;
    border-radius: 0.5rem;
    background-color: rgba(13, 110, 253, 0.04);
}

.drag-handle[b-cuno4r6mxy] {
    color: #6c757d;
    cursor: grab;
    font-size: 1.1rem;
    line-height: 1;
}

.drag-handle:active[b-cuno4r6mxy] {
    cursor: grabbing;
}

.menu-details .menu-meta[b-cuno4r6mxy] {
    word-break: break-word;
}

.menu-actions .btn[b-cuno4r6mxy] {
    min-width: 2.1rem;
}
/* _content/SmartLibraryUI/Pages/Admin/News/Posts.razor.rz.scp.css */
.news-editor-overlay[b-zz7t1frwsw] {
    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-zz7t1frwsw] {
    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-zz7t1frwsw] {
    margin-bottom: 1.5rem;
}

.news-image-picker[b-zz7t1frwsw] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.image-upload-btn[b-zz7t1frwsw] {
    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-zz7t1frwsw] {
    font-size: 1.5rem;
}

.image-upload-btn:hover[b-zz7t1frwsw],
.image-upload-btn:focus-visible[b-zz7t1frwsw] {
    background: rgba(10, 100, 240, 0.12);
    border-color: rgba(10, 100, 240, 0.8);
    color: #094dc0;
}

.image-upload-btn[disabled][b-zz7t1frwsw] {
    opacity: 0.7;
    cursor: not-allowed;
}

.image-upload-btn .spinner-border[b-zz7t1frwsw] {
    color: #0a64f0;
}

.image-preview[b-zz7t1frwsw] {
    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-zz7t1frwsw] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-preview .btn-remove[b-zz7t1frwsw] {
    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-zz7t1frwsw],
.image-preview .btn-remove:focus-visible[b-zz7t1frwsw] {
    background: rgba(217, 52, 79, 0.95);
}

.editor-upload-tools[b-zz7t1frwsw] {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.75rem;
}

.editor-upload-tools .btn[b-zz7t1frwsw] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.editor-upload-tools .spinner-border[b-zz7t1frwsw] {
    margin-right: 0.25rem;
}

.rich-text-editor[b-zz7t1frwsw] {
    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-zz7t1frwsw] {
    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-zz7t1frwsw] {
    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-zz7t1frwsw] {
    font-size: 1rem;
}

.toolbar-btn:hover[b-zz7t1frwsw],
.toolbar-btn:focus-visible[b-zz7t1frwsw] {
    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-zz7t1frwsw] {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
}

.toolbar-divider[b-zz7t1frwsw] {
    width: 1px;
    align-self: stretch;
    background: rgba(11, 26, 69, 0.12);
    margin: 0 0.35rem;
}

.editor-surface[b-zz7t1frwsw] {
    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-zz7t1frwsw] {
    box-shadow: inset 0 0 0 2px rgba(10, 100, 240, 0.15);
}

.editor-surface:empty[b-zz7t1frwsw]::before {
    content: attr(data-placeholder);
    color: #94a3b8;
    font-style: italic;
    pointer-events: none;
}

.editor-surface p[b-zz7t1frwsw],
.editor-surface div[b-zz7t1frwsw] {
    margin-bottom: 0.85rem;
}

.editor-surface ul[b-zz7t1frwsw],
.editor-surface ol[b-zz7t1frwsw] {
    padding-left: 1.25rem;
    margin-bottom: 0.85rem;
}

.editor-surface img[b-zz7t1frwsw] {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0.75rem auto;
}

.editor-surface a[b-zz7t1frwsw] {
    color: #0a64f0;
    text-decoration: underline;
}

.editor-surface[b-zz7t1frwsw]::-webkit-scrollbar {
    width: 8px;
}

.editor-surface[b-zz7t1frwsw]::-webkit-scrollbar-thumb {
    background: rgba(9, 77, 192, 0.35);
    border-radius: 999px;
}

.topic-grid[b-zz7t1frwsw] {
    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-zz7t1frwsw] {
    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-zz7t1frwsw] {
    min-width: 140px;
}

.badge.bg-outline-primary[b-zz7t1frwsw] {
    border: 1px solid rgba(10, 100, 240, 0.35);
    color: #0a64f0;
    background: rgba(10, 100, 240, 0.08);
}

.news-pagination .page-link[b-zz7t1frwsw] {
    border-radius: 999px;
}

@media (max-width: 767.98px) {
    .news-editor-overlay[b-zz7t1frwsw] {
        padding: 1rem;
    }

    .news-editor-panel[b-zz7t1frwsw] {
        padding: 1.5rem;
    }

    .topic-grid[b-zz7t1frwsw] {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
}
.news-manage-tabs .btn[b-zz7t1frwsw] {
    border-radius: 999px;
    font-weight: 600;
    min-width: 120px;
}

.slug-preview[b-zz7t1frwsw] {
    display: flex;
    gap: 0.5rem;
    align-items: baseline;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6b7a99;
}

.slug-preview .value[b-zz7t1frwsw] {
    font-weight: 600;
    color: #0a64f0;
    word-break: break-all;
}

.image-layout-picker[b-zz7t1frwsw] {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
}

.layout-option[b-zz7t1frwsw] {
    border: 1px solid #cfd8ea;
    border-radius: 0.5rem;
    padding: 0.35rem 0.6rem;
    background: #fff;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 72px;
}

.layout-option:hover[b-zz7t1frwsw],
.layout-option:focus-visible[b-zz7t1frwsw] {
    border-color: #0a64f0;
    box-shadow: 0 0 0 2px rgba(10, 100, 240, 0.1);
}

.layout-grid[b-zz7t1frwsw] {
    display: grid;
    gap: 2px;
    width: 48px;
    height: 28px;
    border: 1px dashed #b8c2dc;
    padding: 2px;
    border-radius: 0.25rem;
}

.layout-grid.single[b-zz7t1frwsw] {
    grid-template-columns: 1fr;
}

.layout-grid.double[b-zz7t1frwsw] {
    grid-template-columns: repeat(2, 1fr);
}

.layout-grid span[b-zz7t1frwsw] {
    background: #0a64f0;
    border-radius: 0.15rem;
    opacity: 0.15;
}

.layout-option:hover .layout-grid span[b-zz7t1frwsw],
.layout-option:focus-visible .layout-grid span[b-zz7t1frwsw] {
    opacity: 0.35;
}

.layout-option small[b-zz7t1frwsw] {
    font-size: 0.65rem;
    color: #51607f;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


.news-image-layout[b-zz7t1frwsw] {
    display: grid;
    gap: 0.75rem;
    margin: 1rem 0;
}

.news-image-layout.columns-1[b-zz7t1frwsw] {
    grid-template-columns: 1fr;
}

.news-image-layout.columns-2[b-zz7t1frwsw] {
    grid-template-columns: repeat(2, 1fr);
}

.news-image-layout.columns-3[b-zz7t1frwsw] {
    grid-template-columns: repeat(3, 1fr);
}

.news-image-layout.columns-4[b-zz7t1frwsw] {
    grid-template-columns: repeat(4, 1fr);
}

.news-image-slot[b-zz7t1frwsw] {
    min-height: 220px;
    border: 2px dashed rgba(10, 100, 240, 0.35);
    border-radius: 1rem;
    padding: 1rem;
    background: rgba(10, 100, 240, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.news-image-slot:focus-within[b-zz7t1frwsw] {
    border-color: #0a64f0;
    background: rgba(10, 100, 240, 0.08);
    outline: none;
}

.news-image-slot[b-zz7t1frwsw]::before {
    content: attr(data-placeholder);
    position: absolute;
    inset: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #8a9ac2;
    pointer-events: none;
    text-align: center;
}

.news-image-slot.has-content[b-zz7t1frwsw]::before {
    display: none;
}

/* _content/SmartLibraryUI/Pages/Admin/News/Topics.razor.rz.scp.css */
.news-topic-actions .btn[b-xxd9zxve1t] {
    min-width: 36px;
}

.news-topic-actions .btn + .btn[b-xxd9zxve1t] {
    margin-left: 0.35rem;
}

.table td[b-xxd9zxve1t], .table th[b-xxd9zxve1t] {
    vertical-align: middle;
}
/* _content/SmartLibraryUI/Pages/Authors/Details.razor.rz.scp.css */
.author-details[b-yghnjqrv9m] {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.author-name[b-yghnjqrv9m] {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    margin-top: -0.5rem;
}

.author-biography[b-yghnjqrv9m] {
    font-size: 1rem;
    font-weight: 500;
    text-align: justify;
    text-justify: inter-word;
}

h4[b-yghnjqrv9m] {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem; 
}

ul.book-list[b-yghnjqrv9m] {
    list-style-type: none;
    padding-left: 0;
}

li.book-list-item[b-yghnjqrv9m] {
    margin-bottom: 1.5rem;
}

img.book-thumbnail[b-yghnjqrv9m] {
    width: 65px;
    max-height: 100px;
    margin-right: 1rem;
}
/* _content/SmartLibraryUI/Pages/Authors/Index.razor.rz.scp.css */
.author-row[b-gajhe6xfmu] {
    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-gajhe6xfmu] {
    width:200px; 
    max-height: 275px;
    margin-right: 2rem;
}

.author-name[b-gajhe6xfmu] {
    font-size: 1.25rem; 
    font-weight: 700;
}

.author-biography[b-gajhe6xfmu] {
    height: 4rem; 
    font-size:0.9rem;
    text-align: justify;
    text-justify: inter-word;
}
/* _content/SmartLibraryUI/Pages/Books/DailyNewBooks.razor.rz.scp.css */
.daily-new-books[b-jvu3myp892] {
    max-width: 1200px;
}

.filter-panel[b-jvu3myp892] {
    background-color: #ffffff;
    border: 1px solid #e3e7f0;
    padding: 24px;
    /*position: sticky;*/
    top: 96px;
}

.filter-panel__header[b-jvu3myp892] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.filter-title[b-jvu3myp892] {
    font-size: 18px;
    font-weight: 600;
    color: #182033;
}

.filter-reset[b-jvu3myp892] {
    border: none;
    background: transparent;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    color: #1f78ff;
    text-decoration: none;
    cursor: pointer;
}

.filter-reset:hover[b-jvu3myp892] {
    color: #0d5ed7;
    text-decoration: underline;
}

.filter-panel__body[b-jvu3myp892] {
    display: block;
}

.filter-list li + li[b-jvu3myp892] {
    margin-top: 8px;
}

.filter-list[b-jvu3myp892] {
    padding-left: 0;
}

.filter-link[b-jvu3myp892] {
    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-jvu3myp892] {
    border-color: #1f78ff;
    color: #1f78ff;
}

.filter-link.active-field[b-jvu3myp892] {
    border-color: #1f78ff;
    background: rgba(31, 120, 255, 0.08);
    color: #1f78ff;
    font-weight: 600;
}

.filter-link__name[b-jvu3myp892] {
    flex: 1;
}

.mobile-filter .form-label[b-jvu3myp892] {
    font-weight: 600;
    color: #24304a;
}

.mobile-filter .form-select[b-jvu3myp892] {
    border-radius: 0;
}

.results-header[b-jvu3myp892] {
    align-items: flex-start;
}

.results-info[b-jvu3myp892] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.results-label[b-jvu3myp892] {
    font-size: 12px;
    letter-spacing: 0.08em;
    color: #8994a7;
}

.results-title[b-jvu3myp892] {
    font-size: 20px;
    font-weight: 700;
    color: #16213b;
    margin: 0;
}

.results-count[b-jvu3myp892] {
    font-size: 14px;
    color: #56607a;
}

.results-header__actions[b-jvu3myp892] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.results-sort-label[b-jvu3myp892] {
    font-size: 14px;
    color: #56607a;
    min-width: 80px;
}

.results-header__actions .form-select[b-jvu3myp892] {
    min-width: 160px;
    border-radius: 0;
}

.book-card[b-jvu3myp892] {
    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-jvu3myp892] {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(18, 34, 64, 0.12);
}

.book-card__thumb[b-jvu3myp892] {
    flex: 0 0 auto;
    width: 152px;
    align-self: flex-start;
    margin-bottom: 16px;
}

.book-card__thumb img[b-jvu3myp892] {
    width: 150px;
    height: 220px;
    object-fit: cover;
    display: block;
    border: 1px solid #d8dce3;
}

.book-card__body[b-jvu3myp892] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    color: #22314d;
}

.book-card__category[b-jvu3myp892] {
    font-size: 13px;
    font-weight: 600;
    color: #1f78ff;
    text-transform: uppercase;
}

.book-card__title[b-jvu3myp892] {
    font-size: 16px;
    font-weight: 600;
    color: #16213b;
    margin: 0;
}

.book-card__authors[b-jvu3myp892] {
    font-size: 14px;
    color: #3e4a63;
}
.result-author[b-jvu3myp892] {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 4px
}

    .result-author a[b-jvu3myp892] {
        text-decoration: none;
        color: #64748b;
        transition: color 0.2s ease;
    }

        .result-author a:hover[b-jvu3myp892] {
            color: #2563eb;
            text-decoration: underline;
        }

.author-label[b-jvu3myp892] {
    font-style: italic;
    color: #94a3b8;
    margin-right: 0.25rem;
}
.book-card__label[b-jvu3myp892] {    
    margin-right: 4px;
}

.book-card__author-list a[b-jvu3myp892] {
    color: #1f78ff;
    text-decoration: none;
    font-weight: 400;
}

.book-card__author-list a:hover[b-jvu3myp892] {
    text-decoration: underline !important;
}

.book-card__summary[b-jvu3myp892] {
    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-jvu3myp892] {
    font-size: 13px;
    color: #5b657c;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.book-card__details span[b-jvu3myp892] {
    font-weight: 600;
    color: #33405a;
    margin-right: 6px;
}

.book-card__footer[b-jvu3myp892] {
    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-jvu3myp892] {
    font-weight: 600;
}

.book-card__cta[b-jvu3myp892] {
    color: #1f78ff;
    font-weight: 600;
}

.book-card__cta[b-jvu3myp892]::after {
    content: '\2192';
    margin-left: 6px;
}

.book-grid[b-jvu3myp892] {
    --bs-gutter-x: 1.5rem;
}

@media (min-width: 576px) {
    .book-card[b-jvu3myp892] {
        display: grid;
        grid-template-columns: 152px 1fr;
        column-gap: 24px;
        row-gap: 16px;
    }

    .book-card__thumb[b-jvu3myp892] {
        grid-row: 1 / span 2;
        margin-bottom: 0;
    }

    .book-card__body[b-jvu3myp892] {
        grid-column: 2;
        padding-right: 8px;
    }

    .book-card__footer[b-jvu3myp892] {
        grid-column: 1 / -1;
    }
}

@media (max-width: 991.98px) {
    .filter-panel[b-jvu3myp892] {
        position: static;
    }

    .results-header[b-jvu3myp892] {
        align-items: flex-start;
    }
}

@media (max-width: 767.98px) {
    .daily-new-books[b-jvu3myp892] {
        padding: 0 1rem;
    }

    .book-card[b-jvu3myp892] {
        padding: 20px;
    }

    .book-card__thumb[b-jvu3myp892] {
        margin-bottom: 16px;
    }

    .book-card__body[b-jvu3myp892] {
        padding-right: 0;
    }
}

@media (max-width: 575.98px) {
    .book-card__thumb[b-jvu3myp892] {
        align-self: center;
    }
}
/* _content/SmartLibraryUI/Pages/Books/Details.razor.rz.scp.css */
/* Column styles */
.book-cover-column[b-2baxqm4x91] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.book-cover[b-2baxqm4x91] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

.book-cover-img[b-2baxqm4x91] {
    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-2baxqm4x91] {
    font-size: 0.8rem;
    color: #444;
    text-align: center;
    width: 100%;
}

.availability[b-2baxqm4x91] {
    font-size: 0.85rem;
    color: #444;
    text-align: center;
    margin-top: 8px;
}


.title[b-2baxqm4x91] {
    color: #444;
    font-weight: 600;
    font-size: 1.25rem; /* Nhỏ hơn trên điện thoại */
}

.details-grid[b-2baxqm4x91] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

    .details-grid div[b-2baxqm4x91] {
        color: #444;
        font-size: 0.85rem; /* Nhỏ hơn trên điện thoại */
    }

    .details-grid a[b-2baxqm4x91] {
        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-2baxqm4x91] {
            text-decoration: underline;
        }

    .details-grid .label[b-2baxqm4x91] {
        font-weight: 600;
        color: #686060;
        font-size: 0.9rem;
    }

.isbn-list[b-2baxqm4x91] {
    display: inline;
}

    .isbn-list p[b-2baxqm4x91] {
        display: inline;
        margin: 0;
    }

.isbn-10[b-2baxqm4x91] {
    color: blue;
    font-weight: bold;
    font-size: 0.8rem;
}

.isbn-13[b-2baxqm4x91] {
    color: green;
    font-weight: bold;
    font-size: 0.8rem;
}

.isbn-other[b-2baxqm4x91] {
    color: gray;
    font-size: 0.8rem;
}

.summary-collapsed[b-2baxqm4x91] {
    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-2baxqm4x91] {
    display: block;
}

.see-more-link[b-2baxqm4x91] {
    color: #0d6efd;
    text-decoration: none;
    font-size: 0.8rem;
    cursor: pointer;
}

    .see-more-link:hover[b-2baxqm4x91] {
        text-decoration: underline;
    }

.summary-wrapper[b-2baxqm4x91] {
    margin-bottom: 0.5rem;
}

.subject-list[b-2baxqm4x91] {
    margin: 0;
    padding: 0;
}

.subject-item[b-2baxqm4x91] {
    margin: 4px 0 0 16px;
}

    .subject-item a[b-2baxqm4x91] {
        display: inline;
    }

.subject-link[b-2baxqm4x91], .author-link[b-2baxqm4x91] {
    color: navy;
    text-decoration: none;
    font-size: 0.85rem;
}

/* Related books */

.related-books[b-2baxqm4x91] {
    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-2baxqm4x91] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.related-books-title[b-2baxqm4x91] {
    margin: 0;
    font-size: 1.35rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #0f172a;
}

.related-books-controls[b-2baxqm4x91] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.related-books-arrow[b-2baxqm4x91] {
    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-2baxqm4x91] {
        transform: translateY(-2px) scale(1.03);
        box-shadow: 0 18px 38px rgba(197, 106, 43, 0.35);
    }

    .related-books-arrow:focus[b-2baxqm4x91] {
        outline: 3px solid rgba(197, 106, 43, 0.35);
        outline-offset: 2px;
    }

.related-books-arrow i[b-2baxqm4x91] {
    font-size: 1.25rem;
}

.featured-related-card[b-2baxqm4x91] {
    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-2baxqm4x91]::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-2baxqm4x91] {
        transform: translateY(-8px);
        box-shadow: 0 28px 45px rgba(15, 23, 42, 0.12);
    }

    .featured-related-card:hover[b-2baxqm4x91]::before {
        transform: scale(1.1);
    }

.featured-related-thumb[b-2baxqm4x91] {
    display: flex;
    justify-content: center;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.featured-related-cover[b-2baxqm4x91] {
    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-2baxqm4x91] {
    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-2baxqm4x91] {
    transform: translateY(-6px) scale(1.03);
}

.featured-related-body[b-2baxqm4x91] {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.featured-related-title[b-2baxqm4x91] {
    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-2baxqm4x91] {
        color: #c56a2b;
    }

.featured-related-author[b-2baxqm4x91] {
    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-2baxqm4x91] {
    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-2baxqm4x91] {
        font-size: 0.95rem;
        transition: transform 0.2s ease;
    }

    .featured-related-link:hover i[b-2baxqm4x91] {
        transform: translateX(4px);
    }

@media (max-width: 992px) {
    .related-books[b-2baxqm4x91] {
        padding: 28px 20px;
    }

    .featured-related-cover img[b-2baxqm4x91] {
        width: 120px;
        height: 180px;
    }
}

@media (max-width: 768px) {
    .related-books-header[b-2baxqm4x91] {
        flex-direction: column;
        align-items: flex-start;
    }

    .related-books-controls[b-2baxqm4x91] {
        width: 100%;
        justify-content: flex-end;
    }
}

@media (max-width: 576px) {
    .related-books[b-2baxqm4x91] {
        padding: 24px 18px;
    }

    .related-books-controls[b-2baxqm4x91] {
        justify-content: space-between;
    }

    .related-books-arrow[b-2baxqm4x91] {
        width: 42px;
        height: 42px;
    }
}

.subject-link:hover[b-2baxqm4x91], .author-link:hover[b-2baxqm4x91] {
    text-decoration: underline;
}
.btn-custom[b-2baxqm4x91] {
    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-2baxqm4x91] {
        background-color: #f2f2ed;
        color: #404041;
        border: 1px solid #495057;
    }

/* Download hub styling */

.download-hub[b-2baxqm4x91] {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.35);   
    box-shadow: 0 16px 32px -28px rgba(15, 23, 42, 0.4);
    border-radius: 6px;
}

.download-hub-alert[b-2baxqm4x91] {
    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-2baxqm4x91] {
    color: #1d4ed8;
    font-weight: 600;
}

.pdf-downloads[b-2baxqm4x91] {
    display: grid;
    gap: 1.25rem;
}

.pdf-download-section[b-2baxqm4x91] {
   
    
    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-2baxqm4x91] {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.05rem;
    color: #0f172a;
}

.pdf-download-icon[b-2baxqm4x91] {
    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-2baxqm4x91] {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pdf-download-btn[b-2baxqm4x91] {
    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-2baxqm4x91],
.pdf-download-btn span[b-2baxqm4x91] {
    pointer-events: none;
}

.pdf-download-btn-view[b-2baxqm4x91] {
    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-2baxqm4x91] {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px -18px rgba(14, 116, 144, 0.7);
}

.pdf-download-btn-download[b-2baxqm4x91] {
    background: #ffffff;
    border: 2px solid #3b82f6;
    color: #1d4ed8;
}

.pdf-download-btn-download:hover:not(:disabled)[b-2baxqm4x91] {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px -18px rgba(37, 99, 235, 0.45);
}

.pdf-download-btn-download:disabled[b-2baxqm4x91] {
    opacity: 0.7;
    cursor: not-allowed;
    box-shadow: none;
}

.pdf-download-status[b-2baxqm4x91] {
    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-2baxqm4x91] {
    background: #fef3c7;
    color: #92400e;
}

.pdf-download-status-danger[b-2baxqm4x91] {
    background: #fee2e2;
    color: #b91c1c;
}

.pdf-download-status-muted[b-2baxqm4x91] {
    background: #e2e8f0;
    color: #475569;
}

.download-section[b-2baxqm4x91] {
    margin-top: 1.5rem;
}

.download-section-icon[b-2baxqm4x91] {
    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-2baxqm4x91] {    
    border-top: 1px dashed rgba(15, 23, 42, 0.1);
}

.download-grid[b-2baxqm4x91] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.download-card[b-2baxqm4x91] {
    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-2baxqm4x91] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.download-card-icon[b-2baxqm4x91] {
    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-2baxqm4x91] {
    background: linear-gradient(135deg, #fde68a, #fca5a5);
    color: #7f1d1d;
}

.download-card-icon.download-icon-generic[b-2baxqm4x91] {
    background: linear-gradient(135deg, #bbf0f3, #a5b4fc);
    color: #1e3a8a;
}

.download-card-icon.download-icon-warning[b-2baxqm4x91] {
    background: linear-gradient(135deg, #fef08a, #fed7aa);
    color: #92400e;
}

.download-card-icon.download-icon-danger[b-2baxqm4x91] {
    background: linear-gradient(135deg, #fecaca, #fca5a5);
    color: #7f1d1d;
}

.download-card-title[b-2baxqm4x91] {
    font-weight: 600;
    color: #0f172a;
}

.download-card-meta[b-2baxqm4x91] {
    font-size: 0.9rem;
}

.download-card-actions[b-2baxqm4x91] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.download-card-actions .btn[b-2baxqm4x91] {
    border-radius: 999px;
    padding-inline: 1.1rem;
}

.download-empty i[b-2baxqm4x91] {
    font-size: 2rem;
}

@media (max-width: 575.98px) {
    .download-hub[b-2baxqm4x91] {
        padding: 1.25rem;
    }

    .pdf-download-section[b-2baxqm4x91] {
        padding: 1.5rem 1.25rem;
    }

    .pdf-download-btn[b-2baxqm4x91] {
        font-size: 0.95rem;
    }

    .download-card[b-2baxqm4x91] {
        flex-direction: column;
        align-items: flex-start;
    }

    .download-card-actions[b-2baxqm4x91] {
        width: 100%;
        justify-content: flex-start;
    }
}


/* Responsive adjustments */
@media (min-width: 576px) {
    .book-cover-img[b-2baxqm4x91] {
        max-width: 160px; /* Máy tính bảng */
        max-height: 270px;
    }

    .icon-openac[b-2baxqm4x91] {
        width: 110px;
        height: 110px;
    }

    .title[b-2baxqm4x91] {
        font-size: 1.5rem;
    }

    .details-grid div[b-2baxqm4x91] {
        font-size: 0.9rem;
    }

    .summary-collapsed[b-2baxqm4x91] {
        -webkit-line-clamp: 5;
    }

    .view-online-section[b-2baxqm4x91] {
        margin-bottom: 1rem;
    }

    .view-online-item[b-2baxqm4x91] {
        margin-bottom: 0.5rem;
    }

        .view-online-item .btn[b-2baxqm4x91] {
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
        }

        .view-online-item .bi-eye[b-2baxqm4x91] {
            margin-right: 0.5rem;
        }
}

@media (min-width: 768px) {
    .book-cover-column[b-2baxqm4x91], .qr-action-column[b-2baxqm4x91] {
        justify-content: flex-start;
    }

    .details-grid[b-2baxqm4x91] {
        gap: 0.7rem;
    }
}

@media (min-width: 992px) {
    .book-cover-img[b-2baxqm4x91] {
        max-width: 160px; /* Máy tính để bàn */
        max-height: 270px;
    }

    .qr-code[b-2baxqm4x91] {
        width: 120px;
        height: 120px;
    }

    .title[b-2baxqm4x91] {
        font-size: 1.25rem;
    }

    .details-grid div[b-2baxqm4x91] {
        font-size: 0.95rem;
    }

    .record-id[b-2baxqm4x91], .availability[b-2baxqm4x91], .subject-link[b-2baxqm4x91], .author-link[b-2baxqm4x91] {
        font-size: 0.9rem;
    }
}

/*Thông tin sách mượn*/
.book-info-section[b-2baxqm4x91] {
    background-color: #f1eeee;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ddd;
}
    /* Tiêu đề */
    .book-info-section .info-title[b-2baxqm4x91] {
        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-2baxqm4x91] {
    margin-bottom: 0.5rem;
}

    .availability-info p[b-2baxqm4x91] {
        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-2baxqm4x91]::before {
            content: "-";
            position: absolute;
            left: 0;
            color: #000;
        }

    .availability-info strong[b-2baxqm4x91] {
        font-weight: bold;
    }

/* Nhãn "ĐÂY KỆ" */
.shelf-section[b-2baxqm4x91] {
    align-items: center;
    margin: 0.6rem 0 0.6rem 0;
    display: inline-flex;
}

    .shelf-section .shelf-label[b-2baxqm4x91] {
        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-2baxqm4x91] {
            font-size: 0.9rem; /* Kích thước biểu tượng nhỏ hơn */
        }

/* Kệ sách */
.shelf-locations[b-2baxqm4x91] {
    margin-left: 0; /* Thụt lề nhẹ để căn chỉnh với các dòng trên */
}

    .shelf-locations .shelf-item[b-2baxqm4x91] {
        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-2baxqm4x91] {
        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-2baxqm4x91] {
    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-2baxqm4x91] {
        color: #000;
        font-size: 0.9rem; /* Biểu tượng nhỏ hơn */
        margin-right: 0.3rem;
    }

    .dewey-info strong[b-2baxqm4x91] {
        font-weight: bold;
        margin-left: 3px;
    }

.link-site[b-2baxqm4x91] {
    text-decoration: underline !important
}

/* Modal Backdrop */
.modal-backdrop[b-2baxqm4x91] {
    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-2baxqm4x91 0.3s ease-out;
}

/* Modal Content */
.modal-content[b-2baxqm4x91] {
    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-2baxqm4x91 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-2baxqm4x91] {
    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-2baxqm4x91] {
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

    .modal-title i[b-2baxqm4x91] {
        font-size: 22px;
        opacity: 0.9;
    }

.modal-close-btn[b-2baxqm4x91] {
    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-2baxqm4x91] {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.1);
    }

/* Modal Body */
.modal-body[b-2baxqm4x91] {
    padding: 24px 32px;
    max-height: 60vh;
    overflow: hidden;
}

/* Book Preview */
.book-preview[b-2baxqm4x91] {
    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-2baxqm4x91]::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-2baxqm4x91] {
    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-2baxqm4x91] {
        transform: perspective(1000px) rotateY(0deg) scale(1.02);
    }

    .book-cover img[b-2baxqm4x91] {
        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-2baxqm4x91] {
        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-2baxqm4x91] {
    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-2baxqm4x91] {
    opacity: 1;
}

.book-cover-overlay i[b-2baxqm4x91] {
    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-2baxqm4x91] {
    transform: scale(1);
}

.book-details[b-2baxqm4x91] {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.book-title[b-2baxqm4x91] {
    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-2baxqm4x91]::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-2baxqm4x91], .book-id[b-2baxqm4x91] {
    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-2baxqm4x91], .book-id:hover[b-2baxqm4x91] {
        background: rgba(102, 126, 234, 0.1);
        transform: translateX(4px);
    }

    .book-author i[b-2baxqm4x91], .book-id i[b-2baxqm4x91] {
        color: #667eea;
        font-size: 14px;
        opacity: 0.8;
    }

/* Collections Section */
.collections-section[b-2baxqm4x91] {
    margin-top: 24px;
}

.section-header[b-2baxqm4x91] {
    margin-bottom: 20px;
}

    .section-header h6[b-2baxqm4x91] {
        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-2baxqm4x91] {
            color: #667eea;
        }

.section-subtitle[b-2baxqm4x91] {
    font-size: 14px;
    color: #6c757d;
    display: block;
}

/* Loading State */
.loading-collections[b-2baxqm4x91] {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.loading-spinner[b-2baxqm4x91] {
    margin-bottom: 16px;
}

.spinner[b-2baxqm4x91] {
    width: 40px;
    height: 40px;
    border: 3px solid #e9ecef;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin-b-2baxqm4x91 0.8s linear infinite;
    margin: 0 auto;
    will-change: transform;
}

/* Empty State */
.no-collections[b-2baxqm4x91] {
    text-align: center;
    padding: 40px 20px;
}

.empty-state[b-2baxqm4x91] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

    .empty-state i[b-2baxqm4x91] {
        font-size: 48px;
        color: #dee2e6;
        margin-bottom: 8px;
    }

    .empty-state h6[b-2baxqm4x91] {
        font-size: 16px;
        font-weight: 600;
        color: #495057;
        margin: 0;
    }

    .empty-state p[b-2baxqm4x91] {
        font-size: 14px;
        color: #6c757d;
        margin: 0;
        max-width: 300px;
        line-height: 1.5;
    }

/* Collections List */
.collections-list[b-2baxqm4x91] {
    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-2baxqm4x91]::-webkit-scrollbar {
        width: 8px;
    }

    .collections-list[b-2baxqm4x91]::-webkit-scrollbar-track {
        background: rgba(241, 241, 241, 0.5);
        border-radius: 4px;
        margin: 4px 0;
    }

    .collections-list[b-2baxqm4x91]::-webkit-scrollbar-thumb {
        background: rgba(193, 193, 193, 0.8);
        border-radius: 4px;
        transition: background 0.2s ease;
    }

        .collections-list[b-2baxqm4x91]::-webkit-scrollbar-thumb:hover {
            background: rgba(168, 168, 168, 0.9);
        }

        .collections-list[b-2baxqm4x91]::-webkit-scrollbar-thumb:active {
            background: rgba(120, 120, 120, 1);
        }

.collection-item[b-2baxqm4x91] {
    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-2baxqm4x91] {
        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-2baxqm4x91] {
        background: linear-gradient(135deg, #f0f9f4 0%, #e8f5e8 100%);
        border-color: #28a745;
        cursor: default;
    }

        .collection-item.book-exists:hover[b-2baxqm4x91] {
            transform: none;
            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
        }

.collection-info[b-2baxqm4x91] {
    flex: 1;
}

.collection-header[b-2baxqm4x91] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.collection-name[b-2baxqm4x91] {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.book-exists-badge[b-2baxqm4x91] {
    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-2baxqm4x91] {
        font-size: 10px;
    }

.collection-meta[b-2baxqm4x91] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.book-count[b-2baxqm4x91] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #6c757d;
}

    .book-count i[b-2baxqm4x91] {
        color: #667eea;
        font-size: 12px;
    }

.collection-action[b-2baxqm4x91] {
    flex-shrink: 0;
}

.action-disabled[b-2baxqm4x91] {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #28a745;
    font-size: 12px;
    font-weight: 500;
}

    .action-disabled i[b-2baxqm4x91] {
        font-size: 13px;
    }

/* Buttons */
.btn[b-2baxqm4x91] {
    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-2baxqm4x91] {
        transform: translateY(0) translateZ(0) scale(0.98);
    }

.btn-add[b-2baxqm4x91] {
    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-2baxqm4x91] {
        transform: translateY(-2px) translateZ(0);
        box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
    }

    .btn-add:active[b-2baxqm4x91] {
        transform: translateY(0) translateZ(0) scale(0.98);
        box-shadow: 0 2px 8px rgba(102, 126, 234, 0.25);
    }

.btn-remove[b-2baxqm4x91] {
    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-2baxqm4x91] {
        transform: translateY(-2px) translateZ(0);
        box-shadow: 0 6px 16px rgba(220, 53, 69, 0.4);
    }

    .btn-remove:active[b-2baxqm4x91] {
        transform: translateY(0) translateZ(0) scale(0.98);
        box-shadow: 0 2px 8px rgba(220, 53, 69, 0.25);
    }

    .btn-remove:disabled[b-2baxqm4x91] {
        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-2baxqm4x91] {
    cursor: not-allowed;
    transform: none;
    opacity: 0.7;
}

.btn-outline-primary[b-2baxqm4x91] {
    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-2baxqm4x91] {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.35);
    }

.btn-primary[b-2baxqm4x91] {
    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-2baxqm4x91] {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.35);
    }

.btn-secondary[b-2baxqm4x91] {
    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-2baxqm4x91] {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.35);
    }

.btn-closes[b-2baxqm4x91] {
    padding: 10px 20px;
    font-size: 14px;
    max-height: 47px;
}

/* Create Collection Section */
.create-collection-section[b-2baxqm4x91] {
    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-2baxqm4x91] {
    padding: 12px 24px;
    font-size: 15px;
}

/* Create Collection Form */
.create-collection-form[b-2baxqm4x91] {
    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-2baxqm4x91 0.3s ease-out;
}

.form-group[b-2baxqm4x91] {
    margin-bottom: 16px;
}

    .form-group label[b-2baxqm4x91] {
        display: block;
        font-size: 14px;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 6px;
    }

.form-input[b-2baxqm4x91], .form-textarea[b-2baxqm4x91] {
    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-2baxqm4x91], .form-textarea:focus[b-2baxqm4x91] {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        transform: translateY(-1px);
    }

.form-textarea[b-2baxqm4x91] {
    min-height: 80px;
    resize: vertical;
    font-family: inherit;
}

.form-actions[b-2baxqm4x91] {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
}

.btn-confirm-create[b-2baxqm4x91] {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-cancel-create[b-2baxqm4x91] {
    padding: 10px 20px;
    font-size: 14px;
}

@keyframes slideDown-b-2baxqm4x91 {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Footer */
.modal-footer[b-2baxqm4x91] {
    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-2baxqm4x91 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn-b-2baxqm4x91 {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.98) translateZ(0);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1) translateZ(0);
    }
}

@keyframes spin-b-2baxqm4x91 {
    0% {
        transform: rotate(0deg) translateZ(0);
    }

    100% {
        transform: rotate(360deg) translateZ(0);
    }
}

/* Performance optimizations */
.modal-backdrop[b-2baxqm4x91] {
    will-change: opacity;
}

.modal-header[b-2baxqm4x91], .modal-footer[b-2baxqm4x91] {
    will-change: transform;
    transform: translateZ(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal-content[b-2baxqm4x91] {
        width: 95%;
        margin: 10px;
        max-height: 95vh;
        border-radius: 16px;
    }

    .modal-header[b-2baxqm4x91] {
        padding: 16px 20px 12px;
        border-radius: 16px 16px 0 0;
    }

    .modal-title[b-2baxqm4x91] {
        font-size: 18px;
    }

        .modal-title i[b-2baxqm4x91] {
            font-size: 20px;
        }

    .modal-close-btn[b-2baxqm4x91] {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .modal-body[b-2baxqm4x91] {
        padding: 16px 20px;
        max-height: 70vh;
    }

    .modal-footer[b-2baxqm4x91] {
        padding: 12px 20px;
    }

    .book-preview[b-2baxqm4x91] {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 16px;
        border-radius: 10px;
    }

    .book-cover[b-2baxqm4x91] {
        transform: none;
        margin: 0 auto;
    }

        .book-cover:hover[b-2baxqm4x91] {
            transform: scale(1.05);
        }

        .book-cover img[b-2baxqm4x91] {
            width: 160px;
            height: 270px;
            border-radius: 6px;
        }

    .book-title[b-2baxqm4x91] {
        font-size: 15px;
        margin: 0 0 6px 0;
    }

    .book-author[b-2baxqm4x91], .book-id[b-2baxqm4x91] {
        font-size: 12px;
        padding: 6px 12px;
        margin: 3px 0;
        justify-content: center;
    }

        .book-author i[b-2baxqm4x91], .book-id i[b-2baxqm4x91] {
            font-size: 12px;
        }

    .section-header h6[b-2baxqm4x91] {
        font-size: 15px;
        margin: 0 0 6px 0;
    }

    .section-subtitle[b-2baxqm4x91] {
        font-size: 13px;
    }

    .collection-item[b-2baxqm4x91] {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 14px;
        border-radius: 8px;
    }

    .collection-header[b-2baxqm4x91] {
        width: 100%;
        justify-content: space-between;
        align-items: flex-start;
    }

    .collection-name[b-2baxqm4x91] {
        font-size: 13px;
        flex: 1;
    }

    .book-exists-badge[b-2baxqm4x91] {
        font-size: 9px;
        padding: 1px 5px;
        flex-shrink: 0;
    }

    .collection-meta[b-2baxqm4x91] {
        width: 100%;
    }

    .book-count[b-2baxqm4x91] {
        font-size: 10px;
    }

    .collection-action[b-2baxqm4x91] {
        align-self: stretch;
        width: 100%;
    }

    .btn-add[b-2baxqm4x91], .btn-remove[b-2baxqm4x91] {
        width: 100%;
        justify-content: center;
        padding: 10px 14px;
        font-size: 13px;
        border-radius: 6px;
    }

    .collections-list[b-2baxqm4x91] {
        max-height: 220px;
        padding-right: 4px;
    }

    .create-collection-section[b-2baxqm4x91] {
        flex-direction: column;
        gap: 12px;
        margin-top: 16px;
        padding-top: 16px;
    }

    .btn-create-collection[b-2baxqm4x91], .btn-closes[b-2baxqm4x91] {
        width: 100%;
        padding: 12px 16px;
        font-size: 14px;
        justify-content: center;
    }

    .create-collection-form[b-2baxqm4x91] {
        padding: 16px;
        margin-bottom: 12px;
    }

    .form-group[b-2baxqm4x91] {
        margin-bottom: 12px;
    }

        .form-group label[b-2baxqm4x91] {
            font-size: 13px;
            margin-bottom: 4px;
        }

    .form-input[b-2baxqm4x91], .form-textarea[b-2baxqm4x91] {
        padding: 8px 10px;
        font-size: 13px;
    }

    .form-textarea[b-2baxqm4x91] {
        min-height: 60px;
    }

    .form-actions[b-2baxqm4x91] {
        gap: 8px;
        margin-top: 16px;
    }

    .btn-confirm-create[b-2baxqm4x91], .btn-cancel-create[b-2baxqm4x91] {
        padding: 8px 16px;
        font-size: 13px;
    }

    /* Touch optimizations for mobile */
    .btn[b-2baxqm4x91] {
        min-height: 40px;
        touch-action: manipulation;
    }

    .collection-item[b-2baxqm4x91] {
        min-height: 55px;
        touch-action: manipulation;
    }

    /* Loading and empty states */
    .loading-collections[b-2baxqm4x91] {
        padding: 30px 16px;
    }

    .spinner[b-2baxqm4x91] {
        width: 32px;
        height: 32px;
        border-width: 2px;
    }

    .no-collections[b-2baxqm4x91] {
        padding: 30px 16px;
    }

    .empty-state i[b-2baxqm4x91] {
        font-size: 40px;
    }

    .empty-state h6[b-2baxqm4x91] {
        font-size: 15px;
    }

    .empty-state p[b-2baxqm4x91] {
        font-size: 13px;
        max-width: 280px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .modal-content[b-2baxqm4x91] {
        width: 98%;
        margin: 5px;
        max-height: 98vh;
    }

    .modal-header[b-2baxqm4x91] {
        padding: 14px 16px 10px;
    }

    .modal-title[b-2baxqm4x91] {
        font-size: 16px;
    }

    .modal-body[b-2baxqm4x91] {
        padding: 14px 16px;
        max-height: 75vh;
    }

    .modal-footer[b-2baxqm4x91] {
        padding: 10px 16px;
    }

    .book-preview[b-2baxqm4x91] {
        padding: 12px;
        gap: 12px;
    }

    .book-cover img[b-2baxqm4x91] {
        width: 160px;
        height: 270px;
    }

    .book-title[b-2baxqm4x91] {
        font-size: 14px;
    }

    .book-author[b-2baxqm4x91], .book-id[b-2baxqm4x91] {
        font-size: 11px;
        padding: 4px 8px;
    }

    .collection-item[b-2baxqm4x91] {
        padding: 10px 12px;
        gap: 8px;
    }

    .collection-name[b-2baxqm4x91] {
        font-size: 12px;
    }

    .btn-add[b-2baxqm4x91], .btn-remove[b-2baxqm4x91] {
        padding: 8px 12px;
        font-size: 12px;
    }

    .collections-list[b-2baxqm4x91] {
        max-height: 200px;
    }

    .btn-create-collection[b-2baxqm4x91], .btn-closes[b-2baxqm4x91] {
        padding: 10px 14px;
        font-size: 13px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .btn[b-2baxqm4x91], .collection-item[b-2baxqm4x91] {
        transform: translateZ(0);
    }
}

.marc-record-btn[b-2baxqm4x91] {
    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-2baxqm4x91],
.marc-record-btn:focus[b-2baxqm4x91] {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.18);
}

.marc-modal-backdrop[b-2baxqm4x91] {
    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-2baxqm4x91] {
    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-2baxqm4x91] {
    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-2baxqm4x91] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
}

.marc-modal-body[b-2baxqm4x91] {
    padding: 1.25rem;
    overflow: auto;
}

.marc-modal-content[b-2baxqm4x91] {
    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-2baxqm4x91] {
    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-2baxqm4x91] {
        max-width: 100%;
        border-radius: 12px;
    }

    .marc-modal-content[b-2baxqm4x91] {
        font-size: 0.85rem;
        padding: 1rem;
    }
}
/* _content/SmartLibraryUI/Pages/Books/Index.razor.rz.scp.css */
.book-row[b-hwykwgn1q9] {
    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-hwykwgn1q9] {
    width: 100px; 
    max-height: 150px;
    margin-right: 1rem;
}

.book-title[b-hwykwgn1q9] {
    font-size: 1.25rem; 
    font-weight: 700;
}

.book-author[b-hwykwgn1q9] {
    font-size: 1rem; 
    font-weight: 500;
    color: rgba(0,0,0,0.2);
    margin-bottom: 1.5rem;
}

.book-summary[b-hwykwgn1q9] {
    height: 4rem; 
    font-size:0.9rem;
    text-align: justify;
    text-justify: inter-word;
}

li.active[b-hwykwgn1q9] {
    list-style-type: square;
    list-style-position: outside;
    font-style: normal;
    font-weight: 700;
}
/* _content/SmartLibraryUI/Pages/BorrowBooks/BorrowBooks.razor.rz.scp.css */
/* ========================================
   MOBILE-FIRST RESPONSIVE DESIGN
   ======================================== */

/* Base Container */
.bb-container[b-som75xpf0b] {
    min-height: 100vh;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* ========================================
   APP BAR - Responsive
   ======================================== */
.bb-app-bar[b-som75xpf0b] {
    display: grid;
    align-items: center;
    grid-template-columns: 48px 1fr 48px;
    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;
    min-height: 60px;
}

.bb-back-button[b-som75xpf0b] {
    grid-column: 1;
    justify-self: start;
    border: 0;
    background: #fff;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s;
}

    .bb-back-button:hover[b-som75xpf0b] {
        background: #f3f4f6;
    }

.bb-app-title[b-som75xpf0b] {
    font-size: clamp(16px, 4vw, 18px);
    font-weight: 600;
    color: #1d1d1f;
    margin: 0;
    grid-column: 2;
    justify-self: center;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 8px;
}

/* ========================================
   MAIN CONTENT - Responsive
   ======================================== */
.bb-main-content[b-som75xpf0b] {
    flex: 1;
    padding: 16px;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* ========================================
   LOADING STATE
   ======================================== */
.bb-loading-state[b-som75xpf0b] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(40px, 10vh, 60px) 20px;
    text-align: center;
}

.bb-loading-spinner[b-som75xpf0b] {
    margin-bottom: 20px;
    animation: spin-b-som75xpf0b 1s linear infinite;
}

    .bb-loading-spinner svg[b-som75xpf0b] {
        color: #007aff;
    }

.bb-loading-state p[b-som75xpf0b] {
    font-size: clamp(14px, 3.5vw, 16px);
    color: #6b7280;
    margin: 0;
    font-weight: 500;
}

@keyframes spin-b-som75xpf0b {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   ADMIN TABS - Responsive
   ======================================== */
.bb-admin-tabs[b-som75xpf0b] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.bb-mode-btn[b-som75xpf0b] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    color: #fff;
    font-size: clamp(14px, 3.5vw, 16px);
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
}

    .bb-mode-btn.borrow[b-som75xpf0b] {
        background: #3b82f6;
    }

    .bb-mode-btn.management[b-som75xpf0b] {
        background: #8b5cf6;
    }

    .bb-mode-btn.return[b-som75xpf0b] {
        background: #ef4444;
    }

    .bb-mode-btn:hover[b-som75xpf0b] {
        background: #b7bbc2 !important;
        color: #374151 !important;
    }

    .bb-mode-btn.active[b-som75xpf0b] {
        background: #3b4556 !important;
        color: white !important;
        border-color: #3b82f6 !important;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
    }

    .bb-mode-btn svg[b-som75xpf0b] {
        flex-shrink: 0;
        width: 18px;
        height: 18px;
    }

/* ========================================
   ADMIN SECTION
   ======================================== */
.bb-admin-section[b-som75xpf0b] {
    border-radius: 20px;
    color: #1d1d1f;
    margin-bottom: 24px;
}

.bb-admin-header[b-som75xpf0b] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

    .bb-admin-header h2[b-som75xpf0b] {
        font-size: clamp(20px, 5vw, 28px);
        margin: 0;
        color: #1d1d1f;
        flex: 1 1 100%;
    }

/* ========================================
   ADMIN TOOLS - Responsive Grid
   ======================================== */
.bb-admin-tools[b-som75xpf0b] {
    display: grid;
    gap: 16px;
    margin-bottom: 24px;
}

.bb-admin-card[b-som75xpf0b] {
    background: #ffffff;
    border-radius: 16px;
    padding: clamp(16px, 4vw, 24px);
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

    .bb-admin-card h3[b-som75xpf0b] {
        font-size: clamp(16px, 4vw, 20px);
        margin: 0 0 16px 0;
        color: #1d1d1f;
    }

/* ========================================
   INPUT GROUP - Responsive & Mobile Optimized
   ======================================== */
.bb-input-section[b-som75xpf0b] {
    margin-bottom: 24px;
    width: 100%;
    max-width: 100%;
}

/* Container chính cho input group */
.bb-input-group[b-som75xpf0b],
.bb-search-group[b-som75xpf0b] {
    display: flex;
    align-items: stretch;
    width: 100%;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.2s ease;
    min-height: 48px;
}

    .bb-input-group:focus-within[b-som75xpf0b],
    .bb-search-group:focus-within[b-som75xpf0b] {
        border-color: #007aff;
        box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.15);
    }

/* Input chính - co giãn linh hoạt */
.bb-book-code-input[b-som75xpf0b],
.bb-student-id-input[b-som75xpf0b] {
    flex: 1 1 auto;
    padding: 12px 8px 12px 16px;
    border: none;
    outline: none;
    font-size: 16px; /* Cố định 16px để tránh zoom trên iOS */
    font-weight: 500;
    background: transparent;
    color: #1d1d1f;
    min-height: 48px;
    min-width: 0;
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

    .bb-book-code-input[b-som75xpf0b]::placeholder,
    .bb-student-id-input[b-som75xpf0b]::placeholder {
        color: #9ca3af;
        font-weight: 400;
        font-size: 15px;
    }

/* Icon tìm kiếm - co nhỏ trên mobile */
.bb-input-icon[b-som75xpf0b] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    color: #9ca3af;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.bb-input-group:focus-within .bb-input-icon[b-som75xpf0b],
.bb-search-group:focus-within .bb-input-icon[b-som75xpf0b] {
    color: #007aff;
}

.bb-input-icon svg[b-som75xpf0b] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Nút quét QR - co nhỏ trên mobile */
.bb-scan-qr-button[b-som75xpf0b] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    min-width: 48px;
    max-width: 48px;
    height: 48px;
    border: none;
    border-left: 1px solid #e5e7eb;
    background: #f8f9fa;
    color: #007aff;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    flex-shrink: 0;
}

    .bb-scan-qr-button:hover:not(:disabled)[b-som75xpf0b] {
        background: #f0f2f5;
        color: #005ecf;
    }

    .bb-scan-qr-button:active:not(:disabled)[b-som75xpf0b] {
        background: #e5e7eb;
        transform: scale(0.95);
    }

    .bb-scan-qr-button:disabled[b-som75xpf0b] {
        background: #e5e7eb;
        color: #9ca3af;
        cursor: not-allowed;
        opacity: 0.6;
    }

    .bb-scan-qr-button svg[b-som75xpf0b] {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

/* ========================================
   MOBILE SPECIFIC OPTIMIZATIONS
   ======================================== */

/* Extra Small Mobile (< 375px) */
@media (max-width: 374px) {
    .bb-input-group[b-som75xpf0b],
    .bb-search-group[b-som75xpf0b] {
        min-height: 44px;
    }

    .bb-book-code-input[b-som75xpf0b],
    .bb-student-id-input[b-som75xpf0b] {
        padding: 10px 6px 10px 12px;
        min-height: 44px;
        font-size: 15px;
    }

    .bb-input-icon[b-som75xpf0b] {
        padding: 0 6px;
    }

        .bb-input-icon svg[b-som75xpf0b] {
            width: 16px;
            height: 16px;
        }

    .bb-scan-qr-button[b-som75xpf0b] {
        width: 44px;
        min-width: 44px;
        max-width: 44px;
        height: 44px;
    }

        .bb-scan-qr-button svg[b-som75xpf0b] {
            width: 40px;
            height: 40px;
        }

    /* Placeholder text nhỏ hơn trên màn hình nhỏ */
    .bb-book-code-input[b-som75xpf0b]::placeholder,
    .bb-student-id-input[b-som75xpf0b]::placeholder {
        font-size: 14px;
    }
}

/* Small Mobile (375px - 480px) */
@media (min-width: 375px) and (max-width: 480px) {
    .bb-input-group[b-som75xpf0b],
    .bb-search-group[b-som75xpf0b] {
        min-height: 48px;
    }

    .bb-book-code-input[b-som75xpf0b],
    .bb-student-id-input[b-som75xpf0b] {
        padding: 12px 8px 12px 14px;
        font-size: 16px;
    }

    .bb-scan-qr-button[b-som75xpf0b] {
        width: 50px;
        min-width: 50px;
        max-width: 50px;
    }
}

/* Tablet và lớn hơn */
@media (min-width: 481px) {
    .bb-input-group[b-som75xpf0b],
    .bb-search-group[b-som75xpf0b] {
        min-height: 52px;
    }

    .bb-book-code-input[b-som75xpf0b],
    .bb-student-id-input[b-som75xpf0b] {
        padding: 14px 12px 14px 16px;
        font-size: 17px;
        min-height: 52px;
    }

    .bb-input-icon[b-som75xpf0b] {
        padding: 0 12px;
    }

        .bb-input-icon svg[b-som75xpf0b] {
            width: 20px;
            height: 20px;
        }

    .bb-scan-qr-button[b-som75xpf0b] {
        width: 56px;
        min-width: 56px;
        max-width: 56px;
        height: 52px;
    }

        .bb-scan-qr-button svg[b-som75xpf0b] {
            width: 22px;
            height: 22px;
        }
}

/* Desktop */
@media (min-width: 769px) {
    .bb-input-group[b-som75xpf0b],
    .bb-search-group[b-som75xpf0b] {
        min-height: 56px;
    }

    .bb-book-code-input[b-som75xpf0b],
    .bb-student-id-input[b-som75xpf0b] {
        padding: 16px 14px 16px 20px;
        font-size: 17px;
        min-height: 56px;
    }

    .bb-scan-qr-button[b-som75xpf0b] {
        width: 60px;
        min-width: 60px;
        max-width: 60px;
        height: 56px;
    }

        .bb-scan-qr-button svg[b-som75xpf0b] {
            width: 24px;
            height: 24px;
        }
}

/* Landscape orientation trên mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .bb-input-group[b-som75xpf0b],
    .bb-search-group[b-som75xpf0b] {
        min-height: 42px;
    }

    .bb-book-code-input[b-som75xpf0b],
    .bb-student-id-input[b-som75xpf0b] {
        min-height: 42px;
        padding: 10px 8px 10px 14px;
    }

    .bb-scan-qr-button[b-som75xpf0b] {
        width: 42px;
        min-width: 42px;
        max-width: 42px;
        height: 42px;
    }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    .bb-book-code-input[b-som75xpf0b],
    .bb-student-id-input[b-som75xpf0b] {
        font-size: 16px !important; /* Ngăn zoom khi focus trên iOS */
    }
}

/* ========================================
   STATS GRID - Responsive
   ======================================== */
.bb-stats-grid[b-som75xpf0b] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.bb-stat-item[b-som75xpf0b] {
    text-align: center;
    padding: clamp(16px, 4vw, 20px);
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.bb-stat-number[b-som75xpf0b] {
    display: block;
    font-size: clamp(24px, 6vw, 32px);
    color: #1d1d1f;
    margin-bottom: 8px;
    font-weight: 700;
}

.bb-stat-label[b-som75xpf0b] {
    font-size: clamp(13px, 3.5vw, 16px);
    color: #6b7280;
    font-weight: 600;
}

/* ========================================
   READER INFO - Responsive
   ======================================== */
.bb-admin-reader-info[b-som75xpf0b] {
    margin: 16px 0;
}

.bb-reader-info-card[b-som75xpf0b] {
    padding: clamp(12px, 3vw, 16px);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fafafa;
}

.bb-reader-info-row[b-som75xpf0b] {
    display: flex;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

    .bb-reader-info-row:last-child[b-som75xpf0b] {
        margin-bottom: 0;
    }

.bb-reader-info-label[b-som75xpf0b] {
    font-weight: 600;
    color: #374151;
    font-size: clamp(14px, 3.5vw, 15px);
}

.bb-reader-info-value[b-som75xpf0b] {
    color: #111827;
    font-size: clamp(14px, 3.5vw, 15px);
    word-break: break-word;
}

/* ========================================
   INVENTORY SELECTION - Responsive
   ======================================== */
.bb-inventory-selection[b-som75xpf0b] {
    background: #ffffff;
    border-radius: 16px;
    padding: clamp(16px, 4vw, 20px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.bb-inventory-header[b-som75xpf0b] {
    text-align: center;
    margin-bottom: 20px;
}

    .bb-inventory-header h3[b-som75xpf0b] {
        font-size: clamp(16px, 4vw, 18px);
        font-weight: 600;
        color: #1f2937;
        margin: 0 0 8px 0;
    }

    .bb-inventory-header p[b-som75xpf0b] {
        color: #6b7280;
        margin: 0;
        font-size: clamp(13px, 3.5vw, 14px);
    }

.bb-inventory-grid[b-som75xpf0b] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.bb-inventory-card[b-som75xpf0b] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: clamp(12px, 3vw, 16px);
    background: #f8fafc;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    min-height: 70px;
}

    .bb-inventory-card:hover[b-som75xpf0b] {
        border-color: #d1d5db;
        background: #f1f5f9;
        transform: translateY(-1px);
    }

    .bb-inventory-card.selected[b-som75xpf0b] {
        border-color: #3b82f6;
        background: #eff6ff;
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    }

.bb-inventory-icon[b-som75xpf0b] {
    flex-shrink: 0;
    color: #6b7280;
}

.bb-inventory-card.selected .bb-inventory-icon[b-som75xpf0b] {
    color: #3b82f6;
}

.bb-inventory-info[b-som75xpf0b] {
    flex: 1;
    min-width: 0;
}

    .bb-inventory-info h4[b-som75xpf0b] {
        font-size: clamp(14px, 3.5vw, 16px);
        font-weight: 600;
        color: #1f2937;
        margin: 0 0 4px 0;
        line-height: 1.3;
        word-break: break-word;
    }

    .bb-inventory-info p[b-som75xpf0b] {
        font-size: clamp(12px, 3vw, 14px);
        color: #6b7280;
        margin: 0;
        line-height: 1.3;
        word-break: break-word;
    }

.bb-inventory-check[b-som75xpf0b] {
    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);
}

/* ========================================
   BOOK LIST - Responsive
   ======================================== */
.bb-book-list[b-som75xpf0b] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bb-loading-books[b-som75xpf0b] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    color: #6b7280;
    font-size: clamp(13px, 3.5vw, 14px);
    font-weight: 500;
}

.bb-loading-spinner-small[b-som75xpf0b] {
    animation: spin-b-som75xpf0b 1s linear infinite;
}

    .bb-loading-spinner-small svg[b-som75xpf0b] {
        color: #007aff;
    }

/* ========================================
   EMPTY STATE - Responsive
   ======================================== */
.bb-empty-state[b-som75xpf0b] {
    text-align: center;
    padding: clamp(32px, 8vh, 48px) clamp(16px, 4vw, 24px);
    color: #6b7280;
}

.bb-empty-icon[b-som75xpf0b] {
    margin-bottom: 16px;
    color: #d1d5db;
}

.bb-empty-state h3[b-som75xpf0b] {
    font-size: clamp(16px, 4vw, 18px);
    font-weight: 600;
    color: #374151;
    margin: 0 0 8px 0;
}

.bb-empty-state p[b-som75xpf0b] {
    font-size: clamp(13px, 3.5vw, 14px);
    line-height: 1.5;
    margin: 0;
}

/* ========================================
   CAMERA SHEET - Responsive
   ======================================== */
.bb-camera-sheet[b-som75xpf0b] {
    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;
}

    .bb-camera-sheet.show[b-som75xpf0b] {
        opacity: 1;
        visibility: visible;
    }

.bb-camera-content[b-som75xpf0b] {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.bb-camera-preview[b-som75xpf0b] {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000000;
    overflow: hidden;
}

    .bb-camera-preview video[b-som75xpf0b],
    .bb-camera-preview canvas[b-som75xpf0b] {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.bb-camera-instructions[b-som75xpf0b] {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2147483647;
    pointer-events: none;
}

.bb-close-camera[b-som75xpf0b] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: clamp(10px, 2.5vw, 12px) clamp(20px, 5vw, 24px);
    font-size: clamp(14px, 3.5vw, 16px);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    min-width: 120px;
    pointer-events: auto;
}

    .bb-close-camera:hover[b-som75xpf0b] {
        background: rgba(220, 38, 38, 0.9);
        border-color: rgba(255, 255, 255, 0.5);
        transform: translateX(-50%) scale(1.05);
        box-shadow: 0 6px 25px rgba(220, 38, 38, 0.4);
    }

    .bb-close-camera:active[b-som75xpf0b] {
        transform: translateX(-50%) scale(0.95);
    }

    .bb-close-camera i[b-som75xpf0b] {
        font-size: clamp(16px, 4vw, 18px);
    }

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

/* Small Mobile (320px - 480px) */
@media (max-width: 480px) {
    .bb-app-bar[b-som75xpf0b] {
        padding: 10px 12px;
        grid-template-columns: 44px 1fr 44px;
    }

    .bb-main-content[b-som75xpf0b] {
        padding: 12px;
    }

    .bb-admin-tabs[b-som75xpf0b] {
        flex-direction: column;
        gap: 8px;
    }

    .bb-mode-btn[b-som75xpf0b] {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
    }

    .bb-stats-grid[b-som75xpf0b] {
        grid-template-columns: 1fr;
    }

    .bb-inventory-grid[b-som75xpf0b] {
        grid-template-columns: 1fr;
    }

    .bb-admin-tools[b-som75xpf0b] {
        gap: 12px;
    }
}

/* Tablet Portrait (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .bb-main-content[b-som75xpf0b] {
        padding: 20px;
        max-width: 600px;
    }

    .bb-admin-tabs[b-som75xpf0b] {
        gap: 12px;
    }

    .bb-stats-grid[b-som75xpf0b] {
        grid-template-columns: repeat(2, 1fr);
    }

    .bb-inventory-grid[b-som75xpf0b] {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Landscape & Small Desktop (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .bb-main-content[b-som75xpf0b] {
        padding: 24px;
        max-width: 700px;
    }

    .bb-admin-tools[b-som75xpf0b] {
        grid-template-columns: 2fr 1fr;
    }

    .bb-stats-grid[b-som75xpf0b] {
        grid-template-columns: repeat(2, 1fr);
    }

    .bb-inventory-grid[b-som75xpf0b] {
        grid-template-columns: repeat(2, 1fr);
    }

    .bb-admin-tabs[b-som75xpf0b] {
        gap: 12px;
    }
}

/* Desktop (1025px+) */
@media (min-width: 1025px) {
    .bb-main-content[b-som75xpf0b] {
        padding: 32px;
        max-width: 800px;
    }

    .bb-admin-tools[b-som75xpf0b] {
        grid-template-columns: 2fr 1fr;
    }

    .bb-stats-grid[b-som75xpf0b] {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .bb-inventory-grid[b-som75xpf0b] {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .bb-admin-tabs[b-som75xpf0b] {
        gap: 16px;
    }

    .bb-mode-btn[b-som75xpf0b] {
        min-width: 180px;
    }
}

/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
    .bb-main-content[b-som75xpf0b] {
        max-width: 900px;
    }

    .bb-inventory-grid[b-som75xpf0b] {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ========================================
   ACCESSIBILITY & PERFORMANCE
   ======================================== */

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *[b-som75xpf0b] {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .bb-book-item[b-som75xpf0b] {
        border: 2px solid #000000;
    }

    .bb-mode-btn[b-som75xpf0b] {
        border: 2px solid currentColor;
    }

    .bb-input-group[b-som75xpf0b] {
        border: 2px solid #000000;
    }
}

/* Print Styles */
@media print {
    .bb-app-bar[b-som75xpf0b],
    .bb-scan-qr-button[b-som75xpf0b],
    .bb-admin-tabs[b-som75xpf0b],
    .bb-camera-sheet[b-som75xpf0b] {
        display: none !important;
    }

    .bb-main-content[b-som75xpf0b] {
        max-width: 100%;
        padding: 0;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.bb-user-section[b-som75xpf0b] {
    background: #ffffff;
    border-radius: 16px;
    padding: clamp(16px, 4vw, 20px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

    .bb-user-section h5[b-som75xpf0b] {
        font-size: clamp(15px, 4vw, 17px);
        font-weight: 600;
        color: #1d1d1f;
        margin: 0 0 16px 0;
    }

/* Hidden elements from FastBarcodeReader */
button.btn.btn-primary.p-2.m-1.w-25[b-som75xpf0b],
button.btn.btn-secondary.p-2.m-1.w-25[b-som75xpf0b],
button.btn.btn-info.p-2.m-1.w-25[b-som75xpf0b] {
    display: none !important;
}
/* _content/SmartLibraryUI/Pages/Collections/Collection.razor.rz.scp.css */
html[b-7r916j4qd6], body[b-7r916j4qd6] {
    background: #f5f7fb;
    min-height: 100vh;
    font-family: var(--app-font-family);
    color: #23263c;
}

/* === Root Layout === */
.collection-root[b-7r916j4qd6] {
    display: flex;
    min-height: 100vh;
    background: none;
}

.collection-main[b-7r916j4qd6] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 20px 20px 20px 0;
    background: #F3F4F6;
    padding-left: 10px;
}

/* === SIDEBAR === */
.collection-sidebar[b-7r916j4qd6] {
    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-7r916j4qd6] {
    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-7r916j4qd6] {
    list-style: none;
    padding: 0;
    margin: 0;
}
.collection-sidebar .menu-item[b-7r916j4qd6] {
    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: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px transparent;
    border: none;
    position: relative;

}

.collection-sidebar .menu-item i[b-7r916j4qd6] {
    font-size: 20px;
    transition: transform 0.25s ease;
    color: #6366f1;
}

.collection-sidebar .menu-item:hover[b-7r916j4qd6] {
    color: #6366f1;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.15);
    opacity: 1;
    font-weight: 600;
    transform: translateX(4px);
}

.collection-sidebar .menu-item:hover i[b-7r916j4qd6] {
    transform: scale(1.1);
    color: #6366f1;
}

.collection-sidebar .menu-item.active[b-7r916j4qd6] {
    color: #6366f1;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(139, 92, 246, 0.12) 100%);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.2);
    opacity: 1;
    font-weight: 700;
    border-left: 4px solid #6366f1;
}

.collection-sidebar .menu-item.active i[b-7r916j4qd6] {
    color: #6366f1;
    transform: scale(1.15);
}
.collection-sidebar .submenu[b-7r916j4qd6] {
    margin-left: 25px;
    padding-left: 0;
    position: relative;
}
.collection-sidebar .submenu li[b-7r916j4qd6] {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
    font-size: 16px;
    gap: 11px;
    padding: 10px 16px 10px 14px;
    margin-bottom: 6px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    position: relative;
}

.collection-sidebar .submenu li[b-7r916j4qd6]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 0 3px 3px 0;
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.collection-sidebar .submenu li:hover[b-7r916j4qd6] {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
    transform: translateX(4px);
}

.collection-sidebar .submenu li:hover[b-7r916j4qd6]::before {
    transform: scaleY(1);
}

.collection-sidebar .submenu li.active[b-7r916j4qd6] {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(139, 92, 246, 0.08) 100%);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.2);
    font-weight: 600;
}

.collection-sidebar .submenu li.active[b-7r916j4qd6]::before {
    transform: scaleY(1);
}

.collection-sidebar .submenu li:hover .folder-name[b-7r916j4qd6] {
    color: #6366f1;
}

.collection-sidebar .submenu li.active .folder-name[b-7r916j4qd6] {
    color: #6366f1;
    font-weight: 600;
}

.collection-sidebar .submenu li i[b-7r916j4qd6] {
    color: #6366f1;
    transition: transform 0.2s ease;
}

.collection-sidebar .submenu li:hover i[b-7r916j4qd6] {
    transform: scale(1.1);
}

.folder-group[b-7r916j4qd6],
.shared-folder-group[b-7r916j4qd6] {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 8px;
}

.collection-sidebar .caret[b-7r916j4qd6] {
    display: inline-block;
    margin-left: auto;
    margin-left: 12px;
    border: solid #23263c;
    border-width: 0 2.5px 2.5px 0;
    padding: 6px;
    transform: rotate(45deg);
    transition: transform 0.18s;
    flex-shrink: 0;
}
.collection-sidebar .caret.open[b-7r916j4qd6] {
    transform: rotate(-135deg);
}
.collection-sidebar .folder-actions[b-7r916j4qd6] {
    margin-left: auto;
    display: flex;
    gap: 6px;
}
.collection-sidebar .folder-action-btn[b-7r916j4qd6] {
    background: rgba(99, 102, 241, 0.08);
    border: none;
    color: #6366f1;
    font-size: 18px;
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.collection-sidebar .folder-action-btn:hover[b-7r916j4qd6] {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    color: #6366f1;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.collection-sidebar .folder-action-btn:active[b-7r916j4qd6] {
    transform: scale(0.95);
}
.close-sidebar-btn[b-7r916j4qd6] {
    display: none !important; /* Ẩn trên desktop - không hiển thị */
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: #6366f1;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.close-sidebar-btn:hover[b-7r916j4qd6] {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.close-sidebar-btn:active[b-7r916j4qd6] {
    transform: scale(0.95);
}

/* === MAIN HEADER & SEARCH === */
.collection-header[b-7r916j4qd6] {
    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-7r916j4qd6] {
    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-7r916j4qd6] {
    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-7r916j4qd6] {
    border: none;
    background: transparent;
    font-size: 14px;
    outline: none;
    margin-left: 8px;
    color: #3b3365;
    flex: 1;
    padding: 2px 0;
}

.collection-actions[b-7r916j4qd6] {
    margin: 12px 0 4px 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.collection-actions .select-all-group[b-7r916j4qd6] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-export-ris[b-7r916j4qd6] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(99, 102, 241, 0.2);
}

.btn-export-ris:hover[b-7r916j4qd6] {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    box-shadow: 0 4px 8px rgba(99, 102, 241, 0.3);
    transform: translateY(-1px);
}

.btn-export-ris:active[b-7r916j4qd6] {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(99, 102, 241, 0.2);
}

.btn-export-ris i[b-7r916j4qd6] {
    font-size: 16px;
}

/* === EMPTY VIEW === */
.initial-empty-view[b-7r916j4qd6] {
    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-7r916j4qd6] {
    margin-bottom: 20px;
}
.initial-empty-view h2[b-7r916j4qd6] {
    font-size: 1.45rem;
    color: #384356;
    font-weight: 700;
}
.initial-empty-view p[b-7r916j4qd6] {
    font-size: 1.07rem;
    color: #6c7892;
    max-width: 540px;
    margin: 13px auto 0;
    line-height: 1.6;
}

/* === FILE GRID & CARD === */
.collection-files[b-7r916j4qd6] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.collection-grid[b-7r916j4qd6] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 16px 0 24px 0;
    width: 100%;
}
.file-card[b-7r916j4qd6] {
    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-7r916j4qd6] {
    box-shadow: 0 4px 16px rgba(56, 189, 248, 0.12);
    transform: translateY(-2px) scale(1.01);
}
.file-thumb-box[b-7r916j4qd6] {
    width: 75px;
    height: 105px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.file-thumb[b-7r916j4qd6] {
    width: 75px;
    height: 105px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(99, 102, 241, 0.08);
}
.file-checkbox[b-7r916j4qd6] {
    position: absolute;
    top: 6px;
    left: 7px;
    background: rgba(255,255,255,0.93);
    border-radius: 6px;
    padding: 2px 4px;
}
.select-card[b-7r916j4qd6] {
    width: 16px;
    height: 16px;
}
.file-card-content[b-7r916j4qd6] {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 3px;
}
.file-title[b-7r916j4qd6] {
    font-size: 15px;
    font-weight: 600;
    color: #30436a;
    margin-bottom: 3px;
    text-align: center;
    word-break: break-word;
}
.file-meta[b-7r916j4qd6] {
    font-size: 12px;
    color: #8892a9;
    font-weight: 500;
    margin-bottom: 3px;
    text-align: center;
}
.card-actions[b-7r916j4qd6] {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    width: 100%;
    justify-content: center;
}
.card-btn[b-7r916j4qd6] {
    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-7r916j4qd6] {
    filter: brightness(1.11);
}
.delete-card-btn[b-7r916j4qd6] {
    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-7r916j4qd6] {
    opacity: 1;
    pointer-events: auto;
}
.delete-card-btn:hover[b-7r916j4qd6] {
    background: #fee2e2;
    color: #b91c1c;
    border-color: #ef4444;
}

/* === MODAL === */
.modal-backdrop[b-7r916j4qd6], .share-modal-backdrop[b-7r916j4qd6] {
    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-7r916j4qd6], .share-modal-content[b-7r916j4qd6] {
    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-7r916j4qd6], .share-modal-close-btn[b-7r916j4qd6] {
    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-7r916j4qd6], .share-modal-title[b-7r916j4qd6] {
    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;
}

/* === Collection Modal Styles === */
.collection-modal[b-7r916j4qd6] {
    animation: modalSlideIn-b-7r916j4qd6 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 520px;
    width: 100%;
}

@keyframes modalSlideIn-b-7r916j4qd6 {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header[b-7r916j4qd6] {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header-icon[b-7r916j4qd6] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.modal-header-icon i[b-7r916j4qd6] {
    font-size: 24px;
    color: #fff;
}

.modal-header-content[b-7r916j4qd6] {
    flex: 1;
    min-width: 0;
}

.modal-title[b-7r916j4qd6] {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #1f2937;
    background: none;
    -webkit-text-fill-color: #1f2937;
}

.modal-subtitle[b-7r916j4qd6] {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.modal-close-btn[b-7r916j4qd6] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    opacity: 1;
    color: #6b7280;
    font-size: 18px;
}

.modal-close-btn:hover[b-7r916j4qd6] {
    background: #e5e7eb;
    color: #374151;
    transform: rotate(90deg);
}

.modal-body[b-7r916j4qd6] {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group[b-7r916j4qd6] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label[b-7r916j4qd6] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.form-label i[b-7r916j4qd6] {
    color: #6366f1;
    font-size: 16px;
}

.form-label .required[b-7r916j4qd6] {
    color: #ef4444;
}

.form-label .optional[b-7r916j4qd6] {
    color: #9ca3af;
    font-weight: 400;
}

.form-input[b-7r916j4qd6],
.form-textarea[b-7r916j4qd6] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.9375rem;
    color: #1f2937;
    background: #fff;
    transition: all 0.2s ease;
    font-family: inherit;
}

.form-input:focus[b-7r916j4qd6],
.form-textarea:focus[b-7r916j4qd6] {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-input.error[b-7r916j4qd6] {
    border-color: #ef4444;
}

.form-input.error:focus[b-7r916j4qd6] {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-textarea[b-7r916j4qd6] {
    resize: vertical;
    min-height: 100px;
}

.form-error[b-7r916j4qd6] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: #ef4444;
}

.form-error i[b-7r916j4qd6] {
    font-size: 14px;
}

.form-helper[b-7r916j4qd6] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: #6b7280;
    margin-top: -4px;
}

.form-helper i[b-7r916j4qd6] {
    font-size: 12px;
}

.modal-footer[b-7r916j4qd6] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.btn[b-7r916j4qd6] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn:disabled[b-7r916j4qd6] {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-secondary[b-7r916j4qd6] {
    background: #f3f4f6;
    color: #374151;
}

.btn-secondary:hover:not(:disabled)[b-7r916j4qd6] {
    background: #e5e7eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary[b-7r916j4qd6] {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover:not(:disabled)[b-7r916j4qd6] {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}

.btn i[b-7r916j4qd6] {
    font-size: 16px;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1100px) {
    .collection-root[b-7r916j4qd6] {
        flex-direction: column;
    }
    .collection-sidebar[b-7r916j4qd6] {
        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-7r916j4qd6] {
        transform: translateX(0);
    }
    .sidebar-overlay[b-7r916j4qd6] {
        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-7r916j4qd6] {
        display: flex !important; /* Hiển thị trên mobile */
        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-7r916j4qd6] {
        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-7r916j4qd6] {
        padding: 0 10px !important;
        margin-left: 0 !important;
        width: 100%;
    }
    .collection-header[b-7r916j4qd6] {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 0 0 18px 0;
        border-bottom: 1px solid #e5e7eb;
     
    }
    .collection-header .title[b-7r916j4qd6] {
        font-size: 2rem;
        margin-bottom: 8px;
    }
    .collection-header .search-bar[b-7r916j4qd6] {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 5px;
    }
    .collection-grid[b-7r916j4qd6] {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 8px 0 16px 0;
    }
}

/* Small mobile */
@media (max-width: 540px) {
    .collection-sidebar[b-7r916j4qd6] {
        max-width: 99vw;
        width: 99vw;
        padding: 15px 2px;
        border-radius: 0 15px 15px 0;
    }
    .collection-header .title[b-7r916j4qd6] {
        font-size: 1.04rem;
    }
    .file-thumb-box[b-7r916j4qd6], .file-thumb[b-7r916j4qd6] {
        width: 52px;
        height: 76px;
    }
    .file-card[b-7r916j4qd6] {
        padding: 7px 4px;
        min-height: 80px;
    }
    .modal-content[b-7r916j4qd6], .share-modal-content[b-7r916j4qd6] {
        min-width: 97vw;
        width: 99vw;
        padding: 13px 3px;
        border-radius: 12px;
    }
}

@media (max-width: 600px) {
    .collection-root[b-7r916j4qd6] {
        flex-direction: column;
        min-height: 100vh;
    }
    .collection-sidebar[b-7r916j4qd6] {
        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-7r916j4qd6] {
        transform: translateX(0);
    }
    .close-sidebar-btn[b-7r916j4qd6] {
        display: flex !important; /* Hiển thị trên mobile nhỏ */
        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-7r916j4qd6] {
        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-7r916j4qd6] {
        font-size: 20px;
        margin-bottom: 26px;
        text-align: left;
    }
    .collection-sidebar .menu-item[b-7r916j4qd6],
    .collection-sidebar .submenu li[b-7r916j4qd6] {
        font-size: 15px;
        padding: 12px 10px 12px 16px;
        gap: 8px;
        margin-bottom: 5px;
        border-radius: 12px;
    }
    .collection-sidebar .submenu[b-7r916j4qd6] {
        margin-left: 7px;
    }

    .mobile-menu-btn[b-7r916j4qd6] {
        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-7r916j4qd6] {
        padding: 0 2vw !important;
        margin: 0 !important;
        width: 100vw;
        min-width: 0;
    }
    .collection-header[b-7r916j4qd6] {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 0 0 8px 0;
        border-bottom: 1px solid #e5e7eb;
    }
    .collection-header .title[b-7r916j4qd6] {
        font-size: 2rem;
        margin-bottom: 4px;
    }
    .collection-header .search-bar[b-7r916j4qd6] {
        width: 100%;
        max-width: 100%;
        margin: 0;
        font-size: 15px;
        border-radius: 15px;
    }
    .collection-header .search-bar input[b-7r916j4qd6] {
        font-size: 15px;
        padding: 7px 8px 7px 0;
    }
    .collection-actions[b-7r916j4qd6] {
        font-size: 15px;
        margin: 10px 0 2px 0;
    }

    .collection-files[b-7r916j4qd6], .collection-grid[b-7r916j4qd6] {
        width: 100vw;
        min-width: 0;
    }
    .collection-grid[b-7r916j4qd6] {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 3px 0 10px 0;
    }
    .file-card[b-7r916j4qd6] {
        padding: 9px 5px;
        min-height: 140px;
        border-radius: 10px;
    }
    .file-thumb-box[b-7r916j4qd6], .file-thumb[b-7r916j4qd6] {
        width: 54px;
        height: 80px;
        border-radius: 7px;
    }
    .file-title[b-7r916j4qd6] {
        font-size: 14px;
    }
    .file-meta[b-7r916j4qd6] {
        font-size: 12px;
    }
    .card-btn[b-7r916j4qd6] {
        padding: 7px 15px;
        font-size: 13px;
        border-radius: 7px;
    }
    .delete-card-btn[b-7r916j4qd6] {
        top: 8px;
        right: 7px;
        padding: 1px 6px;
        font-size: 15px;
        border-radius: 7px;
    }

    .initial-empty-view[b-7r916j4qd6] {
        padding: 38px 4px;
        margin-top: 10px;
        border-radius: 10px;
        font-size: 13.5px;
    }
    .initial-empty-view h2[b-7r916j4qd6] {
        font-size: 1.08rem;
    }
    .initial-empty-view p[b-7r916j4qd6] {
        font-size: 0.98rem;
        max-width: 96vw;
        margin: 8px auto 0;
    }
    .modal-content[b-7r916j4qd6], .share-modal-content[b-7r916j4qd6] {
        width: 98vw;
        padding: 14px 7px;
        border-radius: 13px;
        min-width: unset;
        max-width: 99vw;
    }
    .modal-title[b-7r916j4qd6], .share-modal-title[b-7r916j4qd6] {
        font-size: 1.07rem;
        margin-bottom: 8px;
    }
    .input[b-7r916j4qd6] {
        font-size: 14.5px;
        padding: 7px 7px;
        border-radius: 8px;
        margin-bottom: 4px;
    }
    
    /* Collection Modal Mobile */
    .collection-modal[b-7r916j4qd6] {
        max-width: 98vw;
        padding: 20px 16px;
    }
    
    .modal-header[b-7r916j4qd6] {
        flex-direction: column;
        gap: 12px;
        padding-bottom: 16px;
    }
    
    .modal-header-icon[b-7r916j4qd6] {
        width: 40px;
        height: 40px;
    }
    
    .modal-header-icon i[b-7r916j4qd6] {
        font-size: 20px;
    }
    
    .modal-title[b-7r916j4qd6] {
        font-size: 1.25rem;
    }
    
    .modal-subtitle[b-7r916j4qd6] {
        font-size: 0.8125rem;
    }
    
    .modal-close-btn[b-7r916j4qd6] {
        position: absolute;
        right: 12px;
        top: 12px;
    }
    
    .form-input[b-7r916j4qd6],
    .form-textarea[b-7r916j4qd6] {
        padding: 10px 14px;
        font-size: 0.875rem;
    }
    
    .modal-footer[b-7r916j4qd6] {
        flex-direction: column-reverse;
        gap: 10px;
    }
    
    .btn[b-7r916j4qd6] {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }
}

.collection-sidebar .submenu[b-7r916j4qd6] {
    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-7r916j4qd6] {
    display: block;
    align-items: center;
    gap: 14px;
    margin-bottom: 7px;
    border-radius: 13px;
    font-size: 17px;
    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-7r916j4qd6] {
    color: #df4c12;
    box-shadow: 0 2px 12px #49cfff2a;
}

.collection-sidebar .submenu i[b-7r916j4qd6] {
    font-size: 20px;
    color: #000;
    margin-right: 7px;
}

.collection-sidebar .folder-name[b-7r916j4qd6] {
    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-7r916j4qd6] {
    margin-left: 9px;
    display: flex;
    align-items: center;
}

.collection-sidebar .folder-action-btn[b-7r916j4qd6] {
    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-7r916j4qd6] {
    background: #b9b9b944;
}
.folder-action-btn:focus[b-7r916j4qd6] {
    outline: none;
    box-shadow: none;
    border: none;
    background: none;
}

.folder-popover-menu[b-7r916j4qd6] {
    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-7r916j4qd6 0.19s cubic-bezier(.4,0,.2,1);
    border: 1.5px solid #E2E8F0;
}

@keyframes popoverFadeIn-b-7r916j4qd6 {
    0% { opacity: 0; transform: translateY(7px) scale(.98);}
    100% { opacity: 1; transform: none;}
}

.folder-popover-btn[b-7r916j4qd6] {
    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-7r916j4qd6] {
    font-size: 18px;
}
.folder-popover-btn:hover[b-7r916j4qd6] {
    background: #EDF2FA;
    color: #4F8CFF;
}
.folder-popover-btn:active[b-7r916j4qd6] {
    background: #dde5fa;
}

.folder-popover-overlay[b-7r916j4qd6] {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 3000;
    background: transparent;
}

@media (max-width: 600px) {
    .folder-popover-menu[b-7r916j4qd6] {
        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-7r916j4qd6] {
    border-radius: 18px !important;
    padding: 10px 0;
    background: rgba(255,255,255,0.98);
}
.folder-popover-btn[b-7r916j4qd6] {
    font-size: 16px;
    padding: 14px 20px 14px 23px;
    border-radius: 14px;
}
.folder-popover-btn:hover[b-7r916j4qd6] {
    background: linear-gradient(90deg, #f0f7ff 50%, #e0e7ff 100%);
    color: #6366f1;
}

.folder-popover-menu[b-7r916j4qd6] {
    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-7r916j4qd6] {
    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-7r916j4qd6] {
    margin-left: auto;
    background: rgba(99, 102, 241, 0.08);
    border: none;
    color: #6366f1;
    font-size: 18px;
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.folder-action-btn:hover[b-7r916j4qd6] {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    color: #6366f1;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.folder-action-btn:active[b-7r916j4qd6] {
    transform: scale(0.95);
}
.folder-inline-menu[b-7r916j4qd6] {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 6px;
    animation: fadeInMenu-b-7r916j4qd6 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(99, 102, 241, 0.1);
    min-width: 180px;
}

.folder-inline-menu button[b-7r916j4qd6] {
    background: transparent;
    border: none;
    text-align: left;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.folder-inline-menu button[b-7r916j4qd6]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: currentColor;
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.folder-inline-menu button:hover[b-7r916j4qd6]::before {
    transform: scaleY(1);
}

.folder-inline-menu button i[b-7r916j4qd6] {
    font-size: 16px;
    transition: transform 0.2s ease;
}

.folder-inline-menu button:hover[b-7r916j4qd6] {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.08) 0%, transparent 100%);
    transform: translateX(4px);
    padding-left: 20px;
}

.folder-inline-menu button:hover i[b-7r916j4qd6] {
    transform: scale(1.15);
}

.folder-inline-menu button.share[b-7r916j4qd6] {
    color: #3b82f6;
}

.folder-inline-menu button.share:hover[b-7r916j4qd6] {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.1) 0%, transparent 100%);
    color: #2563eb;
}

.folder-inline-menu button.edit[b-7r916j4qd6] {
    color: #f59e0b;
}

.folder-inline-menu button.edit:hover[b-7r916j4qd6] {
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.1) 0%, transparent 100%);
    color: #d97706;
}

.folder-inline-menu button.delete[b-7r916j4qd6] {
    color: #ef4444;
}

.folder-inline-menu button.delete:hover[b-7r916j4qd6] {
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.1) 0%, transparent 100%);
    color: #dc2626;
}

.folder-inline-menu button:active[b-7r916j4qd6] {
    transform: translateX(2px) scale(0.98);
}
@keyframes fadeInMenu-b-7r916j4qd6 {
    from { opacity: 0; transform: translateY(-8px);}
    to { opacity: 1; transform: none;}
}

.mobile-menu-btn[b-7r916j4qd6] {
    display: none;
}

@media (max-width: 1100px) {
    .mobile-menu-btn[b-7r916j4qd6] {
        display: flex;
    }
}

.mobile-menu-btn[b-7r916j4qd6] {
    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-7r916j4qd6] {
    font-size: 1.5rem;
    align-items: center;
    /* Nếu icon quá to, giảm font-size */
}
.mobile-menu-btn:active[b-7r916j4qd6] {
    filter: brightness(0.92);
    transform: scale(0.97);
    box-shadow: 0 2px 10px #6366f12a;
}
.mobile-menu-btn:hover[b-7r916j4qd6] {
    filter: brightness(1.11);
    box-shadow: 0 4px 22px #6366f15a;
}
@media (max-width: 600px) {
    .mobile-menu-btn[b-7r916j4qd6] {
        font-size: 1rem;
        border-radius: 15px;
        gap: 8px;
    }
}

.share-modal-backdrop[b-7r916j4qd6] {
    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-7r916j4qd6] {
    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-7r916j4qd6] {
    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-7r916j4qd6] {
    color: #f43f5e;
    opacity: 1;
}

.share-modal-title[b-7r916j4qd6] {
    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-7r916j4qd6] {
    font-size: 15px;
    color: #6366f1;
    font-weight: 700;
    margin-bottom: 8px;
}

.share-modal-table[b-7r916j4qd6] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 4px;
    background: none;
    font-size: 15px;
}

.share-modal-table th[b-7r916j4qd6], .share-modal-table td[b-7r916j4qd6] {
    padding: 5px 7px;
    text-align: left;
    font-size: 15px;
    vertical-align: middle;
}
.share-modal-table th[b-7r916j4qd6] {
    color: #6366f1;
    font-weight: 900;
    background: none;
    border-bottom: 1.5px solid #f3f5fb;
}
.share-modal-table td[b-7r916j4qd6] {
    background: #f8fafc;
    border-radius: 7px;
    color: #384356;
    font-weight: 500;
    transition: background 0.12s;
}

.share-modal-table tr:hover td[b-7r916j4qd6] {
    background: #e0f2fe;
}

.perm-role-select[b-7r916j4qd6] {
    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-7r916j4qd6] {
    border-color: #6366f1;
}

.perm-role-label[b-7r916j4qd6] {
    padding: 3px 11px;
    border-radius: 7px;
    background: #eef2ff;
    color: #6366f1;
    font-weight: 600;
    font-size: 15px;
}

.perm-action-btn[b-7r916j4qd6] {
    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-7r916j4qd6] {
    background: #e0e7ff;
    color: #ec4899;
    border-color: #a78bfa;
}
.perm-action-delete[b-7r916j4qd6] {
    color: #ef4444;
    border-color: #fca5a5;
}
.perm-action-delete:hover[b-7r916j4qd6] {
    background: #fee2e2;
    color: #b91c1c;
    border-color: #ef4444;
}
.perm-action-cancel[b-7r916j4qd6] {
    color: #6b7280;
    border-color: #d1d5db;
}
.perm-action-cancel:hover[b-7r916j4qd6] {
    background: #f3f4f6;
    color: #111827;
}

.share-modal-invite-box[b-7r916j4qd6] {
    display: flex;
    gap: 8px;
    margin: 13px 0 6px 0;
}
.share-modal-invite-box input[type="text"][b-7r916j4qd6] {
    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-7r916j4qd6] {
    border-color: #6366f1;
}
.btn-action[b-7r916j4qd6] {
    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-7r916j4qd6] {
    background: #e0e7ff;
    color: #ec4899;
}

.share-modal-public[b-7r916j4qd6] {
    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-7r916j4qd6] {
    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-7r916j4qd6] {
    filter: grayscale(1) brightness(1.22);
    opacity: 0.7;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 600px) {
    .share-modal-content[b-7r916j4qd6] {
        width: 98vw;
        padding: 13px 7px 13px 7px;
        border-radius: 13px;
        min-width: unset;
        max-width: 99vw;
    }
    .share-modal-title[b-7r916j4qd6] {
        font-size: 1.07rem;
    }
    .share-modal-table th[b-7r916j4qd6], .share-modal-table td[b-7r916j4qd6] {
        font-size: 14px;
        padding: 4px 5px;
    }
    .share-modal-invite-box input[type="text"][b-7r916j4qd6] {
        font-size: 14px;
        padding: 5px 8px;
    }
    .btn-action[b-7r916j4qd6], .btn-public[b-7r916j4qd6] {
        font-size: 14px;
        padding: 4px 10px;
    }
}

.folder-submenu[b-7r916j4qd6],
.sharedfolder-submenu[b-7r916j4qd6] {
    scrollbar-width: thin;              /* Firefox */
    scrollbar-color: #6e727b #E2E8F0;   /* Firefox */
    max-height: 430px;
    overflow-y: scroll;
}
.folder-submenu[b-7r916j4qd6]::-webkit-scrollbar,
.sharedfolder-submenu[b-7r916j4qd6]::-webkit-scrollbar {
    width: 6px;
    border-radius: 6px;
    background: #E2E8F0;
}
.folder-submenu[b-7r916j4qd6]::-webkit-scrollbar-thumb,
.sharedfolder-submenu[b-7r916j4qd6]::-webkit-scrollbar-thumb {
    background: #4F8CFF;
    border-radius: 6px;
}
.folder-submenu[b-7r916j4qd6]::-webkit-scrollbar-thumb:hover,
.sharedfolder-submenu[b-7r916j4qd6]::-webkit-scrollbar-thumb:hover {
    background: #3388FF;
}

.collection-sidebar .submenu li.active[b-7r916j4qd6] {
    background: #FFE5B4;
    color: #bd550f;
    font-weight: 700;
}
.collection-sidebar .submenu li.active .folder-name[b-7r916j4qd6] {
    color: #2a84d8;
}
.collection-sidebar .submenu li.active i[b-7r916j4qd6] {
    color: #2a84d8;
}

/* === ENHANCED INPUT STYLES === */
/* Text Inputs */
input[type="text"][b-7r916j4qd6],
input[type="email"][b-7r916j4qd6],
input[type="password"][b-7r916j4qd6] {
    padding: 10px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    font-size: 15px;
    color: #334155;
    transition: all 0.2s ease;
    outline: none;
    font-family: inherit;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

input[type="text"]:focus[b-7r916j4qd6],
input[type="email"]:focus[b-7r916j4qd6],
input[type="password"]:focus[b-7r916j4qd6] {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1), 0 2px 6px rgba(99, 102, 241, 0.15);
    background: #ffffff;
}

input[type="text"]:hover:not(:focus):not(:disabled)[b-7r916j4qd6],
input[type="email"]:hover:not(:focus):not(:disabled)[b-7r916j4qd6],
input[type="password"]:hover:not(:focus):not(:disabled)[b-7r916j4qd6] {
    border-color: #cbd5e1;
}

input[type="text"]:disabled[b-7r916j4qd6],
input[type="email"]:disabled[b-7r916j4qd6],
input[type="password"]:disabled[b-7r916j4qd6] {
    background: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
}

input[type="text"][readonly][b-7r916j4qd6] {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #64748b;
    cursor: default;
}

input[type="text"][b-7r916j4qd6]::placeholder,
input[type="email"][b-7r916j4qd6]::placeholder,
input[type="password"][b-7r916j4qd6]::placeholder {
    color: #94a3b8;
    opacity: 0.8;
}

/* Textarea */
textarea[b-7r916j4qd6] {
    padding: 10px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    font-size: 15px;
    color: #334155;
    transition: all 0.2s ease;
    outline: none;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

textarea:focus[b-7r916j4qd6] {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1), 0 2px 6px rgba(99, 102, 241, 0.15);
    background: #ffffff;
}

textarea:hover:not(:focus):not(:disabled)[b-7r916j4qd6] {
    border-color: #cbd5e1;
}

textarea[b-7r916j4qd6]::placeholder {
    color: #94a3b8;
    opacity: 0.8;
}

/* Custom Checkbox Styling */
input[type="checkbox"][b-7r916j4qd6] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

input[type="checkbox"]:hover[b-7r916j4qd6] {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

input[type="checkbox"]:checked[b-7r916j4qd6] {
    background: linear-gradient(135deg, #6366f1 0%, #38bdf8 100%);
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15), 0 2px 6px rgba(99, 102, 241, 0.25);
}

input[type="checkbox"]:checked[b-7r916j4qd6]::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

input[type="checkbox"]:focus[b-7r916j4qd6] {
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

input[type="checkbox"]:disabled[b-7r916j4qd6] {
    background: #f1f5f9;
    border-color: #e2e8f0;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Checkbox with label */
label[b-7r916j4qd6] {
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #334155;
    font-weight: 500;
}

label:hover[b-7r916j4qd6] {
    color: #6366f1;
}

/* Select Dropdown */
select[b-7r916j4qd6] {
    padding: 8px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    font-size: 15px;
    color: #334155;
    transition: all 0.2s ease;
    outline: none;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236366f1' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 35px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

select:hover[b-7r916j4qd6] {
    border-color: #cbd5e1;
}

select:focus[b-7r916j4qd6] {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1), 0 2px 6px rgba(99, 102, 241, 0.15);
}

select:disabled[b-7r916j4qd6] {
    background: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Input class (for modal inputs) */
.input[b-7r916j4qd6] {
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    font-size: 15px;
    color: #334155;
    transition: all 0.2s ease;
    outline: none;
    font-family: inherit;
    width: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.input:focus[b-7r916j4qd6] {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1), 0 2px 6px rgba(99, 102, 241, 0.15);
}

.input:hover:not(:focus):not(:disabled)[b-7r916j4qd6] {
    border-color: #cbd5e1;
}

.input[b-7r916j4qd6]::placeholder {
    color: #94a3b8;
    opacity: 0.8;
}

/* Search bar input (already has some styling, enhance it) */
.collection-header .search-bar input[b-7r916j4qd6] {
    border: none;
    background: transparent;
    font-size: 14px;
    outline: none;
    margin-left: 8px;
    color: #3b3365;
    flex: 1;
    padding: 2px 0;
    box-shadow: none;
}

.collection-header .search-bar input:focus[b-7r916j4qd6] {
    box-shadow: none;
}

/* Small checkbox for cards */
.select-card[b-7r916j4qd6] {
    width: 18px;
    height: 18px;
}

/* Collection actions checkbox */
.collection-actions input[type="checkbox"][b-7r916j4qd6] {
    margin-right: 0;
}

.collection-actions label[b-7r916j4qd6] {
    margin-left: 8px;
    font-size: 14px;
    color: #475569;
}

/* Share modal invite box input */
.share-modal-invite-box input[type="email"][b-7r916j4qd6] {
    flex: 1;
    padding: 10px 14px;
    border-radius: 10px;
    border: 2px solid #c7d2fe;
    background: #f8fafc;
    font-size: 15px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.share-modal-invite-box input[type="email"]:focus[b-7r916j4qd6] {
    border-color: #6366f1;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1), 0 2px 6px rgba(99, 102, 241, 0.15);
}

.share-modal-invite-box input[type="email"]:hover:not(:focus)[b-7r916j4qd6] {
    border-color: #a5b4fc;
}

/* Readonly input in share modal */
.share-modal-public input[type="text"][readonly][b-7r916j4qd6] {
    background: #f1f5f9;
    border: 2px solid #e2e8f0;
    color: #475569;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    cursor: default;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    input[type="text"][b-7r916j4qd6],
    input[type="email"][b-7r916j4qd6],
    input[type="password"][b-7r916j4qd6],
    textarea[b-7r916j4qd6],
    .input[b-7r916j4qd6] {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    input[type="checkbox"][b-7r916j4qd6] {
        width: 18px;
        height: 18px;
    }
    
    input[type="checkbox"]:checked[b-7r916j4qd6]::after {
        left: 5px;
        top: 1px;
        width: 4px;
        height: 8px;
    }
    
    select[b-7r916j4qd6] {
        font-size: 14px;
        padding: 7px 10px;
        padding-right: 32px;
    }
}



/* _content/SmartLibraryUI/Pages/Collections/SharedCollection.razor.rz.scp.css */

    .collection-root[b-vabwxrz47m] {
        min-height: 100vh;
        background: linear-gradient(135deg, #717eb7 0%, var(--primary-color) 100%);
        padding: 20px;
    }

    .collection-header-main[b-vabwxrz47m] {
        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-vabwxrz47m] {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 16px;
    }

    .header-left[b-vabwxrz47m] {
        flex: 1;
    }

    .page-title[b-vabwxrz47m] {
        font-size: 22px;
        font-weight: 600;
        color: #2d3748;
        margin: 0 0 6px 0;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .page-title i[b-vabwxrz47m] {
        color: #667eea;
    }

    .page-subtitle[b-vabwxrz47m] {
        color: #718096;
        margin: 0;
        font-size: 14px;
        line-height: 1.4;
    }

    .add-to-library-btn[b-vabwxrz47m] {
        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-vabwxrz47m] {
        transform: translateY(-1px);
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    }

    .search-filter-bar[b-vabwxrz47m] {
        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-vabwxrz47m] {
        flex: 1;
        position: relative;
        max-width: 500px;
    }

    .search-icon[b-vabwxrz47m] {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: #a0aec0;
        font-size: 16px;
    }

    .search-input[b-vabwxrz47m] {
        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-vabwxrz47m] {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

    .filter-actions[b-vabwxrz47m] {
        display: flex;
        gap: 12px;
    }

    .filter-actions .btn[b-vabwxrz47m] {
        border-radius: 6px;
        padding: 6px 12px;
        font-weight: 500;
        font-size: 13px;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .collection-main[b-vabwxrz47m] {
        background: white;
        border-radius: 16px;
        padding: 24px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .loading-container[b-vabwxrz47m] {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 80px 0;
    }

    .spinner[b-vabwxrz47m] {
        width: 48px;
        height: 48px;
        border: 4px solid #f3f3f3;
        border-top: 4px solid #667eea;
        border-radius: 50%;
        animation: spin-b-vabwxrz47m 1s linear infinite;
    }

    .loading-text[b-vabwxrz47m] {
        margin-top: 20px;
        color: #667eea;
        font-size: 18px;
        font-weight: 500;
    }

    .empty-collection-view[b-vabwxrz47m] {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 80px 0;
        text-align: center;
    }

    .empty-icon[b-vabwxrz47m] {
        font-size: 80px;
        color: #cbd5e0;
        margin-bottom: 24px;
    }

    .empty-title[b-vabwxrz47m] {
        color: #4a5568;
        font-size: 24px;
        font-weight: 600;
        margin: 0 0 12px 0;
    }

    .empty-subtitle[b-vabwxrz47m] {
        color: #718096;
        font-size: 16px;
        margin: 0;
    }

    .books-grid[b-vabwxrz47m] {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .book-card[b-vabwxrz47m] {
        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-vabwxrz47m] {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
        border-color: #667eea;
    }

    .book-card.selected[b-vabwxrz47m] {
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
    }

    .book-card-header[b-vabwxrz47m] {
        position: relative;
        flex-shrink: 0;
        width: 160px;
    }

    .selection-checkbox[b-vabwxrz47m] {
        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-vabwxrz47m] {
        width: 16px;
        height: 16px;
        accent-color: #667eea;
    }

    .book-cover[b-vabwxrz47m] {
        position: relative;
        height: 160px;
        overflow: hidden;
    }

    .cover-image[b-vabwxrz47m] {
        width: 100%;
        height: 100%;
        object-fit: contain;
        background: #f8f9fa;
        transition: transform 0.3s ease;
    }

    .book-card:hover .cover-image[b-vabwxrz47m] {
        transform: scale(1.05);
    }

    .book-overlay[b-vabwxrz47m] {
        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-vabwxrz47m] {
        opacity: 1;
    }

    .view-details-btn[b-vabwxrz47m] {
        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-vabwxrz47m] {
        background: #667eea;
        color: white;
    }

    .book-card-body[b-vabwxrz47m] {
        padding: 16px;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .book-title[b-vabwxrz47m] {
        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-vabwxrz47m], .book-id[b-vabwxrz47m] {
        color: #718096;
        font-size: 13px;
        margin: 0 0 6px 0;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .book-author i[b-vabwxrz47m], .book-id i[b-vabwxrz47m] {
        color: #a0aec0;
        font-size: 12px;
    }

    @keyframes spin-b-vabwxrz47m {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    @media (max-width: 768px) {
        .collection-root[b-vabwxrz47m] {
            padding: 12px;
        }

        .header-content[b-vabwxrz47m] {
            flex-direction: column;
            align-items: flex-start;
        }

        .search-filter-bar[b-vabwxrz47m] {
            flex-direction: column;
            align-items: stretch;
        }

                 .book-card[b-vabwxrz47m] {
             flex-direction: column;
         }
         
         .book-card-header[b-vabwxrz47m] {
             width: 100%;
         }
         
         .book-cover[b-vabwxrz47m] {
             height: 160px;
         }

        .page-title[b-vabwxrz47m] {
            font-size: 24px;
        }
    }
/* _content/SmartLibraryUI/Pages/News/Details.razor.rz.scp.css */
.news-detail-page[b-orrwhkn8rd] {
    background: #f7f8fc;
    min-height: 100vh;
}

.news-article[b-orrwhkn8rd] {
    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-orrwhkn8rd] {
    margin-right: 0.5rem;
}

.article-title[b-orrwhkn8rd] {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0b1a45;
    margin-bottom: 0.75rem;
}

.article-meta[b-orrwhkn8rd] {
    display: flex;
    gap: 1.25rem;
    font-size: 0.9rem;
}

.article-meta i[b-orrwhkn8rd] {
    margin-right: 0.35rem;
}

.article-hero[b-orrwhkn8rd] {
    height: 380px;
    border-radius: 0;
    background: linear-gradient(135deg, #5a6dfc 0%, #8797ff 100%);
    background-size: cover;
    background-position: center;
}

.article-summary[b-orrwhkn8rd] {
    font-size: 1.15rem;
    color: #445078;
}

.article-content[b-orrwhkn8rd] {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #273047;
}

.article-content p[b-orrwhkn8rd] {
    margin-bottom: 1.25rem;
}

.article-content img[b-orrwhkn8rd] {
    max-width: 100%;
    border-radius: 0;
    margin: 1.5rem 0;
}

.article-content h2[b-orrwhkn8rd],
.article-content h3[b-orrwhkn8rd],
.article-content h4[b-orrwhkn8rd] {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #0b1a45;
}

@media (max-width: 991.98px) {
    .news-article[b-orrwhkn8rd] {
        padding: 2rem;
    }

    .article-title[b-orrwhkn8rd] {
        font-size: 1.9rem;
    }

    .article-hero[b-orrwhkn8rd] {
        height: 300px;
    }
}

@media (max-width: 575.98px) {
    .news-article[b-orrwhkn8rd] {
        padding: 1.5rem;
    }

    .article-meta[b-orrwhkn8rd] {
        flex-direction: column;
        gap: 0.75rem;
    }

    .article-title[b-orrwhkn8rd] {
        font-size: 1.6rem;
    }

    .article-hero[b-orrwhkn8rd] {
        height: 240px;
    }
}
/* _content/SmartLibraryUI/Pages/News/Index.razor.rz.scp.css */
.news-page[b-ixak0ri7al] {
    background: #f6f7fb;
    min-height: 100vh;
}

.news-filter-card[b-ixak0ri7al] {
    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-ixak0ri7al] {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    min-height: 340px;
    background: #101735;
    color: #ffffff;
    height: 100%;
    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-ixak0ri7al],
.news-feature:focus-visible[b-ixak0ri7al] {
    transform: translateY(-6px);
    box-shadow: 0 30px 50px rgba(16, 23, 53, 0.3);
}

.news-feature .feature-image[b-ixak0ri7al] {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #1d275c;
    filter: brightness(0.72);
}

.news-feature .feature-body[b-ixak0ri7al] {
    position: relative;
    z-index: 1;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: 100%;
    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-ixak0ri7al] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-title[b-ixak0ri7al] {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.feature-summary[b-ixak0ri7al] {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
}

.feature-meta[b-ixak0ri7al] {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.news-side-list[b-ixak0ri7al] {
    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-ixak0ri7al] {
    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-ixak0ri7al],
.news-side-item:focus-visible[b-ixak0ri7al] {
    background: rgba(11, 26, 69, 0.06);
    transform: translateX(4px);
}

.news-side-item .thumb[b-ixak0ri7al] {
    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-ixak0ri7al] {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5c6b92;
}

.news-side-item .body .title[b-ixak0ri7al] {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0b1a45;
}

.news-grid .news-card[b-ixak0ri7al] {
    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-ixak0ri7al],
.news-grid .news-card:focus-visible[b-ixak0ri7al] {
    transform: translateY(-6px);
    box-shadow: 0 20px 36px rgba(11, 26, 69, 0.16);
}

.news-card .card-image[b-ixak0ri7al] {
    height: 180px;
    background: linear-gradient(135deg, #5a6dfc 0%, #8797ff 100%);
    background-size: cover;
    background-position: center;
}

.news-card .card-body[b-ixak0ri7al] {
    padding: 1.35rem;
}

.card-meta[b-ixak0ri7al] {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5b6785;
    margin-bottom: 0.5rem;
}

.card-title[b-ixak0ri7al] {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0b1a45;
    margin-bottom: 0.5rem;
}

.card-summary[b-ixak0ri7al] {
    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-ixak0ri7al] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.badge.bg-outline-primary[b-ixak0ri7al] {
    border: 1px solid rgba(10, 100, 240, 0.35);
    color: #0a64f0;
    background: rgba(10, 100, 240, 0.08);
}

.news-empty-card[b-ixak0ri7al] {
    background: #ffffff;
    border-radius: 20px;
    border: 1px dashed rgba(11, 26, 69, 0.2);
}

.news-pagination .page-link[b-ixak0ri7al] {
    border-radius: 999px;
    margin: 0 0.2rem;
    color: #0b1a45;
}

.news-pagination .page-item.active .page-link[b-ixak0ri7al] {
    background-color: #0a64f0;
    border-color: #0a64f0;
}

@media (max-width: 991.98px) {
    .news-feature .feature-body[b-ixak0ri7al] {
        padding: 2rem;
        min-height: 300px;
    }

    .news-side-list[b-ixak0ri7al] {
        margin-top: 1rem;
    }
}

@media (max-width: 575.98px) {
    .news-filter-card[b-ixak0ri7al] {
        padding: 1.25rem;
    }

    .news-feature[b-ixak0ri7al] {
        min-height: 280px;
    }

    .news-feature .feature-body[b-ixak0ri7al] {
        padding: 1.75rem;
    }

    .news-side-item .thumb[b-ixak0ri7al] {
        width: 72px;
        height: 56px;
    }
}
/* _content/SmartLibraryUI/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-dktc961ln6] {
    display: flex;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    padding: 0.75rem;
}

.result-cover[b-dktc961ln6] {
    margin-right: 1rem;
    flex-shrink: 0;
    text-align: center;
}

.result-cover-img[b-dktc961ln6] {
    width: 80px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
}

.result-content[b-dktc961ln6] {
    flex-grow: 1;
}

.result-title[b-dktc961ln6] {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.meta-details[b-dktc961ln6] {
    font-size: 0.875rem;
    color: #6c757d;
}
.ology-btn-selected[b-dktc961ln6] {
    background-color: #f1db11;
    font-weight: 600;
    color: #000;
    border: 0;
}
.ology-btn[b-dktc961ln6] {
    padding: 0.25rem 0.5rem;
    font-size: 0.9rem;
}
.ology-number[b-dktc961ln6] {
    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;
    border-radius:6px;
}
.ology-btn:hover[b-dktc961ln6] {
    background-color: #d4cece;
    cursor: pointer;
}

.curriculum-item[b-dktc961ln6] {
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    line-height: 1.2;
}

.curriculum-item:hover[b-dktc961ln6] {
    background-color: #f2f2f2;
}

.result-card:hover[b-dktc961ln6] {
    background-color: #f5f5f5;
    cursor: pointer;
}
.meta-details[b-dktc961ln6] {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-top: 0.8rem;
}

.meta-label[b-dktc961ln6] {
    font-size: 0.9rem;
    color: #483d3d;
}

.meta-item[b-dktc961ln6] {
    margin: 0;
    padding: 0;
}

.meta-icons[b-dktc961ln6] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.meta-item-group .meta-item:not(:last-child)[b-dktc961ln6]:after {
    content: " - ";
}
.icon-item[b-dktc961ln6] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

    .icon-item i[b-dktc961ln6] {
        font-size: 16px;
    }

        .icon-item i.bi-book[b-dktc961ln6] {
            color: #2c5282;
        }

        .icon-item i.bi-file-earmark-text[b-dktc961ln6] {
            color: #e53e3e;
        }

    .icon-item.open-access i.bi-unlock[b-dktc961ln6] {
        color: #f28c38;
    }
.list-group-item + .list-group-item[b-dktc961ln6] {
    border-top-width: 0;
}

.list-group-item.active[b-dktc961ln6] {
    z-index: 2;
    color: #fff;
    background-color: #5395f2;    
    cursor: pointer;
}

.list-group-item[b-dktc961ln6] {
    position: relative;
    display: block;
    padding: .3rem 1rem;
    color: #212529;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .125);
}
/* _content/SmartLibraryUI/Pages/ReadPDF.razor.rz.scp.css */
.read-pdf-container[b-bf6zsoxyal] {
    width: 100%;
    height: calc(100vh - 64px);
    position: relative;
    overflow: hidden;
    background: #f5f7fa;
    display: flex;
    flex-direction: column;
}

.pdf-viewer-container[b-bf6zsoxyal] {
    width: 100%;
    height: 100%;
    background: #1f2933;
    border: none;
    flex: 1 1 auto;
}

.pdf-viewer-container.hidden[b-bf6zsoxyal] {
    display: none;
}

.pdf-loading-message[b-bf6zsoxyal] {
    color: #e2e8f0;
    font-size: 1rem;
    padding: 2rem;
    text-align: center;
}

.pdf-status[b-bf6zsoxyal] {
    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-bf6zsoxyal] {
    font-size: 2.75rem;
    color: #2563eb;
}

.pdf-status h2[b-bf6zsoxyal] {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.pdf-status p[b-bf6zsoxyal] {
    margin: 0;
    max-width: 32rem;
    color: #475569;
}

.pdf-status-error i[b-bf6zsoxyal] {
    color: #dc3545;
}

.pdf-status-error p[b-bf6zsoxyal] {
    color: #6b7280;
}

.pdf-status-loading .spinner-border[b-bf6zsoxyal] {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    .read-pdf-container[b-bf6zsoxyal] {
        height: calc(100vh - 56px);
        padding: 1rem;
    }

    .pdf-status h2[b-bf6zsoxyal] {
        font-size: 1.25rem;
    }

    .pdf-status p[b-bf6zsoxyal] {
        font-size: 0.95rem;
    }
}

footer#footer[b-bf6zsoxyal] {
    display: none;
}
/* _content/SmartLibraryUI/Pages/Search/SearchBooks.razor.rz.scp.css */
/* Reset và cơ bản */

*[b-t7tmw8zzfb] {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Container và Wrapper */
.search-wrapper[b-t7tmw8zzfb] {
    min-height: 70vh;
    position: relative;
}

.container[b-t7tmw8zzfb] {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Loading */
.loading-container[b-t7tmw8zzfb] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-size: 1.25rem;
    color: #64748b;
    animation: fadeIn-b-t7tmw8zzfb 0.5s ease-in;
}
/*Title search*/
.knowledge-title[b-t7tmw8zzfb] {
    font-family: var(--app-font-family);
    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-t7tmw8zzfb] {
    background: #ffffff;
    padding: 1.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.search-input-group[b-t7tmw8zzfb] {
    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;
    padding-top: 1.75rem;
    position: relative;
}

.search-guide-link-container[b-t7tmw8zzfb] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: absolute;
    top: 0.25rem;
    right: 0.75rem;
    margin-bottom: 0;
    width: auto;
    z-index: 2;
}

.search-guide-link[b-t7tmw8zzfb] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1d4ed8;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

    .search-guide-link i[b-t7tmw8zzfb] {
        font-size: 1rem;
    }

    .search-guide-link:hover[b-t7tmw8zzfb] {
        color: #2563eb;
        background-color: rgba(37, 99, 235, 0.08);
    }

    .search-guide-link:focus-visible[b-t7tmw8zzfb] {
        outline: 2px solid #2563eb;
        outline-offset: 2px;
    }

.search-options-container[b-t7tmw8zzfb] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.1rem;
    width: 100%;
}

.search-select[b-t7tmw8zzfb] {
    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-t7tmw8zzfb] {
    display: flex;
    flex: 1;
    min-width: 0;
}

.search-input-container[b-t7tmw8zzfb] {
    position: relative;
    flex: 1;
}

.suggest-list[b-t7tmw8zzfb] {
    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-t7tmw8zzfb] {
        padding: 0.5rem 1rem;
        cursor: pointer;
        text-align: left;
    }

        .suggest-list li strong[b-t7tmw8zzfb] {
            background-color: transparent;
            color: #1d4ed8;
            font-weight: 700;
        }

        .suggest-list li:hover[b-t7tmw8zzfb],
        .suggest-list li.active[b-t7tmw8zzfb] {
            background-color: #f1f1f1;
        }

.search-input[b-t7tmw8zzfb] {
    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-t7tmw8zzfb] {
        outline: none;
        box-shadow: inset 0 0 0 2px #3b82f6;
    }

.search-clear-btn[b-t7tmw8zzfb] {
    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-t7tmw8zzfb] {
        color: #3b82f6;
        transform: translateY(-50%) scale(1.1);
    }

.search-btn[b-t7tmw8zzfb] {
    background: #3b82f6;
    border: none;
    padding: 0rem 1.75rem;
    color: #ffffff;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .search-btn:hover[b-t7tmw8zzfb] {
        background: #2563eb;
        transform: translateY(-1px);
    }

.pagination-summary-top[b-t7tmw8zzfb] {
    font-size: 0.9375rem;
    color: #64748b;
    margin: 1rem 0 0 7rem;
    text-align: left;
}

/* Search Options */
.search-options-toggle[b-t7tmw8zzfb] {
    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-t7tmw8zzfb] {
        color: #2563eb;
    }


.search-options[b-t7tmw8zzfb] {
    display: none;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
    align-items: center;
    padding: 0 0.75rem;
}

    .search-options.open[b-t7tmw8zzfb] {
        display: flex;
        animation: slideDown-b-t7tmw8zzfb 0.3s ease-out;
    }

.search-option-group[b-t7tmw8zzfb] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    border: none;
    background: none;
    flex: 0 0 auto;
    min-width: 0;
}

    .search-option-group label[b-t7tmw8zzfb],
    .search-options label[b-t7tmw8zzfb] {
        font-size: 0.875rem;
        color: #64748b;
        margin-right: 0.5rem;
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        font-weight: 500;
    }

.filter-label span[b-t7tmw8zzfb]::after {
    content: ":";
    margin-left: 0.15rem;
}

.filter-icon[b-t7tmw8zzfb] {
    display: none;
    font-size: 0.95rem;
    color: #3b82f6;
}

.search-options-actions[b-t7tmw8zzfb] {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    padding-top: 0;
}

.filter-select[b-t7tmw8zzfb] {
    padding: 0.2rem 1.75rem 0.2rem 0.75rem;
    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-t7tmw8zzfb] {
    padding: 0rem 0;
}

/* Filters Sidebar */
.filter-aside[b-t7tmw8zzfb] {
    position: relative;
}

.filter-toggle-btn[b-t7tmw8zzfb] {
    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-t7tmw8zzfb] {
        background: #2563eb;
        transform: translateY(-2px);
    }

.filters-sidebar[b-t7tmw8zzfb] {
    background: #ffffff;
    padding: 1.75rem;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .filters-sidebar.is-loading[b-t7tmw8zzfb] {
        pointer-events: none;
    }

        .filters-sidebar.is-loading > *:not(.filters-loading-overlay)[b-t7tmw8zzfb] {
            opacity: 0.4;
            transition: opacity 0.2s ease;
        }

.filters-loading-overlay[b-t7tmw8zzfb] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(1.5px);
    color: #1e293b;
    font-size: 0.875rem;
    font-weight: 500;
    transition: opacity 0.2s ease;
    z-index: 2;
}

.filter-close-btn[b-t7tmw8zzfb] {
    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-t7tmw8zzfb] {
        color: #3b82f6;
        transform: scale(1.1);
    }

.filter-group[b-t7tmw8zzfb] {
    margin-bottom: 1.75rem;
}

.filter-group-title[b-t7tmw8zzfb] {
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.875rem;
}

.filter-options[b-t7tmw8zzfb] {
    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-t7tmw8zzfb] {
    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-t7tmw8zzfb] {
        color: #3b82f6;
        text-decoration: underline;
    }

.filter-see-more[b-t7tmw8zzfb] {
    list-style: none;
    text-align: right;
    text-decoration: underline;
    font-size: 0.8rem;
    font-style: italic;
    margin-top: 10px
}

    .filter-see-more:hover[b-t7tmw8zzfb] {
        color: #439fed
    }

.filter-count[b-t7tmw8zzfb] {
    color: #94a3b8;
    font-size: 0.8125rem;
    transition: transform 0.3s ease;
}

/* Selected Filters */
.selected-filters[b-t7tmw8zzfb] {
    margin-bottom: 2.25rem;
}

.selected-filters-heading[b-t7tmw8zzfb] {
    font-weight: 600;
    color: #1e293b;
    margin: 1rem 0.5rem;
}

.filter-tags[b-t7tmw8zzfb] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.filter-tag[b-t7tmw8zzfb] {
    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-t7tmw8zzfb] {
    margin-right: 0.625rem;
}

.filter-tag-close[b-t7tmw8zzfb] {
    background: none;
    border: none;
    color: #ef0a0a;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease;
}

    .filter-tag-close:hover[b-t7tmw8zzfb] {
        color: #ef0a0a;
        font-weight: 600
    }

/* Results List */
.results-list[b-t7tmw8zzfb] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 0;
}

/* Mobile results summary */
.mobile-results-summary[b-t7tmw8zzfb] {
    display: none;
}

.search-guide-wrapper[b-t7tmw8zzfb] {
    margin-bottom: 2rem;
}

.search-guide-fallback[b-t7tmw8zzfb] {
    background-color: #f8fafc;
    border: 1px solid #dbe3f0;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    color: #0f172a;
}

    .search-guide-fallback h4[b-t7tmw8zzfb] {
        font-size: 1.25rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
    }

    .search-guide-fallback p[b-t7tmw8zzfb] {
        margin: 0;
        color: #475569;
        line-height: 1.5;
    }

.result-card[b-t7tmw8zzfb] {
    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-t7tmw8zzfb] {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    }

.result-cover[b-t7tmw8zzfb] {
    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-t7tmw8zzfb] {
    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-t7tmw8zzfb] {
    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-t7tmw8zzfb] {
    transform: scale(1.03);
}

.result-content[b-t7tmw8zzfb] {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.result-header[b-t7tmw8zzfb] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.result-title[b-t7tmw8zzfb] {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    color: #1e293b;
}

    .result-title a[b-t7tmw8zzfb] {
        text-decoration: none;
        color: inherit;
        transition: color 0.2s ease;
    }

        .result-title a:hover[b-t7tmw8zzfb] {
            color: #2563eb;
        }

.result-author[b-t7tmw8zzfb] {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 4px
}

    .result-author a[b-t7tmw8zzfb] {
        text-decoration: none;
        color: #64748b;
        transition: color 0.2s ease;
    }

        .result-author a:hover[b-t7tmw8zzfb] {
            color: #2563eb;
            text-decoration: underline;
        }

.author-label[b-t7tmw8zzfb] {
    font-style: italic;
    color: #94a3b8;
    margin-right: 0.25rem;
}

.result-meta[b-t7tmw8zzfb] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.meta-details[b-t7tmw8zzfb] {
    font-size: 0.9rem;
    color: #94a3b8;
}

.meta-label[b-t7tmw8zzfb] {
    font-size: 0.9rem;
    color: #483d3d;
}

.meta-item[b-t7tmw8zzfb] {
    margin: 0;
    padding: 0;
}

.meta-icons[b-t7tmw8zzfb] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.meta-item-group .meta-item:not(:last-child)[b-t7tmw8zzfb]:after {
    content: " - ";
}

.icon-item[b-t7tmw8zzfb] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

    .icon-item i[b-t7tmw8zzfb] {
        font-size: 16px;
    }

        .icon-item i.bi-book[b-t7tmw8zzfb] {
            color: #2c5282;
        }

        .icon-item i.bi-file-earmark-text[b-t7tmw8zzfb] {
            color: #e53e3e;
        }

    .icon-item.open-access i.bi-unlock[b-t7tmw8zzfb] {
        color: #f28c38;
    }
/*Open Access License*/
.open-access[b-t7tmw8zzfb] {
    font-size: 0.8em;
    vertical-align: middle
}

.license-icon[b-t7tmw8zzfb] {
    height: 20px;
    vertical-align: middle;
    border-radius: 5px;
}

.license-group[b-t7tmw8zzfb] {
    margin-top: 15px;
}

.result-actions[b-t7tmw8zzfb] {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
}
/* Tooltip CSS */
.tooltip[b-t7tmw8zzfb] {
    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-t7tmw8zzfb] {
    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-t7tmw8zzfb] {
        transform: scale(1.1);
    }

.btn-add-cart[b-t7tmw8zzfb] {
    color: #10b981;
}

    .btn-add-cart:hover[b-t7tmw8zzfb] {
        color: #059669;
    }

.btn-print[b-t7tmw8zzfb] {
    color: #3b82f6;
}

    .btn-print:hover[b-t7tmw8zzfb] {
        color: #2563eb;
    }

.btn-zotero[b-t7tmw8zzfb] {
    color: #f59e0b;
}

    .btn-zotero:hover[b-t7tmw8zzfb] {
        color: #d97706;
    }

.no-results h3[b-t7tmw8zzfb] {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.no-results p[b-t7tmw8zzfb] {
    font-size: 1rem;
    color: #64748b;
}

/* Pagination */
.pagination[b-t7tmw8zzfb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding: 1rem 0;
}

.pagination-summary[b-t7tmw8zzfb] {
    font-size: 0.9375rem;
    color: #64748b;
}

.pagination-buttons[b-t7tmw8zzfb] {
    display: flex;
    gap: 0.5rem;
}

.btn-paginate[b-t7tmw8zzfb], .btn-paginate-active[b-t7tmw8zzfb] {
    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-t7tmw8zzfb] {
        background: #f1f5f9;
        border-color: #cbd5e1;
        transform: translateY(-2px);
    }

.btn-paginate-active[b-t7tmw8zzfb] {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #ffffff;
}

.btn-paginate:disabled[b-t7tmw8zzfb] {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Advanced Search Modal */
.advanced-search-modal[b-t7tmw8zzfb] {
    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-t7tmw8zzfb 0.3s ease-in;
}

.advanced-search-content[b-t7tmw8zzfb] {
    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-t7tmw8zzfb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

    .advanced-search-header h3[b-t7tmw8zzfb] {
        font-size: 1.5rem;
        font-weight: 600;
        color: #1e293b;
    }

.advanced-search-close[b-t7tmw8zzfb] {
    background: none;
    border: none;
    color: #64748b;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .advanced-search-close:hover[b-t7tmw8zzfb] {
        color: #3b82f6;
        transform: scale(1.1);
    }

.advanced-search-toggle[b-t7tmw8zzfb] {
    font-size: 0.85em
}

    .advanced-search-toggle:hover[b-t7tmw8zzfb] {
        text-decoration: underline;
    }
/* Body */
.advanced-search-body[b-t7tmw8zzfb] {
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.group-title[b-t7tmw8zzfb] {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

/* Condition Group */

.condition-group[b-t7tmw8zzfb] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.condition-card[b-t7tmw8zzfb] {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.condition-card-header[b-t7tmw8zzfb] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.condition-badge[b-t7tmw8zzfb] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: #e2e8f0;
    color: #0f172a;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.operator-select[b-t7tmw8zzfb] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 120px;
}

.condition-label[b-t7tmw8zzfb] {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}

.condition-actions[b-t7tmw8zzfb] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
}

.condition-card-body[b-t7tmw8zzfb] {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.condition-field-group[b-t7tmw8zzfb] {
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.condition-operator[b-t7tmw8zzfb] {
    width: 100%;
    max-width: 160px;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9rem;
    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.75rem center;
    background-size: 0.65rem;
}

.condition-field[b-t7tmw8zzfb] {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9rem;
    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.75rem center;
    background-size: 0.65rem;
    transition: border-color 0.2s ease;
}

.condition-value[b-t7tmw8zzfb] {
    width: 100%;
    padding: 0.6rem 0.85rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #1e293b;
    background: #ffffff;
    transition: border-color 0.2s ease;
}

.btn-add-condition[b-t7tmw8zzfb] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1d4ed8;
    background: #eff6ff;
    border: 1px dashed #93c5fd;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .btn-add-condition:hover[b-t7tmw8zzfb] {
        background: #dbeafe;
        border-color: #60a5fa;
        transform: translateY(-1px);
    }

.condition-value:focus[b-t7tmw8zzfb] {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.condition-remove[b-t7tmw8zzfb] {
    background: rgba(239, 68, 68, 0.12) !important;
    border: none;
    border-radius: 999px;
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ef4444 !important;
    padding: 0;
    box-shadow: none !important;
}

    .condition-remove:hover[b-t7tmw8zzfb] {
        background: rgba(239, 68, 68, 0.22) !important;
        color: #dc2626 !important;
        transform: translateY(-1px);
    }

    .condition-remove i[b-t7tmw8zzfb] {
        pointer-events: none;
    }

/* Range Group */
.range-group[b-t7tmw8zzfb] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.range-row[b-t7tmw8zzfb] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dual-range-slider[b-t7tmw8zzfb] {
    position: relative;
    width: 100%;
    height: 30px;
}

.range-min[b-t7tmw8zzfb], .range-max[b-t7tmw8zzfb] {
    -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-t7tmw8zzfb]::-webkit-slider-thumb, .range-max[b-t7tmw8zzfb]::-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-t7tmw8zzfb], .range-max:-moz-range-thumb[b-t7tmw8zzfb] {
        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-t7tmw8zzfb] {
    position: absolute;
    top: 50%;
    transform: translateY(-100%);
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 4px;
    z-index: 1;
}

.slider-range[b-t7tmw8zzfb] {
    position: absolute;
    height: 6px;
    background: #3b82f6;
    border-radius: 4px;
    z-index: 1;
}

.range-values[b-t7tmw8zzfb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    gap: 0.5rem;
}

.range-input[b-t7tmw8zzfb] {
    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-t7tmw8zzfb] {
        outline: none;
        border-color: #3b82f6;
        box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
    }

/* Dewey Group */
.dewey-group[b-t7tmw8zzfb] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dewey-row[b-t7tmw8zzfb] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dewey-input[b-t7tmw8zzfb] {
    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-t7tmw8zzfb] {
        outline: none;
        border-color: #3b82f6;
        box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
    }

/* Validation */
.validation-error[b-t7tmw8zzfb] {
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

/* Footer */
.advanced-search-footer[b-t7tmw8zzfb] {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.btn-reset[b-t7tmw8zzfb],
.btn-apply[b-t7tmw8zzfb] {
    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-t7tmw8zzfb] {
    background: #f3f4f6;
    color: #374151;
    border: none;
}

    .btn-reset:hover[b-t7tmw8zzfb] {
        background: #e5e7eb;
        transform: translateY(-1px);
    }

.btn-apply[b-t7tmw8zzfb] {
    background: #3b82f6;
    color: #ffffff;
    border: none;
}

    .btn-apply:hover[b-t7tmw8zzfb] {
        background: #2563eb;
        transform: translateY(-1px);
    }

    .btn-apply:disabled[b-t7tmw8zzfb] {
        background: #94a3b8;
        cursor: not-allowed;
        transform: none;
    }

/* Animations */
@keyframes fadeIn-b-t7tmw8zzfb {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideDown-b-t7tmw8zzfb {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .search-header[b-t7tmw8zzfb] {
        padding: 1rem 0;
    }

    .search-guide-link-container[b-t7tmw8zzfb] {
        margin-bottom: 0.75rem;
    }

    .pagination-summary-top[b-t7tmw8zzfb] {
        margin: 0.75rem 0 0 1rem;
    }

    .search-input-group[b-t7tmw8zzfb] {
        box-shadow: none;
        max-width: 100%;
        padding: 0;
    }

    .search-options-container[b-t7tmw8zzfb] {
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
        border-radius: 12px;
        overflow: visible;
    }

    .search-select[b-t7tmw8zzfb] {
        width: 100%;
        margin-bottom: 0.75rem;
    }

    .input-button-wrapper[b-t7tmw8zzfb] {
        width: 100%;
        border-radius: 12px;
    }

    .search-input[b-t7tmw8zzfb] {
        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-t7tmw8zzfb] {
            outline: none;
            box-shadow: none;
            border-color: #e2e8f0;
            box-shadow: inset 0 0 0 1px #3b82f6;
        }



    .search-options-toggle[b-t7tmw8zzfb] {
        padding: 0.75rem 1rem;
    }

    .filter-toggle-btn[b-t7tmw8zzfb] {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .filters-sidebar[b-t7tmw8zzfb] {
        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-t7tmw8zzfb] {
            transform: translateX(0);
        }

    .filter-close-btn[b-t7tmw8zzfb] {
        display: block;
    }

    .search-wrapper[b-t7tmw8zzfb]::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-t7tmw8zzfb]::before {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 640px) {
    .search-guide-link-container[b-t7tmw8zzfb] {
        justify-content: flex-start;
    }

    .search-guide-link[b-t7tmw8zzfb] {
        font-size: 0.85rem;
    }

    .pagination-summary-top[b-t7tmw8zzfb] {
        font-size: 0.875rem;
        margin: 0.5rem 0 0 1rem;
    }

    .search-input[b-t7tmw8zzfb] {
        font-size: 1rem;
    }

    .search-btn[b-t7tmw8zzfb] {
        padding: 0rem 1.25rem;
    }

    .search-options[b-t7tmw8zzfb] {
        flex-wrap: nowrap;
        align-items: center;
        overflow-x: auto;
        padding: 0.65rem 0.5rem;
        gap: 0.75rem;
        margin: 0 -0.5rem;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .search-option-group[b-t7tmw8zzfb] {
        flex: 0 0 auto;
        flex-direction: row;
        align-items: center;
        gap: 0.65rem;
        padding: 0.55rem 0.9rem;
        border-radius: 9999px;
        border: 1px solid #dbeafe;
        background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
        min-width: max-content;
        scroll-snap-align: start;
    }

        .search-option-group label[b-t7tmw8zzfb] {
            margin-right: 0;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            color: #64748b;
            white-space: nowrap;
        }

    .filter-label span[b-t7tmw8zzfb]::after {
        content: none;
    }

    .search-option-group .filter-select[b-t7tmw8zzfb] {
        border: none;
        background: transparent;
        font-size: 0.95rem;
        font-weight: 600;
        color: #0f172a;
        padding: 8px;
        padding-right: 1.5rem;
        min-width: max-content;
        white-space: nowrap;
        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%231E293B%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 center;
        background-size: 0.6rem;
    }

        .search-option-group .filter-select:focus[b-t7tmw8zzfb] {
            outline: none;
        }

        .search-option-group .filter-select option[b-t7tmw8zzfb] {
            color: #0f172a;
        }

    .filter-icon[b-t7tmw8zzfb] {
        display: inline-flex;
    }

    .advanced-search-content[b-t7tmw8zzfb] {
        padding: 1.5rem 1.25rem;
        border-radius: 12px;
    }

    .condition-card[b-t7tmw8zzfb] {
        padding: 1rem;
        gap: 1rem;
    }

    .condition-card-header[b-t7tmw8zzfb] {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .condition-actions[b-t7tmw8zzfb] {
        margin-left: 0;
        justify-content: flex-end;
    }

    .operator-select[b-t7tmw8zzfb] {
        width: 100%;
    }

    .condition-card-body[b-t7tmw8zzfb] {
        flex-direction: column;
        gap: 0.75rem;
    }

    .condition-field-group[b-t7tmw8zzfb] {
        flex: 1 1 100%;
    }

    .condition-badge[b-t7tmw8zzfb] {
        font-size: 0.7rem;
    }

    .btn-add-condition[b-t7tmw8zzfb] {
        font-size: 0.85rem;
        padding: 0.75rem;
    }

    .search-options-actions[b-t7tmw8zzfb] {
        flex: 0 0 auto;
        align-items: center;
        scroll-snap-align: start;
    }

        .search-options-actions .advanced-search-toggle[b-t7tmw8zzfb] {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.55rem 0.9rem;
            border-radius: 9999px;
            border: 1px solid #dbeafe;
            background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
            color: #0f172a;
            font-size: 0.85rem;
            font-weight: 600;
            text-decoration: none;
            box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
            white-space: nowrap;
        }

            .search-options-actions .advanced-search-toggle i[b-t7tmw8zzfb] {
                font-size: 1rem;
                color: #3b82f6;
            }

            .search-options-actions .advanced-search-toggle:hover[b-t7tmw8zzfb] {
                text-decoration: none;
            }

            .search-options-actions .advanced-search-toggle:active[b-t7tmw8zzfb] {
                transform: translateY(1px);
            }

    .search-options-toggle[b-t7tmw8zzfb] {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        border: 1px solid #dbeafe;
        border-radius: 9999px;
        background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
        color: #0f172a;
        font-weight: 600;
        padding: 0.55rem 0.9rem;
        margin-top: 0.75rem;
        align-self: flex-start;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    }

        .search-options-toggle i[b-t7tmw8zzfb] {
            font-size: 1rem;
            color: #3b82f6;
        }

        .search-options-toggle:hover[b-t7tmw8zzfb] {
            color: #0f172a;
            text-decoration: none;
        }

    @supports not (width: max-content) {
        .search-option-group[b-t7tmw8zzfb],
        .search-option-group .filter-select[b-t7tmw8zzfb] {
            min-width: 150px;
        }
    }

    .search-clear-btn[b-t7tmw8zzfb] {
        font-size: 1.125rem;
    }

    .result-cover-img[b-t7tmw8zzfb] {
        width: 100px;
        height: 150px;
    }

    .result-title[b-t7tmw8zzfb] {
        font-size: 1.25rem;
    }

    .result-details[b-t7tmw8zzfb] {
        font-size: 0.8125rem;
    }

    .mobile-results-summary[b-t7tmw8zzfb] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        margin: 0 0 1rem 0;
        padding: 0.75rem 1rem;
        background: #f8fafc;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    }

    .mobile-results-summary-text[b-t7tmw8zzfb] {
        flex: 1;
        font-size: 0.9375rem;
        color: #0f172a;
        line-height: 1.4;
    }

    .mobile-filter-toggle[b-t7tmw8zzfb] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 4.5rem;
        border-radius: 9999px;
        border: 1px solid #cbd5e1;
        background: #cbf810;
        color: #0f172a;
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
        transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
    }

        .mobile-filter-toggle i[b-t7tmw8zzfb] {
            font-size: 1.25rem;
        }

        .mobile-filter-toggle:focus-visible[b-t7tmw8zzfb] {
            outline: 3px solid rgba(15, 23, 42, 0.25);
            outline-offset: 2px;
        }

        .mobile-filter-toggle:active[b-t7tmw8zzfb] {
            transform: scale(0.96);
            box-shadow: 0 2px 10px rgba(15, 23, 42, 0.2);
        }

    .filter-aside > .filter-toggle-btn[b-t7tmw8zzfb] {
        display: none;
    }

    .pagination[b-t7tmw8zzfb] {
        flex-direction: column;
        gap: 1.25rem;
    }

    .btn-paginate[b-t7tmw8zzfb], .btn-paginate-active[b-t7tmw8zzfb] {
        width: 36px;
        height: 36px;
    }
}
/* Group Modal */
.group-modal[b-t7tmw8zzfb] {
    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-t7tmw8zzfb 0.3s ease-in;
}

.group-modal-content[b-t7tmw8zzfb] {
    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-t7tmw8zzfb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
}

    .group-modal-header h3[b-t7tmw8zzfb] {
        font-size: 1.2rem;
        font-weight: 600;
        color: #1e293b;
        margin-left: 20px
    }

.group-modal-close[b-t7tmw8zzfb] {
    background: none;
    border: none;
    color: #64748b;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .group-modal-close:hover[b-t7tmw8zzfb] {
        color: #3b82f6;
        transform: scale(1.1);
    }

.group-modal-fixed-top[b-t7tmw8zzfb] {
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
    flex-shrink: 0;
}

.group-search-container[b-t7tmw8zzfb] {
    position: relative;
}

.group-search-input[b-t7tmw8zzfb] {
    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-t7tmw8zzfb] {
        outline: none;
        border-color: #3b82f6;
    }

.group-search-clear[b-t7tmw8zzfb] {
    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-t7tmw8zzfb] {
        color: #3b82f6;
    }

.group-modal-scrollable[b-t7tmw8zzfb] {
    flex: 1;
    overflow-y: auto;
    padding: 40px;
}

.group-modal-list[b-t7tmw8zzfb] {
    list-style: none;
    padding: 0;
    margin: 0;
}

.group-modal-item[b-t7tmw8zzfb] {
    padding: 0.625rem 0;
    border-bottom: 1px solid #e2e8f0;
}

    .group-modal-item a[b-t7tmw8zzfb] {
        display: flex;
        justify-content: space-between;
        color: #374151;
        text-decoration: none;
        transition: all 0.2s ease;
    }

        .group-modal-item a:hover[b-t7tmw8zzfb] {
            color: #3b82f6;
            padding-left: 0.25rem;
        }

.filter-count[b-t7tmw8zzfb] {
    color: #94a3b8;
    font-size: 0.8125rem;
}

.group-modal-footer[b-t7tmw8zzfb] {
    padding: 15px;
    border-top: 1px solid #e2e8f0;
    flex-shrink: 0;
    display: flex;
    justify-content: flex-end;
    background: #ffffff;
}

.btn-close[b-t7tmw8zzfb] {
    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-t7tmw8zzfb] {
        background: linear-gradient(135deg, #2563eb, #1e40af);
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
    }

    .btn-close:active[b-t7tmw8zzfb] {
        transform: translateY(0);
        box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
    }

/* Animations */
@keyframes fadeIn-b-t7tmw8zzfb {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ////////////////////////////////////////////////  */

@keyframes fadein-b-t7tmw8zzfb {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Modal Backdrop */
.modal-backdrop[b-t7tmw8zzfb] {
    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-t7tmw8zzfb 0.3s ease-out;
}

/* Modal Content */
.modal-content[b-t7tmw8zzfb] {
    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-t7tmw8zzfb 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-t7tmw8zzfb] {
    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-t7tmw8zzfb] {
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

    .modal-title i[b-t7tmw8zzfb] {
        font-size: 22px;
        opacity: 0.9;
    }

.modal-close-btn[b-t7tmw8zzfb] {
    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-t7tmw8zzfb] {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.1);
    }

/* Modal Body */
.modal-body[b-t7tmw8zzfb] {
    padding: 24px 32px;
    max-height: 60vh;
    overflow: hidden;
}

/* Book Preview */
.book-preview[b-t7tmw8zzfb] {
    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-t7tmw8zzfb]::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-t7tmw8zzfb] {
    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-t7tmw8zzfb] {
        transform: perspective(1000px) rotateY(0deg) scale(1.02);
    }

    .book-cover img[b-t7tmw8zzfb] {
        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-t7tmw8zzfb] {
        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-t7tmw8zzfb] {
    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-t7tmw8zzfb] {
    opacity: 1;
}

.book-cover-overlay i[b-t7tmw8zzfb] {
    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-t7tmw8zzfb] {
    transform: scale(1);
}

.book-details[b-t7tmw8zzfb] {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.book-title[b-t7tmw8zzfb] {
    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-t7tmw8zzfb]::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-t7tmw8zzfb], .book-id[b-t7tmw8zzfb] {
    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-t7tmw8zzfb], .book-id:hover[b-t7tmw8zzfb] {
        background: rgba(102, 126, 234, 0.1);
        transform: translateX(4px);
    }

    .book-author i[b-t7tmw8zzfb], .book-id i[b-t7tmw8zzfb] {
        color: #667eea;
        font-size: 14px;
        opacity: 0.8;
    }

/* Collections Section */
.collections-section[b-t7tmw8zzfb] {
    margin-top: 24px;
}

.section-header[b-t7tmw8zzfb] {
    margin-bottom: 20px;
}

    .section-header h6[b-t7tmw8zzfb] {
        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-t7tmw8zzfb] {
            color: #667eea;
        }

.section-subtitle[b-t7tmw8zzfb] {
    font-size: 14px;
    color: #6c757d;
    display: block;
}

/* Loading State */
.loading-collections[b-t7tmw8zzfb] {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.loading-spinner[b-t7tmw8zzfb] {
    margin-bottom: 16px;
}

.spinner[b-t7tmw8zzfb] {
    width: 40px;
    height: 40px;
    border: 3px solid #e9ecef;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin-b-t7tmw8zzfb 0.8s linear infinite;
    margin: 0 auto;
    will-change: transform;
}

/* Empty State */
.no-collections[b-t7tmw8zzfb] {
    text-align: center;
    padding: 40px 20px;
}

.empty-state[b-t7tmw8zzfb] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

    .empty-state i[b-t7tmw8zzfb] {
        font-size: 48px;
        color: #dee2e6;
        margin-bottom: 8px;
    }

    .empty-state h6[b-t7tmw8zzfb] {
        font-size: 16px;
        font-weight: 600;
        color: #495057;
        margin: 0;
    }

    .empty-state p[b-t7tmw8zzfb] {
        font-size: 14px;
        color: #6c757d;
        margin: 0;
        max-width: 300px;
        line-height: 1.5;
    }

/* Collections List */
.collections-list[b-t7tmw8zzfb] {
    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-t7tmw8zzfb]::-webkit-scrollbar {
        width: 8px;
    }

    .collections-list[b-t7tmw8zzfb]::-webkit-scrollbar-track {
        background: rgba(241, 241, 241, 0.5);
        border-radius: 4px;
        margin: 4px 0;
    }

    .collections-list[b-t7tmw8zzfb]::-webkit-scrollbar-thumb {
        background: rgba(193, 193, 193, 0.8);
        border-radius: 4px;
        transition: background 0.2s ease;
    }

        .collections-list[b-t7tmw8zzfb]::-webkit-scrollbar-thumb:hover {
            background: rgba(168, 168, 168, 0.9);
        }

        .collections-list[b-t7tmw8zzfb]::-webkit-scrollbar-thumb:active {
            background: rgba(120, 120, 120, 1);
        }

.collection-item[b-t7tmw8zzfb] {
    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-t7tmw8zzfb] {
        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-t7tmw8zzfb] {
        background: linear-gradient(135deg, #f0f9f4 0%, #e8f5e8 100%);
        border-color: #28a745;
        cursor: default;
    }

        .collection-item.book-exists:hover[b-t7tmw8zzfb] {
            transform: none;
            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
        }

.collection-info[b-t7tmw8zzfb] {
    flex: 1;
}

.collection-header[b-t7tmw8zzfb] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.collection-name[b-t7tmw8zzfb] {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.book-exists-badge[b-t7tmw8zzfb] {
    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-t7tmw8zzfb] {
        font-size: 10px;
    }

.collection-meta[b-t7tmw8zzfb] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.book-count[b-t7tmw8zzfb] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #6c757d;
}

    .book-count i[b-t7tmw8zzfb] {
        color: #667eea;
        font-size: 12px;
    }

.collection-action[b-t7tmw8zzfb] {
    flex-shrink: 0;
}

.action-disabled[b-t7tmw8zzfb] {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #28a745;
    font-size: 12px;
    font-weight: 500;
}

    .action-disabled i[b-t7tmw8zzfb] {
        font-size: 13px;
    }

/* Buttons */
.btn[b-t7tmw8zzfb] {
    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-t7tmw8zzfb] {
        transform: translateY(0) translateZ(0) scale(0.98);
    }

.btn-add[b-t7tmw8zzfb] {
    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-t7tmw8zzfb] {
        transform: translateY(-2px) translateZ(0);
        box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
    }

    .btn-add:active[b-t7tmw8zzfb] {
        transform: translateY(0) translateZ(0) scale(0.98);
        box-shadow: 0 2px 8px rgba(102, 126, 234, 0.25);
    }

.btn-remove[b-t7tmw8zzfb] {
    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-t7tmw8zzfb] {
        transform: translateY(-2px) translateZ(0);
        box-shadow: 0 6px 16px rgba(220, 53, 69, 0.4);
    }

    .btn-remove:active[b-t7tmw8zzfb] {
        transform: translateY(0) translateZ(0) scale(0.98);
        box-shadow: 0 2px 8px rgba(220, 53, 69, 0.25);
    }

    .btn-remove:disabled[b-t7tmw8zzfb] {
        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-t7tmw8zzfb] {
    cursor: not-allowed;
    transform: none;
    opacity: 0.7;
}

.btn-outline-primary[b-t7tmw8zzfb] {
    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-t7tmw8zzfb] {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.35);
    }

.btn-primary[b-t7tmw8zzfb] {
    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-t7tmw8zzfb] {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.35);
    }

.btn-secondary[b-t7tmw8zzfb] {
    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-t7tmw8zzfb] {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.35);
    }

.btn-closes[b-t7tmw8zzfb] {
    padding: 10px 20px;
    font-size: 14px;
    max-height: 47px;
}

/* Create Collection Section */
.create-collection-section[b-t7tmw8zzfb] {
    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-t7tmw8zzfb] {
    padding: 12px 24px;
    font-size: 15px;
}

/* Create Collection Form */
.create-collection-form[b-t7tmw8zzfb] {
    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-t7tmw8zzfb 0.3s ease-out;
}

.form-group[b-t7tmw8zzfb] {
    margin-bottom: 16px;
}

    .form-group label[b-t7tmw8zzfb] {
        display: block;
        font-size: 14px;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 6px;
    }

.form-input[b-t7tmw8zzfb], .form-textarea[b-t7tmw8zzfb] {
    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-t7tmw8zzfb], .form-textarea:focus[b-t7tmw8zzfb] {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        transform: translateY(-1px);
    }

.form-textarea[b-t7tmw8zzfb] {
    min-height: 80px;
    resize: vertical;
    font-family: inherit;
}

.form-actions[b-t7tmw8zzfb] {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
}

.btn-confirm-create[b-t7tmw8zzfb] {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-cancel-create[b-t7tmw8zzfb] {
    padding: 10px 20px;
    font-size: 14px;
}

@keyframes slideDown-b-t7tmw8zzfb {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Footer */
.modal-footer[b-t7tmw8zzfb] {
    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-t7tmw8zzfb {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn-b-t7tmw8zzfb {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.98) translateZ(0);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1) translateZ(0);
    }
}

@keyframes spin-b-t7tmw8zzfb {
    0% {
        transform: rotate(0deg) translateZ(0);
    }

    100% {
        transform: rotate(360deg) translateZ(0);
    }
}

/* Performance optimizations */
.modal-backdrop[b-t7tmw8zzfb] {
    will-change: opacity;
}

.modal-header[b-t7tmw8zzfb], .modal-footer[b-t7tmw8zzfb] {
    will-change: transform;
    transform: translateZ(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal-content[b-t7tmw8zzfb] {
        width: 95%;
        margin: 10px;
        max-height: 95vh;
        border-radius: 16px;
    }

    .modal-header[b-t7tmw8zzfb] {
        padding: 16px 20px 12px;
        border-radius: 16px 16px 0 0;
    }

    .modal-title[b-t7tmw8zzfb] {
        font-size: 18px;
    }

        .modal-title i[b-t7tmw8zzfb] {
            font-size: 20px;
        }

    .modal-close-btn[b-t7tmw8zzfb] {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .modal-body[b-t7tmw8zzfb] {
        padding: 16px 20px;
        max-height: 70vh;
    }

    .modal-footer[b-t7tmw8zzfb] {
        padding: 12px 20px;
    }

    .book-preview[b-t7tmw8zzfb] {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 16px;
        border-radius: 10px;
    }

    .book-cover[b-t7tmw8zzfb] {
        transform: none;
        margin: 0 auto;
    }

        .book-cover:hover[b-t7tmw8zzfb] {
            transform: scale(1.05);
        }

        .book-cover img[b-t7tmw8zzfb] {
            width: 70px;
            height: 105px;
            border-radius: 6px;
        }

    .book-title[b-t7tmw8zzfb] {
        font-size: 15px;
        margin: 0 0 6px 0;
    }

    .book-author[b-t7tmw8zzfb], .book-id[b-t7tmw8zzfb] {
        font-size: 12px;
        padding: 6px 12px;
        margin: 3px 0;
        justify-content: center;
    }

        .book-author i[b-t7tmw8zzfb], .book-id i[b-t7tmw8zzfb] {
            font-size: 12px;
        }

    .section-header h6[b-t7tmw8zzfb] {
        font-size: 15px;
        margin: 0 0 6px 0;
    }

    .section-subtitle[b-t7tmw8zzfb] {
        font-size: 13px;
    }

    .collection-item[b-t7tmw8zzfb] {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 14px;
        border-radius: 8px;
    }

    .collection-header[b-t7tmw8zzfb] {
        width: 100%;
        justify-content: space-between;
        align-items: flex-start;
    }

    .collection-name[b-t7tmw8zzfb] {
        font-size: 13px;
        flex: 1;
    }

    .book-exists-badge[b-t7tmw8zzfb] {
        font-size: 9px;
        padding: 1px 5px;
        flex-shrink: 0;
    }

    .collection-meta[b-t7tmw8zzfb] {
        width: 100%;
    }

    .book-count[b-t7tmw8zzfb] {
        font-size: 10px;
    }

    .collection-action[b-t7tmw8zzfb] {
        align-self: stretch;
        width: 100%;
    }

    .btn-add[b-t7tmw8zzfb], .btn-remove[b-t7tmw8zzfb] {
        width: 100%;
        justify-content: center;
        padding: 10px 14px;
        font-size: 13px;
        border-radius: 6px;
    }

    .collections-list[b-t7tmw8zzfb] {
        max-height: 220px;
        padding-right: 4px;
    }

    .create-collection-section[b-t7tmw8zzfb] {
        flex-direction: column;
        gap: 12px;
        margin-top: 16px;
        padding-top: 16px;
    }

    .btn-create-collection[b-t7tmw8zzfb], .btn-closes[b-t7tmw8zzfb] {
        width: 100%;
        padding: 12px 16px;
        font-size: 14px;
        justify-content: center;
    }

    .create-collection-form[b-t7tmw8zzfb] {
        padding: 16px;
        margin-bottom: 12px;
    }

    .form-group[b-t7tmw8zzfb] {
        margin-bottom: 12px;
    }

        .form-group label[b-t7tmw8zzfb] {
            font-size: 13px;
            margin-bottom: 4px;
        }

    .form-input[b-t7tmw8zzfb], .form-textarea[b-t7tmw8zzfb] {
        padding: 8px 10px;
        font-size: 13px;
    }

    .form-textarea[b-t7tmw8zzfb] {
        min-height: 60px;
    }

    .form-actions[b-t7tmw8zzfb] {
        gap: 8px;
        margin-top: 16px;
    }

    .btn-confirm-create[b-t7tmw8zzfb], .btn-cancel-create[b-t7tmw8zzfb] {
        padding: 8px 16px;
        font-size: 13px;
    }

    /* Touch optimizations for mobile */
    .btn[b-t7tmw8zzfb] {
        min-height: 40px;
        touch-action: manipulation;
    }

    .collection-item[b-t7tmw8zzfb] {
        min-height: 55px;
        touch-action: manipulation;
    }

    /* Loading and empty states */
    .loading-collections[b-t7tmw8zzfb] {
        padding: 30px 16px;
    }

    .spinner[b-t7tmw8zzfb] {
        width: 32px;
        height: 32px;
        border-width: 2px;
    }

    .no-collections[b-t7tmw8zzfb] {
        padding: 30px 16px;
    }

    .empty-state i[b-t7tmw8zzfb] {
        font-size: 40px;
    }

    .empty-state h6[b-t7tmw8zzfb] {
        font-size: 15px;
    }

    .empty-state p[b-t7tmw8zzfb] {
        font-size: 13px;
        max-width: 280px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .advanced-search-content[b-t7tmw8zzfb] {
        width: 96%;
        padding: 1.25rem 1rem;
        border-radius: 10px;
    }

    .condition-card[b-t7tmw8zzfb] {
        padding: 0.85rem;
        gap: 0.75rem;
    }

    .condition-card-header[b-t7tmw8zzfb] {
        gap: 0.65rem;
    }

    .condition-card-body[b-t7tmw8zzfb] {
        gap: 0.65rem;
    }

    .condition-badge[b-t7tmw8zzfb] {
        font-size: 0.65rem;
        padding: 0.35rem 0.7rem;
    }

    .condition-remove[b-t7tmw8zzfb] {
        width: 2rem;
        height: 2rem;
    }

    .btn-add-condition[b-t7tmw8zzfb] {
        font-size: 0.8rem;
        padding: 0.65rem;
    }

    .modal-content[b-t7tmw8zzfb] {
        width: 98%;
        margin: 5px;
        max-height: 98vh;
    }

    .modal-header[b-t7tmw8zzfb] {
        padding: 14px 16px 10px;
    }

    .modal-title[b-t7tmw8zzfb] {
        font-size: 16px;
    }

    .modal-body[b-t7tmw8zzfb] {
        padding: 14px 16px;
        max-height: 75vh;
    }

    .modal-footer[b-t7tmw8zzfb] {
        padding: 10px 16px;
    }

    .book-preview[b-t7tmw8zzfb] {
        padding: 12px;
        gap: 12px;
    }

    .book-cover img[b-t7tmw8zzfb] {
        width: 60px;
        height: 90px;
    }

    .book-title[b-t7tmw8zzfb] {
        font-size: 14px;
    }

    .book-author[b-t7tmw8zzfb], .book-id[b-t7tmw8zzfb] {
        font-size: 11px;
        padding: 4px 8px;
    }

    .collection-item[b-t7tmw8zzfb] {
        padding: 10px 12px;
        gap: 8px;
    }

    .collection-name[b-t7tmw8zzfb] {
        font-size: 12px;
    }

    .btn-add[b-t7tmw8zzfb], .btn-remove[b-t7tmw8zzfb] {
        padding: 8px 12px;
        font-size: 12px;
    }

    .collections-list[b-t7tmw8zzfb] {
        max-height: 200px;
    }

    .btn-create-collection[b-t7tmw8zzfb], .btn-closes[b-t7tmw8zzfb] {
        padding: 10px 14px;
        font-size: 13px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .btn[b-t7tmw8zzfb], .collection-item[b-t7tmw8zzfb] {
        transform: translateZ(0);
    }
}
/* _content/SmartLibraryUI/Shared/LoginDisplay.razor.rz.scp.css */
/* Ensure dropdown anchors to the right edge and stays above all content */
.nav-item.dropdown[b-4gvzsh2c6h] {
    position: relative;
}

.nav-user-dropdown[b-4gvzsh2c6h] {
    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-4gvzsh2c6h]::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-4gvzsh2c6h]::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-4gvzsh2c6h] {
        color: #000000;
    }

        .nav-user-dropdown .dropdown-item:hover[b-4gvzsh2c6h] {
            background-color: #f8f9fa;
            color: #000000;
        }

/* Reveal dropdown on hover without click and delay hide */
.nav-item.dropdown:hover .nav-user-dropdown[b-4gvzsh2c6h] {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}

/* Shortcut icon link near login */
.folder-link[b-4gvzsh2c6h] {
    display: flex;
    align-items: center;
    color: inherit;
}

.folder-link:hover[b-4gvzsh2c6h] {
    color: var(--primary-color);
}

.qr-code-link[b-4gvzsh2c6h] {
    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-4gvzsh2c6h],
.qr-code-link:focus[b-4gvzsh2c6h] {
    background-color: #ffffff;
    border-color: var(--primary-color);
}

@media (min-width: 992px) {
    .navbar-nav .qr-code-link[b-4gvzsh2c6h] {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
        font-size: 1.25rem;
        margin-right: 0.5rem;
    }
}
/* _content/SmartLibraryUI/Shared/MainLayout.razor.rz.scp.css */

.navbar#upper-nav[b-04vdguf4ta],
.navbar#lower-nav[b-04vdguf4ta] {
   /* box-shadow: 0px 5px 5px rgba(202, 202, 202, 0.5);*/
    border-bottom: rgb(77, 77, 77);
    padding-bottom: 0.75rem;
    background-color: var(--nav-bg-color);
}

.navbar#upper-nav[b-04vdguf4ta] {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1020;
    height: var(--upper-nav-height);
}

.navbar#lower-nav[b-04vdguf4ta] {
    position: fixed;
    top: var(--upper-nav-height);
    width: 100%;
    z-index: 1000;
    height: var(--lower-nav-height);
}

.lower-nav-container[b-04vdguf4ta] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
}

.lower-nav-container .lower-nav-menu[b-04vdguf4ta] {
    flex: 1 1 auto;
    padding-right: 3.5rem;
    justify-content: flex-start;
}

.lower-nav-container .borrow-link[b-04vdguf4ta] {
    position: absolute;
    right: 0;
    top: 56%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    z-index: 9999999999999999999999999;
}

@media (max-width: 840px) {
    .navbar#lower-nav[b-04vdguf4ta] {
        padding-bottom: 1rem !important;
    }
}

.body-content[b-04vdguf4ta] {
    display: flex;
    flex-direction: column;
    /* min-height: 100vh; */
    width: 100%;
}

main[b-04vdguf4ta] {
    padding-top: calc(var(--upper-nav-height) + var(--lower-nav-height));
}

.borrow-link .qr-code-link[b-04vdguf4ta] {
    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;
    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: 0;
}

.borrow-link .qr-code-link:hover[b-04vdguf4ta],
.borrow-link .qr-code-link:focus[b-04vdguf4ta] {
    background-color: #ffffff;
    
}

#main-body[b-04vdguf4ta] {
    border-top: gray solid 2px;
}

/* footer */

.footer-content[b-04vdguf4ta] {
    text-align: justify;
    text-justify: inter-word;
    font-size: 0.9rem;
}

.footer-title[b-04vdguf4ta] {
    font-size: 1.3rem;
}

.footer-links-container[b-04vdguf4ta] {
    width: 50%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding-left: 3rem;
    font-size: 0.9rem;
}
.list-unstyled[b-04vdguf4ta] {
    font-size: 0.9rem;
}

@media (max-width: 945.98px) {
    .rm_mg[b-04vdguf4ta]{
        margin: -18px !important;
    }

}

@media (max-width: 839.98px) {
    .lower-nav-container .lower-nav-menu[b-04vdguf4ta] {
        padding-right: 3rem;
        justify-content: flex-start;
    }

    .lower-nav-container .borrow-link[b-04vdguf4ta] {
        height: auto;
    }
}


/*@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;
    }
} */
