.noticeboard-list.accordion-list {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    list-style: none;
    cursor: pointer;
    margin-bottom: 15px;
}

.noticeboard-list.accordion-list li {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    background-color: var(--white);
    padding: 10px;
    margin: 0 auto 15px auto;
    border: 1px solid var(--ot-primary-border);
    border-radius: 5px;
    cursor: pointer;
}

.noticeboard-list.accordion-list li.active h3:after {
    transform: rotate(45deg);
}

.noticeboard-list.accordion-list li h3 {
    font-weight: 700;
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    padding: 0 0 0 0;
    margin: 0;
    font-size: 15px;
    letter-spacing: 0.01em;
    cursor: pointer;
}

.noticeboard-list.accordion-list li h3:after {
    content: "";
    font-family: "material-design-iconic-font";
    position: absolute;
    right: 0;
    top: 0;
    color: #fcc110;
    transition: all 0.3s ease-in-out;
    font-size: 18px;
}

.noticeboard-list.accordion-list li div.answer {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.noticeboard-list.accordion-list li div.answer p {
    position: relative;
    display: block;
    font-weight: 300;
    padding: 10px 0 0 0;
    cursor: pointer;
    line-height: 150%;
    margin: 0 0 15px 0;
    font-size: 14px;
}

.make_rating {
    cursor: pointer;
}

#stars .hover {
    color: #fcc110;
}

.responsive-iframe-parent iframe {
    height: auto;
}

.responsive-iframe-parent {
    max-width: 100%;
    padding-top: 56.25%;
    position: relative;
    width: 100%;
}

.responsive-iframe-parent iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Book  mark */
.bookmark-wrapper {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #dddd;
    width: 25px;
    height: 25px;
    line-height: 27px;
    text-align: center;
    border-radius: 50%;
    font-size: 15px;
    display: flex;
    justify-content: center;
}

.bookmark-wrapper i {
    color: var(--ot-primary);
}

.bookmark-wrapper.active {
    background: var(--ot-primary);
}

.bookmark-wrapper.active i {
    color: var(--white);
}

/* end */

.modal-wrapper {
    z-index: 9999;
}

.boostrap-modal .close-icon {
    z-index: 10;
    cursor: pointer;
    background: var(--ot-primary);
    color: #ffffff;
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    border-radius: 50%;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    display: inline-block;
    background-image: none;
    opacity: 1;
    border: 0;
    position: absolute;
    right: -7px;
    top: -21px;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);

    border: 0;
    padding: 0;
    margin: 0;

    display: flex;
    justify-content: center;
    align-items: center;
}

.boostrap-modal .close-icon:hover {
    background: #fd2f73;
    color: white;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}

.boostrap-modal .modal-content {
    padding: 28px;
    padding-top: 40px !important;
}

.course-widget-author-img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    /* height: 120px; */
    overflow: hidden;
    border-radius: 50%;
}

.course-widget-author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Modern Instructors Section - Group Avatars */
.instructors-section {
    margin-bottom: 24px;
}

.instructors-label {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.instructors-group-avatars {
    display: flex;
    align-items: center;
    gap: 0;
}

.instructor-avatar-item {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #ffffff;
    margin-left: -12px;
    transition: all 0.3s ease;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.instructor-avatar-item:first-child {
    margin-left: 0;
}

.instructor-avatar-item:hover {
    transform: translateY(-4px) scale(1.1);
    z-index: 10;
    border-color: #5B58FF;
    box-shadow: 0 4px 16px rgba(91, 88, 255, 0.3);
}

.instructor-avatar-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Tooltip */
.instructor-avatar-item::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: #333;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 100;
}

.instructor-avatar-item::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(2px);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #333;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 100;
}

