/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/
/* Theme customization starts here
-------------------------------------------------------------- */
.tutor-courses-wrapper {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    font-family: 'Inter', sans-serif;
}
.tutor-courses-left {
    flex: 0 0 30%;
    border-right: 1px solid #e1e1e1;
    padding-right: 15px;
    max-height: 80vh;
    overflow-y: auto;
}
.tutor-courses-right {
    flex: 0 0 calc(70% - 30px);
    padding-left: 10px;
}
.course-title {
    cursor: pointer;
    background: #eaf5f5;
    padding: 10px 14px;
    margin: 5px 0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
    color: #212121;
    font-family: "Montserrat", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.8px;
}
.course-title:hover, .course-title.active-course {
    background: #275756;
    color: #FFFFFF;
}
.course-title .arrow {
    margin-right: 8px;
    transition: transform 0.2s;
}
.topic-list {
    list-style: none;
    padding-left: 20px;
    margin: 0;
}
.topic-item {
    padding: 6px 10px;
    cursor: pointer;
    border-radius: 4px;
    margin-bottom: 4px;
    transition: all 0.2s;
}
.topic-item:hover {
    background: #f0f8ff;
}
.topic-item.active {
    background: #FDCB50;
    color: #000000;
}
#lesson-container ul, #yearwise-lesson ul {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}
#lesson-container li {
    margin-bottom: 6px;
    font-size: 15px;
    position: relative;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    padding-left: 25px;
}
#lesson-container li i.fa-solid.fa-video {
    color: #275756;
    position: absolute;
    left: 0;
    top: 12px;
}
#lesson-container li a, #yearwise-lesson li a {
    text-decoration: none;
    color: #FDCB50;
}
#lesson-container li a:hover, #yearwise-lesson li a:hover {
    text-decoration: underline;
}
#lesson-container li span, #yearwise-lesson li span {
    color: #999;
    cursor: not-allowed;
}
/* tcv2sub styles (scoped) - similar look but separate namespace */
.tcv2sub-wrapper {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.tcv2sub-left {
    width: 30%;
    border-right: 1px solid #e6e6e6;
    padding-right: 12px;
    max-height: 80vh;
    overflow: auto;
}
.tcv2sub-right {
    width: 68%;
    padding-left: 12px;
}
.tcv2sub-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    background: #eaf5f5;
    margin: 6px 0;
    border-radius: 6px;
    font-family: "Montserrat", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.8px;
}
.tcv2sub-chevron {
    transition: transform .25s ease;
}
.tcv2sub-header.tcv2sub-open .tcv2sub-chevron {
    transform: rotate(90deg);
}
.tcv2sub-right ul.tcv2sub-lessons-list {
    padding-left: 0;
}
.tcv2sub-topic-list {
    /* background: #fafafa; */
    padding-left: 30px;
}
.tcv2sub-topic-item {
    padding: 6px 10px;
    cursor: pointer;
    border-radius: 4px;
    margin-bottom: 4px;
}
.tcv2sub-topic-item:hover {
    background: #f0f8ff;
}
.tcv2sub-topic-item.tcv2sub-active {
    background: #FDCB50;
    color: #000000;
    font-weight: 700;
}
.tcv2sub-lessons-list {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}
.tcv2sub-lessons-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 28px;
    /* margin-bottom: 20px; */
}
.tcv2sub-lessons-list li a {
    color: #212121;
    text-decoration: none;
}
.tcv2sub-lessons-list li span.tcv2sub-locked {
    color: #999;
    cursor: not-allowed;
}
.tcv2sub-lessons-list li i.fa-solid.fa-video {
    color: #275756;
    position: absolute;
    left: 0;
    top: 12px;
}
.tcv2sub-open, .tcv2sub-open:hover {
    background: #275756;
    color: #FFFFFF;
}
.tcv2sub-right .tcv2sub-lessons-title {
    padding-bottom: 5px;
    color: #275756;
    border-bottom: 2px solid #FDCB50;
    margin-bottom: 20px !important;
    display: block;
}
.tcv2sub-pagination {
    margin-top: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.tcv2sub-pagination a {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #275756;
    font-weight: 500;
}
.tcv2sub-pagination a.active,
.tcv2sub-pagination a:hover {
    background: #275756;
    color: #fff;
}
@media (min-width: 768px) {
    .tutor-courses-wrapper .tutor-courses-right,.tcv2sub-wrapper .tcv2sub-right {
        max-height: 500px;
        overflow-y: auto;
    }
}
@media (max-width: 768px) {
    .tutor-courses-wrapper {
        flex-direction: column;
    }
    .tutor-courses-left, .tutor-courses-right {
        flex: 0 0 100%;
        padding: 0;
        max-height: none;
    }
    .tutor-courses-left {
        border-right: none;
        border-bottom: 1px solid #e1e1e1;
        margin-bottom: 15px;
    }
    .tcv2sub-left, .tcv2sub-right {
        width: 100%;
    }
    .tcv2sub-wrapper {
        flex-direction: column
    }
}
