.nav-pills {
    flex-wrap: nowrap !important;
    background-color: #E9EDF1;
    border-radius: 10px;
    padding: 2px;
    padding-right: 2px !important;
    padding-left: 2px !important;
}

.nav-pills .nav-link {
    color: #333;
    border-radius: 9px;
    padding: 8px 12.5px;
    font-size: 16px;
    justify-content: center;
    white-space: nowrap;
    border-radius: 9px;
}

.nav-pills .nav-link.active {
    background-color: #1B2956 !important;
    color: white !important;
}

.nav-pills .nav-link svg {
    fill: #B18634;
}
        .not-allowed {
            opacity: 0.5;
            pointer-events: none;
        }
     
        .video-card img {
            height: 100%;
            object-fit: cover;
        }

        .video-card div.video-title h3{
            font-weight: 700;
            font-size: 16px;
            line-height: 24.77px;
        }
        /* Play Button */
        .play-btn {
            position: absolute;
            top: calc(50% - 26px);
            left: 50%;
            transform: translate(-50%, -50%);
            width: 52px;
            height: 52px;
            border-radius: 50%;
            border: none;
            background: rgba(177, 134, 52, 1);
            display: flex;
            align-items: center;
            justify-content: center;
            pointer-events: none;
        }

.nav-pills .nav-link.active svg {
    fill: #FFF !important;
}

.not-allowed {
    opacity: 0.5;
    pointer-events: none;
}

.video-card {
    cursor: pointer;
}

.video-card img {
    height: 100%;
    object-fit: cover;
}

/* Play Button */
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: rgba(177, 134, 52, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

/* Play Icon */
.play-icon {
    width: 0;
    height: 0;
    border-left: 14px solid #ffffff;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.chapter-group.open h6 > a , .chapter-group h6.active{
    color: #B18634 !important;
}

@media (max-width: 768px) {
    .nav-pills .nav-link {
        min-width: 90px;
        padding: 6px 12px;
        font-size: 0.875rem;
    }
}


/* Visual TOC: equal width tabs, 6px on UL, anchor alignment and box-shadow only on active */
.visual-tabs {
    /* Ensure 6px on all sides and override any earlier !important rules */
    padding: 6px !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
    padding-inline: 6px !important;
    box-sizing: border-box;
}

.visual-tabs .nav {
    display: flex;
    width: 100%;
}

.visual-tabs .nav-item {
    flex: 1 1 0;
    text-align: center;
}

.visual-tabs .nav-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    transition: transform .08s ease, box-shadow .12s ease, background-color .12s ease;
}



/* Active tab uses requested box-shadow and doesn't translate */
.visual-tabs .nav-link.active {
    box-shadow: 0px 0px 4px 0px #000000;
    transform: none;
}

/* Empty chapter styling */
.empty-chapter {
    color: #1a295687 !important;
}