/* Light Theme Overrides */
body.betmines-theme.light-theme {
    background-color: #f4f4f9 !important;
    color: #2d2d2d;
}

/* Navbar */
.light-theme .bm-top-navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.light-theme .bm-nav-link {
    color: #555 !important;
}
.light-theme .bm-nav-link:hover,
.light-theme .bm-nav-link.active {
    color: #ff6b00 !important;
}
.light-theme .bm-top-link {
    color: #555 !important;
}

/* Layout */
.light-theme .bm-content-body {
    background-color: #f4f4f9;
}

/* Mobile sidebar drawer - light mode */
@media (max-width: 991px) {
    .light-theme .bm-sidebar {
        background: #ffffff;
        box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    }
    .light-theme .bm-sidebar-close {
        color: #333;
    }
    .light-theme .bm-sidebar-close:hover {
        color: #ff6b00;
    }
}
.light-theme .bm-page-header .bm-page-title {
    color: #1a1a1a;
}
.light-theme .bm-page-header .bm-page-subheader {
    color: #666;
}

/* Category hero (blog index, category pages, etc.) */
.light-theme .category-hero {
    background: radial-gradient(circle at center, #f0f0f0 0%, #e0e0e0 100%) !important;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
.light-theme .category-hero .bm-page-title {
    color: #222 !important;
}
.light-theme .category-hero .hero-description {
    color: rgba(0, 0, 0, 0.55) !important;
}

/* Section titles */
.light-theme .bm-section-title {
    color: #222 !important;
}

/* Cards */
.light-theme .bm-card,
.light-theme .bm-match-list,
.light-theme .bm-search-bar {
    background: #ffffff !important;
    border-color: #e0e0e0 !important;
}
.light-theme .bm-sidebar-nav-card,
.light-theme .bm-sidebar-widget {
    background: #ffffff;
    border-color: #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.light-theme .bm-league-header {
    background: #f0f0f0;
}
.light-theme .bm-league-header span {
    color: #333;
}

/* Date nav */
.light-theme .bm-date-nav {
    background: #ffffff;
    border-color: #e0e0e0;
}
/* Fix: correct wrapper class is .bm-date-items-wrapper not .bm-date-nav-items */
.light-theme .bm-date-items-wrapper .bm-date-item {
    color: #666;
}
.light-theme .bm-date-items-wrapper .bm-date-item.active {
    background: #ff6b00 !important;
    color: #fff !important;
    border-radius: 10px;
}
.light-theme .bm-date-items-wrapper .bm-date-item:hover:not(.active) {
    background: #f0f0f0;
    color: #333;
}
.light-theme .bm-date-item .bm-date-day {
    color: #555;
}
.light-theme .bm-date-item.active .bm-date-day {
    color: #fff !important;
}
.light-theme .bm-date-item.active .bm-date-label {
    color: rgba(255,255,255,0.75) !important;
}

/* Filter button (calendar/filter icons) */
.light-theme #bm-cat-filter-btn {
    color: #555 !important;
}
.light-theme #bm-cat-filter-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}
/* Calendar picker icon — overrides the hardcoded white color in the blade style block */
.light-theme #bm-calendar-picker {
    color: #555 !important;
}
.light-theme #bm-calendar-picker:hover {
    background: rgba(0, 0, 0, 0.05) !important;
}
/* Also fix any remaining bm-date-item icons (fa icons) in light mode */
.light-theme .bm-date-nav .bm-date-item i {
    color: inherit;
}

/* Sidebar country search input */
.light-theme .bm-sidebar-search-input {
    background: #fff;
    border: 1px solid #d0d0d0;
    color: #333;
}
.light-theme .bm-sidebar-search-input::placeholder {
    color: #aaa;
}
.light-theme .bm-sidebar-search-input:focus {
    border-color: #aaa;
    outline: none;
}
.light-theme .bm-sidebar-search i {
    color: #aaa;
}

/* Match rows */
.light-theme .bm-match-row-premium {
    background: #ececec;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.light-theme .bm-match-row-premium:hover {
    background: rgba(0, 0, 0, 0.03);
}
.light-theme .bm-team-name-text {
    color: #222;
}
.light-theme .bm-match-time {
    color: #888;
}
.light-theme .bm-match-score {
    color: #222;
}
.light-theme .bm-match-star {
    color: #ccc;
}
.light-theme .bm-match-star:hover {
    color: #ff6b00;
}

