/* Books List Styles */
.book-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

.book-cover-container {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.book-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-cover-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.book-type-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 0.75rem;
}

.premium-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.75rem;
}

.age-badge {
    font-size: 0.7rem;
    margin-right: 5px;
}

.book-meta small {
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Book Detail Styles */
.book-header {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.book-cover-large {
    max-width: 300px;
}

.book-cover-placeholder-large {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.stat-item {
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    background: rgba(255,255,255,0.7);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.stat-label {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chapters-list {
    max-height: 400px;
    overflow-y: auto;
}

.chapter-item {
    padding: 12px 0;
    transition: background-color 0.2s;
}

.chapter-item:hover {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding-left: 10px;
}

.related-book-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.related-book-cover,
.related-book-placeholder {
    width: 60px;
    height: 80px;
    border-radius: 5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}