.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
}
.search-box {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
}
.book-card {
    transition: transform 0.3s;
    height: 100%;
    cursor: pointer;
}
.book-card:hover {
    transform: translateY(-5px);
}
.book-cover {
    height: 200px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}
.category-badge {
    background: #007bff;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8em;
}
.stats-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Catalog page styles */
.catalog-header {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 40px 0;
}
.filter-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.book-grid .card {
    transition: transform 0.3s;
    height: 100%;
}
.book-grid .card:hover {
    transform: translateY(-3px);
}
.book-cover-small {
    height: 200px;
    background: #f8f9fa;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}
.book-cover-small img {
    height: 100%;
    width: auto;
    object-fit: cover;
}
.category-filter {
    cursor: pointer;
    transition: background-color 0.3s;
}
.category-filter:hover {
    background-color: #f8f9fa;
}
.category-filter.active {
    background-color: #007bff;
    color: white;
}
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

/* Отступ для заголовка книги в карточках каталога */
.book-grid .card-body .card-title {
    margin-top: 0.5rem;
}