.instructor-avatar-item:hover::before,
.instructor-avatar-item:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Count badge for extra instructors */
.instructor-avatar-item.instructor-count {
    background: linear-gradient(135deg, #5B58FF 0%, #7B78FF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.instructor-avatar-item.instructor-count span {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.instructor-avatar-item.instructor-count:hover {
    transform: translateY(-4px) scale(1.1);
    border-color: #5B58FF;
    box-shadow: 0 4px 16px rgba(91, 88, 255, 0.4);
}

.instructor-avatar-item.instructor-count::before,
.instructor-avatar-item.instructor-count::after {
    display: none;
}

/* Dark mode support */
body.dark-mode .instructor-avatar-item {
    border-color: #2a2a2a;
}

body.dark-mode .instructor-avatar-item:hover {
    border-color: #5B58FF;
}

body.dark-mode .instructors-label {
    color: #e0e0e0;
}

#lesson-video {
    position: relative;
    z-index: 1;
    overflow: hidden;
    /* ensures watermark doesn't go outside */
}

.video-watermark {
    position: absolute;
    color: red !important;
    /* 🔴 Text color red */
    font-size: 14px;
    z-index: 10;
    pointer-events: none;
    transition: all 1s ease-in-out;
}

/* Lesson Progress Tracking Styles */
.lesson-locked {
    opacity: 0.6;
    cursor: not-allowed !important;
}

.lesson-locked * {
    pointer-events: none;
}

.lesson-progress-bar {
    height: 3px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 4px;
}

.lesson-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    transition: width 0.3s ease;
}

.lesson-progress-text {
    font-size: 10px;
    color: #666;
}

/* Disabled Checkbox Styling */
.ot-checkbox:disabled {
    cursor: not-allowed;
}

.ot-checkbox:disabled+.ot-checkmark {
    opacity: 0.7;
    cursor: not-allowed;
    background-color: #e8e8e8;
}

.ot-checkbox:checked:disabled+.ot-checkmark {
    background-color: #4CAF50;
    opacity: 0.8;
}

.check-remember-me label:has(.ot-checkbox:disabled) {
    cursor: not-allowed;
}

/* Video Progress Debug Info */
.video-progress-debug {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px;
    border-radius: 8px;
    font-size: 12px;
    font-family: 'Courier New', monospace;
    z-index: 9999;
    max-width: 300px;
    display: none;
    /* Hidden by default, show in development */
}

.video-progress-debug.show {
    display: block;
}

.video-progress-debug h6 {
    color: #4CAF50;
    margin: 0 0 10px 0;
    font-size: 14px;
}

.video-progress-debug p {
    margin: 5px 0;
}

/* Next/Previous Button Styles */
#next-previous-buttons a.disabled {
    opacity: 0.5;
    cursor: not-allowed !important;
    pointer-events: none;
}

#next-previous-buttons a:not(.disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

@media (max-width: 767px) {
    .boostrap-modal .modal-content {
        padding: 10px 20px;
    }
}

.single-dashboard-card.single-dashboard-card2.payment_default {
    border: 1px solid #3cc13b;
}

.single-dashboard-card.single-dashboard-card2 .edit {
    position: absolute;
    right: 5px;
    top: 0px;
    cursor: pointer;
    padding: 5px;
}

.remember-checkbox .ot-checkmark.radio {
    border-radius: 100%;
}

/* Action Button */

.action-success {
    background: #3cc13b2b;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-block;
    text-align: center;
    line-height: 24px;
    cursor: pointer;
}

.action-success i {
    color: #3cc13b !important;
    font-size: 14px !important;
    top: 0 !important;
}

.action-danger {
    background: rgb(249 79 79 / 9%);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-block;
    text-align: center;
    line-height: 24px;
    cursor: pointer;
}

.action-danger i {
    color: rgb(249 79 79);
    font-size: 14px;
}

.action-primary {
    background: #5b58ff21;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-block;
    text-align: center;
    line-height: 24px;
    cursor: pointer;
}

.action-primary i {
    color: #5b58ff;
    font-size: 15px;
}

.action-secondary {
    background: var(--ot-secondary);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-block;
    text-align: center;
    line-height: 24px;
    cursor: pointer;
}

.action-secondary i {
    color: var(--white);
    font-size: 15px;
}