/* Stats columns */
.light-theme .bm-stat-col {
    color: #888;
}
.light-theme .bm-odd-col {
    color: #222;
}

/* Tip/Prob badges */
.light-theme .bm-tip-badge {
    background: rgba(0, 0, 0, 0.06);
    color: #333;
}
.light-theme .bm-prob-badge.prob-high {
    background: rgba(40, 167, 69, 0.12);
    color: #1a7a2e;
    border-color: rgba(40, 167, 69, 0.3);
}
.light-theme .bm-prob-badge.prob-med {
    background: rgba(255, 193, 7, 0.15);
    color: #8a6d00;
    border-color: rgba(255, 193, 7, 0.3);
}
.light-theme .bm-prob-badge.prob-low {
    background: rgba(220, 53, 69, 0.1);
    color: #b02a37;
    border-color: rgba(220, 53, 69, 0.3);
}

/* Sidebar */
.light-theme .bm-nav-item {
    color: #666;
}
.light-theme .bm-nav-item:hover,
.light-theme .bm-nav-item.active {
    background: #f0f0f0;
    color: #222;
}
.light-theme .bm-nav-item.active {
    border-left-color: #ff6b00;
}
.light-theme .bm-nav-item i {
    color: #aaa;
}
.light-theme .bm-nav-item:hover i,
.light-theme .bm-nav-item.active i {
    color: #ff6b00;
}
.light-theme .bm-widget-title {
    color: #222;
}
.light-theme .bm-widget-item {
    color: #666;
}
.light-theme .bm-widget-item:hover {
    color: #ff6b00;
    background: rgba(0, 0, 0, 0.04);
}

/* Search */
.light-theme .bm-search-input {
    background: #f0f0f0;
}
.light-theme .bm-search-input input {
    color: #333;
}
.light-theme .bm-search-input input::placeholder {
    color: #999;
}
.light-theme .bm-filter-btn {
    color: #666;
    border-color: #ddd;
    background: #f8f8f8;
}
.light-theme .bm-filter-btn:hover {
    background: #eee;
}
.light-theme .bm-table-headers span {
    color: #999;
}

/* Modal / overlay */
.light-theme .bm-modal-panel {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.1);
}
.light-theme .bm-modal-title {
    color: #222;
}
.light-theme .bm-modal-filter-link {
    color: #666;
}
.light-theme .bm-modal-filter-link:hover {
    background: #f0f0f0;
    color: #222;
}
.light-theme .bm-modal-filter-link.active {
    color: #ff6b00;
    background: rgba(255, 107, 0, 0.08);
}
.light-theme .bm-modal-close {
    color: #999;
}
.light-theme .bm-modal-close:hover {
    color: #333;
}

/* Articles */
.light-theme .bm-article-card,
.light-theme .bm-article-card-h {
    background: #ffffff;
    border-color: #e0e0e0;
}
.light-theme .bm-article-card-h:hover {
    border-color: #ff6b00;
}
.light-theme .bm-article-title-h a {
    color: #1a1a1a;
}
.light-theme .bm-article-title-h a:hover {
    color: #333;
}
.light-theme .bm-article-excerpt-h {
    color: #666;
}
.light-theme .bm-article-meta-h {
    color: #999;
}
.light-theme .bm-badge-news {
    background: #ff6b00;
    color: #fff;
}
.light-theme .bm-article-date {
    color: #999;
}
.light-theme .bm-article-title a {
    color: #1a1a1a !important;
}
.light-theme .bm-article-excerpt {
    color: #666;
}

/* Winning cards */
.light-theme .bm-winning-card {
    background: #ffffff !important;
    border-color: #e0e0e0;
}
.light-theme .bm-winning-card:hover {
    border-color: rgba(255, 107, 0, 0.3);
}
.light-theme .bm-winning-card .text-muted {
    color: #888 !important;
}
.light-theme .bm-winning-card .bm-score {
    color: #222 !important;
}
.light-theme .bm-winning-card .bm-winning-match span {
    color: #333;
}
.light-theme .bm-header-tip {
    color: #ff6b00;
}
.light-theme .bm-winning-odds {
    background: #f0f0f0 !important;
    color: #333 !important;
    border-color: #ddd;
}
.light-theme .bm-winning-category {
    color: #999;
}

