/* Custom styles for the book catalog */
body {
    background-color: #f8f9fa;
}

.book-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
    height: 100%;
}

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

.card-img-container {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #e9ecef;
}

.card-img-container img {
    max-height: 100%;
    max-width: 100%;
    object-fit: cover;
    width: auto;
    height: auto;
}

.no-results {
    display: none;
}

#bookResults .col-md-4 {
    margin-bottom: 2rem;
}

.author-info {
    color: #6c757d;
    font-style: italic;
}

.year-info {
    color: #6c757d;
    font-weight: bold;
}