/* =========================================================
RevPTC Theme-Light Universal Fix (2026-08-11)
Loaded LAST on user layout (master.blade.php) and public
layout (app.blade.php). Fixes invisible fonts in LIGHT mode
(white text on white surfaces) and DARK mode (dark text on
dark surfaces) across every page.
========================================================= */

/* ---------- UNIVERSAL ICON FONT-FAMILY & RENDERING FIX ---------- */
.la, .las, i[class*="la-"]:not(.lab):not(.lar), span[class*="la-"]:not(.lab):not(.lar) {
font-family: 'Line Awesome Free' !important;
font-weight: 900 !important;
display: inline-block !important;
font-style: normal !important;
line-height: 1 !important;
}
.lar, i.lar, span.lar {
font-family: 'Line Awesome Free' !important;
font-weight: 400 !important;
}
.lab, i.lab, span.lab, i[class*="lab-"], span[class*="lab-"], i[class~="lab"], span[class~="lab"] {
font-family: 'Line Awesome Brands', 'Font Awesome 6 Brands', 'FontAwesome' !important;
font-weight: 400 !important;
display: inline-block !important;
font-style: normal !important;
line-height: 1 !important;
}
.fa, .fas, i[class*="fa-"]:not(.fab):not(.far), span[class*="fa-"]:not(.fab):not(.far) {
font-family: 'Font Awesome 6 Free', 'FontAwesome' !important;
font-weight: 900 !important;
display: inline-block !important;
font-style: normal !important;
line-height: 1 !important;
}
.far, i.far, span.far {
font-family: 'Font Awesome 6 Free', 'FontAwesome' !important;
font-weight: 400 !important;
}
.fab, i.fab, span.fab, i[class*="fab"], span[class*="fab"] {
font-family: 'Font Awesome 6 Brands', 'Line Awesome Brands', 'FontAwesome' !important;
font-weight: 400 !important;
display: inline-block !important;
font-style: normal !important;
line-height: 1 !important;
}

/* Explicit brand glyph mapping fallbacks */
.la-twitter:before, .fa-twitter:before { content: "\f099" !important; font-family: 'Font Awesome 6 Brands', 'Line Awesome Brands', 'FontAwesome' !important; }
.la-telegram-plane:before, .la-telegram:before, .fa-telegram-plane:before, .fa-telegram:before { content: "\f2c6" !important; font-family: 'Font Awesome 6 Brands', 'Line Awesome Brands', 'FontAwesome' !important; }
.la-facebook-f:before, .fa-facebook-f:before { content: "\f39e" !important; font-family: 'Font Awesome 6 Brands', 'Line Awesome Brands', 'FontAwesome' !important; }
.la-youtube:before, .fa-youtube:before { content: "\f167" !important; font-family: 'Font Awesome 6 Brands', 'Line Awesome Brands', 'FontAwesome' !important; }

/* ---------- BASE ---------- */
body.theme-light {
background-color: #f0f4f9 !important;
color: #1e293b !important;
}

/* ---------- 1. SURFACES -> LIGHT ---------- */
body.theme-light .card,
body.theme-light .widget-card,
body.theme-light .store-card,
body.theme-light .dash-panel-card,
body.theme-light .dash-stat-card,
body.theme-light .modal-content,
body.theme-light .modal-content.custom-modal-content,
body.theme-light .list-group,
body.theme-light .list-group-item,
body.theme-light .dropdown-menu,
body.theme-light .tx-item,
body.theme-light .activity-item,
body.theme-light .bv-item,
body.theme-light .quick-action-box,
body.theme-light .login-wrapper,
body.theme-light .login-wrapper__body,
body.theme-light .table-responsive {
background-color: #ffffff !important;
border-color: #e2e8f0 !important;
color: #1e293b !important;
}

/* ---------- 2. HEADINGS readable in light mode ---------- */
body.theme-light :is(.card, .widget-card, .store-card, .modal-content, .list-group, .dropdown-menu, .tx-item, .activity-item, .bv-item, .quick-action-box, .dash-panel-card, .dash-stat-card) :is(h1, h2, h3, h4, h5, h6),
body.theme-light .modal-title {
color: #0f172a !important;
}

/* ---------- 3. KEY FIX: white/light utility text on light surfaces -> dark ---------- */
body.theme-light :is(.card, .widget-card, .store-card, .modal-content, .list-group, .dropdown-menu, .tx-item, .activity-item, .bv-item, .quick-action-box, .dash-panel-card, .dash-stat-card, .table) :is(.text-white, .text-light, .text-white-50, .text-light-50) {
color: #1e293b !important;
}
body.theme-light .card-header.text-white,
body.theme-light .card-header :is(.text-white, .text-light) {
color: #0f172a !important;
}
body.theme-light .notice-body {
color: #1e293b !important;
}

/* Translucent white chips (e.g. .bg-white-20) -> translucent dark on light bg */
body.theme-light .bg-white-20,
body.theme-light .bg-white-10,
body.theme-light .bg-white {
background-color: rgba(15, 23, 42, 0.08) !important;
}

/* Only elements explicitly having .text-white or .text-light on solid colored buttons stay white */
body.theme-light :is(.card, .widget-card, .store-card, .modal-content, .list-group, .dropdown-menu, .tx-item, .activity-item, .bv-item, .quick-action-box, .dash-panel-card, .dash-stat-card, .franchise-card, .upgrade-plan-card) :is(.btn--primary, .btn--success, .btn--danger, .btn-primary, .btn-success, .btn-danger, .btn-franchise-buy, .btn-upgrade-action, .btn-current-tier, .franchise-3x-pill, .franchise-popular-ribbon, .btn-learner-next) :is(.text-white, .text-light, span, i, *) {
color: #ffffff !important;
-webkit-text-fill-color: #ffffff !important;
}

/* OUTLINE BUTTONS in Light Mode must have crisp colored text and icons (NOT white!) */
body.theme-light .btn-outline--primary,
body.theme-light .btn-outline-primary,
body.theme-light :is(.card, .table, .widget-card, .modal-content) .btn-outline--primary,
body.theme-light :is(.card, .table, .widget-card, .modal-content) .btn-outline-primary {
border: 1.5px solid #4f46e5 !important;
color: #4f46e5 !important;
background-color: rgba(79, 70, 229, 0.06) !important;
}
body.theme-light .btn-outline--primary :is(i, span, *),
body.theme-light .btn-outline-primary :is(i, span, *),
body.theme-light :is(.card, .table, .widget-card, .modal-content) .btn-outline--primary :is(i, span, *),
body.theme-light :is(.card, .table, .widget-card, .modal-content) .btn-outline-primary :is(i, span, *) {
color: #4f46e5 !important;
}
body.theme-light .btn-outline--primary:hover,
body.theme-light .btn-outline-primary:hover,
body.theme-light :is(.card, .table, .widget-card, .modal-content) .btn-outline--primary:hover,
body.theme-light :is(.card, .table, .widget-card, .modal-content) .btn-outline-primary:hover {
background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%) !important;
border-color: #4f46e5 !important;
color: #ffffff !important;
box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25) !important;
}
body.theme-light .btn-outline--primary:hover :is(i, span, *),
body.theme-light .btn-outline-primary:hover :is(i, span, *),
body.theme-light :is(.card, .table, .widget-card, .modal-content) .btn-outline--primary:hover :is(i, span, *),
body.theme-light :is(.card, .table, .widget-card, .modal-content) .btn-outline-primary:hover :is(i, span, *) {
color: #ffffff !important;
}

/* Light Theme Store Details Button */
:is(html.theme-light, body.theme-light) .btn-store-details,
:is(html.theme-light, body.theme-light) :is(.card, .store-card) .btn-store-details {
background: #f1f5f9 !important;
border: 1.5px solid #cbd5e1 !important;
color: #0f172a !important;
font-weight: 700 !important;
}

:is(html.theme-light, body.theme-light) .btn-store-details i,
:is(html.theme-light, body.theme-light) :is(.card, .store-card) .btn-store-details i {
color: #4f46e5 !important;
}

:is(html.theme-light, body.theme-light) .btn-store-details:hover,
:is(html.theme-light, body.theme-light) :is(.card, .store-card) .btn-store-details:hover {
background: #4f46e5 !important;
border-color: #4f46e5 !important;
color: #ffffff !important;
box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3) !important;
}

:is(html.theme-light, body.theme-light) .btn-store-details:hover i,
:is(html.theme-light, body.theme-light) :is(.card, .store-card) .btn-store-details:hover i {
color: #ffffff !important;
}

/* Light Theme Store Card & Specs Enhancements */
:is(html.theme-light, body.theme-light) .store-card {
background: #ffffff !important;
border: 1px solid #e2e8f0 !important;
box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -2px rgba(15, 23, 42, 0.04) !important;
}

:is(html.theme-light, body.theme-light) .store-card:hover {
border-color: #6366f1 !important;
box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.12), 0 10px 15px -5px rgba(15, 23, 42, 0.04) !important;
}

:is(html.theme-light, body.theme-light) .store-title,
:is(html.theme-light, body.theme-light) .store-title a {
color: #0f172a !important;
}

:is(html.theme-light, body.theme-light) .store-title a:hover {
color: #4f46e5 !important;
}

:is(html.theme-light, body.theme-light) .spec-card {
background: #f8fafc !important;
border: 1px solid #e2e8f0 !important;
}

:is(html.theme-light, body.theme-light) .spec-card:hover {
background: #f1f5f9 !important;
border-color: #cbd5e1 !important;
}

:is(html.theme-light, body.theme-light) .spec-card-lbl {
color: #64748b !important;
}

:is(html.theme-light, body.theme-light) .spec-card-val {
color: #0f172a !important;
}

body.theme-light .btn-outline--success,
body.theme-light .btn-outline-success,
body.theme-light :is(.card, .table, .widget-card, .modal-content) .btn-outline--success {
border: 1.5px solid #16a34a !important;
color: #16a34a !important;
background-color: rgba(22, 163, 74, 0.06) !important;
}
body.theme-light .btn-outline--success :is(i, span, *),
body.theme-light :is(.card, .table, .widget-card, .modal-content) .btn-outline--success :is(i, span, *) {
color: #16a34a !important;
}

/* Subtle & Tinted Badges text & icon contrast in light mode */
body.theme-light .badge.text-warning,
body.theme-light .badge.bg-warning.bg-opacity-25,
body.theme-light :is(.card, .table) .badge.text-warning,
body.theme-light :is(.card, .table) .badge.bg-warning.bg-opacity-25 {
background-color: rgba(217, 119, 6, 0.12) !important;
border: 1px solid rgba(217, 119, 6, 0.35) !important;
color: #b45309 !important;
}
body.theme-light .badge.text-warning :is(i, span),
body.theme-light .badge.bg-warning.bg-opacity-25 :is(i, span),
body.theme-light :is(.card, .table) .badge.text-warning :is(i, span),
body.theme-light :is(.card, .table) .badge.bg-warning.bg-opacity-25 :is(i, span) {
color: #b45309 !important;
}

body.theme-light .badge.text-info,
body.theme-light .badge.bg-info.bg-opacity-25,
body.theme-light :is(.card, .table) .badge.text-info,
body.theme-light :is(.card, .table) .badge.bg-info.bg-opacity-25 {
background-color: rgba(2, 132, 199, 0.12) !important;
border: 1px solid rgba(2, 132, 199, 0.35) !important;
color: #0369a1 !important;
}
body.theme-light .badge.text-info :is(i, span),
body.theme-light .badge.bg-info.bg-opacity-25 :is(i, span),
body.theme-light :is(.card, .table) .badge.text-info :is(i, span),
body.theme-light :is(.card, .table) .badge.bg-info.bg-opacity-25 :is(i, span) {
color: #0369a1 !important;
}

body.theme-light .badge.text-success,
body.theme-light :is(.card, .table) .badge.text-success {
background-color: rgba(22, 163, 74, 0.12) !important;
border: 1px solid rgba(22, 163, 74, 0.35) !important;
color: #15803d !important;
}
body.theme-light .badge.text-success :is(i, span),
body.theme-light :is(.card, .table) .badge.text-success :is(i, span) {
color: #15803d !important;
}

body.theme-light .badge.text-danger,
body.theme-light :is(.card, .table) .badge.text-danger {
background-color: rgba(220, 38, 38, 0.12) !important;
border: 1px solid rgba(220, 38, 38, 0.35) !important;
color: #b91c1c !important;
}
body.theme-light .badge.text-danger :is(i, span),
body.theme-light :is(.card, .table) .badge.text-danger :is(i, span) {
color: #b91c1c !important;
}

/* Explicitly ensure team nodes in My Network have dark text in light mode */
body.theme-light .node-title,
body.theme-light .tree-branch-node .node-title,
body.theme-light .node-badge .node-title,
body.theme-light .node-badge-left .node-title,
body.theme-light .node-badge-right .node-title {
color: #0f172a !important;
font-weight: 700 !important;
}