.action-tertiary {
    background: #f0783c26;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-block;
    text-align: center;
    line-height: 24px;
    cursor: pointer;
}

.action-tertiary i {
    color: #f0783c;
    font-size: 15px;
}

.status-badge {
    padding: 9px 11px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1;
    display: inline-block;
    text-transform: capitalize;
}

.status-success {
    background: rgba(60, 193, 59, 0.1);
    color: #3cc13b;
}

.status-pending {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.status-danger {
    background: rgba(249, 79, 79, 0.1);
    color: #f94f4f;
}

.status-primary {
    background: rgba(91, 88, 255, 0.1);
    color: #5b58ff;
}

.status-secondary {
    background: rgba(0, 0, 0, 0.1);
    color: #000000;
}

.status-warning {
    background: rgba(240, 120, 60, 0.1);
    color: #f0783c;
}

li.list.has-children.open.show {
    display: block;
}

li.list.has-children {
    display: block;
}

.nice-scrolls::-webkit-scrollbar {
    width: 3px !important;
    border: 0 !important;
}

.nice-scrolls::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(242, 242, 242, 0.3);
}

.nice-scrolls::-webkit-scrollbar-thumb {
    background-color: rgba(var(--ot-primary-rgb), 0.2) !important;
    width: 3px !important;
    border: 0 !important;
}

.daterangepicker select.yearselect {
    width: 50%;
}

/* Ai CSS start */

.main {
    overflow: hidden;
    display: flex;
    max-height: 600px;
    min-height: 600px;
    background-color: var(--panel-bg);
    background-color: rgba(var(--ot-primary-rgb), 0.05);
    border-radius: 6px;
    border: 1px solid var(--ot-secondary-border);
}

body.dark-mode .main {
    background: var(--body);
}

.main__left {
    flex: 0.7;
    display: flex;
    flex-direction: column;
}

.options {
    padding: 1rem;
    display: flex;
    background-color: var(--main-darklg);
}

.options__left {
    display: flex;
}

.options__right {
    margin-left: auto;
}

.options__button {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--ot-primary);
    height: 50px;
    border-radius: 5px;
    color: var(--white);
    font-size: 1.2rem;
    width: 50px;
    margin: 0 0.5rem;
    margin-right: 0;
}

.options__button i {
    color: #fff;
    font-size: 20px;
}

.background__red {
    background-color: #f6484a;
}

.main__right {
    display: flex;
    flex-direction: column;
    flex: 0.3;
    width: 100%;
}

.main__chat_window {
    flex-grow: 1;
    overflow-y: scroll;
}

.main__chat_window::-webkit-scrollbar {
    display: none;
}

.main__message_container {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.main__message_container>input {
    height: 50px;
    flex: 1;
    font-size: 1rem;
    border-radius: 5px;
    padding: 5px 20px;
    border: 1px solid var(--ot-secondary-border);
    width: 100%;
}

.main__message_container>input:focus {
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 1px solid var(--ot-primary-border);
}

.messages {
    display: flex;
    flex-direction: column;
    margin: 10px;
}

.message {
    display: flex;
    flex-direction: column;
}

/* Lesson Item Styling */
.course-video-lists .lesson-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin-bottom: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.course-video-lists .lesson-item:hover {
    background-color: #f8f9fa;
    transform: translateX(4px);
}

.course-video-lists .lesson-item.preview-available {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 3px solid #5B58FF;
}

.course-video-lists .lesson-icon {
    font-size: 20px;
    color: #5B58FF;
    flex-shrink: 0;
}

.course-video-lists .lesson-title {
    flex: 1;
    font-size: 15px;
    color: #2d3748;
    font-weight: 500;
}

.course-video-lists .lesson-duration {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #718096;
    padding: 4px 12px;
    background-color: #f1f3f5;
    border-radius: 20px;
}

.course-video-lists .lesson-duration i {
    font-size: 14px;
}

/* Preview Button */
.btn-preview-lesson {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.btn-preview-lesson:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.btn-preview-lesson i {
    font-size: 16px;
}

/* Preview Modal Styling */
.preview-modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.preview-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 24px;
    border-bottom: none;
}

.preview-header-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.preview-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    width: fit-content;
}

