.main-content {
    flex: 1;
}
.star {
    color: #ffbb00;
    font-size: 24px;
    margin-right: 4px;
}
.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.book-card {
    display: flex;
    flex-direction: row;
    padding: 16px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
    gap: 16px;
    max-width: 340px;
    box-sizing: border-box;

}
.book-card {
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 1;
    transform: translateY(0);
}

.book-card.hidden {
    opacity: 0;
    transform: translateY(20px);
}

.book-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.book-image {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    color: #aaa;
    flex-shrink: 0;
}
.book-cover {
    max-height: 100px;
    max-width: 80px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.book-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.book-details {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
    min-width: 0;
}

.book-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 4px;
}

.book-author {
    font-size: 15px;
    color: #666;
    margin-bottom: 10px;
}

.book-actions {
    margin-top: auto;
    display: flex;
    gap: 0px;
    align-items: center;
}
.book-actions button {
    padding: 6px 14px;
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
}