/* Pagination */
.light-theme .pagination .page-item .page-link {
    background: #ffffff !important;
    border-color: #e0e0e0 !important;
    color: #555 !important;
}
.light-theme .pagination .page-item:not(.active):hover .page-link {
    background: #f0f0f0 !important;
    border-color: #ccc !important;
    color: #333 !important;
}
.light-theme .pagination .page-item.active .page-link {
    background: #ff6b00 !important;
    border-color: #ff6b00 !important;
    color: #fff !important;
}
.light-theme .pagination .page-item.disabled .page-link {
    background: #f5f5f5 !important;
    border-color: #e0e0e0 !important;
    color: #bbb !important;
}

/* Category navigation */
.light-theme .bm-cat-link {
    color: #666;
    background: #f0f0f0;
}
.light-theme .bm-cat-link:hover {
    background: #e0e0e0;
}
.light-theme .bm-cat-link.active {
    background: #ff6b00;
    color: #fff;
}
.light-theme .bm-filter-bar {
    border-color: #e0e0e0;
}

/* Info article */
.light-theme .bm-info-article-card {
    background: #ffffff !important;
    border-color: #e0e0e0;
}
.light-theme .bm-info-article-card .bm-article-content,
.light-theme .bm-info-article-card .bm-article-content *,
.light-theme .bm-info-article-card .bm-info-article-dynamic,
.light-theme .bm-info-article-card .bm-info-article-dynamic * {
    color: #444 !important;
}
.light-theme .bm-info-article-card .bm-article-content p {
    color: #555 !important;
}
.light-theme .bm-info-article-card .bm-article-content strong {
    color: #222 !important;
}
.light-theme .bm-info-article-card .bm-article-content li {
    color: #555 !important;
}
.light-theme .bm-content-h3 {
    color: #222 !important;
}
.light-theme .bm-content-h4 {
    color: #333 !important;
}
.light-theme .bm-info-article-card .bm-disclaimer {
    color: #a06565 !important;
    background: rgba(239, 68, 68, 0.05);
    border-left-color: #ef4444;
}

/* World Cup page */
.light-theme .bm-worldcup-header {
    background: #ffffff;
    border-color: #e0e0e0;
}

/* Footer */
.light-theme .bm-footer {
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
}
.light-theme .bm-footer-title {
    color: #222;
}
.light-theme .bm-footer-link {
    color: #777;
}
.light-theme .bm-footer-link:hover {
    color: #ff6b00;
}
.light-theme .bm-footer-social a {
    color: #555;
}
.light-theme .bm-footer-social a:hover {
    color: #ff6b00;
}
.light-theme .bm-copyright {
    color: #999;
}
.light-theme .bm-footer-bottom {
    border-top-color: rgba(0, 0, 0, 0.08) !important;
}