.preview-badge i {
    font-size: 14px;
}

.preview-modal-header .modal-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.preview-modal-body {
    padding: 0;
    background-color: #000;
    position: relative;
    min-height: 400px;
}

.preview-video-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    position: relative;
    background-color: #000;
}

.preview-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.preview-video-wrapper iframe,
.preview-video-wrapper video {
    width: 100%;
    height: 100%;
    border: none;
}

.preview-modal-footer {
    background-color: #f8f9fa;
    padding: 16px 24px;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.preview-footer-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #718096;
    font-size: 14px;
}

.preview-footer-info i {
    font-size: 18px;
    color: #5B58FF;
}

.btn-enroll-now {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #5B58FF 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(91, 88, 255, 0.3);
}

.btn-enroll-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(91, 88, 255, 0.4);
    color: white;
}

.btn-enroll-now i {
    font-size: 18px;
}

@media (max-width: 992px) {
    .main {
        max-height: 400px;
        min-height: 400px;
    }
}

@media (max-width: 700px) {
    .main__left {
        width: 100%;
        flex: 1;
    }

    .messages {
        margin: 0;
    }

    #showChat {
        display: flex;
    }
}

.messages .sent {
    background: var(--ot-primary);
    border-radius: 15px 0px 5px 5px;
    float: right;
    color: #fff;
}

.sent {
    padding: 7px 16px;
    margin: 6px 10px;
    width: fit-content;
    align-self: flex-end;
    list-style: none;
}

.message {
    background-color: var(--white);
    padding: 10px;
    border-radius: 10px;
    margin: 10px;
    width: fit-content;
    align-self: flex-start;
}

.main__right {
    top: 20px;
    position: relative;
    min-width: 100%;
    scroll-behavior: smooth;
    overflow: scroll;
}

/* reply message ai */
.ai-reply-message {
    margin-left: 25px;
}

.ai-reply-message .ai-message-list .ai-reply {
    border-radius: 0px 5px 15px 5px;
    padding: 3px 12px 6px 12px;
    float: left;
    margin-bottom: 15px;
    font-size: 16px;
    color: var(--ot-tertiary-title);
    background: #d4d4d4d6;
    margin-right: 35px;
    position: relative;
}

/* End-of Ai CSS start */

#error.invalid-feedback {
    display: inline-block;
}

/* End of ai chat */

.card.cursor {
    cursor: pointer;
}

/* .card.cursor {
	border: 1px solid var(--ot-primary-border);
} */

.card.cursor {
    display: inline-block;
}

.payment-content input {
    visibility: hidden;
    opacity: 0;
}

.card.cursor.payment-gateway-wrapper {
    margin-right: 12px;
}

.instractor-tab-widget .instractor-tab-widget-card .instractor-name {
    color: var(--ot-primary);
    font-weight: 600;
}

.instractor-tab-widget .instractor-tab-widget-card .instractor-designation {
    color: var(--ot-primary-title);
    font-size: 14px;
    font-weight: 600;
}

.custom-button {
    cursor: pointer;
    font-size: 22px;
    background: none;
    border: 0;
    padding: 6px 11px;
    color: var(--ot-tertiary-title);
    border: 1px solid transparent;
    font-weight: 500;
    border-radius: 6px;
    text-align: center;
    display: block;
}

/* terms-conditons */
.terms-conditons p {
    text-transform: sentence !important;
}

.pera {
    text-transform: sentence !important;
}

.course-edit .activity-dropdown ul.dropdown {
    min-width: auto;
    height: auto;
}

.course-edit .activity-dropdown>button {
    background: var(--ot-tertiary);
}

.class-btn {
    padding: 10px 25px;
    line-height: 1.5;
    text-transform: capitalize;
    text-align: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
}

