/* Book Selection Panel */
#book-select-panel {
    display: block;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    background: #f5f5f5;
    padding: 40px;
    box-sizing: border-box;
}

#book-select-panel h1 {
    text-align: center;
    color: #333;
    margin-bottom: 40px;
    font-size: 32px;
}

#book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.book-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.book-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.book-cover {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.book-title {
    padding: 20px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    background: white;
}

/* Hide book select panel initially after book is selected */
.book-selected #book-select-panel {
    display: none;
}