/* ---------- 4. TABLES ---------- */
body.theme-light .table {
color: #1e293b !important;
}
body.theme-light .table thead th {
color: #0f172a !important;
background: #f1f5f9 !important;
font-weight: 700 !important;
font-size: 0.8rem !important;
text-transform: uppercase !important;
letter-spacing: 0.5px !important;
border-bottom: 2px solid #cbd5e1 !important;
padding: 14px 16px !important;
}
body.theme-light .table:not(.user-details-modal-area *):not(.user-details-modal *) tbody tr {
background: #ffffff !important;
}
body.theme-light .table:not(.user-details-modal-area *):not(.user-details-modal *) tbody tr:nth-child(even) {
background: #f8fafc !important;
}
body.theme-light .table:not(.user-details-modal-area *):not(.user-details-modal *) tbody tr:hover {
background: #f1f5f9 !important;
}
body.theme-light .table td,
body.theme-light .table th {
color: #1e293b !important;
border-color: #e2e8f0 !important;
padding: 14px 16px !important;
vertical-align: middle !important;
font-size: 0.88rem !important;
}

/* ---------- 5. FORMS (master covers .form-control; add the rest) ---------- */
body.theme-light .form-select,
body.theme-light textarea.form-control,
body.theme-light .form-control[type="file"] {
background-color: #ffffff !important;
border-color: #cbd5e1 !important;
color: #1e293b !important;
}

/* ---------- 6. ALERTS (bootstrap alerts keep colored bg; neutralize white text) ---------- */
.custom-alert :is(.text-white, .text-light, .alert-heading) {
color: inherit !important;
}

/* ---------- 7. DROPDOWNS (desktop too) ---------- */
body.theme-light .dropdown-menu .dropdown-menu__item,
body.theme-light .dropdown-menu a,
body.theme-light .dropdown-menu .dropdown-item {
color: #1e293b !important;
}
body.theme-light .dropdown-menu .dropdown-menu__item:hover,
body.theme-light .dropdown-menu a:hover {
color: #2563eb !important;
background: #f1f5f9 !important;
}

/* ---------- 8. PUBLIC PAGES (light base): fixed header + nav in light mode ---------- */
@media (min-width: 992px) {
body.theme-light .header-section.header-fixed {
background-color: #ffffff !important;
box-shadow: 0 4px 15px rgba(148, 163, 184, 0.15) !important;
}
body.theme-light .header-section.header-fixed .main-menu li a,
body.theme-light .header-section.header-fixed .theme-toggle-btn,
body.theme-light .header-section.header-fixed .navbar-toggler,
body.theme-light .header-section.header-fixed .language-wrapper {
color: #0f172a !important;
}
body.theme-light .header-section.header-fixed .main-menu li .sub-menu {
background: #ffffff !important;
box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12) !important;
}
body.theme-light .header-section.header-fixed .main-menu li .sub-menu li a {
color: #1e293b !important;
}
}

/* Mobile navbar-collapse panel keeps its dark bg in light mode -> links stay white */
@media (max-width: 991.98px) {
body.theme-light .header-bottom-area .navbar-collapse {
background-color: #36274c !important;
}
body.theme-light .header-bottom-area .navbar-collapse .main-menu li a,
body.theme-light .header-bottom-area .navbar-collapse .main-menu li .sub-menu li a {
color: #ffffff !important;
}
body.theme-light .header-bottom-area .navbar-collapse .main-menu li a:hover {
color: #ff7149 !important;
}
}

body.theme-light .theme-toggle-btn {
color: #0f172a !important;
}

/* ---------- 9. DARK MODE safety (user area, dark is default): dark text utils -> light ---------- */
body:not(.theme-light) :is(.text-dark, .text-body, .text-black) {
color: #e2e8f0 !important;
}
body:not(.theme-light) :is(.btn, .badge) :is(.text-dark, .text-body, .text-black),
body:not(.theme-light) :is(.btn, .badge):is(.text-dark, .text-body, .text-black),
body:not(.theme-light) :is(.btn, .badge):is(.bg-light, .bg-white),
body:not(.theme-light) .notif-total-badge {
color: #0f172a !important;
-webkit-text-fill-color: #0f172a !important;
}
body:not(.theme-light) .text-muted {
color: #94a3b8 !important;
}

/* ---------- 10. MISC readability ---------- */
body.theme-light .page-title {
color: #0f172a !important;
}
body.theme-light .graph-days-legend span,
body.theme-light .graph-days-legend {
color: #475569 !important;
}
body.theme-light .bv-center-text .text-muted,
body.theme-light .network-stats-row span,
body.theme-light .total-earning-pill span {
color: #475569 !important;
}

/* ---------- 11. EXPANDED DROPDOWN PARENT (light mode: green accent) ---------- */
body.theme-light .sidebar__menu .sidebar-dropdown > a.side-menu--open {
background-color: #eef2f6 !important;
border-left: 3px solid #007a41 !important;
}
body.theme-light .sidebar__menu .sidebar-dropdown > a.side-menu--open .menu-title,
body.theme-light .sidebar__menu .sidebar-dropdown > a.side-menu--open::before {
color: #0f172a !important;
font-weight: 700 !important;
}
body.theme-light .sidebar__menu .sidebar-dropdown > a.side-menu--open .menu-icon {
color: #007a41 !important;
}

/* ---------- 12. USER MULTI-WALLET & STATS CARDS IN LIGHT MODE ---------- */
body.theme-light .user-wallet-card {
background: #ffffff !important;
box-shadow: 0 10px 25px rgba(148, 163, 184, 0.12) !important;
}
body.theme-light .user-wallet-card.card-matching-wallet {
background: linear-gradient(145deg, #ffffff 0%, #fffbeb 100%) !important;
border: 1px solid #fde68a !important;
}
body.theme-light .user-wallet-card.card-learning-wallet {
background: linear-gradient(145deg, #ffffff 0%, #f0f9ff 100%) !important;
border: 1px solid #bae6fd !important;
}
body.theme-light .user-wallet-card.card-fund-wallet {
background: linear-gradient(145deg, #ffffff 0%, #eef2ff 100%) !important;
border: 1px solid #c7d2fe !important;
}
body.theme-light .user-wallet-card .wallet-title,
body.theme-light .user-wallet-card .wallet-val {
color: #0f172a !important;
}
body.theme-light .user-wallet-card.card-learning-wallet .wallet-val {
color: #0284c7 !important;
}
body.theme-light .user-wallet-card.card-fund-wallet .wallet-val {
color: #4f46e5 !important;
}
body.theme-light .user-wallet-card .wallet-sub {
color: #64748b !important;
}
body.theme-light .btn-wallet-secondary {
background: #f1f5f9 !important;
border: 1px solid #cbd5e1 !important;
color: #1e293b !important;
font-weight: 600 !important;
}
body.theme-light .btn-wallet-secondary:hover {
background: #e2e8f0 !important;
color: #0f172a !important;
}
body.theme-light .micro-wallet-pill {
background: #f1f5f9 !important;
border: 1px solid #cbd5e1 !important;
color: #475569 !important;
}
body.theme-light .micro-wallet-pill .pill-val {
color: #0f172a !important;
}
body.theme-light .micro-wallet-pill.pill-fund {
background: #eef2ff !important;
border-color: #c7d2fe !important;
}

/* Rank & Rewards Cards in Light Mode */
body.theme-light .rank-card,
body.theme-light .card.user-rank-card {
background: #ffffff !important;
border: 1px solid #e2e8f0 !important;
box-shadow: 0 8px 20px rgba(148, 163, 184, 0.1) !important;
}

/* ---------- 13. BREADCRUMB PLUGINS & SEARCH IN LIGHT MODE ---------- */
body.theme-light .breadcrumb-plugins {
display: flex !important;
align-items: center !important;
gap: 10px !important;
}
body.theme-light .breadcrumb-plugins .input-group {
border-radius: 8px !important;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06) !important;
display: flex !important;
align-items: stretch !important;
}
body.theme-light .breadcrumb-plugins .form-control {
background-color: #ffffff !important;
border: 1.5px solid #cbd5e1 !important;
border-right: none !important;
color: #0f172a !important;
font-weight: 500 !important;
border-radius: 8px 0 0 8px !important;
height: 45px !important;
padding: 10px 14px !important;
}
body.theme-light .breadcrumb-plugins .form-control:focus {
border-color: #4f46e5 !important;
box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15) !important;
}
body.theme-light .breadcrumb-plugins .form-control::placeholder {
color: #94a3b8 !important;
}
body.theme-light .breadcrumb-plugins button[type="submit"],
body.theme-light .breadcrumb-plugins .btn--primary {
background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%) !important;
border: 1.5px solid #4f46e5 !important;
border-left: none !important;
color: #ffffff !important;
border-radius: 0 8px 8px 0 !important;
height: 45px !important;
padding: 0 16px !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
}
body.theme-light .breadcrumb-plugins button[type="submit"] i,
body.theme-light .breadcrumb-plugins .btn--primary i {
color: #ffffff !important;
font-size: 1.2rem !important;
line-height: 1 !important;
}
body.theme-light .breadcrumb-plugins a.btn-outline--primary,
body.theme-light .breadcrumb-plugins a.btn--primary,
body.theme-light .breadcrumb-plugins .btn:not(button[type="submit"]) {
background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%) !important;
border: none !important;
color: #ffffff !important;
font-weight: 600 !important;
font-size: 0.88rem !important;
border-radius: 8px !important;
height: 45px !important;
padding: 0 18px !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
gap: 8px !important;
box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25) !important;
text-decoration: none !important;
}
body.theme-light .breadcrumb-plugins a.btn-outline--primary i,
body.theme-light .breadcrumb-plugins a.btn--primary i,
body.theme-light .breadcrumb-plugins .btn:not(button[type="submit"]) i {
color: #ffffff !important;
font-size: 1.25rem !important;
line-height: 1 !important;
}
body.theme-light .breadcrumb-plugins a.btn-outline--primary:hover,
body.theme-light .breadcrumb-plugins a.btn--primary:hover,
body.theme-light .breadcrumb-plugins .btn:not(button[type="submit"]):hover {
transform: translateY(-1px) !important;
box-shadow: 0 6px 18px rgba(79, 70, 229, 0.35) !important;
color: #ffffff !important;
}

/* ---------- 14. STATUS BADGES IN LIGHT MODE (SOLID, VIBRANT, CRYSTAL CLEAR) ---------- */
body.theme-light .badge--success,
body.theme-light span.badge--success,
body.theme-light :is(.card, .table, .history-mobile-card, .widget-card) .badge--success,
body.theme-light :is(.card, .table, .history-mobile-card, .widget-card) span.badge--success {
background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
color: #ffffff !important;
border: none !important;
font-weight: 700 !important;
font-size: 0.78rem !important;
padding: 6px 14px !important;
border-radius: 50px !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
gap: 6px !important;
box-shadow: 0 2px 6px rgba(22, 163, 74, 0.35) !important;
letter-spacing: 0.3px !important;
}
body.theme-light .badge--success :is(i, span),
body.theme-light span.badge--success :is(i, span),
body.theme-light :is(.card, .table, .history-mobile-card, .widget-card) .badge--success :is(i, span),
body.theme-light :is(.card, .table, .history-mobile-card, .widget-card) span.badge--success :is(i, span) {
color: #ffffff !important;
font-size: 1.05rem !important;
font-weight: 900 !important;
line-height: 1 !important;
filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25)) !important;
}

body.theme-light .badge--danger,
body.theme-light span.badge--danger,
body.theme-light :is(.card, .table, .history-mobile-card, .widget-card) .badge--danger,
body.theme-light :is(.card, .table, .history-mobile-card, .widget-card) span.badge--danger {
background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
color: #ffffff !important;
border: none !important;
font-weight: 700 !important;
font-size: 0.78rem !important;
padding: 6px 14px !important;
border-radius: 50px !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
gap: 6px !important;
box-shadow: 0 2px 6px rgba(239, 68, 68, 0.35) !important;
letter-spacing: 0.3px !important;
}
body.theme-light .badge--danger :is(i, span),
body.theme-light span.badge--danger :is(i, span),
body.theme-light :is(.card, .table, .history-mobile-card, .widget-card) .badge--danger :is(i, span),
body.theme-light :is(.card, .table, .history-mobile-card, .widget-card) span.badge--danger :is(i, span) {
color: #ffffff !important;
font-size: 1.05rem !important;
font-weight: 900 !important;
line-height: 1 !important;
filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25)) !important;
}

