/* Bookshelf Styles */
.bookshelf-categories {
    margin-top: 2rem;
}

.bookshelf-category {
    margin-bottom: 3rem;
}

.bookshelf-category h4 {
    color: #2c98f0;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 500;
}

.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.book-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.book-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.book-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.book-info {
    padding: 1rem;
}

.book-info h5 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: #2c98f0;
}

.book-info .author {
    color: #666;
    font-size: 0.9rem;
    margin: 0 0 0.5rem 0;
}

.book-info .status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin: 0;
}

.book-info .status:not(:empty) {
    background: #e8f4ff;
    color: #2c98f0;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .book-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    .book-item img {
        height: 200px;
    }

    .book-info h5 {
        font-size: 1rem;
    }

    .book-info .author {
        font-size: 0.8rem;
    }
}

/* Animation */
.book-item {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation for book items */
.book-item:nth-child(1) { animation-delay: 0.1s; }
.book-item:nth-child(2) { animation-delay: 0.2s; }
.book-item:nth-child(3) { animation-delay: 0.3s; }
.book-item:nth-child(4) { animation-delay: 0.4s; }
.book-item:nth-child(5) { animation-delay: 0.5s; }
.book-item:nth-child(6) { animation-delay: 0.6s; } 