body {
    padding-top: 70px;
    font-family: Poppins, Verdana, Times, sans-serif, 'Segoe UI', Tahoma;
    background-color: #ecefef;
    color: #2a2626;
}

.sn-nav {
    background-color: #2c2a58 !important;
}

.sn-nav .navbar-brand,
.sn-nav .nav-link {
    color: #fdfcfb !important;
}

.site-body {
    min-height: 60vh;
}

.card {
    padding: 0;
}

.home-book-card {
    margin-left: -10px !important;
    margin-right: -10px !important;
    border: 1px solid #D1CCCC;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}

.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.sn-link-color {
    color: #2a2626;
}

.no-decoration-link {
    text-decoration: none;
}

.book-list-header {
    color: #f12144;
    text-decoration: none;
    font-size: 32px;
}

.book-details-header {
    color: mediumslateblue;
    text-decoration: none;
    font-size: 28px;
}

.home-sub-header {
    font-size: 24px;
    font-weight: 500;
    padding: 1px;
}

.home-sub-header a {
    color: #3E18BA !important;
    text-decoration: none;
}

.book-details-image {
    height: 300px;
    width: auto;
    float: left;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-right: 15px;
}

.sn-footer {
    background-image: linear-gradient(#4a1cab, #4a0fc7);
    color: bisque;
}

.sn-footer a {
    color: bisque;
}

.storyBoard {
    max-width: 1200px;
    margin: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    padding: 20px;
    border: 1px solid #e0e0e0;
    background: #fff;
}

.storyText {
    text-align: justify;
    line-height: 175%;
    font-size: large;
    margin-bottom: 1rem;
}

.storyText.tts-current {
    background: #fff6cc;
    transition: background .2s;
}

.tts-controls,
.tts-settings {
    display: none;
    gap: 0.5rem;
    margin: 10px 0;
    justify-content: center;
}

.tts-controls button {
    min-width: 42px;
}

.page-navigation-buttons {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 20px;
}

.last-read-banner {
    margin: 0;
    border-radius: 0;
}

.review-body {
    font-size: 1.15rem;
    line-height: 1.8;
}

.highlight-text {
    color: blue;
}

.badge {
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 5px;
    margin-left: 2px;
}

@media (max-width: 576px) {
    .book-details-image {
        float: none;
        display: block;
        margin: 0 auto 15px;
    }
}