body.theme-light .badge--warning,
body.theme-light span.badge--warning,
body.theme-light :is(.card, .table, .history-mobile-card, .widget-card) .badge--warning,
body.theme-light :is(.card, .table, .history-mobile-card, .widget-card) span.badge--warning {
background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
color: #ffffff !important;
border: none !important;
font-weight: 700 !important;
font-size: 0.78rem !important;
padding: 6px 14px !important;
border-radius: 50px !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
gap: 6px !important;
box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35) !important;
letter-spacing: 0.3px !important;
}
body.theme-light .badge--warning :is(i, span),
body.theme-light span.badge--warning :is(i, span),
body.theme-light :is(.card, .table, .history-mobile-card, .widget-card) .badge--warning :is(i, span),
body.theme-light :is(.card, .table, .history-mobile-card, .widget-card) span.badge--warning :is(i, span) {
color: #ffffff !important;
font-size: 1.05rem !important;
font-weight: 900 !important;
line-height: 1 !important;
filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25)) !important;
}

body.theme-light .badge--primary,
body.theme-light span.badge--primary,
body.theme-light :is(.card, .table, .history-mobile-card, .widget-card) .badge--primary,
body.theme-light :is(.card, .table, .history-mobile-card, .widget-card) span.badge--primary {
background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
color: #ffffff !important;
border: none !important;
font-weight: 700 !important;
font-size: 0.78rem !important;
padding: 6px 14px !important;
border-radius: 50px !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
gap: 6px !important;
box-shadow: 0 2px 6px rgba(79, 70, 229, 0.35) !important;
letter-spacing: 0.3px !important;
}
body.theme-light .badge--primary :is(i, span),
body.theme-light span.badge--primary :is(i, span),
body.theme-light :is(.card, .table, .history-mobile-card, .widget-card) .badge--primary :is(i, span),
body.theme-light :is(.card, .table, .history-mobile-card, .widget-card) span.badge--primary :is(i, span) {
color: #ffffff !important;
font-size: 1.05rem !important;
font-weight: 900 !important;
line-height: 1 !important;
filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25)) !important;
}

body.theme-light .badge--dark,
body.theme-light span.badge--dark,
body.theme-light :is(.card, .table, .history-mobile-card, .widget-card) .badge--dark,
body.theme-light :is(.card, .table, .history-mobile-card, .widget-card) span.badge--dark {
background: linear-gradient(135deg, #334155 0%, #1e293b 100%) !important;
color: #ffffff !important;
border: none !important;
font-weight: 700 !important;
font-size: 0.78rem !important;
padding: 6px 14px !important;
border-radius: 50px !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
gap: 6px !important;
letter-spacing: 0.3px !important;
}
body.theme-light .badge--dark :is(i, span),
body.theme-light span.badge--dark :is(i, span),
body.theme-light :is(.card, .table, .history-mobile-card, .widget-card) .badge--dark :is(i, span),
body.theme-light :is(.card, .table, .history-mobile-card, .widget-card) span.badge--dark :is(i, span) {
color: #ffffff !important;
font-size: 1.05rem !important;
font-weight: 900 !important;
line-height: 1 !important;
}

/* Subtle / Tinted Badges in Light Mode */
body.theme-light .badge.bg-warning-subtle,
body.theme-light .badge.bg-warning.bg-opacity-25,
body.theme-light :is(.card, .table) .badge.bg-warning.bg-opacity-25 {
background-color: #fef3c7 !important;
border: 1.5px solid #f59e0b !important;
color: #92400e !important;
font-weight: 700 !important;
}
body.theme-light .badge.bg-warning-subtle i,
body.theme-light .badge.bg-warning.bg-opacity-25 i,
body.theme-light :is(.card, .table) .badge.bg-warning.bg-opacity-25 i {
color: #b45309 !important;
font-weight: 900 !important;
}

body.theme-light .badge.bg-info-subtle,
body.theme-light .badge.bg-info.bg-opacity-25,
body.theme-light :is(.card, .table) .badge.bg-info.bg-opacity-25 {
background-color: #e0f2fe !important;
border: 1.5px solid #0284c7 !important;
color: #075985 !important;
font-weight: 700 !important;
}
body.theme-light .badge.bg-info-subtle i,
body.theme-light .badge.bg-info.bg-opacity-25 i,
body.theme-light :is(.card, .table) .badge.bg-info.bg-opacity-25 i {
color: #0284c7 !important;
font-weight: 900 !important;
}

body.theme-light .badge.bg-success-subtle,
body.theme-light :is(.card, .table) .badge.bg-success-subtle {
background-color: #ecfdf5 !important;
border: 1.5px solid #10b981 !important;
color: #065f46 !important;
font-weight: 700 !important;
}
body.theme-light .badge.bg-success-subtle i,
body.theme-light :is(.card, .table) .badge.bg-success-subtle i {
color: #059669 !important;
font-weight: 900 !important;
}

/* ---------- 15. TABLE DETAILS ACTION BUTTON IN LIGHT MODE ---------- */
body.theme-light .table .detailBtn,
body.theme-light .table .btn-outline--primary {
background: rgba(79, 70, 229, 0.08) !important;
border: 1.5px solid #4f46e5 !important;
color: #4f46e5 !important;
font-weight: 600 !important;
border-radius: 8px !important;
padding: 7px 15px !important;
display: inline-flex !important;
align-items: center !important;
gap: 6px !important;
transition: all 0.2s ease !important;
}
body.theme-light .table .detailBtn i,
body.theme-light .table .btn-outline--primary i {
color: #4f46e5 !important;
font-size: 1.1rem !important;
}
body.theme-light .table .detailBtn:hover,
body.theme-light .table .btn-outline--primary:hover {
background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%) !important;
border-color: #4f46e5 !important;
color: #ffffff !important;
box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25) !important;
}
body.theme-light .table .detailBtn:hover i,
body.theme-light .table .btn-outline--primary:hover i {
color: #ffffff !important;
}

/* ---------- 16. ULTRA-CRISP ICON RENDERING & HIGH CONTRAST UTILITIES ---------- */
body.theme-light i[class*="la-"],
body.theme-light span[class*="la-"],
body.theme-light i[class*="fa-"],
body.theme-light span[class*="fa-"] {
-webkit-font-smoothing: antialiased !important;
-moz-osx-font-smoothing: grayscale !important;
text-rendering: optimizeLegibility !important;
font-style: normal !important;
line-height: 1 !important;
}

/* High Contrast Icon Utilities in Light Mode */
body.theme-light i.text-primary,
body.theme-light .text-primary > i,
body.theme-light i.text--primary,
body.theme-light .text--primary > i {
color: #4f46e5 !important;
}
body.theme-light i.text-success,
body.theme-light .text-success > i,
body.theme-light i.text--success,
body.theme-light .text--success > i {
color: #16a34a !important;
}
body.theme-light i.text-danger,
body.theme-light .text-danger > i,
body.theme-light i.text--danger,
body.theme-light .text--danger > i {
color: #dc2626 !important;
}
body.theme-light i.text-warning,
body.theme-light .text-warning > i,
body.theme-light i.text--warning,
body.theme-light .text--warning > i {
color: #d97706 !important;
}
body.theme-light i.text-info,
body.theme-light .text-info > i,
body.theme-light i.text--info,
body.theme-light .text--info > i {
color: #0284c7 !important;
}
body.theme-light i.text-muted,
body.theme-light .text-muted > i:not(.text-success):not(.text-danger):not(.text-warning):not(.text-info):not(.text-primary):not([class*="text-"]) {
color: #64748b !important;
}
body.theme-light i.text-secondary,
body.theme-light .text-secondary > i {
color: #475569 !important;
}
body.theme-light i.text-dark,
body.theme-light .text-dark > i {
color: #0f172a !important;
}

/* =========================================================
STORE & PRODUCT MARKETPLACE IN LIGHT MODE
========================================================= */
body.theme-light .store-card {
background: #ffffff !important;
border: 1px solid #e2e8f0 !important;
box-shadow: 0 10px 25px rgba(148, 163, 184, 0.2) !important;
}
body.theme-light .store-card:hover {
border-color: #6366f1 !important;
box-shadow: 0 20px 35px rgba(99, 102, 241, 0.18) !important;
}
body.theme-light .store-image-wrapper {
background: #f1f5f9 !important;
border-bottom: 1px solid #e2e8f0 !important;
}
body.theme-light .store-image-blur-bg {
filter: blur(20px) brightness(0.88) saturate(1.2) !important;
opacity: 0.55 !important;
}
body.theme-light .store-details {
background: #ffffff !important;
}
body.theme-light .store-title {
color: #0f172a !important;
}
body.theme-light .store-desc {
color: #475569 !important;
}
body.theme-light .store-main-price {
color: #059669 !important;
}
body.theme-light .spec-card {
background: #f8fafc !important;
border: 1px solid #e2e8f0 !important;
}
body.theme-light .spec-card-lbl {
color: #64748b !important;
}
body.theme-light .spec-card-val {
color: #0f172a !important;
}
body.theme-light .badge-cat {
position: static !important;
background: #eef2ff !important;
color: #4f46e5 !important;
border: 1px solid #c7d2fe !important;
}
body.theme-light .badge-discount {
position: static !important;
background: #fef2f2 !important;
color: #dc2626 !important;
border: 1px solid #fecaca !important;
}
body.theme-light .btn-store-details {
background: #eef2ff !important;
color: #4f46e5 !important;
border: 1.5px solid #c7d2fe !important;
}
body.theme-light .btn-store-details:hover {
background: #4f46e5 !important;
color: #ffffff !important;
border-color: #4f46e5 !important;
}







/* =========================================================
PUBLIC DIGITAL ASSET STORE - LIGHT MODE STYLES
Guaranteed high-contrast, crystal clear fonts & badges
========================================================= */

/* Background & Overlays */
body.theme-light .plan-section.bg-dark-theme,
body.theme-light .plan-section-premium.bg-dark-theme,
html.theme-light .plan-section.bg-dark-theme,
html.theme-light .plan-section-premium.bg-dark-theme {
background-color: #f8fafc !important;
}
body.theme-light .banner-grid-overlay,
body.theme-light .about-glow-1,
body.theme-light .about-glow-2,
body.theme-light .plan-glow-1,
body.theme-light .plan-glow-2 {
opacity: 0.05 !important;
}

/* Header & Breadcrumb */
body.theme-light .ecom-breadcrumb .breadcrumb-item a {
color: #64748b !important;
}
body.theme-light .ecom-breadcrumb .breadcrumb-item.active {
color: #475569 !important;
}
body.theme-light .plan-section h2.text-white,
body.theme-light .plan-section-premium h2.text-white {
color: #0f172a !important;
}
body.theme-light .plan-section p.text-muted,
body.theme-light .plan-section-premium p.text-muted {
color: #475569 !important;
}
body.theme-light .plan-section p.text-muted span.text-white {
color: #0f172a !important;
}

/* Search Toolbar */
body.theme-light .search-input-group,
html.theme-light .search-input-group {
background: #ffffff !important;
border: 1.5px solid #cbd5e1 !important;
box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
}
body.theme-light .search-input-group:focus-within,
html.theme-light .search-input-group:focus-within {
border-color: #4f46e5 !important;
box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15) !important;
}
body.theme-light .search-icon-addon,
html.theme-light .search-icon-addon {
color: #64748b !important;
}
body.theme-light .store-search-input,
html.theme-light .store-search-input {
color: #0f172a !important;
}
body.theme-light .store-search-input::placeholder,
html.theme-light .store-search-input::placeholder {
color: #94a3b8 !important;
}
body.theme-light .store-search-btn,
html.theme-light .store-search-btn {
background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%) !important;
color: #ffffff !important;
box-shadow: 0 3px 10px rgba(79, 70, 229, 0.3) !important;
}

/* Category Filter Pills (CRISP, VISIBLE, HIGH CONTRAST) */
body.theme-light .category-pill,
html.theme-light .category-pill {
background: #ffffff !important;
border: 1.5px solid #cbd5e1 !important;
color: #1e293b !important;
font-weight: 700 !important;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04) !important;
}
body.theme-light .category-pill i,
html.theme-light .category-pill i {
color: #4f46e5 !important;
}
body.theme-light .category-pill:hover,
html.theme-light .category-pill:hover {
background: #f1f5f9 !important;
border-color: #94a3b8 !important;
color: #0f172a !important;
}
body.theme-light .category-pill.active,
html.theme-light .category-pill.active {
background: linear-gradient(135deg, #4f46e5 0%, #2563eb 100%) !important;
border-color: #4338ca !important;
color: #ffffff !important;
box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35) !important;
}
body.theme-light .category-pill.active i,
html.theme-light .category-pill.active i {
color: #ffffff !important;
}
body.theme-light .category-pill-badge,
html.theme-light .category-pill-badge {
background: #e2e8f0 !important;
color: #1e293b !important;
font-weight: 700 !important;
}
body.theme-light .category-pill.active .category-pill-badge,
html.theme-light .category-pill.active .category-pill-badge {
background: rgba(255, 255, 255, 0.25) !important;
color: #ffffff !important;
}