.search-tab .tab-btn {
    border-right: 1px solid var(--ot-primary-border);
}

.hover-white-text:hover {
    color: var(--white) !important;
}

@media (max-width: 1199px) {
    .form-icon {
        display: unset !important;
    }
}

.empty-icon {
    background: var(--bs-gray-400) !important;
}

.card-style {
    background: var(--white);
    border-radius: 8px;
    padding: 20px 20px;
    padding-bottom: 0px;
    -webkit-box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.08);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.08);
}

.events-search-area .header-search {
    width: 100%;
}

.events-search-area .header-search .input-form input {
    border: 1px solid var(--ot-primary-border);
    border-radius: 6px !important;
}

.events-search-area .header-search {
    margin: 0 !important;
}

.events-search-area .btn-primary-fill {
    float: right;
}

@media (max-width: 991px) {
    .events-search-area .btn-primary-fill {
        float: center;
    }

    .header-search {
        width: 100%;
        display: block !important;
    }
}

@media (max-width: 768px) {
    .events-search-area .btn-primary-fill {
        width: 100%;
        text-align: center !important;
    }
}

.logo img {
    /* height: 50px !important; */
    max-width: 141px !important;
}

.logo_custom {
    /* height: 150px !important; */
    max-width: 141px !important;
}


.light-mode .light-logo {
    display: block !important;
}

.dark-mode .dark-logo {
    display: block !important;
}

.dark-mode .light-logo {
    display: none !important;
}

.light-mode .dark-logo {
    display: none !important;
}

.dark-mode .dark-logo {
    display: block !important;
}

/* Instructor Cards Styling */
.course-instructors-section {
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.course-instructors-section .section-title {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.instructors-wrapper {
    width: 100%;
}

.instructor-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.instructor-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.instructor-thumb {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid #f0f0f0;
    transition: border-color 0.3s ease;
}

.instructor-card:hover .instructor-thumb {
    border-color: #667eea;
}

.instructor-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instructor-thumb .main-badge {
    position: absolute;
    bottom: -3px;
    right: -3px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.4);
    animation: pulse-star 2s infinite;
}

.instructor-thumb .main-badge i {
    font-size: 12px;
    color: #fff;
}

@keyframes pulse-star {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 165, 0, 0.4);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(255, 165, 0, 0.6);
    }
}

.instructor-info {
    min-width: 0;
}

.instructor-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.instructor-name a:hover {
    color: #667eea !important;
    text-decoration: underline !important;
}

.instructor-name .badge-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(255, 165, 0, 0.3);
}

