/* Minification failed. Returning unminified contents.
(187,1): run-time error CSS1019: Unexpected token, found '}'
 */
/* Book Detail CSS for Smart English Book Detail Page */

.book-detail-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

    .book-detail-container h1 {
        color: #333;
        font-weight: bold;
        font-size: 32px;
        margin-bottom: 30px;
        padding: 10px 20px;
        border-radius: 4px;
    }

/* Navigation */
.book-detail-nav {
    margin-bottom: 20px;
}

.back-to-list {
    display: inline-flex;
    align-items: center;
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

    .back-to-list:hover {
        color: #0052a3;
    }

    .back-to-list i {
        margin-right: 8px;
    }

/* Book content layout */
.book-detail-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (min-width: 768px) {
    .book-detail-content {
        flex-direction: row;
    }
}

/* 3D Book cover styles */
.book-detail-cover {
    flex: 0 0 auto;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .book-detail-cover {
        margin: 0;
    }
}

.book-detail-container .book-container {
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 500px;
    margin-bottom: 20px;
}

@keyframes initAnimation {
    0% {
        transform: rotateY(-30deg);
    }

    100% {
        transform: rotateY(0deg);
    }
}

.book-detail-container .book {
    width: 300px;
    height: 400px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(0deg);
    transition: 0.5s ease;
    animation: 1s ease 0s 1 initAnimation;
}

.book-detail-container .book-container:hover .book,
.book-detail-container .book-container:focus .book {
    transform: rotateY(-30deg);
}

.book-detail-container .book > :first-child {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 400px;
    transform: translateZ(25px);
    background-color: #01060f;
    border-radius: 0 0px 0px 0;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.book-detail-container .book-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.book-detail-container .book::before {
    position: absolute;
    content: ' ';
    left: 0;
    top: 7px;
    width: 48px;
    height: 386px;
    transform: translateX(268px) rotateY(90deg);
    background: linear-gradient(90deg, #fff 0%, #f9f9f9 5%, #fff 10%, #f9f9f9 15%, #fff 20%, #f9f9f9 25%, #fff 30%, #f9f9f9 35%, #fff 40%, #f9f9f9 45%, #fff 50%, #f9f9f9 55%, #fff 60%, #f9f9f9 65%, #fff 70%, #f9f9f9 75%, #fff 80%, #f9f9f9 85%, #fff 90%, #f9f9f9 95%, #fff 100% );
}

.book-detail-container .book::after {
    position: absolute;
    top: 0;
    left: 0;
    content: ' ';
    width: 300px;
    height: 400px;
    transform: translateZ(-25px);
    background-color: #01060f;
    border-radius: 0 0px 0px 0;
    box-shadow: -10px 0 50px 10px rgba(0, 0, 0, 0.4);
}

/* Book info section */
.book-detail-info {
    flex: 1;
}

.book-detail-info-table {
    width: 100%;
    margin-bottom: 30px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

    .book-detail-info-table tr {
        background-color: #e8e8e8;
    }

        .book-detail-info-table tr:nth-child(odd) {
            background-color: #f0f0f0;
        }

    .book-detail-info-table th {
        width: 160px;
        padding: 15px;
        text-align: left;
        color: #333;
        font-weight: 600;
        border-right: 1px solid #fff;
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .book-detail-info-table td {
        padding: 15px;
        color: #444;
        width: 100%;
        text-align: left;
    }

}

/* Icons for table headers */
.isbn-icon, .pages-icon, .size-icon, .info-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    vertical-align: middle;
}

/* Book description */
.book-description {
    margin-top: 20px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    line-height: 1.6;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

    .book-description h2 {
        margin-top: 0;
        margin-bottom: 15px;
        color: #333;
        font-size: 22px;
    }

    .book-description p {
        margin-bottom: 15px;
    }

    .book-description ul {
        padding-left: 20px;
    }

    .book-description li {
        margin-bottom: 8px;
    }

/* Action buttons */
.book-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.book-detail-button {
    padding: 12px 24px;
    background-color: #0066cc;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .book-detail-button:hover {
        background-color: #0052a3;
        transform: translateY(-3px);
    }

    .book-detail-button.primary {
        background-color: #e91e63;
    }

        .book-detail-button.primary:hover {
            background-color: #c2185b;
        }

    .book-detail-button i {
        margin-right: 8px;
    }

/* Feature buttons */
.book-features {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
    justify-content: center;
    align-items: center;
}

.book-feature-btns {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
}

/* Book Detail Button Colors */

.view-book {
    background-color: #913cb3 !important /* Green for preview buttons */
}

.smartbook-icon {
    background-color: #faa21b !important /* Green for preview buttons */
}

.book-gains {
    background-color: #2196F3 !important; /* Blue for book gains */
}

.solutions {
    background-color: #00a3b5 !important; /* Orange for solutions */
}

.activities {
    background-color: #9C27B0 !important; /* Purple for activities */
}

.buy-btn {
    background-color: #F44336 !important; /* Red for buy button */
}

.sample-btn {
    background-color: #00BCD4 !important; /* Cyan for sample button */
}

.share-btn {
    background-color: #25D366 !important; /* WhatsApp green for sharing */
}


.book-features a {
    padding: 1rem;
    background-color: red;
    color: white;
    border-radius: 5px;
    padding: 12px 24px;
    background-color: #0066cc;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.feature-button {
    padding: 10px 20px;
    background-color: #0066cc;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
}

    .feature-button:hover {
        background-color: #0052a3;
        transform: translateY(-3px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .feature-button i {
        margin-right: 8px;
    }

/* Mouse movement effect for 3D rotation */
.book-detail-container .book.active {
    transition: transform 0.2s ease;
}

/* Specific styling for feature buttons to match design */
.feature-button.sample-pages {
    background-color: #9c27b0;
}

    .feature-button.sample-pages:hover {
        background-color: #7b1fa2;
    }

.feature-button.solutions {
    background-color: #00bcd4;
}

    .feature-button.solutions:hover {
        background-color: #0097a7;
    }

.feature-button.interactive {
    background-color: #ff9800;
}

    .feature-button.interactive:hover {
        background-color: #f57c00;
    }

.feature-button.buy {
    background-color: #e91e63;
}

    .feature-button.buy:hover {
        background-color: #c2185b;
    }