/* Sort Bar (LIGHT, CLEAN, HIGH CONTRAST) */
body.theme-light .sort-bar-wrapper,
html.theme-light .sort-bar-wrapper {
background: #ffffff !important;
border: 1.5px solid #e2e8f0 !important;
box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}
body.theme-light .sort-label,
html.theme-light .sort-label {
color: #475569 !important;
font-weight: 700 !important;
}
body.theme-light .sort-label i,
html.theme-light .sort-label i {
color: #4f46e5 !important;
}
body.theme-light .sort-chip,
html.theme-light .sort-chip {
background: #f8fafc !important;
border: 1px solid #cbd5e1 !important;
color: #334155 !important;
font-weight: 600 !important;
}
body.theme-light .sort-chip:hover,
html.theme-light .sort-chip:hover {
background: #eef2ff !important;
border-color: #818cf8 !important;
color: #4f46e5 !important;
}
body.theme-light .sort-chip.active,
html.theme-light .sort-chip.active {
background: #ecfdf5 !important;
border: 1.5px solid #34d399 !important;
color: #047857 !important;
font-weight: 700 !important;
box-shadow: 0 2px 6px rgba(16, 185, 129, 0.15) !important;
}

/* Store Cards in Light Mode */
body.theme-light .store-card,
html.theme-light .store-card {
background: #ffffff !important;
border: 1px solid #e2e8f0 !important;
box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06) !important;
}
body.theme-light .store-card:hover,
html.theme-light .store-card:hover {
border-color: #818cf8 !important;
box-shadow: 0 16px 32px rgba(79, 70, 229, 0.12) !important;
}
body.theme-light .store-image-wrapper,
html.theme-light .store-image-wrapper {
background: #f1f5f9 !important;
border-bottom: 1px solid #e2e8f0 !important;
}
body.theme-light .store-image-blur-bg,
html.theme-light .store-image-blur-bg {
filter: blur(20px) brightness(0.95) saturate(1.2) !important;
opacity: 0.4 !important;
}

/* Badges inside card */
body.theme-light .badge-cat,
html.theme-light .badge-cat {
background: #e0f2fe !important;
border: 1px solid #7dd3fc !important;
color: #0369a1 !important;
font-weight: 700 !important;
}
body.theme-light .badge-cat i,
html.theme-light .badge-cat i {
color: #0284c7 !important;
}
body.theme-light .badge-discount,
html.theme-light .badge-discount {
background: #fef2f2 !important;
border: 1px solid #fca5a5 !important;
color: #dc2626 !important;
font-weight: 700 !important;
}
body.theme-light .badge-version,
html.theme-light .badge-version {
background: #f1f5f9 !important;
border: 1px solid #cbd5e1 !important;
color: #475569 !important;
font-weight: 600 !important;
}

/* Rating */
body.theme-light .store-rating,
html.theme-light .store-rating,
body.theme-light .rating-stars,
html.theme-light .rating-stars {
color: #f59e0b !important;
}

body.theme-light :is(.store-rating, .rating-stars, .reviews-list, .text-warning) i:is(.la-star, .las.la-star),
html.theme-light :is(.store-rating, .rating-stars, .reviews-list, .text-warning) i:is(.la-star, .las.la-star),
body.theme-light i:is(.la-star, .las.la-star):not([class*="btn"] *):not(.text-white):not(.p2p-star-rating *),
html.theme-light i:is(.la-star, .las.la-star):not([class*="btn"] *):not(.text-white):not(.p2p-star-rating *) {
color: #f59e0b !important;
}

body.theme-light :is(.store-rating, .rating-stars, .reviews-list) i.lar.la-star,
html.theme-light :is(.store-rating, .rating-stars, .reviews-list) i.lar.la-star {
color: #cbd5e1 !important;
}

body.theme-light .rating-count,
html.theme-light .rating-count {
color: #64748b !important;
font-weight: 600 !important;
}

/* Title & Links */
body.theme-light .store-title,
body.theme-light .store-title a,
html.theme-light .store-title,
html.theme-light .store-title a {
color: #0f172a !important;
font-weight: 700 !important;
}
body.theme-light .store-title a:hover,
html.theme-light .store-title a:hover {
color: #4f46e5 !important;
}

/* Pricing */
body.theme-light .store-main-price,
html.theme-light .store-main-price {
color: #059669 !important;
font-weight: 800 !important;
}
body.theme-light .store-strike-price,
html.theme-light .store-strike-price {
color: #94a3b8 !important;
}
body.theme-light .badge-save-pct,
html.theme-light .badge-save-pct {
background: #dcfce7 !important;
border: 1px solid #86efac !important;
color: #15803d !important;
font-weight: 700 !important;
}

/* Short Description */
body.theme-light .store-desc,
html.theme-light .store-desc {
color: #475569 !important;
font-weight: 500 !important;
}

/* Specs 2x2 Grid */
body.theme-light .spec-card,
html.theme-light .spec-card {
background: #f8fafc !important;
border: 1px solid #e2e8f0 !important;
}
body.theme-light .spec-card-lbl,
html.theme-light .spec-card-lbl {
color: #64748b !important;
font-weight: 600 !important;
}
body.theme-light .spec-card-val,
body.theme-light .spec-card-val.text-white,
html.theme-light .spec-card-val,
html.theme-light .spec-card-val.text-white {
color: #0f172a !important;
font-weight: 700 !important;
}
body.theme-light .spec-card-val.text-success,
html.theme-light .spec-card-val.text-success {
color: #15803d !important;
}
body.theme-light .spec-card-val.text-info,
html.theme-light .spec-card-val.text-info {
color: #0284c7 !important;
}

/* Buttons */
body.theme-light .btn-store-details,
html.theme-light .btn-store-details {
background: #eef2ff !important;
border: 1.5px solid #818cf8 !important;
color: #4f46e5 !important;
font-weight: 700 !important;
}
body.theme-light .btn-store-details i,
html.theme-light .btn-store-details i {
color: #4f46e5 !important;
}
body.theme-light .btn-store-details:hover,
html.theme-light .btn-store-details:hover {
background: #4f46e5 !important;
border-color: #4f46e5 !important;
color: #ffffff !important;
box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35) !important;
}
body.theme-light .btn-store-details:hover i,
html.theme-light .btn-store-details:hover i {
color: #ffffff !important;
}
body.theme-light .btn-store-buy,
html.theme-light .btn-store-buy {
background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
color: #ffffff !important;
font-weight: 700 !important;
box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3) !important;
}
body.theme-light .btn-store-buy:hover,
html.theme-light .btn-store-buy:hover {
box-shadow: 0 6px 16px rgba(22, 163, 74, 0.45) !important;
}



/* =========================================================
LANGUAGE DROPDOWN & HEADER THEMING (LIGHT & DARK DUAL MODE)
========================================================= */

/* Language Trigger Button */
.language-wrapper {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
padding: 5px 12px;
border-radius: 20px;
height: 38px;
cursor: pointer;
transition: all 0.25s ease;
}
body.theme-light .language-wrapper,
html.theme-light .language-wrapper {
background-color: #f1f5f9 !important;
border: 1.5px solid #cbd5e1 !important;
}
body:not(.theme-light) .language-wrapper {
background-color: rgba(255, 255, 255, 0.08) !important;
border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.language_text_select {
font-size: 14px;
font-weight: 700;
margin-bottom: 0;
}
body.theme-light .language_text_select,
html.theme-light .language_text_select {
color: #0f172a !important;
}
body:not(.theme-light) .language_text_select {
color: #ffffff !important;
}

.collapse-icon {
font-size: 13px;
display: flex;
transition: all 0.2s ease;
}
body.theme-light .collapse-icon,
body.theme-light .collapse-icon i,
html.theme-light .collapse-icon,
html.theme-light .collapse-icon i {
color: #475569 !important;
}
body:not(.theme-light) .collapse-icon,
body:not(.theme-light) .collapse-icon i {
color: #cbd5e1 !important;
}

/* Dropdown Menu Container */
.language .dropdown-menu,
.langList_dropdow {
min-width: 160px;
padding: 6px !important;
border-radius: 12px !important;
overflow: hidden;
}
body.theme-light .language .dropdown-menu,
body.theme-light .langList_dropdow,
html.theme-light .language .dropdown-menu,
html.theme-light .langList_dropdow {
background: #ffffff !important;
border: 1.5px solid #e2e8f0 !important;
box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12) !important;
}
body:not(.theme-light) .language .dropdown-menu,
body:not(.theme-light) .langList_dropdow {
background: #111827 !important;
border: 1px solid rgba(255, 255, 255, 0.12) !important;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

/* Language List Items */
.language-list {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 12px;
border-radius: 8px;
cursor: pointer;
transition: all 0.2s ease;
margin-bottom: 2px;
}
body.theme-light .language-list:hover,
html.theme-light .language-list:hover {
background-color: #f1f5f9 !important;
}
body:not(.theme-light) .language-list:hover {
background-color: rgba(99, 102, 241, 0.2) !important;
}

/* Language Text Inside Dropdown */
.language_text {
font-weight: 700;
font-size: 14px;
margin-bottom: 0;
transition: all 0.2s ease;
}
body.theme-light .language_text,
html.theme-light .language_text {
color: #1e293b !important;
}
body.theme-light .language-list:hover .language_text,
html.theme-light .language-list:hover .language_text {
color: #4f46e5 !important;
}
body:not(.theme-light) .language_text {
color: #f8fafc !important;
}
body:not(.theme-light) .language-list:hover .language_text {
color: #a5b4fc !important;
}

/* Theme Toggle Button */
.theme-toggle-btn {
width: 38px;
height: 38px;
border-radius: 50% !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
font-size: 1.25rem !important;
padding: 0 !important;
transition: all 0.25s ease;
}
body.theme-light .theme-toggle-btn,
body.theme-light .theme-toggle-btn i,
html.theme-light .theme-toggle-btn,
html.theme-light .theme-toggle-btn i {
background-color: #f1f5f9 !important;
border: 1.5px solid #cbd5e1 !important;
color: #0f172a !important;
}
body.theme-light .theme-toggle-btn:hover,
html.theme-light .theme-toggle-btn:hover {
background-color: #e2e8f0 !important;
border-color: #94a3b8 !important;
}
body:not(.theme-light) .theme-toggle-btn,
body:not(.theme-light) .theme-toggle-btn i {
background-color: rgba(255, 255, 255, 0.08) !important;
border: 1px solid rgba(255, 255, 255, 0.15) !important;
color: #ffffff !important;
}

/* Header Nav Links in Light Mode */
body.theme-light .header-section,
html.theme-light .header-section {
background: rgba(255, 255, 255, 0.95) !important;
border-bottom: 1px solid #e2e8f0 !important;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}
body.theme-light .header-section .main-menu li a,
html.theme-light .header-section .main-menu li a {
color: #334155 !important;
font-weight: 600;
}
body.theme-light .header-section .main-menu li a:hover,
html.theme-light .header-section .main-menu li a:hover {
color: #10b981 !important;
}
body.theme-light .header-section .main-menu li a.active,
html.theme-light .header-section .main-menu li a.active {
color: #10b981 !important;
}



/* ==========================================================================
REVPTC HOME PAGE - COMPLETE LIGHT & DARK MODE CONTRAST OVERHAUL
Applies to Hero, About, Features/Services, How It Works, Digital Products,
Team, FAQ, Testimonials, Blog, Counters, Partners, Newsletter, and Footer.
========================================================================== */

/* -------------------------------------------------------------
1. HERO BANNER SECTION (Light Mode vs Dark Mode)
------------------------------------------------------------- */
/* Light Mode */
body.theme-light .hp-hero-section,
html.theme-light .hp-hero-section {
background: #f8fafc !important;
border-bottom: 1px solid #e2e8f0 !important;
}
body.theme-light .hp-grid-pattern,
html.theme-light .hp-grid-pattern {
opacity: 0.04 !important;
}
body.theme-light .hp-hero-glow-left,
body.theme-light .hp-hero-glow-right,
html.theme-light .hp-hero-glow-left,
html.theme-light .hp-hero-glow-right {
opacity: 0.1 !important;
}
body.theme-light .hp-badge,
html.theme-light .hp-badge {
background: #ecfdf5 !important;
border: 1.5px solid #a7f3d0 !important;
color: #065f46 !important;
font-weight: 700 !important;
box-shadow: 0 2px 6px rgba(16, 185, 129, 0.1) !important;
}
body.theme-light .hp-hero-title,
html.theme-light .hp-hero-title {
color: #0f172a !important;
font-weight: 800 !important;
}
body.theme-light .hp-hero-desc,
html.theme-light .hp-hero-desc {
color: #475569 !important;
font-weight: 500 !important;
}
body.theme-light .hp-btn-primary,
html.theme-light .hp-btn-primary {
background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
color: #ffffff !important;
font-weight: 700 !important;
box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35) !important;
}
body.theme-light .hp-btn-primary:hover,
html.theme-light .hp-btn-primary:hover {
color: #ffffff !important;
box-shadow: 0 6px 18px rgba(22, 163, 74, 0.45) !important;
}
body.theme-light .hp-btn-secondary,
html.theme-light .hp-btn-secondary {
background: #ffffff !important;
border: 1.5px solid #cbd5e1 !important;
color: #0f172a !important;
font-weight: 700 !important;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}
body.theme-light .hp-btn-secondary:hover,
html.theme-light .hp-btn-secondary:hover {
background: #f1f5f9 !important;
border-color: #94a3b8 !important;
color: #0f172a !important;
}
body.theme-light .hp-metric-divider,
html.theme-light .hp-metric-divider {
background: #e2e8f0 !important;
}
body.theme-light .hp-metric-lbl,
html.theme-light .hp-metric-lbl {
color: #475569 !important;
font-weight: 600 !important;
}
body.theme-light .hp-showcase-box,
html.theme-light .hp-showcase-box {
background: #ffffff !important;
border: 1.5px solid #e2e8f0 !important;
box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08) !important;
}
body.theme-light .hp-showcase-topbar,
html.theme-light .hp-showcase-topbar {
background: #f8fafc !important;
border-bottom: 1px solid #e2e8f0 !important;
}
body.theme-light .hp-win-url,
html.theme-light .hp-win-url {
color: #64748b !important;
font-weight: 600 !important;
}
body.theme-light .hp-mobile-feature-strip,
html.theme-light .hp-mobile-feature-strip {
background: #ffffff !important;
border-top: 1px solid #e2e8f0 !important;
}
body.theme-light .hp-mobile-bonus-title,
html.theme-light .hp-mobile-bonus-title {
color: #0f172a !important;
font-weight: 700 !important;
}
body.theme-light .hp-floating-pill,
html.theme-light .hp-floating-pill {
background: #ffffff !important;
border: 1px solid #e2e8f0 !important;
color: #0f172a !important;
font-weight: 700 !important;
box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1) !important;
}

