/* Career Fixx — public site light / dark theme (toggle bottom-left) */

/* ── Toggle ─────────────────────────────────────────────────────────── */
.cfx-theme { position: fixed; left: 16px; bottom: 16px; z-index: 9990; display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid #e6e3f1; box-shadow: 0 8px 24px rgba(30, 10, 70, .18); font-family: inherit; }
.cfx-theme button { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px; border: 0; border-radius: 999px; background: transparent; color: #4b4763; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.cfx-theme button svg { width: 15px; height: 15px; flex: none; }
.cfx-theme button[aria-pressed="true"] { background: linear-gradient(135deg, #7c3aed, #5b21b6); color: #fff; }
@media (max-width: 575.98px) {
    .cfx-theme { left: 10px; bottom: 10px; }
    .cfx-theme button { padding: 0 11px; }
    .cfx-theme button span { display: none; }
}

/* ── Dark palette ───────────────────────────────────────────────────── */
html[data-theme="dark"] { color-scheme: dark; }
html[data-theme="dark"] body {
    --color-heading: #f4f1ff;
    --color-body: #c8c1e2;
    --color-bodyest: #c8c1e2;
    --color-light: #14102a;
    --color-lighter: #17132a;
    --color-gray-light: #1b1633;
    --color-gray-lighter: #261f42;
    --color-grey2: #1b1633;
    --color-extra: #17132a;
    --color-extra2: #17132a;
    --color-border: #2e2650;
    --color-border-2: #2e26504f;
    --color-primary-light: #1b1633;
    --color-primary-lighter: #1f1937;
    --color-card-2: #2a1a3a;
    --color-card-3: #3a1a28;
    --color-card-4: #14283a;
    --black-opacity: rgba(255, 255, 255, .05);
    background: #0e0b1a !important;
    color: #c8c1e2;
}
html[data-theme="dark"] .cfx-theme { background: #17132a; border-color: #2e2650; box-shadow: 0 8px 24px rgba(0, 0, 0, .5); }
html[data-theme="dark"] .cfx-theme button { color: #c8c1e2; }
html[data-theme="dark"] .cfx-theme button[aria-pressed="true"] { color: #fff; }

html[data-theme="dark"] h1, html[data-theme="dark"] h2, html[data-theme="dark"] h3,
html[data-theme="dark"] h4, html[data-theme="dark"] h5, html[data-theme="dark"] h6,
html[data-theme="dark"] .title, html[data-theme="dark"] .title a { color: #f4f1ff; }
html[data-theme="dark"] p, html[data-theme="dark"] li, html[data-theme="dark"] label, html[data-theme="dark"] .description { color: #c8c1e2; }

/* Header / nav */
html[data-theme="dark"] .rbt-header-wrapper { background: rgba(14, 11, 26, .78) !important; border-color: #29223f; }
html[data-theme="dark"] .mainmenu-nav .mainmenu > li > a { color: #e6e1f7; }
html[data-theme="dark"] .mainmenu-nav .mainmenu > li > a:hover { color: #d8b4fe; }
html[data-theme="dark"] .popup-mobile-menu .inner-wrapper { background: #17132a !important; }
html[data-theme="dark"] .popup-mobile-menu .mainmenu li a, html[data-theme="dark"] .popup-mobile-menu .content p { color: #e6e1f7; }

/* Cards / blocks */
html[data-theme="dark"] .inner-wrapper, html[data-theme="dark"] .rbt-card, html[data-theme="dark"] .card,
html[data-theme="dark"] .inner { border-color: #29223f; box-shadow: none; }
html[data-theme="dark"] .rbt-card.variation-01 { background-color: rgba(23, 19, 42, .8) !important; }
html[data-theme="dark"] .rbt-accordion-area .card, html[data-theme="dark"] .accordion-item, html[data-theme="dark"] .accordion-button { background: #17132a !important; color: #f4f1ff; border-color: #29223f; }
html[data-theme="dark"] .accordion-button::after { filter: invert(1); }
html[data-theme="dark"] .accordion-body { background: #14102a; color: #c8c1e2; }
html[data-theme="dark"] .rbt-badge, html[data-theme="dark"] .rbt-badge-2 { background: #2a2148; color: #e6e1f7; }
html[data-theme="dark"] .bg-color-white, html[data-theme="dark"] .bg-white, html[data-theme="dark"] .bg-color-extra2,
html[data-theme="dark"] .bg-color-lighter { background-color: #14102a !important; }

/* Forms */
html[data-theme="dark"] input, html[data-theme="dark"] textarea, html[data-theme="dark"] select, html[data-theme="dark"] .form-control {
    background-color: #1b1633 !important; color: #f4f1ff !important; border-color: #352c58 !important;
}
html[data-theme="dark"] input::placeholder, html[data-theme="dark"] textarea::placeholder { color: #8d86ab; }

/* Footer is already dark; keep it slightly deeper */
html[data-theme="dark"] .rbt-footer.bg-color-darker { background: #0a0714 !important; }
html[data-theme="dark"] hr { border-color: #29223f; opacity: 1; }
html[data-theme="dark"] .modal-content { background: #17132a; color: #c8c1e2; }

/* Category pills, section text */
html[data-theme="dark"] .rbt-categori-list a, html[data-theme="dark"] .rbt-categori-list a:hover { background: #1b1633; color: #e6e1f7; border-color: #352c58; }
html[data-theme="dark"] .section-title p, html[data-theme="dark"] .section-title .description, html[data-theme="dark"] p.description { color: #c8c1e2 !important; }

/* Page-level fixes */
html[data-theme="dark"] .text-dark, html[data-theme="dark"] .text-black { color: #f4f1ff !important; }
html[data-theme="dark"] .rbt-new-badge, html[data-theme="dark"] .rbt-new-badge-one { background: #2a2148 !important; color: #f4f1ff !important; }
html[data-theme="dark"] .rbt-btn.btn-white, html[data-theme="dark"] .rbt-btn.btn-white span { background-color: #fff; color: #192335 !important; }
html[data-theme="dark"] .submenu, html[data-theme="dark"] .rbt-contact-form, html[data-theme="dark"] .rbt-address,
html[data-theme="dark"] .rbt-team-tab-content, html[data-theme="dark"] .rbt-contact-form.contact-form-style-1 { background: #17132a !important; border-color: #29223f; }
html[data-theme="dark"] .submenu li a { color: #e6e1f7; }
html[data-theme="dark"] .submenu li a:hover { color: #d8b4fe; background: #1f1937; }
html[data-theme="dark"] .form-group label, html[data-theme="dark"] .rbt-contact-form label { color: #e6e1f7; }
html[data-theme="dark"] .rbt-article-content-wrapper { background: #17132a !important; border-radius: 16px; }
html[data-theme="dark"] .rbt-article-content-wrapper a { color: #d8b4fe; }
html[data-theme="dark"] .rbt-article-content-wrapper strong, html[data-theme="dark"] .rbt-article-content-wrapper b { color: #f4f1ff; }

/* Checkout / sign-up page */
html[data-theme="dark"] .checkout-page { --color-white: #17132a; --color-lighter: #0e0b1a; --color-gray: #9a93b8; --color-primary-lighter: #1f1937; --color-border: #2e2650; --color-light: #1b1633; }
html[data-theme="dark"] .checkout-page .co-card, html[data-theme="dark"] .checkout-page .order-card { background: #17132a !important; border-color: #29223f; }
html[data-theme="dark"] .checkout-page .phone-field-wrap, html[data-theme="dark"] .checkout-page .field-wrap input { background: #1b1633 !important; border-color: #352c58; }
html[data-theme="dark"] .checkout-page .phone-prefix { background: #261f42; color: #d8b4fe; }
html[data-theme="dark"] .checkout-page .terms-row label, html[data-theme="dark"] .checkout-page .trust-item, html[data-theme="dark"] .checkout-page .price-row .lbl { color: #c8c1e2; }
html[data-theme="dark"] .checkout-page .login-nudge a, html[data-theme="dark"] .checkout-page .terms-row a { color: #d8b4fe; }
html[data-theme="dark"] .loader-box { background: #17132a; }
html[data-theme="dark"] .loader-box p { color: #c8c1e2; }

/* Soft grey shadows turn into glowing halos on dark: use deep shadows instead */
html[data-theme="dark"] .rbt-header-wrapper, html[data-theme="dark"] .submenu, html[data-theme="dark"] .rbt-counterup,
html[data-theme="dark"] .top-features-box, html[data-theme="dark"] .rbt-team-tab-content, html[data-theme="dark"] .rbt-card,
html[data-theme="dark"] .rbt-contact-form, html[data-theme="dark"] .rbt-address, html[data-theme="dark"] .rbt-btn.btn-border-gradient,
html[data-theme="dark"] .rbt-shadow-box, html[data-theme="dark"] .card { box-shadow: 0 10px 30px rgba(0, 0, 0, .45) !important; }
html[data-theme="dark"] .rbt-header-wrapper { box-shadow: 0 6px 24px rgba(0, 0, 0, .5) !important; }

/* Gradient-border buttons: their inner white layer becomes dark */
html[data-theme="dark"] .rbt-btn.btn-border-gradient::before, html[data-theme="dark"] .btn-border-gradient::before { background: #14102a !important; }
html[data-theme="dark"] .rbt-btn.btn-border-gradient:hover::before { background: transparent !important; }
html[data-theme="dark"] .top-circle-shape::before { background: #17132a; }

/* Skill marquee edge fades */
html[data-theme="dark"] .scroll-animation-all-wrapper, html[data-theme="dark"] .scroll-animation-wrapper { background: transparent !important; }
html[data-theme="dark"] .scroll-animation-all-wrapper::before, html[data-theme="dark"] .scroll-animation-wrapper::before { background-image: linear-gradient(90deg, #14102a 0, rgba(20, 16, 42, 0)) !important; }
html[data-theme="dark"] .scroll-animation-all-wrapper::after, html[data-theme="dark"] .scroll-animation-wrapper::after { background-image: linear-gradient(-90deg, #14102a 0, rgba(20, 16, 42, 0)) !important; }
html[data-theme="dark"] .rbt-accordion-area .card, html[data-theme="dark"] .accordion-item { border: 1px solid #352c58 !important; }

/* Full-page pass: light surfaces that stayed white */
html[data-theme="dark"] .rbt-card, html[data-theme="dark"] .card, html[data-theme="dark"] .inner-wrapper { background-color: #17132a !important; }
html[data-theme="dark"] .rbt-card.variation-01 { background-color: rgba(23, 19, 42, .8) !important; }
html[data-theme="dark"] .rbt-breadcrumb-default, html[data-theme="dark"] .page-banner-area, html[data-theme="dark"] .bg-gradient-1 { background: linear-gradient(180deg, #0e0b1a 0%, #1b1633 100%) !important; }
html[data-theme="dark"] .rbt-breadcrumb-default .title, html[data-theme="dark"] .rbt-breadcrumb-default .page-list li, html[data-theme="dark"] .rbt-breadcrumb-default .page-list li a { color: #f4f1ff; }
html[data-theme="dark"] .rbt-team .inner, html[data-theme="dark"] .rbt-team.team-style-default .inner, html[data-theme="dark"] .rbt-card .inner,
html[data-theme="dark"] .rbt-team-tab-content .inner { background-color: #17132a !important; }
html[data-theme="dark"] .rbt-team .inner .title a, html[data-theme="dark"] .rbt-team .inner .title { color: #f4f1ff; }
html[data-theme="dark"] .rbt-team .inner .subtitle, html[data-theme="dark"] .rbt-team .inner span { color: #d8b4fe; }

/* FAQ accordion */
html[data-theme="dark"] .rbt-accordion-area { background: #14102a !important; }
html[data-theme="dark"] .accordion-button::after { filter: none; opacity: .9; }
html[data-theme="dark"] .accordion-button, html[data-theme="dark"] .accordion-button.collapsed { color: #f4f1ff !important; }
html[data-theme="dark"] .accordion-button:not(.collapsed) { color: #d8b4fe !important; box-shadow: none; }
html[data-theme="dark"] .accordion-item, html[data-theme="dark"] .rbt-accordion-area .card { border: 1px solid #352c58 !important; border-radius: 14px; overflow: hidden; margin-bottom: 12px; }
html[data-theme="dark"] .accordion-body, html[data-theme="dark"] .accordion-collapse { background: #1b1633; color: #c8c1e2; }
html[data-theme="dark"] .accordion-body p, html[data-theme="dark"] .accordion-body li { color: #c8c1e2; }

/* Skills marquee: one flat dark surface, no halos, no hard-edged fades */
html[data-theme="dark"] .rbt-section-gap:has(.scroll-animation-all-wrapper) { background-color: #0e0b1a !important; }
html[data-theme="dark"] .scroll-animation-all-wrapper, html[data-theme="dark"] .scroll-animation-wrapper, html[data-theme="dark"] .scroll-animation { background: transparent !important; box-shadow: none !important; }
html[data-theme="dark"] .scroll-animation-all-wrapper::before { background-image: linear-gradient(90deg, #0e0b1a 40px, rgba(14, 11, 26, 0)) !important; left: 0; }
html[data-theme="dark"] .scroll-animation-all-wrapper::after { background-image: linear-gradient(-90deg, #0e0b1a 40px, rgba(14, 11, 26, 0)) !important; right: 0; }
html[data-theme="dark"] .scroll-animation-wrapper::before, html[data-theme="dark"] .scroll-animation-wrapper::after { display: none !important; }
html[data-theme="dark"] .scroll-animation-wrapper a, html[data-theme="dark"] .scroll-animation a { background: #1f1937; color: #f4f1ff; border: 1px solid #352c58; box-shadow: none !important; }
html[data-theme="dark"] .scroll-animation-wrapper a i, html[data-theme="dark"] .scroll-animation a i { color: #d8b4fe; }

/* Floating "Need Support" bubble */
html[data-theme="dark"] .floating_chatbot .tooltiptext { background: #17132a; border: 1px solid #352c58; color: #f4f1ff; box-shadow: 0 8px 24px rgba(0, 0, 0, .5); }
html[data-theme="dark"] .floating_chatbot .tooltiptext::after { border-left-color: #17132a; }
html[data-theme="dark"] .floating_chatbot #botsay, html[data-theme="dark"] .floating_chatbot .close_tooltip { color: #f4f1ff; }
html[data-theme="dark"] .scroll-animation-all-wrapper::before, html[data-theme="dark"] .scroll-animation-all-wrapper::after { width: 120px !important; }
html[data-theme="dark"] .scroll-animation-all-wrapper::before { background-image: linear-gradient(90deg, #0e0b1a 0, rgba(14, 11, 26, 0)) !important; }
html[data-theme="dark"] .scroll-animation-all-wrapper::after { background-image: linear-gradient(-90deg, #0e0b1a 0, rgba(14, 11, 26, 0)) !important; }

/* Skills marquee: identical soft fade on BOTH sides (mask instead of coloured overlays) */
html[data-theme="dark"] .scroll-animation-all-wrapper::before, html[data-theme="dark"] .scroll-animation-all-wrapper::after { display: none !important; }
html[data-theme="dark"] .scroll-animation-all-wrapper {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 140px, #000 calc(100% - 140px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 140px, #000 calc(100% - 140px), transparent 100%);
}
@media (max-width: 767.98px) {
    html[data-theme="dark"] .scroll-animation-all-wrapper {
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 50px, #000 calc(100% - 50px), transparent 100%);
                mask-image: linear-gradient(90deg, transparent 0, #000 50px, #000 calc(100% - 50px), transparent 100%);
    }
}

/* ── Website navbar: notification dropdown (+ user menu) ────────────── */
.cfx-notify-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cfx-notify-head h6 { margin: 0; }
.cfx-notify-head form { margin: 0; }
.cfx-notify-clear { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border: 0; border-radius: 99px; background: #f4edff; color: #7c3aed; font-size: 12px; font-weight: 600; cursor: pointer; }
.cfx-notify-clear:hover { background: #7c3aed; color: #fff; }
.cfx-notify-empty { margin: 14px 0 6px; font-size: 13px; color: #6f6b85; text-align: center; }
.rbt-user-menu-list-wrapper .user-notification-wrapper { max-height: 320px; overflow-y: auto; }

html[data-theme="dark"] .rbt-user-wrapper .rbt-user-menu-list-wrapper, html[data-theme="dark"] .rbt-user-menu-list-wrapper .inner,
html[data-theme="dark"] .rbt-user-menu-list-wrapper .notification { background: #17132a !important; border-color: #29223f; color: #c8c1e2; }
html[data-theme="dark"] .rbt-user-wrapper .rbt-user-menu-list-wrapper { box-shadow: 0 16px 40px rgba(0, 0, 0, .55) !important; border: 1px solid #29223f; }
html[data-theme="dark"] .rbt-user-menu-list-wrapper .rbt-title-style-2 { color: #f4f1ff; }
html[data-theme="dark"] .rbt-user-menu-list-wrapper .user-notification-wrapper li { background: transparent !important; }
html[data-theme="dark"] .rbt-user-menu-list-wrapper .user-notification-wrapper li:nth-child(even) { background: #1b1633 !important; border-color: #29223f; }
html[data-theme="dark"] .rbt-user-menu-list-wrapper .user-notification-wrapper li a { color: #e6e1f7; }
html[data-theme="dark"] .rbt-user-menu-list-wrapper .user-notification-wrapper li a:hover { color: #d8b4fe; opacity: 1; }
html[data-theme="dark"] .rbt-user-menu-list-wrapper .user-notification-wrapper li a span { color: #958eb3; }
html[data-theme="dark"] .rbt-user-menu-list-wrapper .user-list-wrapper li a, html[data-theme="dark"] .rbt-user-menu-list-wrapper .user-list-wrapper li a span { color: #e6e1f7; }
html[data-theme="dark"] .rbt-user-menu-list-wrapper .user-list-wrapper li a:hover { background: #1f1937; color: #d8b4fe; }
html[data-theme="dark"] .cfx-notify-clear { background: #2a2148; color: #d8b4fe; }
html[data-theme="dark"] .cfx-notify-clear:hover { background: #7c3aed; color: #fff; }
html[data-theme="dark"] .cfx-notify-empty { color: #958eb3; }
html[data-theme="dark"] .rbt-round-btn .rbt-cart-count { box-shadow: 0 0 0 2px #0e0b1a; }

/* ── Dark-mode audit fixes (contrast pass) ─────────────────────────── */
/* testimonial cards stayed light grey */
html[data-theme="dark"] .rbt-testimonial-box .inner, html[data-theme="dark"] .rbt-testimonial-box .inner.bg-color-primary-opacity { background: #17132a !important; border: 1px solid #29223f; }
html[data-theme="dark"] .rbt-testimonial-box .title, html[data-theme="dark"] .rbt-testimonial-box .clint-info-wrapper .title { color: #f4f1ff !important; }
html[data-theme="dark"] .rbt-testimonial-box .subtitle, html[data-theme="dark"] .rbt-testimonial-box .subtitle-3, html[data-theme="dark"] .rbt-testimonial-box p { color: #c8c1e2 !important; }
html[data-theme="dark"] .rbt-testimonial-box .subtitle { color: #d8b4fe !important; }
/* outline buttons (e.g. "Explore Courses") */
html[data-theme="dark"] .rbt-btn.btn-border, html[data-theme="dark"] .rbt-btn.btn-border .btn-text, html[data-theme="dark"] .rbt-btn.btn-border i { color: #f4f1ff !important; }
html[data-theme="dark"] .rbt-btn.btn-border { border-color: #4a3f78 !important; background: transparent; }
html[data-theme="dark"] .rbt-btn.btn-border:hover { background: #2a2148 !important; border-color: #d8b4fe !important; }
/* footer links / text must stay light on the deep footer */
html[data-theme="dark"] .rbt-footer .footer-widget .ft-link li a, html[data-theme="dark"] .rbt-footer .footer-widget .ft-link li, html[data-theme="dark"] .rbt-footer .footer-widget .ft-link li span,
html[data-theme="dark"] .rbt-footer .copyright-link a, html[data-theme="dark"] .rbt-footer .copyright-link li a { color: #d9d3ee !important; }
html[data-theme="dark"] .rbt-footer .footer-widget .ft-link li a:hover, html[data-theme="dark"] .rbt-footer .copyright-link a:hover { color: #d8b4fe !important; }
/* theme switch: inactive label readable */
html[data-theme="dark"] .cfx-theme button, html[data-theme="dark"] .cfx-theme button span { color: #c8c1e2; }
html[data-theme="dark"] .cfx-theme button[aria-pressed="true"], html[data-theme="dark"] .cfx-theme button[aria-pressed="true"] span { color: #fff; }
html[data-theme="dark"] .rbt-footer .rbt-link-hover a, html[data-theme="dark"] .rbt-footer .copyright-link a { color: #d9d3ee !important; }
html[data-theme="dark"] .rbt-contact-form label, html[data-theme="dark"] .rbt-contact-form .form-group label, html[data-theme="dark"] .contact-form-style-1 label { color: #e6e1f7 !important; }
html[data-theme="dark"] .rbt-address, html[data-theme="dark"] .rbt-address .inner { background-color: #17132a !important; }
html[data-theme="dark"] .rbt-address .title, html[data-theme="dark"] .rbt-address h4 { color: #f4f1ff !important; }
html[data-theme="dark"] .text-primary, html[data-theme="dark"] strong.text-primary { color: #f0a0f0 !important; }

/* ── Dark pass 2: elements living outside the main wrappers ─────────── */
html[data-theme="dark"] body .copyright-area a, html[data-theme="dark"] body .copyright-style-1 .copyright-link li a, html[data-theme="dark"] body .copyright-link a { color: #d9d3ee !important; }
html[data-theme="dark"] body .copyright-link a:hover { color: #d8b4fe !important; }
html[data-theme="dark"] body .with-white-text, html[data-theme="dark"] body .with-white-text * { color: #c8c1e2; }
html[data-theme="dark"] body .with-white-text h1, html[data-theme="dark"] body .with-white-text h2, html[data-theme="dark"] body .with-white-text h3,
html[data-theme="dark"] body .with-white-text h4, html[data-theme="dark"] body .with-white-text h5, html[data-theme="dark"] body .with-white-text h6, html[data-theme="dark"] body .with-white-text strong { color: #f4f1ff !important; }
html[data-theme="dark"] body .with-white-text a { color: #d8b4fe !important; }
html[data-theme="dark"] body form label, html[data-theme="dark"] body .form-group label { color: #e6e1f7 !important; }
html[data-theme="dark"] body .rbt-address a, html[data-theme="dark"] body .rbt-address .inner, html[data-theme="dark"] body .rbt-address p { color: #c8c1e2 !important; }
html[data-theme="dark"] body .rbt-address a:hover, html[data-theme="dark"] body .rbt-btn-link, html[data-theme="dark"] body a.rbt-btn-link { color: #d8b4fe !important; }

/* Course category boxes */
html[data-theme="dark"] .rbt-cat-box .inner, html[data-theme="dark"] .rbt-cat-box-1 .inner, html[data-theme="dark"] .rbt-cat-box.variation-2 .inner { background-color: #17132a !important; border: 1px solid #29223f; }
html[data-theme="dark"] .rbt-cat-box .title a, html[data-theme="dark"] .rbt-cat-box .title { color: #f4f1ff !important; }
html[data-theme="dark"] .rbt-cat-box .rbt-author-info, html[data-theme="dark"] .rbt-cat-box .rbt-author-info a, html[data-theme="dark"] .rbt-cat-box .rbt-author-info span { color: #c8c1e2 !important; }
html[data-theme="dark"] .rbt-cat-box .rbt-author-info a:hover { color: #d8b4fe !important; }

/* ── Course detail page ─────────────────────────────────────────────── */
html[data-theme="dark"] .rbt-shadow-box, html[data-theme="dark"] .rbt-feature-box, html[data-theme="dark"] .rbt-feature-box.rbt-shadow-box,
html[data-theme="dark"] .rbt-inner-onepage-navigation, html[data-theme="dark"] .course-content.rbt-shadow-box, html[data-theme="dark"] .coursecontent-wrapper,
html[data-theme="dark"] .rbt-course-feature-box, html[data-theme="dark"] .rbt-instructor.rbt-shadow-box, html[data-theme="dark"] .rbt-review-wrapper,
html[data-theme="dark"] .social-share-wrapper, html[data-theme="dark"] .video-popup-wrapper.rbt-shadow-box { background-color: #17132a !important; border: 1px solid #29223f; color: #c8c1e2; }
html[data-theme="dark"] .rbt-inner-onepage-navigation { box-shadow: 0 10px 24px rgba(0, 0, 0, .5) !important; }
html[data-theme="dark"] .rbt-shadow-box .title, html[data-theme="dark"] .rbt-shadow-box h1, html[data-theme="dark"] .rbt-shadow-box h2, html[data-theme="dark"] .rbt-shadow-box h3,
html[data-theme="dark"] .rbt-shadow-box h4, html[data-theme="dark"] .rbt-shadow-box h5, html[data-theme="dark"] .rbt-shadow-box h6 { color: #f4f1ff !important; }
html[data-theme="dark"] .rbt-shadow-box p, html[data-theme="dark"] .rbt-shadow-box li, html[data-theme="dark"] .rbt-shadow-box span:not(.rbt-btn):not(.btn-text):not(.icon-reverse-wrapper),
html[data-theme="dark"] .rbt-shadow-box label { color: #c8c1e2; }
/* section tabs (Overview / Course Content / Details …) */
html[data-theme="dark"] .rbt-inner-onepage-navigation .mainmenu-nav, html[data-theme="dark"] .rbt-inner-onepage-navigation .mainmenu { background: transparent; }
html[data-theme="dark"] .rbt-inner-onepage-navigation .mainmenu li a, html[data-theme="dark"] .rbt-inner-onepage-navigation a { color: #c8c1e2 !important; }
html[data-theme="dark"] .rbt-inner-onepage-navigation li.current a, html[data-theme="dark"] .rbt-inner-onepage-navigation a.active, html[data-theme="dark"] .rbt-inner-onepage-navigation li.active a { color: #fff !important; }
/* lesson / module rows in the curriculum */
html[data-theme="dark"] .course-content .rbt-course-main-content li a, html[data-theme="dark"] .course-content .rbt-course-main-content li a span,
html[data-theme="dark"] .course-content .accordion-button { color: #f4f1ff !important; }
html[data-theme="dark"] .course-content .rbt-course-main-content li a { background: #1b1633; border-color: #29223f; }
html[data-theme="dark"] .course-content .accordion-body, html[data-theme="dark"] .course-content .accordion-item { background: #14102a !important; }
html[data-theme="dark"] .rbt-course-feature-box .features li, html[data-theme="dark"] .rbt-course-feature-box .features li span, html[data-theme="dark"] .rbt-course-feature-box .features li label { color: #c8c1e2 !important; border-color: #29223f; }
html[data-theme="dark"] .rbt-course-feature-box .features li .feature-value, html[data-theme="dark"] .rbt-course-feature-box .features li .rbt-badge-5 { color: #fff !important; }
html[data-theme="dark"] .video-popup-wrapper .close-button { background: #2a2148; color: #fff; }
html[data-theme="dark"] .rbt-btn.btn-white.icon-hover, html[data-theme="dark"] .rbt-btn.btn-white.icon-hover .btn-text { color: #192335 !important; }

/* Course hero: pastel background photo darkened */
html[data-theme="dark"] .rbt-breadcrumb-style-3 > img, html[data-theme="dark"] .rbt-breadcrumb-style-3 img[src*="/bg/"] { filter: brightness(.16) saturate(.8); }
html[data-theme="dark"] .rbt-breadcrumb-style-3 .title, html[data-theme="dark"] .rbt-breadcrumb-style-3 h2, html[data-theme="dark"] .rbt-breadcrumb-style-3 .description,
html[data-theme="dark"] .rbt-breadcrumb-style-3 p, html[data-theme="dark"] .rbt-breadcrumb-style-3 .rbt-author-info, html[data-theme="dark"] .rbt-breadcrumb-style-3 .rbt-author-info a,
html[data-theme="dark"] .rbt-breadcrumb-style-3 .rbt-meta li, html[data-theme="dark"] .rbt-breadcrumb-style-3 .rbt-meta li * { color: #f4f1ff !important; }
html[data-theme="dark"] .rbt-breadcrumb-style-3 p, html[data-theme="dark"] .rbt-breadcrumb-style-3 .description { color: #d9d3ee !important; }
/* pasted rich text carries <font color=black> */
html[data-theme="dark"] .rbt-shadow-box font, html[data-theme="dark"] .rbt-article-content-wrapper font, html[data-theme="dark"] .rbt-course-details-area font { color: inherit !important; }
html[data-theme="dark"] .rbt-show-more-btn, html[data-theme="dark"] .rbt-show-more-btn.active { color: #f0a0f0 !important; }
html[data-theme="dark"] .course-sidebar strong, html[data-theme="dark"] .course-sidebar a strong { color: #f0a0f0 !important; }
html[data-theme="dark"] .course-sidebar .rbt-course-details-list-wrapper li, html[data-theme="dark"] .course-sidebar .rbt-course-details-list-wrapper li span { color: #d9d3ee !important; border-color: #29223f; }
html[data-theme="dark"] .rbt-gradient-border, html[data-theme="dark"] .course-sidebar.rbt-gradient-border {
    background-image: linear-gradient(#17132a, #17132a), linear-gradient(-145deg, #7c3aed, #637fea) !important;
    background-origin: border-box; background-clip: padding-box, border-box;
}
html[data-theme="dark"] .rbt-gradient-border::before, html[data-theme="dark"] .course-sidebar.rbt-gradient-border::before { background: #17132a !important; }
html[data-theme="dark"] .rbt-show-more-btn.active::before, html[data-theme="dark"] .rbt-show-more-btn::before { background-image: linear-gradient(rgba(23, 19, 42, 0) 0%, #17132a 100%) !important; }

/* Policy / article pages: headings pasted with dark inline colours */
html[data-theme="dark"] body .rbt-article-content-wrapper h1, html[data-theme="dark"] body .rbt-article-content-wrapper h2, html[data-theme="dark"] body .rbt-article-content-wrapper h3,
html[data-theme="dark"] body .rbt-article-content-wrapper h4, html[data-theme="dark"] body .rbt-article-content-wrapper h5, html[data-theme="dark"] body .rbt-article-content-wrapper h6,
html[data-theme="dark"] body .rbt-putchase-guide-area h1, html[data-theme="dark"] body .rbt-putchase-guide-area h2, html[data-theme="dark"] body .rbt-putchase-guide-area h3,
html[data-theme="dark"] body .rbt-putchase-guide-area h4 { color: #f4f1ff !important; }
html[data-theme="dark"] body .rbt-article-content-wrapper p, html[data-theme="dark"] body .rbt-article-content-wrapper li, html[data-theme="dark"] body .rbt-article-content-wrapper span,
html[data-theme="dark"] body .rbt-article-content-wrapper div { color: #c8c1e2; }
html[data-theme="dark"] .checkout-page .final_price, html[data-theme="dark"] .checkout-page .val.final_price { color: #f0a0f0 !important; }

/* Course content (locked lessons) — readable on dark */
html[data-theme="dark"] .bt-course-video-list-wrapper li.rbt-card { position: relative; background: #1b1633 !important; border: 1px solid #2e2650; }
html[data-theme="dark"] .bt-course-video-list-wrapper .blur { filter: blur(1.6px); -webkit-filter: blur(1.6px); opacity: .95; }
html[data-theme="dark"] .bt-course-video-list-wrapper .blur .title, html[data-theme="dark"] .bt-course-video-list-wrapper .blur .title a { color: #ffffff !important; font-weight: 600; }
html[data-theme="dark"] .bt-course-video-list-wrapper .thumbnail img { filter: brightness(.55) saturate(.9); border-radius: 8px; }
html[data-theme="dark"] .bt-course-video-list-wrapper li:not(.rbt-card) .title a { color: #f4f1ff !important; }
html[data-theme="dark"] .bt-course-video-list-wrapper li:not(.rbt-card) { background: #1b1633; border: 1px solid #2e2650; border-radius: 12px; }
/* lock hint, replaced by the Buy/Login button on hover */
html[data-theme="dark"] .bt-course-video-list-wrapper li.rbt-card::after {
    content: "\1F512  Login to unlock"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); padding: 4px 12px; border-radius: 99px;
    font-size: 11.5px; font-weight: 700; color: #d8b4fe; background: rgba(124, 58, 237, .22); border: 1px solid rgba(216, 180, 254, .35); pointer-events: none; transition: opacity .2s;
}
html[data-theme="dark"] .bt-course-video-list-wrapper li.rbt-card:hover::after { opacity: 0; }
/* locked lesson: Buy/Login button centred over the row on hover */
html[data-theme="dark"] .bt-course-video-list-wrapper li.rbt-card .rbt-card-img, html[data-theme="dark"] .bt-course-video-list-wrapper li.rbt-card .rbt-card-img .thumbnail-link { position: static; }
html[data-theme="dark"] .bt-course-video-list-wrapper li.rbt-card .rbt-card-img .thumbnail-link .rbt-btn { left: 50%; top: 50%; margin: 0; transform: translate(-50%, -50%); z-index: 3; }
html[data-theme="dark"] .bt-course-video-list-wrapper li.rbt-card:hover .rbt-card-img .thumbnail-link .rbt-btn { opacity: 1; }
