/* Book Modal Styles */
.book-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.book-modal.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.book-modal-content {
    background: #ffffff;
    border-radius: 15px;
    width: 95%;
    height: 90%;
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
}

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

.book-modal-header {
    padding: 20px 25px;
    background: linear-gradient(135deg, #2980b9 0%, #1a5f8f 100%);
    color: #ffffff;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.book-modal-header h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}

.book-modal-actions {
    display: flex;
    gap: 10px;
}

.book-modal-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.book-modal-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.book-modal-body {
    flex: 1;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.book-modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0 0 15px 15px;
}

@media (max-width: 768px) {
    .book-modal-content {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }

    .book-modal-header {
        padding: 15px 20px;
        border-radius: 0;
    }

    .book-modal-header h2 {
        font-size: 18px;
    }

    .book-modal-btn {
        padding: 8px 15px;
        font-size: 12px;
    }

    .book-modal-iframe {
        border-radius: 0;
    }
}