/* Dark Mode Defaults for Hero */
body:not(.theme-light) .hp-hero-title {
color: #ffffff !important;
}
body:not(.theme-light) .hp-hero-desc {
color: #cbd5e1 !important;
}

/* -------------------------------------------------------------
2. ABOUT SECTION (Light Mode vs Dark Mode)
------------------------------------------------------------- */
body.theme-light .about-section.bg-dark-theme,
html.theme-light .about-section.bg-dark-theme {
background-color: #ffffff !important;
}
body.theme-light .about-glow-1,
body.theme-light .about-glow-2,
html.theme-light .about-glow-1,
html.theme-light .about-glow-2 {
opacity: 0.05 !important;
}
body.theme-light .about-content-card,
html.theme-light .about-content-card {
background: #ffffff !important;
border: 1.5px solid #e2e8f0 !important;
box-shadow: 0 20px 45px rgba(15, 23, 42, 0.06) !important;
}
body.theme-light .badge-tag-premium,
html.theme-light .badge-tag-premium {
background: #ecfdf5 !important;
border: 1px solid #a7f3d0 !important;
color: #065f46 !important;
font-weight: 700 !important;
display: inline-flex !important;
align-items: center !important;
}
body.theme-light .section-title-premium,
html.theme-light .section-title-premium {
color: #0f172a !important;
font-weight: 800 !important;
}
body.theme-light .sub-heading-premium,
html.theme-light .sub-heading-premium {
color: #16a34a !important;
font-weight: 700 !important;
}
body.theme-light .about-desc,
html.theme-light .about-desc {
color: #475569 !important;
font-weight: 500 !important;
}
body.theme-light .about-feature-item,
html.theme-light .about-feature-item {
background: #f8fafc !important;
border: 1px solid #e2e8f0 !important;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
}
body.theme-light .about-feature-item:hover,
html.theme-light .about-feature-item:hover {
background: #f1f5f9 !important;
border-color: #86efac !important;
}
body.theme-light .about-feature-item span,
html.theme-light .about-feature-item span {
color: #1e293b !important;
font-weight: 700 !important;
}
body.theme-light .about-image-frame,
html.theme-light .about-image-frame {
background: #ffffff !important;
border: 1px solid #e2e8f0 !important;
box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08) !important;
}

/* -------------------------------------------------------------
3. SERVICES / FEATURES SECTION (Light Mode vs Dark Mode)
------------------------------------------------------------- */
body.theme-light .services-section-premium.bg-dark-theme,
html.theme-light .services-section-premium.bg-dark-theme {
background-color: #f8fafc !important;
}
body.theme-light .service-card-premium,
html.theme-light .service-card-premium {
background: #ffffff !important;
border: 1.5px solid #e2e8f0 !important;
box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05) !important;
}
body.theme-light .service-card-premium:hover,
html.theme-light .service-card-premium:hover {
border-color: #86efac !important;
box-shadow: 0 20px 40px rgba(16, 185, 129, 0.12) !important;
transform: translateY(-8px) !important;
}
body.theme-light .service-title-premium,
html.theme-light .service-title-premium {
color: #0f172a !important;
font-weight: 700 !important;
}
body.theme-light .service-desc-premium,
html.theme-light .service-desc-premium {
color: #475569 !important;
font-weight: 500 !important;
}
body.theme-light .service-icon-wrapper,
html.theme-light .service-icon-wrapper {
background: #f0fdf4 !important;
border: 1px solid #bbf7d0 !important;
color: #16a34a !important;
}

/* -------------------------------------------------------------
4. HOW IT WORKS / STEPS SECTION (Light Mode vs Dark Mode)
------------------------------------------------------------- */
body.theme-light .steps-section-premium.bg-dark-theme,
html.theme-light .steps-section-premium.bg-dark-theme {
background-color: #ffffff !important;
}
body.theme-light .step-card,
html.theme-light .step-card {
background: #ffffff !important;
border: 1.5px solid #e2e8f0 !important;
box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05) !important;
}
body.theme-light .step-card:hover,
html.theme-light .step-card:hover {
border-color: #86efac !important;
box-shadow: 0 15px 35px rgba(16, 185, 129, 0.12) !important;
transform: translateY(-6px) !important;
}
body.theme-light .step-number-container,
html.theme-light .step-number-container {
background: #f0fdf4 !important;
border: 1.5px solid #bbf7d0 !important;
}
body.theme-light .step-number-value,
html.theme-light .step-number-value {
color: #16a34a !important;
-webkit-text-fill-color: #16a34a !important;
}
body.theme-light .step-title,
html.theme-light .step-title {
color: #0f172a !important;
font-weight: 700 !important;
}

/* -------------------------------------------------------------
5. DIGITAL PRODUCTS PREVIEW SECTION ON HOME (Light Mode)
------------------------------------------------------------- */
body.theme-light .plan-section-premium.bg-dark-theme,
html.theme-light .plan-section-premium.bg-dark-theme {
background-color: #f8fafc !important;
}
body.theme-light .plan-section-premium h2.text-white,
html.theme-light .plan-section-premium h2.text-white {
color: #0f172a !important;
font-weight: 800 !important;
}
body.theme-light .plan-section-premium p.text-muted,
html.theme-light .plan-section-premium p.text-muted {
color: #475569 !important;
}

/* -------------------------------------------------------------
6. TEAM SECTION (Light Mode vs Dark Mode)
------------------------------------------------------------- */
body.theme-light .team-section-premium.bg-dark-theme,
html.theme-light .team-section-premium.bg-dark-theme {
background-color: #ffffff !important;
}
body.theme-light .team-section-premium h2.text-white,
html.theme-light .team-section-premium h2.text-white {
color: #0f172a !important;
font-weight: 800 !important;
}
body.theme-light .team-section-premium p.text-muted,
html.theme-light .team-section-premium p.text-muted {
color: #475569 !important;
}
body.theme-light .team-card-premium,
html.theme-light .team-card-premium {
background: #ffffff !important;
border: 1.5px solid #e2e8f0 !important;
box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05) !important;
}
body.theme-light .team-info-glass,
html.theme-light .team-info-glass {
background: #ffffff !important;
border-top: 1px solid #e2e8f0 !important;
}
body.theme-light .team-info-glass h4.text-white,
html.theme-light .team-info-glass h4.text-white {
color: #0f172a !important;
font-weight: 700 !important;
}
body.theme-light .team-info-glass span.text-success,
html.theme-light .team-info-glass span.text-success {
color: #16a34a !important;
font-weight: 700 !important;
}
/* Team social-btn uses global brand social rules */

/* -------------------------------------------------------------
7. FAQ SECTION (Light Mode vs Dark Mode)
------------------------------------------------------------- */
body.theme-light .faq-section-premium.bg-dark-theme,
html.theme-light .faq-section-premium.bg-dark-theme {
background-color: #f8fafc !important;
}
body.theme-light .faq-section-premium h3.section-title-premium,
html.theme-light .faq-section-premium h3.section-title-premium {
color: #0f172a !important;
font-weight: 800 !important;
}
body.theme-light .faq-item-premium,
html.theme-light .faq-item-premium {
background: #ffffff !important;
border: 1.5px solid #e2e8f0 !important;
box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03) !important;
}
body.theme-light .faq-item-premium:hover,
html.theme-light .faq-item-premium:hover {
border-color: #86efac !important;
box-shadow: 0 8px 20px rgba(16, 185, 129, 0.08) !important;
}
body.theme-light .faq-btn-premium,
html.theme-light .faq-btn-premium {
color: #0f172a !important;
font-weight: 700 !important;
}
body.theme-light .faq-btn-premium:not(.collapsed),
html.theme-light .faq-btn-premium:not(.collapsed) {
color: #16a34a !important;
border-bottom: 1px solid #e2e8f0 !important;
}
body.theme-light .faq-btn-premium::after,
html.theme-light .faq-btn-premium::after {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230f172a'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}
body.theme-light .faq-btn-premium:not(.collapsed)::after,
html.theme-light .faq-btn-premium:not(.collapsed)::after {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2316a34a'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}
body.theme-light .faq-body-premium,
html.theme-light .faq-body-premium {
background: #f8fafc !important;
}
body.theme-light .faq-body-premium p,
html.theme-light .faq-body-premium p {
color: #334155 !important;
font-size: 0.95rem !important;
}

/* -------------------------------------------------------------
8. TESTIMONIALS SECTION (Light Mode vs Dark Mode)
------------------------------------------------------------- */
body.theme-light .client-section.bg--gray,
html.theme-light .client-section.bg--gray {
background-color: #ffffff !important;
}
body.theme-light .client-section .section-header .section-title,
html.theme-light .client-section .section-header .section-title {
color: #0f172a !important;
font-weight: 800 !important;
}
body.theme-light .client-section .section-header .sub-title,
html.theme-light .client-section .section-header .sub-title {
color: #16a34a !important;
font-weight: 700 !important;
}
body.theme-light .client-item,
html.theme-light .client-item {
background: #ffffff !important;
border: 1.5px solid #e2e8f0 !important;
box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05) !important;
border-radius: 16px !important;
padding: 30px !important;
}
body.theme-light .client-content .title,
html.theme-light .client-content .title {
color: #0f172a !important;
font-weight: 700 !important;
}
body.theme-light .client-content .title span,
html.theme-light .client-content .title span {
color: #16a34a !important;
font-weight: 600 !important;
}
body.theme-light .client-content p,
html.theme-light .client-content p {
color: #475569 !important;
}

/* -------------------------------------------------------------
9. BLOG SECTION (Light Mode vs Dark Mode)
------------------------------------------------------------- */
body.theme-light .blog-section.bg--gray,
html.theme-light .blog-section.bg--gray {
background-color: #f8fafc !important;
}
body.theme-light .blog-section .section-header .section-title,
html.theme-light .blog-section .section-header .section-title {
color: #0f172a !important;
font-weight: 800 !important;
}
body.theme-light .blog-section .section-header .sub-title,
html.theme-light .blog-section .section-header .sub-title {
color: #16a34a !important;
font-weight: 700 !important;
}
body.theme-light .blog-item,
html.theme-light .blog-item {
background: #ffffff !important;
border: 1.5px solid #e2e8f0 !important;
box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05) !important;
border-radius: 18px !important;
overflow: hidden !important;
}
body.theme-light .blog-content .title a,
html.theme-light .blog-content .title a {
color: #0f172a !important;
font-weight: 700 !important;
}
body.theme-light .blog-content .title a:hover,
html.theme-light .blog-content .title a:hover {
color: #16a34a !important;
}
body.theme-light .blog-content p,
html.theme-light .blog-content p {
color: #475569 !important;
}
body.theme-light .blog-date,
html.theme-light .blog-date {
background: #16a34a !important;
color: #ffffff !important;
font-weight: 700 !important;
}

/* -------------------------------------------------------------
10. COUNTER SECTION (Ensure high contrast text)
------------------------------------------------------------- */
.counter-section .odo-title {
color: #ffffff !important;
font-weight: 800 !important;
text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
}
.counter-section .sub-title {
color: #4ade80 !important;
font-weight: 700 !important;
text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
}