.instructor-designation {
    font-size: 13px;
    color: #718096;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    /* -webkit-line-clamp: 2; */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Dark Mode Support for Instructor Cards */
body.dark-mode .course-instructors-section,
[data-theme="dark"] .course-instructors-section {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

body.dark-mode .course-instructors-section .section-title,
[data-theme="dark"] .course-instructors-section .section-title {
    color: #f7fafc;
}

body.dark-mode .instructor-card,
[data-theme="dark"] .instructor-card {
    background: #2d3748;
    border-color: #4a5568;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

body.dark-mode .instructor-card:hover,
[data-theme="dark"] .instructor-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

body.dark-mode .instructor-thumb,
[data-theme="dark"] .instructor-thumb {
    border-color: #4a5568;
}

body.dark-mode .instructor-card:hover .instructor-thumb,
[data-theme="dark"] .instructor-card:hover .instructor-thumb {
    border-color: #667eea;
}

body.dark-mode .instructor-name,
[data-theme="dark"] .instructor-name {
    color: #f7fafc;
}

body.dark-mode .instructor-name a,
[data-theme="dark"] .instructor-name a {
    color: #f7fafc !important;
}

body.dark-mode .instructor-name a:hover,
[data-theme="dark"] .instructor-name a:hover {
    color: #667eea !important;
}

body.dark-mode .instructor-designation,
[data-theme="dark"] .instructor-designation {
    color: #cbd5e0;
}

/* Dark Mode Support for Course Summary */
body.dark-mode .course-details-right-box,
[data-theme="dark"] .course-details-right-box {
    background: #2d3748 !important;
    border: 1px solid #4a5568;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

body.dark-mode .course-details-right-box h4,
body.dark-mode .course-details-right-box h5,
[data-theme="dark"] .course-details-right-box h4,
[data-theme="dark"] .course-details-right-box h5 {
    color: #f7fafc;
}

body.dark-mode .course-features h4,
[data-theme="dark"] .course-features h4 {
    color: #f7fafc;
}

body.dark-mode .course-feature-list p,
[data-theme="dark"] .course-feature-list p {
    color: #cbd5e0;
}

body.dark-mode .course-feature-list i,
[data-theme="dark"] .course-feature-list i {
    color: #667eea;
}

body.dark-mode .btn-primary-fill,
[data-theme="dark"] .btn-primary-fill {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

body.dark-mode .btn-primary-outline,
[data-theme="dark"] .btn-primary-outline {
    border-color: #667eea;
    color: #667eea;
    background: transparent;
}

body.dark-mode .btn-primary-outline:hover,
[data-theme="dark"] .btn-primary-outline:hover {
    background: #667eea;
    color: #fff;
}

/* Dark Mode for Price Text */
body.dark-mode .current-prise h4,
[data-theme="dark"] .current-prise h4 {
    color: #48bb78 !important;
}

body.dark-mode .offer-text,
[data-theme="dark"] .offer-text {
    color: #f56565 !important;
}

/* Dark Mode for Course Details Content */
body.dark-mode .ot-course-details-inner,
[data-theme="dark"] .ot-course-details-inner {
    color: #e2e8f0;
}

body.dark-mode .ot-course-title,
[data-theme="dark"] .ot-course-title {
    color: #f7fafc;
}

body.dark-mode .course-duration h5,
body.dark-mode .course-duration h6,
body.dark-mode .course-duration span,
[data-theme="dark"] .course-duration h5,
[data-theme="dark"] .course-duration h6,
[data-theme="dark"] .course-duration span {
    color: #cbd5e0;
}

body.dark-mode .bulet-rouned,
[data-theme="dark"] .bulet-rouned {
    background: #4a5568;
}

/* Dark Mode for Tabs */
body.dark-mode .course-details-tabs .nav-link,
[data-theme="dark"] .course-details-tabs .nav-link {
    background: #2d3748;
    color: #cbd5e0;
    border-color: #4a5568;
}

body.dark-mode .course-details-tabs .nav-link.active,
body.dark-mode .course-details-tabs .nav-link:hover,
[data-theme="dark"] .course-details-tabs .nav-link.active,
[data-theme="dark"] .course-details-tabs .nav-link:hover {
    background: #667eea;
    color: #fff;
    border-color: #667eea;
}

/* Dark Mode for Tab Content */
body.dark-mode .course-tab-widget,
[data-theme="dark"] .course-tab-widget {
    background: transparent;
}

body.dark-mode .course-details-title,
[data-theme="dark"] .course-details-title {
    color: #f7fafc;
}

body.dark-mode .course-details-list,
[data-theme="dark"] .course-details-list {
    color: #cbd5e0;
}

/* Responsive Design */
@media (max-width: 991px) {
    .instructor-card {
        padding: 14px;
    }

    .instructor-thumb {
        width: 56px;
        height: 56px;
    }

    .instructor-name {
        font-size: 15px;
    }

    .instructor-designation {
        font-size: 12px;
    }
}

@media (max-width: 767px) {
    .course-instructors-section {
        padding: 16px;
    }

    .instructor-card {
        padding: 12px;
    }

    .instructor-thumb {
        width: 52px;
        height: 52px;
    }

    .instructor-name {
        font-size: 14px;
    }

    .instructor-designation {
        font-size: 12px;
    }

    .instructor-name .badge-pill {
        font-size: 10px;
        padding: 2px 8px;
    }
}

@media (max-width: 575px) {
    .instructors-wrapper .row {
        gap: 12px;
    }

    .instructor-card {
        padding: 12px;
    }
}

/* Brochure Preview Styles */
.brochure-preview-container {
    margin: 20px 0;
}

.brochure-preview-card {
    position: relative;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
    border: 2px solid #e5e7eb;
    max-width: 350px;
}

.brochure-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(91, 88, 255, 0.15);
    border-color: #5B58FF;
}

.brochure-thumbnail {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.brochure-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.brochure-preview-card:hover .brochure-thumbnail img {
    transform: scale(1.05);
}

.brochure-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(91, 88, 255, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.brochure-preview-card:hover .brochure-overlay {
    opacity: 1;
}

.brochure-icon {
    font-size: 48px;
    color: #fff;
    margin-bottom: 10px;
    animation: pulse 2s infinite;
}

.brochure-text {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    padding: 0 20px;
}

.brochure-info {
    padding: 20px;
    background: #fff;
}

.brochure-info h5 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
}

.brochure-info h5 i {
    color: #dc2626;
    font-size: 20px;
}

.brochure-info p {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* PDF Modal Styles */
.pdf-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.pdf-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdf-modal-content {
    position: relative;
    width: 90%;
    height: 90%;
    max-width: 1200px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
}

.pdf-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #5B58FF;
    color: #fff;
}

.pdf-modal-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pdf-modal-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.pdf-modal-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pdf-modal-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.pdf-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdf-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.pdf-viewer-container {
    width: 100%;
    height: calc(100% - 60px);
    overflow: auto;
}

.pdf-viewer-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.book-text-title {
    display: contents !important;
    color: #12141d !important;
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}









/* Responsive */
@media (max-width: 768px) {
    .pdf-modal-content {
        width: 95%;
        height: 95%;
    }

    .brochure-preview-card {
        max-width: 100%;
    }

    .pdf-modal-header h4 {
        font-size: 16px;
    }

    .pdf-modal-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}


@media (max-width: 575px) {
    /* .light-mode .large-device, .dark-mode .large-device{
        display: none !important;
    } */
}




/* Slide up animation for sticky bottom bar */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Add padding to content to prevent overlap with sticky bottom bar */
@media (max-width: 991px) {
    .ot-course-details {
        padding-bottom: 100px !important;
    }
}

/* Ensure video doesn't overflow */
@media (max-width: 991px) {
    .video-section {
        max-width: 100%;
        overflow: hidden;
    }

    .video-size {
        padding: 0 !important;
    }

    .plyr,
    .plyr__video-wrapper {
        max-width: 100%;
    }
}


/* Mobile sticky bottom bar (below 768px) */
@media (max-width: 767px) {
    #course-summary {
        position: fixed;
        bottom: 60px;
        left: 0;
        right: 0;
        z-index: 999;
        margin: 0 !important;
        max-width: 100% !important;
        padding: 0 !important;
        animation: slideUp 0.3s ease-out;
    }

    #course-summary .course-details-right-box {
        margin: 0 !important;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
        transform: none !important;
    }

    #course-summary .course-details-right-box-inner {
        padding: 15px 20px !important;
    }

    /* Hide course features on mobile */
    #course-summary .course-features {
        display: none !important;
    }

    /* Compact mobile layout */
    #course-summary .d-flex.align-items-center {
        flex-direction: row !important;
        gap: 15px !important;
        margin-bottom: 0 !important;
    }

    #course-summary .current-prise h4 {
        font-size: 20px !important;
        margin: 0 !important;
    }

    #course-summary .current-prise h5 {
        font-size: 14px !important;
    }

    #course-summary .btn-primary-outline,
    #course-summary .btn-primary-fill {
        padding: 12px 20px !important;
        font-size: 14px !important;
        white-space: nowrap !important;
        margin: 0 !important;
    }

    /* Add padding to main content to prevent overlap */
    .ot-course-details {
        padding-bottom: 100px !important;
    }

    @keyframes slideUp {
        from {
            transform: translateY(100%);
            opacity: 0;
        }

        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
}

