
.custom-lesson-tabs {
    margin-top: 20px;
}

.custom-lesson-tabs ul.tab-links {
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 2px solid #ccc;
    display: flex;
    justify-content: center;
    gap: 20px;
}
.custom-lesson-tabs ul.tab-links li a {
    text-decoration: none;
    padding: 10px 15px;
    display: inline-block;
    font-size: 16px;
    color: #333;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.custom-lesson-tabs ul.tab-links li a.active {
    color: #333;
    border-bottom: 2px solid #ccc !important;
    transition: none;
}

.custom-lesson-tabs ul.tab-links li a:hover {
    color: #000;
    border-bottom: 2px solid #999;
}

/* This ensures hover state doesn't interfere when active */
.custom-lesson-tabs ul.tab-links li a.active:hover {
    color: #000;
    border-bottom: 2px solid #ccc !important;
    transition: none; /* Keep transition disabled for active hover */
}

.custom-lesson-tabs .tab-content {
    padding: 20px 0 0;
    margin-top: 0;
    border: none;
    background-color: transparent;
}

.custom-lesson-tabs .tab {
    display: none;
}

.custom-lesson-tabs .tab.active {
    display: block;
}

.learndash-wrapper:not(.ld-registration__outer-wrapper) .ld-content-actions {
    border-top: none !important;
}

.custom-lesson-tabs #notes #nt-note-title-bar {
   color: #fff;
}

.custom-lesson-tabs #notes .nt-note-editor-body {
   padding: 0;
}

.custom-lesson-tabs #notes .nt-note-wrapper {
   margin: 0;
}

.custom-lesson-tabs #notes #nt-note-title-bar {
   display: none;
}

.custom-lesson-tabs #notes.tab button:hover {
   border-bottom: none;
}