/* -------------------------------------------------------------
11. PARTNERS / PAYMENT SECTION (Light Mode vs Dark Mode)
------------------------------------------------------------- */
body.theme-light .brand-section.bg--gray,
html.theme-light .brand-section.bg--gray {
background-color: #ffffff !important;
}
body.theme-light .brand-section .section-header .section-title,
html.theme-light .brand-section .section-header .section-title {
color: #0f172a !important;
font-weight: 800 !important;
}
body.theme-light .brand-section .section-header .sub-title,
html.theme-light .brand-section .section-header .sub-title {
color: #16a34a !important;
font-weight: 700 !important;
}

/* -------------------------------------------------------------
   12. NEWSLETTER / SUBSCRIBE SECTION
   ------------------------------------------------------------- */
body.theme-light .call-to-action-section .title,
body.theme-light .call-to-action-section .newsletter-title,
body.theme-light .call-to-action-section .newsletter-headline,
body.theme-light .call-to-action-section h2,
html.theme-light .call-to-action-section .title,
html.theme-light .call-to-action-section .newsletter-title,
html.theme-light .call-to-action-section .newsletter-headline,
html.theme-light .call-to-action-section h2 {
    color: #0f172a !important;
    font-weight: 700 !important;
    text-shadow: none !important;
}
body.theme-light .call-to-action-section .newsletter-subtitle,
html.theme-light .call-to-action-section .newsletter-subtitle {
    color: #64748b !important;
    text-shadow: none !important;
}
body:not(.theme-light) .call-to-action-section .title,
body:not(.theme-light) .call-to-action-section .newsletter-title,
body:not(.theme-light) .call-to-action-section .newsletter-headline,
body:not(.theme-light) .call-to-action-section h2 {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4) !important;
}
body:not(.theme-light) .call-to-action-section .newsletter-subtitle {
    color: rgba(226, 232, 240, 0.75) !important;
}
body.theme-light .call-to-action-form input,
html.theme-light .call-to-action-form input,
body.theme-light .call-to-action-section .newsletter-input,
html.theme-light .call-to-action-section .newsletter-input {
background-color: #ffffff !important;
background: #ffffff !important;
color: #0f172a !important;
border: 2px solid #e2e8f0 !important;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}
body.theme-light .call-to-action-form input::placeholder,
html.theme-light .call-to-action-form input::placeholder,
body.theme-light .call-to-action-section .newsletter-input::placeholder,
html.theme-light .call-to-action-section .newsletter-input::placeholder {
color: #94a3b8 !important;
}
.call-to-action-section .newsletter-btn,
.call-to-action-form .submit-btn {
background-color: #16a34a !important;
background: #16a34a !important;
color: #ffffff !important;
font-weight: 700 !important;
box-shadow: 0 4px 14px rgba(22, 163, 74, 0.4) !important;
border: none !important;
}
.call-to-action-section .newsletter-btn:hover,
.call-to-action-form .submit-btn:hover {
background-color: #15803d !important;
background: #15803d !important;
color: #ffffff !important;
}

/* -------------------------------------------------------------
13. FOOTER SECTION (Clean Crisp Light Mode & Luxury Dark Mode)
------------------------------------------------------------- */
/* Light Mode Footer */
body.theme-light .revptc-footer,
html.theme-light .revptc-footer {
background-color: #ffffff !important;
background: #ffffff !important;
border-top: 1px solid #e2e8f0 !important;
color: #1e293b !important;
}
body.theme-light .footer-top-glow,
html.theme-light .footer-top-glow {
display: none !important;
}
body.theme-light .footer-logo-img,
html.theme-light .footer-logo-img {
filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08)) !important;
}
body.theme-light .footer-about-text,
html.theme-light .footer-about-text {
color: #475569 !important;
font-size: 0.9rem !important;
line-height: 1.6 !important;
}
body.theme-light .footer-widget-title,
html.theme-light .footer-widget-title {
color: #0f172a !important;
font-weight: 700 !important;
}
body.theme-light .footer-widget-title::after,
html.theme-light .footer-widget-title::after {
background: #16a34a !important;
}
body.theme-light .footer-nav-links a,
html.theme-light .footer-nav-links a {
color: #334155 !important;
font-weight: 500 !important;
}
body.theme-light .footer-nav-links a i,
html.theme-light .footer-nav-links a i {
color: #16a34a !important;
}
body.theme-light .footer-nav-links a:hover,
html.theme-light .footer-nav-links a:hover {
color: #16a34a !important;
transform: translateX(4px);
}
/* Base Social Icon Pill & Social Button */
.social-icon-pill,
.social-btn,
body.theme-light .social-icon-pill,
body.theme-light .social-btn,
html.theme-light .social-icon-pill,
html.theme-light .social-btn,
body:not(.theme-light) .social-icon-pill,
body:not(.theme-light) .social-btn {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 1.05rem !important;
    line-height: 1 !important;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    text-decoration: none !important;
}
.social-icon-pill i,
.social-btn i,
body.theme-light .social-icon-pill i,
body.theme-light .social-btn i,
html.theme-light .social-icon-pill i,
html.theme-light .social-btn i,
body:not(.theme-light) .social-icon-pill i,
body:not(.theme-light) .social-btn i {
    display: inline-block !important;
    line-height: 1 !important;
    font-size: 1.05rem !important;
    transition: all 0.28s ease !important;
}

/* 1. Facebook (#1877F2) */
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):is(.social-facebook, [title*="Facebook" i]),
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):has(.fa-facebook-f, .la-facebook-f, .la-facebook, .fa-facebook) {
    background: rgba(24, 119, 242, 0.14) !important;
    border: 1.5px solid rgba(24, 119, 242, 0.38) !important;
    color: #1877F2 !important;
}
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):is(.social-facebook, [title*="Facebook" i]) i,
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):has(.fa-facebook-f, .la-facebook-f, .la-facebook, .fa-facebook) i {
    color: #1877F2 !important;
}
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):is(.social-facebook, [title*="Facebook" i]):hover,
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):has(.fa-facebook-f, .la-facebook-f, .la-facebook, .fa-facebook):hover {
    background: #1877F2 !important;
    border-color: #1877F2 !important;
    color: #ffffff !important;
    transform: translateY(-3px) scale(1.08) !important;
    box-shadow: 0 6px 18px rgba(24, 119, 242, 0.45) !important;
}
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):is(.social-facebook, [title*="Facebook" i]):hover i,
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):has(.fa-facebook-f, .la-facebook-f, .la-facebook, .fa-facebook):hover i {
    color: #ffffff !important;
}

/* 2. Twitter / X (#1DA1F2) */
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):is(.social-twitter, [title*="Twitter" i], [title*="X" i]),
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):has(.fa-twitter, .la-twitter, .fa-x-twitter) {
    background: rgba(29, 161, 242, 0.14) !important;
    border: 1.5px solid rgba(29, 161, 242, 0.38) !important;
    color: #1DA1F2 !important;
}
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):is(.social-twitter, [title*="Twitter" i], [title*="X" i]) i,
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):has(.fa-twitter, .la-twitter, .fa-x-twitter) i {
    color: #1DA1F2 !important;
}
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):is(.social-twitter, [title*="Twitter" i], [title*="X" i]):hover,
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):has(.fa-twitter, .la-twitter, .fa-x-twitter):hover {
    background: #1DA1F2 !important;
    border-color: #1DA1F2 !important;
    color: #ffffff !important;
    transform: translateY(-3px) scale(1.08) !important;
    box-shadow: 0 6px 18px rgba(29, 161, 242, 0.45) !important;
}
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):is(.social-twitter, [title*="Twitter" i], [title*="X" i]):hover i,
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):has(.fa-twitter, .la-twitter, .fa-x-twitter):hover i {
    color: #ffffff !important;
}

/* 3. YouTube (#FF0000) */
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):is(.social-youtube, [title*="Youtube" i]),
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):has(.fa-youtube, .la-youtube) {
    background: rgba(255, 0, 0, 0.14) !important;
    border: 1.5px solid rgba(255, 0, 0, 0.38) !important;
    color: #FF0000 !important;
}
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):is(.social-youtube, [title*="Youtube" i]) i,
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):has(.fa-youtube, .la-youtube) i {
    color: #FF0000 !important;
}
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):is(.social-youtube, [title*="Youtube" i]):hover,
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):has(.fa-youtube, .la-youtube):hover {
    background: #FF0000 !important;
    border-color: #FF0000 !important;
    color: #ffffff !important;
    transform: translateY(-3px) scale(1.08) !important;
    box-shadow: 0 6px 18px rgba(255, 0, 0, 0.45) !important;
}
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):is(.social-youtube, [title*="Youtube" i]):hover i,
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):has(.fa-youtube, .la-youtube):hover i {
    color: #ffffff !important;
}

/* 4. Telegram (#229ED9) */
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):is(.social-telegram, [title*="Telegram" i]),
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):has(.fa-telegram-plane, .la-telegram-plane, .fa-telegram, .la-telegram) {
    background: rgba(34, 158, 217, 0.14) !important;
    border: 1.5px solid rgba(34, 158, 217, 0.38) !important;
    color: #229ED9 !important;
}
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):is(.social-telegram, [title*="Telegram" i]) i,
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):has(.fa-telegram-plane, .la-telegram-plane, .fa-telegram, .la-telegram) i {
    color: #229ED9 !important;
}
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):is(.social-telegram, [title*="Telegram" i]):hover,
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):has(.fa-telegram-plane, .la-telegram-plane, .fa-telegram, .la-telegram):hover {
    background: #229ED9 !important;
    border-color: #229ED9 !important;
    color: #ffffff !important;
    transform: translateY(-3px) scale(1.08) !important;
    box-shadow: 0 6px 18px rgba(34, 158, 217, 0.45) !important;
}
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):is(.social-telegram, [title*="Telegram" i]):hover i,
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):has(.fa-telegram-plane, .la-telegram-plane, .fa-telegram, .la-telegram):hover i {
    color: #ffffff !important;
}

/* 5. Instagram (#E1306C) */
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):is(.social-instagram, [title*="Instagram" i]),
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):has(.fa-instagram, .la-instagram) {
    background: rgba(225, 48, 108, 0.14) !important;
    border: 1.5px solid rgba(225, 48, 108, 0.38) !important;
    color: #E1306C !important;
}
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):is(.social-instagram, [title*="Instagram" i]) i,
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):has(.fa-instagram, .la-instagram) i {
    color: #E1306C !important;
}
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):is(.social-instagram, [title*="Instagram" i]):hover,
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):has(.fa-instagram, .la-instagram):hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    transform: translateY(-3px) scale(1.08) !important;
    box-shadow: 0 6px 18px rgba(225, 48, 108, 0.45) !important;
}
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):is(.social-instagram, [title*="Instagram" i]):hover i,
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):has(.fa-instagram, .la-instagram):hover i {
    color: #ffffff !important;
}

/* 6. WhatsApp (#25D366) */
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):is(.social-whatsapp, [title*="WhatsApp" i]),
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):has(.fa-whatsapp, .la-whatsapp) {
    background: rgba(37, 211, 102, 0.14) !important;
    border: 1.5px solid rgba(37, 211, 102, 0.38) !important;
    color: #25D366 !important;
}
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):is(.social-whatsapp, [title*="WhatsApp" i]) i,
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):has(.fa-whatsapp, .la-whatsapp) i {
    color: #25D366 !important;
}
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):is(.social-whatsapp, [title*="WhatsApp" i]):hover,
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):has(.fa-whatsapp, .la-whatsapp):hover {
    background: #25D366 !important;
    border-color: #25D366 !important;
    color: #ffffff !important;
    transform: translateY(-3px) scale(1.08) !important;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45) !important;
}
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):is(.social-whatsapp, [title*="WhatsApp" i]):hover i,
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):has(.fa-whatsapp, .la-whatsapp):hover i {
    color: #ffffff !important;
}

/* 7. LinkedIn (#0A66C2) */
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):is(.social-linkedin, [title*="LinkedIn" i]),
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):has(.fa-linkedin, .la-linkedin, .fa-linkedin-in, .la-linkedin-in) {
    background: rgba(10, 102, 194, 0.14) !important;
    border: 1.5px solid rgba(10, 102, 194, 0.38) !important;
    color: #0A66C2 !important;
}
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):is(.social-linkedin, [title*="LinkedIn" i]) i,
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):has(.fa-linkedin, .la-linkedin, .fa-linkedin-in, .la-linkedin-in) i {
    color: #0A66C2 !important;
}
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):is(.social-linkedin, [title*="LinkedIn" i]):hover,
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):has(.fa-linkedin, .la-linkedin, .fa-linkedin-in, .la-linkedin-in):hover {
    background: #0A66C2 !important;
    border-color: #0A66C2 !important;
    color: #ffffff !important;
    transform: translateY(-3px) scale(1.08) !important;
    box-shadow: 0 6px 18px rgba(10, 102, 194, 0.45) !important;
}
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):is(.social-linkedin, [title*="LinkedIn" i]):hover i,
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):has(.fa-linkedin, .la-linkedin, .fa-linkedin-in, .la-linkedin-in):hover i {
    color: #ffffff !important;
}