/* Tablet and Desktop - keep normal layout with scroll spy (above 767px) */
@media (min-width: 768px) {
    #course-summary {
        position: relative;
    }
}

/* Responsive Design */
@media (max-width: 767px) {
    .course-video-lists .lesson-item {
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px 12px;
    }

    .course-video-lists .lesson-title {
        width: 100%;
        margin-left: 32px;
    }

    .btn-preview-lesson {
        margin-left: auto;
        font-size: 12px;
        padding: 5px 12px;
    }

    .preview-modal-header {
        padding: 16px;
    }

    .preview-modal-header .modal-title {
        font-size: 18px;
    }

    .preview-modal-body {
        min-height: 300px;
    }

    .preview-modal-footer {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 16px;
    }

    .preview-footer-info {
        font-size: 13px;
        text-align: center;
        justify-content: center;
    }

    .btn-enroll-now {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .preview-video-wrapper {
        aspect-ratio: 4/3;
    }

    .course-video-lists .lesson-duration {
        font-size: 11px;
        padding: 3px 8px;
    }
}

/* Animation for modal */
.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
    animation: slideInUp 0.3s ease-out;
}

@keyframes slideInUp {
    from {
        transform: translate(0, 30px);
        opacity: 0;
    }

    to {
        transform: translate(0, 0);
        opacity: 1;
    }
}

