/* لیست کتاب‌ها */
#book-list {
    flex-direction: column;
    background: #f8f9fa;
    height: 100vh;
    height: 100dvh;
}

.book-list__header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.book-list__back {
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.book-list__back:hover {
    background: rgba(255,255,255,0.25);
}

.book-list__title {
    font-size: 1.15rem;
    font-weight: 600;
}

.book-list__list {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.book-list__loading,
.book-list__error,
.book-list__empty {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.book-list__error {
    color: #c23a51;
}

.book-list__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border-radius: 12px;
    text-decoration: none;
    color: #1a1a2e;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s, transform 0.15s;
    border: 1px solid rgba(0,0,0,0.06);
    cursor: pointer;
    font: inherit;
    width: 100%;
    text-align: right;
}

.book-list__item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transform: translateY(-1px);
}

.book-list__item-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.book-list__item-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.book-list__item-title {
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.book-list__item-author {
    font-size: 0.85rem;
    color: #666;
}

.book-list__item-meta {
    font-size: 0.8rem;
    color: #999;
}

.book-list__item-arrow {
    font-size: 0.9rem;
    color: #0f3460;
    flex-shrink: 0;
}