/* 8. GitHub (#6e5494) */
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):is(.social-github, [title*="GitHub" i]),
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):has(.fa-github, .la-github) {
    background: rgba(110, 84, 148, 0.14) !important;
    border: 1.5px solid rgba(110, 84, 148, 0.38) !important;
    color: #8b5cf6 !important;
}
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):is(.social-github, [title*="GitHub" i]) i,
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):has(.fa-github, .la-github) i {
    color: #8b5cf6 !important;
}
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):is(.social-github, [title*="GitHub" i]):hover,
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):has(.fa-github, .la-github):hover {
    background: #6e5494 !important;
    border-color: #6e5494 !important;
    color: #ffffff !important;
    transform: translateY(-3px) scale(1.08) !important;
    box-shadow: 0 6px 18px rgba(110, 84, 148, 0.45) !important;
}
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):is(.social-github, [title*="GitHub" i]):hover i,
:is(body.theme-light, body:not(.theme-light)) :is(.social-icon-pill, .social-btn):has(.fa-github, .la-github):hover i {
    color: #ffffff !important;
}

body.theme-light .footer-contact-item span.text-muted,
html.theme-light .footer-contact-item span.text-muted {
color: #64748b !important;
font-weight: 500 !important;
}
body.theme-light .footer-contact-link,
body.theme-light .footer-contact-item a,
html.theme-light .footer-contact-link,
html.theme-light .footer-contact-item a {
color: #0f172a !important;
font-weight: 700 !important;
}
body.theme-light .footer-contact-link:hover,
body.theme-light .footer-contact-item a:hover,
html.theme-light .footer-contact-link:hover,
html.theme-light .footer-contact-item a:hover {
color: #16a34a !important;
}
body.theme-light .footer-security-text,
html.theme-light .footer-security-text {
color: #0f172a !important;
font-weight: 700 !important;
}
body.theme-light .trust-badge-pill,
html.theme-light .trust-badge-pill {
background: #ecfdf5 !important;
border: 1px solid #a7f3d0 !important;
color: #065f46 !important;
font-weight: 700 !important;
}
body.theme-light .footer-bottom-bar,
html.theme-light .footer-bottom-bar {
background: #f8fafc !important;
border-top: 1px solid #e2e8f0 !important;
}
body.theme-light .footer-copyright-text,
html.theme-light .footer-copyright-text {
color: #64748b !important;
}
body.theme-light .footer-brand-name,
html.theme-light .footer-brand-name {
color: #0f172a !important;
font-weight: 700 !important;
}
body.theme-light .footer-policy-link,
body.theme-light .footer-policy-links a,
html.theme-light .footer-policy-link,
html.theme-light .footer-policy-links a {
color: #64748b !important;
font-weight: 500 !important;
}
body.theme-light .footer-policy-link:hover,
body.theme-light .footer-policy-links a:hover,
html.theme-light .footer-policy-link:hover,
html.theme-light .footer-policy-links a:hover {
color: #16a34a !important;
}

/* Dark Mode Footer */
body:not(.theme-light) .revptc-footer {
background: linear-gradient(180deg, #0a0b16 0%, #06070d 100%) !important;
border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
color: #cbd5e1 !important;
}
body:not(.theme-light) .footer-top-glow {
position: absolute;
top: 0;
left: 20%;
width: 60%;
height: 1px;
background: linear-gradient(90deg, transparent, #28c76f, #6366f1, transparent);
opacity: 0.7;
}
body:not(.theme-light) .footer-logo-img {
filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.4)) !important;
}
body:not(.theme-light) .footer-about-text {
color: #94a3b8 !important;
font-size: 0.88rem !important;
line-height: 1.6 !important;
}
body:not(.theme-light) .footer-widget-title {
color: #ffffff !important;
font-weight: 700 !important;
}
body:not(.theme-light) .footer-widget-title::after {
background: #28c76f !important;
}
body:not(.theme-light) .footer-nav-links a {
color: #cbd5e1 !important;
}
body:not(.theme-light) .footer-nav-links a:hover {
color: #28c76f !important;
transform: translateX(4px);
}
/* Dark mode social icon pill uses vibrant brand social rules */
body:not(.theme-light) .footer-contact-item span.text-muted {
color: #94a3b8 !important;
}
body:not(.theme-light) .footer-contact-link,
body:not(.theme-light) .footer-contact-item a {
color: #ffffff !important;
font-weight: 700 !important;
}
body:not(.theme-light) .footer-contact-link:hover,
body:not(.theme-light) .footer-contact-item a:hover {
color: #28c76f !important;
}
body:not(.theme-light) .footer-security-text {
color: #ffffff !important;
font-weight: 700 !important;
}
body:not(.theme-light) .trust-badge-pill {
background: rgba(40, 199, 111, 0.08) !important;
border: 1px solid rgba(40, 199, 111, 0.25) !important;
color: #28c76f !important;
}
body:not(.theme-light) .footer-bottom-bar {
border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}
body:not(.theme-light) .footer-copyright-text {
color: #94a3b8 !important;
}
body:not(.theme-light) .footer-brand-name {
color: #ffffff !important;
font-weight: 700 !important;
}
body:not(.theme-light) .footer-policy-link,
body:not(.theme-light) .footer-policy-links a {
color: #94a3b8 !important;
}
body:not(.theme-light) .footer-policy-link:hover,
body:not(.theme-light) .footer-policy-links a:hover {
color: #ffffff !important;
}



/* ==========================================================================
UNIVERSAL HOME PAGE DUAL-MODE VISIBILITY ENGINE (LIGHT & DARK CONTRAST)
Guaranteed 100% readability for all Home Page sections, titles, text,
cards, buttons, and badges.
========================================================================== */

/* -------------------------------------------------------------
LIGHT MODE: HEADINGS & BODY TEXT VISIBILITY
All text-white/text-light on light sections become dark navy
------------------------------------------------------------- */
body.theme-light :is(section, header, main, div:not(.revptc-footer):not(.section-header):not(.video-overlay):not(.video-area-premium):not([class*="btn-"]):not([class*="badge-"]):not(.badge)) :is(h1, h2, h3, h4, h5, h6):is(.text-white, .text-light) {
color: #0f172a !important;
}

body.theme-light .section-title-premium,
body.theme-light .section-title,
body.theme-light .hp-hero-title,
body.theme-light .service-title-premium,
body.theme-light .step-title,
body.theme-light .team-info-glass h4,
body.theme-light .client-content .title,
body.theme-light .blog-content .title,
body.theme-light .blog-content .title a,
body.theme-light .store-title,
body.theme-light .store-title a {
color: #0f172a !important;
}

/* Light Mode: Paragraphs and descriptions */
body.theme-light .about-desc,
body.theme-light .service-desc-premium,
body.theme-light .hp-hero-desc,
body.theme-light .client-content p,
body.theme-light .blog-content p,
body.theme-light .faq-body-premium p,
body.theme-light .store-desc,
body.theme-light .team-section-premium p.text-muted,
body.theme-light .plan-section-premium p.text-muted {
color: #475569 !important;
opacity: 1 !important;
}

/* Light Mode: Subtitles and badges */
body.theme-light .sub-heading-premium,
body.theme-light .section-header .sub-title {
color: #16a34a !important;
font-weight: 700 !important;
}
body.theme-light .badge-tag-premium {
background: #ecfdf5 !important;
border: 1px solid #a7f3d0 !important;
color: #065f46 !important;
font-weight: 700 !important;
}

/* Light Mode: Cards Backgrounds & Shadows */
body.theme-light .about-content-card,
body.theme-light .service-card-premium,
body.theme-light .step-card,
body.theme-light .team-card-premium,
body.theme-light .faq-item-premium,
body.theme-light .client-item,
body.theme-light .blog-item,
body.theme-light .blog-content,
body.theme-light .team-info-glass {
background: #ffffff !important;
background-color: #ffffff !important;
border: 1px solid #e2e8f0 !important;
box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05) !important;
}

/* Light Mode: Sections Backgrounds */
body.theme-light .hp-hero-section,
body.theme-light .services-section-premium,
body.theme-light .plan-section-premium,
body.theme-light .faq-section-premium,
body.theme-light .blog-section {
background-color: #f8fafc !important;
}
body.theme-light .about-section,
body.theme-light .steps-section-premium,
body.theme-light .team-section-premium,
body.theme-light .client-section,
body.theme-light .brand-section {
background-color: #ffffff !important;
}

/* Light Mode: Glows toned down */
body.theme-light :is(.about-glow-1, .about-glow-2, .service-glow-1, .team-glow-1, .team-glow-2, .faq-glow-1, .faq-glow-2, .plan-glow-1, .plan-glow-2, .banner-grid-overlay, .hp-grid-pattern) {
opacity: 0.05 !important;
}


/* -------------------------------------------------------------
DARK MODE: HEADINGS & BODY TEXT VISIBILITY
Guaranteed 100% luminous contrast on dark navy sections
------------------------------------------------------------- */
body:not(.theme-light) .section-title-premium,
body:not(.theme-light) .section-title,
body:not(.theme-light) .section-header .section-title,
body:not(.theme-light) .hp-hero-title,
body:not(.theme-light) .service-title-premium,
body:not(.theme-light) .step-title,
body:not(.theme-light) .team-info-glass h4,
body:not(.theme-light) .client-content .title,
body:not(.theme-light) .blog-content .title,
body:not(.theme-light) .blog-content .title a,
body:not(.theme-light) .store-title,
body:not(.theme-light) .store-title a,
body:not(.theme-light) .faq-btn-premium {
color: #ffffff !important;
}

body:not(.theme-light) .about-desc,
body:not(.theme-light) .service-desc-premium,
body:not(.theme-light) .hp-hero-desc,
body:not(.theme-light) .client-content p,
body:not(.theme-light) .blog-content p,
body:not(.theme-light) .faq-body-premium p,
body:not(.theme-light) .store-desc,
body:not(.theme-light) .team-section-premium p.text-muted,
body:not(.theme-light) .plan-section-premium p.text-muted {
color: #cbd5e1 !important;
opacity: 1 !important;
}

body:not(.theme-light) .sub-heading-premium,
body:not(.theme-light) .section-header .sub-title {
color: #28c76f !important;
font-weight: 700 !important;
}