/* ============================================
   Promo Code & Ambassador Code - Dark/Light Theme
   ============================================ */

/* Promo & Ambassador Section Wrapper */
#promo_and_ambassador {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

body.dark-mode #promo_and_ambassador,
[data-theme="dark"] #promo_and_ambassador {
    background-color: #1a202c;
}

/* Light Theme (Default) - Input Fields */
#promo_and_ambassador .final-price {
    flex: 1;
    margin: 0 10px;
}

#promo_and_ambassador .final-price input.form-control {
    background-color: #ffffff;
    color: #2d3748;
    border: 1px solid #e8e8e8;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    width: 100%;
}

#promo_and_ambassador .final-price input.form-control:focus {
    background-color: #ffffff;
    color: #2d3748;
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    outline: none;
}

#promo_and_ambassador .final-price input.form-control::placeholder {
    color: #a0aec0;
}

#promo_and_ambassador .final-price p {
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

/* Dark Theme - Input Fields */
body.dark-mode #promo_and_ambassador .final-price input.form-control,
[data-theme="dark"] #promo_and_ambassador .final-price input.form-control {
    background-color: #2d3748;
    color: #f7fafc;
    border: 1px solid #4a5568;
}

body.dark-mode #promo_and_ambassador .final-price input.form-control:focus,
[data-theme="dark"] #promo_and_ambassador .final-price input.form-control:focus {
    background-color: #374151;
    color: #f7fafc;
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

body.dark-mode #promo_and_ambassador .final-price input.form-control::placeholder,
[data-theme="dark"] #promo_and_ambassador .final-price input.form-control::placeholder {
    color: #718096;
}

body.dark-mode #promo_and_ambassador .final-price p,
[data-theme="dark"] #promo_and_ambassador .final-price p {
    color: #f7fafc;
}

/* Error and Success Messages */
#promo_error {
    display: block;
    margin-top: 5px;
    font-size: 14px;
}

#promo_success {
    display: block;
    margin-top: 5px;
    font-size: 14px;
}

/* Dark Theme - Error and Success Messages */
body.dark-mode #promo_error,
[data-theme="dark"] #promo_error {
    color: #fc8181 !important;
}

body.dark-mode #promo_success,
[data-theme="dark"] #promo_success {
    color: #68d391 !important;
}

/* Responsive Styles for Promo & Ambassador Section */
@media (max-width: 768px) {
    #promo_and_ambassador .shoping-cart-widget {
        flex-direction: column;
    }

    #promo_and_ambassador .final-price {
        margin: 10px 0;
        width: 100%;
    }
}