/* Premium button */
.light-theme .bm-premium-btn {
    background: linear-gradient(135deg, #ff6b00 0%, #e65e00 100%);
    color: #000 !important;
}
.light-theme .bm-premium-btn:hover {
    color: #000 !important;
}

/* Login/Register text */
.light-theme .bm-top-links .text-white {
    color: #333 !important;
}

/* Hover cards */
.light-theme .bm-match-group {
    border-color: #e0e0e0;
}

/* No predictions placeholder */
.light-theme .bm-match-list .text-muted {
    color: #999 !important;
}
.light-theme .bm-match-list .card {
    background: #ffffff !important;
}

/* VIP page */
.light-theme .vip-results-header {
    background: #ffffff;
}
.light-theme .vip-results-title h1 {
    color: #222;
}
.light-theme .vip-results-title p {
    color: #777;
}
.light-theme .win-rate-badge {
    background: #f0f0f0;
    color: #333;
}
.light-theme .win-rate-badge .label {
    color: #999;
}
.light-theme .win-rate-badge .value {
    color: #ff6b00;
}
.light-theme .vip-date-group {
    background: #ffffff;
    border-color: #e0e0e0;
}
.light-theme .vip-date-text h3 {
    color: #222;
}
.light-theme .vip-match-card {
    background: #ffffff;
    border-color: #e0e0e0;
}
.light-theme .vip-match-time {
    color: #888;
}
.light-theme .vip-match-league {
    color: #999;
}
.light-theme .vip-team {
    color: #222;
}
.light-theme .vip-tip-label {
    color: #999;
}
.light-theme .vip-tip-value {
    color: #444;
}

/* Blog detail */
.light-theme .bm-article-detail .bm-article-content,
.light-theme .bm-article-detail .bm-article-content * {
    color: #444 !important;
}
.light-theme .bm-article-detail .bm-article-content p {
    color: #555 !important;
}
.light-theme .bm-article-detail .bm-article-content strong {
    color: #222 !important;
}
.light-theme .bm-article-detail .bm-article-content a {
    color: #ff6b00 !important;
}
.light-theme .bm-article-detail-title {
    color: #222;
}
.light-theme .bm-article-detail-image {
    background: #f0f0f0;
}
.light-theme .bm-article-detail-meta {
    color: #888;
}
.light-theme .bm-article-cat-badge {
    background: rgba(0,0,0,0.7);
    color: #ff6b00;
}
.light-theme .bm-article-cat-badge:hover {
    background: #ff6b00;
    color: #fff;
}

/* Breadcrumb */
.light-theme .bm-breadcrumb {
    color: #888;
}
.light-theme .bm-breadcrumb a {
    color: #666;
}
.light-theme .bm-breadcrumb a:hover {
    color: #ff6b00;
}
.light-theme .bm-breadcrumb-sep {
    color: #ccc;
}
.light-theme .bm-breadcrumb-current {
    color: #999;
}

/* Content pages (privacy, terms) */
.light-theme .bm-content-page {
    color: #444;
}
.light-theme .bm-content-page h1,
.light-theme .bm-content-page h2,
.light-theme .bm-content-page h3 {
    color: #222;
}

/* Partners section in footer */
.light-theme .bm-footer-partners-container {
    background-color: #f9f9f9;
    border-color: #e0e0e0;
}
.light-theme .bm-partners-label {
    color: #555;
}
.light-theme .bm-partner-link-item {
    color: #777;
}
.light-theme .bm-partners-unfold-btn {
    background-color: #f0f0f0;
    color: #555;
    border-color: #ddd;
}

/* Fixture show page */
.light-theme .bm-market-btn {
    color: #555;
    border-color: #ddd;
    background: #f8f8f8;
}
.light-theme .bm-market-btn.active,
.light-theme .bm-market-btn:hover {
    background: #ff6b00;
    color: #fff;
    border-color: #ff6b00;
}

/* Fixture detail page — overrides the inline !important dark styles */
.light-theme .bm-fixture-detail-header .bm-card {
    background: #ffffff !important;
    border-color: #e0e0e0 !important;
}
.light-theme .bm-fixture-detail-header .text-white,
.light-theme .bm-fixture-detail-header .bm-card .text-white,
.light-theme .bm-fixture-detail-header h2.font-weight-bold,
.light-theme .bm-fixture-detail-header .h2.font-weight-bold {
    color: #222 !important;
}
.light-theme .bm-fixture-detail-header .border-top {
    border-color: #e0e0e0 !important;
}

/* Expert prediction card */
.light-theme .bm-card[style*="border: 1px solid #ff6b00"] {
    background: #ffffff !important;
}
.light-theme .bm-card .text-white,
.light-theme .bm-card .font-weight-bold.text-white {
    color: #222 !important;
}

/* H2H table */
.light-theme .h2h-table td {
    background-color: #ffffff !important;
    color: #444 !important;
    border-bottom-color: #e0e0e0 !important;
}

/* Standings table */
.light-theme .standings-table {
    background-color: #ffffff !important;
}
.light-theme .standings-table th {
    background-color: #f9f9f9 !important;
    color: #666 !important;
    border-bottom-color: #e0e0e0 !important;
}
.light-theme .standings-table td {
    background-color: #ffffff !important;
    color: #444 !important;
    border-bottom-color: #e8e8e8 !important;
}
.light-theme .standings-table tr.active-team td {
    background-color: rgba(255, 107, 0, 0.04) !important;
}

/* Border right dark */
.light-theme .border-right-dark {
    border-right-color: #e0e0e0 !important;
}
@media (max-width: 768px) {
    .light-theme .border-right-dark {
        border-bottom-color: #e0e0e0 !important;
    }
}

/* Discussion section comments */
.light-theme .comments-list div[style*="background: rgba(44, 44, 44, 0.4)"] {
    background: rgba(0, 0, 0, 0.03) !important;
    border-left-color: #ff6b00;
}
.light-theme .comments-list .text-white {
    color: #444 !important;
}

/* Discussion empty state */
.light-theme .bg-dark {
    background-color: #f0f0f0 !important;
}
.light-theme .text-center.py-4.bg-dark {
    border-color: #e0e0e0 !important;
}
.light-theme .form-control.bg-dark {
    background-color: #f5f5f5 !important;
    color: #333 !important;
    border-color: #ddd !important;
}

/* Team stats progress bars */
.light-theme .bm-card .progress {
    background: #e0e0e0 !important;
}
.light-theme .bm-card .text-white.small {
    color: #222 !important;
}

/* League name text in fixture header */
.light-theme .bm-fixture-detail-header .text-white.font-weight-bold[style*="font-size: 16px"] {
    color: #333 !important;
}

/* Market badge */
.light-theme .badge-dark {
    background: #e0e0e0 !important;
    color: #333 !important;
}

/* Prob text */
.light-theme .bm-predict-prob {
    color: #222 !important;
}

/* Form badges use consistent colors in both themes */
.light-theme .badge-success { background: #28a745 !important; }
.light-theme .badge-warning { background: #ffc107 !important; color: #222 !important; }
.light-theme .badge-danger { background: #dc3545 !important; }

/* Upcoming fixtures section */
.light-theme .bm-section-title {
    color: #222;
}

/* Newsletter popup */
.light-theme .bm-newsletter-overlay .bm-newsletter-panel {
    background: #ffffff;
}
.light-theme .bm-newsletter-title {
    color: #222;
}
.light-theme .bm-newsletter-text {
    color: #666;
}
.light-theme .bm-newsletter-input {
    background: #f0f0f0;
    border-color: #ddd;
    color: #333;
}

/* Confirm modal */
.light-theme .bm-confirm-modal-panel {
    background: #ffffff;
}
.light-theme .bm-confirm-modal-text {
    color: #444;
}

/* Install app button */
.light-theme .bm-install-app-btn {
    background: linear-gradient(135deg, #ff6b00 0%, #d25800 100%);
    color: #000 !important;
}

/* Form elements */
.light-theme input.form-control,
.light-theme select.form-control,
.light-theme textarea.form-control {
    background: #ffffff;
    border-color: #ddd;
    color: #333;
}
.light-theme input.form-control:focus {
    border-color: #ff6b00;
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 0, 0.15);
}

/* Flatpickr calendar (light skin) */
.light-theme .flatpickr-calendar {
    background: #ffffff;
    box-shadow: 0 3px 13px rgba(0,0,0,0.15);
}
.light-theme .flatpickr-months .flatpickr-month {
    background: #ff6b00;
}
.light-theme .flatpickr-current-month .flatpickr-monthDropdown-months {
    background: #ff6b00;
}
.light-theme span.flatpickr-weekday {
    background: #ff6b00;
    color: #fff;
}
.light-theme .flatpickr-day {
    color: #333;
}
.light-theme .flatpickr-day.today {
    border-color: #ff6b00;
}
.light-theme .flatpickr-day.selected {
    background: #ff6b00;
    border-color: #ff6b00;
    color: #fff;
}
.light-theme .flatpickr-day:hover {
    background: #f0f0f0;
}
.light-theme .flatpickr-calendar:before,
.light-theme .flatpickr-calendar:after {
    display: none;
}

/* Form badges on betting cards */
.light-theme .bm-form-badge {
    color: #fff;
}

/* Logo dark/light swap */
.light-theme .bm-logo-dark { display: none !important; }
.light-theme .bm-logo-light { display: inline-block !important; }

/* Sidebar link hover */
.light-theme .bm-sidebar-link {
    color: #666;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    text-decoration: none;
    font-size: 13px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}
.light-theme .bm-sidebar-link:hover {
    color: #ff6b00;
    background: rgba(0, 0, 0, 0.04);
}
.light-theme .bm-sidebar-link.active {
    color: #ff6b00;
    background: rgba(255, 107, 0, 0.08);
}

/* Sidebar standings table */
.light-theme .bm-standings-table td {
    color: #555;
}
.light-theme .bm-standings-table th {
    color: #888 !important;
}