/* Dark Mode: Cards Backgrounds */
body:not(.theme-light) .client-item,
body:not(.theme-light) .blog-item,
body:not(.theme-light) .blog-content {
background-color: #131726 !important;
border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body:not(.theme-light) .blog-section.bg--gray,
body:not(.theme-light) .client-section.bg--gray,
body:not(.theme-light) .brand-section.bg--gray {
background-color: #0a0b16 !important;
}

body:not(.theme-light) .client-content .title span {
color: #4ade80 !important;
}


/* -------------------------------------------------------------
PRESERVE SOLID BUTTONS & BADGES (BOTH MODES)
Solid buttons MUST maintain pure white text
------------------------------------------------------------- */
:is(body.theme-light, body:not(.theme-light)) :is(.btn--primary, .btn-primary, .btn-store-buy, .hp-btn-primary, .btn-premium.active, .btn--success, .btn--danger, .btn-danger, .badge--success, .badge--danger, .btn-hero-deposit, .btn-hero-withdraw, .btn-hero-transfer, .hero-action-btns .btn, .btn-franchise-buy, .btn-upgrade-action, .btn-current-tier, .franchise-3x-pill, .franchise-popular-ribbon, .btn-learner-next) {
color: #ffffff !important;
-webkit-text-fill-color: #ffffff !important;
}
:is(body.theme-light, body:not(.theme-light)) :is(.btn--primary, .btn-primary, .btn-store-buy, .hp-btn-primary, .btn-premium.active, .btn--success, .btn--danger, .btn-danger, .badge--success, .badge--danger, .btn-hero-deposit, .btn-hero-withdraw, .btn-hero-transfer, .hero-action-btns .btn, .btn-franchise-buy, .btn-upgrade-action, .btn-current-tier, .franchise-3x-pill, .franchise-popular-ribbon, .btn-learner-next) :is(i, span, *) {
color: #ffffff !important;
-webkit-text-fill-color: #ffffff !important;
}

/* =============================================================
   FINAL SAFEGUARDS: NEWSLETTER & FOOTER PILLS (NO BOX ARTIFACTS)
   ============================================================= */
body:not(.theme-light) .call-to-action-section :is(h1, h2, h3, h4, h5, h6, .newsletter-headline, .newsletter-title) {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4) !important;
}
body.theme-light .call-to-action-section :is(h1, h2, h3, h4, h5, h6, .newsletter-headline, .newsletter-title) {
    color: #0f172a !important;
    font-weight: 700 !important;
    text-shadow: none !important;
}
.social-icon-pill,
body.theme-light .social-icon-pill,
body:not(.theme-light) .social-icon-pill {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.social-icon-pill i {
    font-size: 1rem !important;
    line-height: 1 !important;
}


/* ==========================================================================
   GLOBAL BULLETPROOF LIGHT-THEME TEXT VISIBILITY OVERRIDES (ENTIRE WEBSITE)
   ========================================================================== */

/* 1. Base Body & General Content */
body.theme-light,
html.theme-light body {
    background-color: #f8fafc !important;
    color: #1e293b !important;
}

/* 2. Headings & Titles (Forces dark slate so they never appear white/faint) */
body.theme-light :is(h1, h2, h3, h4, h5, h6, .title, .heading, .section-title, .product-title, .banner-title, .page-title, .card-title) {
    color: #0f172a !important;
}

/* 3. Paragraphs & General Text */
body.theme-light :is(
    p:not(.btn):not([class*="btn-"]):not([class*="btn "]):not(.user-details-modal-area *):not(.user-details-modal *):not(#dglsAiRoot *),
    span:not(.badge):not(.badge *):not(.text-white):not(.btn):not(.btn *):not(.tag):not([class*="btn-"]):not([class*="btn-"] *):not(button *):not(a.btn *):not(.dep-submit-btn *):not(.man-submit-btn *):not(.p2p-f-chip):not(.p2p-f-chip *):not(.p2p-pill):not(.p2p-pill *):not(.p2p-tag-pill):not(.p2p-tag-pill *):not(.p2p-seg-btn):not(.p2p-seg-btn *):not(.p2p-pro-btn-buy):not(.p2p-pro-btn-buy *):not(.user-details-modal-area *):not(.user-details-modal *):not(#dglsAiRoot *),
    li:not(.user-details-modal-area *):not(.user-details-modal *):not(#dglsAiRoot *),
    label:not(.user-details-modal-area *):not(.user-details-modal *):not(.p2p-rating-type-btn):not(.p2p-rating-type-btn *):not(#dglsAiRoot *),
    strong:not(.text-white):not(.btn *):not([class*="btn-"] *):not(.user-details-modal-area *):not(.user-details-modal *):not(#dglsAiRoot *),
    b:not(.text-white):not(.btn *):not([class*="btn-"] *):not(.user-details-modal-area *):not(.user-details-modal *):not(#dglsAiRoot *)
) {
    color: #334155 !important;
}

/* 4. Subtitles & Muted Elements */
body.theme-light :is(.text-muted, .text-theme-sub, .subtitle, .sub-title, .sec-sub, .desc) {
    color: #64748b !important;
}

/* 5. Cards & Containers (White backgrounds with sharp dark text) */
body.theme-light :is(.card, .product-details-card, .widget-card, .dashboard-card, .custom-card, .border-box, .pricing-card, .feature-card, .blog-card, .single-plan) {
    background-color: #ffffff !important;
    border-color: #e2e8f0 !important;
    color: #1e293b !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05) !important;
}

body.theme-light :is(.card, .product-details-card, .widget-card, .pricing-card) :is(h1, h2, h3, h4, h5, h6, .card-title) {
    color: #0f172a !important;
}

body.theme-light :is(.card, .product-details-card, .widget-card, .pricing-card) :is(
    p:not(.btn):not([class*="btn-"]):not([class*="btn "]):not(#dglsAiRoot *),
    span:not(.badge):not(.badge *):not(.btn):not(.btn *):not([class*="btn-"]):not([class*="btn-"] *):not(button *):not(a.btn *):not(.p2p-pill):not(.p2p-pill *):not(.p2p-tag-pill):not(.p2p-tag-pill *):not(#dglsAiRoot *),
    label:not(.p2p-rating-type-btn):not(.p2p-rating-type-btn *):not(#dglsAiRoot *),
    li:not(#dglsAiRoot *)
) {
    color: #334155 !important;
}

/* 6. Form Controls & Inputs */
body.theme-light :is(.form-control, .form-select, select, input[type="text"], input[type="email"], input[type="password"], input[type="number"], textarea) {
    background-color: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}
body.theme-light :is(.form-control, textarea)::placeholder {
    color: #94a3b8 !important;
}

/* 7. Tables & Data Grids */
body.theme-light .table:not(.user-details-modal-area *):not(.user-details-modal *) {
    color: #1e293b !important;
}
body.theme-light .table:not(.user-details-modal-area *):not(.user-details-modal *) th {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
    border-color: #e2e8f0 !important;
}
body.theme-light .table:not(.user-details-modal-area *):not(.user-details-modal *) td {
    background-color: #ffffff !important;
    color: #334155 !important;
    border-color: #e2e8f0 !important;
}

/* 8. Fix Bootstrap .text-white when in Light Mode (except buttons and solid badges) */
body.theme-light :is(.text-white, .text-light):not(.btn):not(.btn *):not(.badge):not(.badge *):not(.newsletter-headline):not(.newsletter-title):not(.bg-primary *):not(.bg-success *):not(.bg-danger *):not(.user-details-modal-area *):not(.user-details-modal *):not(.p2p-alert-card *):not(.p2p-alert-card):not(#dglsAiRoot *):not(#dglsAiRoot) {
    color: #0f172a !important;
}

/* 9. Preserve Primary/Accent Brand Colored Elements */
body.theme-light .text-primary { color: #4f46e5 !important; }
body.theme-light .text-success { color: #16a34a !important; }
body.theme-light .text-danger  { color: #dc2626 !important; }
body.theme-light .text-warning { color: #d97706 !important; }
body.theme-light .text-info    { color: #0284c7 !important; }

/* 10. Buttons Visibility (Glow & High Contrast) */
body.theme-light .btn-outline--primary,
body.theme-light .btn-outline-primary {
    border-color: #4f46e5 !important;
    color: #4f46e5 !important;
}
body.theme-light .btn-outline--primary:hover,
body.theme-light .btn-outline-primary:hover {
    background-color: #4f46e5 !important;
    color: #ffffff !important;
}

/* ==========================================================================
   UNIVERSAL BUTTON TEXT CONTRAST SHIELD (PERMANENT SAFEGUARD)
   Ensures ALL solid buttons and all nested icons/spans maintain 100% white text
   in BOTH Light and Dark themes, with maximum specificity over any card/text rules.
   ========================================================================== */
:is(body.theme-light, body:not(.theme-light)) :is(
    .btn--primary,
    .btn-primary,
    .btn--success,
    .btn-success,
    .btn--danger,
    .btn-danger,
    .btn--warning,
    .btn-warning,
    .btn--info,
    .btn-info,
    .btn--dark,
    .btn-dark,
    .btn-hero-primary,
    .btn-hero-purple,
    .btn-hero-transfer,
    .btn-hero-deposit,
    .btn-hero-withdraw,
    .dep-submit-btn,
    .man-submit-btn,
    .btn-store-buy,
    .hp-btn-primary,
    .btn-premium.active,
    .hero-action-btns .btn,
    button[type="submit"].btn-primary,
    button[type="submit"].btn--primary,
    a.btn-primary,
    a.btn--primary,
    .p2p-f-chip.active,
    .p2p-tag-pill.active,
    .p2p-rating-type-btn.active
) {
    color: var(--rp-btn-solid-text, #ffffff) !important;
    -webkit-text-fill-color: var(--rp-btn-solid-text, #ffffff) !important;
}

:is(body.theme-light, body:not(.theme-light)) :is(
    .btn--primary,
    .btn-primary,
    .btn--success,
    .btn-success,
    .btn--danger,
    .btn-danger,
    .btn--warning,
    .btn-warning,
    .btn--info,
    .btn-info,
    .btn--dark,
    .btn-dark,
    .btn-hero-primary,
    .btn-hero-purple,
    .btn-hero-transfer,
    .btn-hero-deposit,
    .btn-hero-withdraw,
    .dep-submit-btn,
    .man-submit-btn,
    .btn-store-buy,
    .hp-btn-primary,
    .btn-premium.active,
    .hero-action-btns .btn,
    button[type="submit"].btn-primary,
    button[type="submit"].btn--primary,
    a.btn-primary,
    a.btn--primary,
    .p2p-f-chip.active,
    .p2p-tag-pill.active,
    .p2p-rating-type-btn.active
) :is(span, i, strong, b, em, p, *) {
    color: var(--rp-btn-solid-text, #ffffff) !important;
    -webkit-text-fill-color: var(--rp-btn-solid-text, #ffffff) !important;
}

/* Start Learning / Watch Course Button Global Contrast */
.btn-access-drive,
.btn-access-drive:link,
.btn-access-drive:visited {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}
.btn-access-drive:hover {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    color: #ffffff !important;
}
.btn-access-drive i,
.btn-access-drive span,
.btn-access-drive * {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-weight: 700 !important;
}


/* ==========================================================================
   GLOBAL BULLETPROOF POLICY PAGES VISIBILITY (DARK & LIGHT THEMES)
   Applied across /policy/* and /cookie-policy
   ========================================================================== */

/* 1. DARK MODE POLICY STYLING */
body:not(.theme-light) .policy-section {
    background-color: #0a0b16 !important;
}

body:not(.theme-light) :is(.policy-card, .policy-section .card) {
    background: #111428 !important;
    background-color: #111428 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
    color: #cbd5e1 !important;
}

body:not(.theme-light) .policy-main-title,
body:not(.theme-light) .policy-section h1,
body:not(.theme-light) .policy-section h2 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

body:not(.theme-light) :is(
    .policy-body-content,
    .policy-card,
    .policy-section
) :is(h1, h2, h3, h4, h5, h6, strong, b) {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-weight: 700 !important;
}

body:not(.theme-light) :is(
    .policy-body-content,
    .policy-card,
    .policy-section
) :is(p, li, span:not(.badge), div:not(.policy-card):not(.card):not(.row):not([class*="col-"])) {
    color: #cbd5e1 !important;
    -webkit-text-fill-color: #cbd5e1 !important;
    line-height: 1.8 !important;
}

body:not(.theme-light) :is(
    .policy-body-content,
    .policy-card,
    .policy-section
) ul {
    list-style-type: disc !important;
    padding-left: 1.5rem !important;
    margin-bottom: 1.25rem !important;
}

body:not(.theme-light) :is(
    .policy-body-content,
    .policy-card,
    .policy-section
) li {
    margin-bottom: 0.5rem !important;
    color: #cbd5e1 !important;
}

body:not(.theme-light) :is(
    .policy-body-content,
    .policy-card,
    .policy-section
) a:not(.btn) {
    color: #28c76f !important;
    text-decoration: underline !important;
}

/* 2. LIGHT MODE POLICY STYLING */
body.theme-light .policy-section,
html.theme-light .policy-section {
    background-color: #f8fafc !important;
}

body.theme-light :is(.policy-card, .policy-section .card),
html.theme-light :is(.policy-card, .policy-section .card) {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05) !important;
    color: #334155 !important;
}

body.theme-light .policy-main-title,
body.theme-light .policy-section h1,
body.theme-light .policy-section h2,
html.theme-light .policy-main-title,
html.theme-light .policy-section h1,
html.theme-light .policy-section h2 {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    border-color: #e2e8f0 !important;
}

body.theme-light :is(
    .policy-body-content,
    .policy-card,
    .policy-section
) :is(h1, h2, h3, h4, h5, h6, strong, b),
html.theme-light :is(
    .policy-body-content,
    .policy-card,
    .policy-section
) :is(h1, h2, h3, h4, h5, h6, strong, b) {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    font-weight: 700 !important;
}

body.theme-light :is(
    .policy-body-content,
    .policy-card,
    .policy-section
) :is(p, li, span:not(.badge), div:not(.policy-card):not(.card):not(.row):not([class*="col-"])),
html.theme-light :is(
    .policy-body-content,
    .policy-card,
    .policy-section
) :is(p, li, span:not(.badge), div:not(.policy-card):not(.card):not(.row):not([class*="col-"])) {
    color: #475569 !important;
    -webkit-text-fill-color: #475569 !important;
    line-height: 1.8 !important;
}

body.theme-light :is(
    .policy-body-content,
    .policy-card,
    .policy-section
) ul,
html.theme-light :is(
    .policy-body-content,
    .policy-card,
    .policy-section
) ul {
    list-style-type: disc !important;
    padding-left: 1.5rem !important;
    margin-bottom: 1.25rem !important;
}

body.theme-light :is(
    .policy-body-content,
    .policy-card,
    .policy-section
) li,
html.theme-light :is(
    .policy-body-content,
    .policy-card,
    .policy-section
) li {
    margin-bottom: 0.5rem !important;
    color: #475569 !important;
}

body.theme-light :is(
    .policy-body-content,
    .policy-card,
    .policy-section
) a:not(.btn),
html.theme-light :is(
    .policy-body-content,
    .policy-card,
    .policy-section
) a:not(.btn) {
    color: #16a34a !important;
    text-decoration: underline !important;
}
