
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* Content Section */
        .content {
            padding: 100px 0;
            background: #0d0d0d;
        }

        .content-category {
            margin-bottom: 4rem;
        }

        .category-title {
            color: #e50914;
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
            padding-left: 20px;
            font-weight: bold;
        }

        .tmdb-scroll {
            display: flex;
            overflow-x: auto;
            scroll-behavior: smooth;
            gap: 20px;
            padding: 20px;
            cursor: grab;
            position: relative;
            /* Hide scrollbars completely */
            scrollbar-width: none; /* Firefox */
            -ms-overflow-style: none; /* Internet Explorer 10+ */
        }

        /* Hide scrollbar for WebKit browsers (Safari, Chrome) */
        .tmdb-scroll::-webkit-scrollbar {
            display: none;
        }

        .tmdb-scroll:active {
            cursor: grabbing;
        }

        .tmdb-scroll.paused {
            animation-play-state: paused;
        }

        .auto-scroll-control {
            position: absolute;
            top: 10px;
            right: 10px;
            background: rgba(229, 9, 20, 0.8);
            color: white;
            border: none;
            padding: 8px 12px;
            border-radius: 20px;
            cursor: pointer;
            font-size: 0.9rem;
            font-weight: bold;
            transition: all 0.3s ease;
            z-index: 10;
        }

        .auto-scroll-control:hover {
            background: rgba(229, 9, 20, 1);
            transform: scale(1.05);
        }

        .movie-card {
            min-width: 220px;
            background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
            border-radius: 15px;
            overflow: hidden;
            transition: all 0.3s ease;
            border: 1px solid #333;
            cursor: pointer;
            position: relative;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        }

        .movie-card:hover {
            transform: scale(1.05) translateY(-10px);
            border-color: #e50914;
            box-shadow: 0 20px 40px rgba(229, 9, 20, 0.3);
        }

        .movie-poster {
            width: 100%;
            height: 320px;
            object-fit: cover;
            background: #333;
            transition: all 0.3s ease;
        }

        .movie-card:hover .movie-poster {
            filter: brightness(1.2);
        }

        .movie-info {
            padding: 15px;
        }

        .movie-title {
            font-size: 1.1rem;
            font-weight: bold;
            color: #ffffff;
            margin-bottom: 8px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            line-height: 1.3;
        }

        .movie-year {
            color: #888;
            font-size: 0.9rem;
            margin-bottom: 8px;
        }

        .movie-rating {
            background: linear-gradient(45deg, #e50914, #b20710);
            color: white;
            padding: 4px 10px;
            border-radius: 15px;
            font-size: 0.85rem;
            font-weight: bold;
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }

        .loading-spinner {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 200px;
            width: 100%;
            color: #888;
        }

        .spinner {
            width: 40px;
            height: 40px;
            border: 4px solid #333;
            border-top: 4px solid #e50914;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-bottom: 15px;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .error-message {
            color: #e50914;
            text-align: center;
            padding: 40px 20px;
            font-size: 1.1rem;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: #0d0d0d;
            color: #ffffff;
            line-height: 1.6;
            overflow-x: hidden;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Header */
        header {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(13, 13, 13, 0.95);
            backdrop-filter: blur(20px);
            z-index: 1000;
            border-bottom: 1px solid #333;
            padding: 1rem 0;
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 2rem;
            font-weight: bold;
            color: #e50914;
            text-shadow: 0 0 10px rgba(229, 9, 20, 0.5);
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        .nav-menu a {
            color: #ffffff;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
            position: relative;
        }

        .nav-menu a:hover {
            color: #e50914;
        }

        .nav-menu a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: #e50914;
            transition: width 0.3s ease;
        }

        .nav-menu a:hover::after {
            width: 100%;
        }

        /* Hero Section */
        .hero {
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 50%, #0d0d0d 100%);
            position: relative;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at center, rgba(229, 9, 20, 0.1) 0%, transparent 70%);
            animation: pulse 4s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 0.3; }
            50% { opacity: 0.7; }
        }

        .hero-content {
            position: relative;
            z-index: 2;
        }

        .hero h1 {
            font-size: 4rem;
            margin-bottom: 1rem;
            background: linear-gradient(45deg, #ffffff, #e50914);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: glow 2s ease-in-out infinite alternate;
        }

        @keyframes glow {
            from { text-shadow: 0 0 20px rgba(229, 9, 20, 0.5); }
            to { text-shadow: 0 0 40px rgba(229, 9, 20, 0.8); }
        }

        .hero p {
            font-size: 1.5rem;
            margin-bottom: 2rem;
            color: #cccccc;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .cta-btn {
            display: inline-block;
            background: linear-gradient(45deg, #e50914, #b20710);
            color: white;
            padding: 18px 40px;
            text-decoration: none;
            border-radius: 50px;
            font-size: 1.2rem;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: all 0.3s ease;
            box-shadow: 0 8px 30px rgba(229, 9, 20, 0.3);
        }

        .cta-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 40px rgba(229, 9, 20, 0.5);
        }

        /* Features Section */
        .features {
            padding: 100px 0;
            background: #111111;
        }

        .section-title {
            text-align: center;
            font-size: 3rem;
            margin-bottom: 4rem;
            color: #ffffff;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 3rem;
        }

        .feature-card {
            background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
            padding: 3rem 2rem;
            border-radius: 20px;
            text-align: center;
            border: 1px solid #333;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(229, 9, 20, 0.1), transparent);
            transition: left 0.5s ease;
        }

        .feature-card:hover::before {
            left: 100%;
        }

        .feature-card:hover {
            transform: translateY(-10px);
            border-color: #e50914;
            box-shadow: 0 20px 50px rgba(229, 9, 20, 0.2);
        }

        .feature-icon {
            font-size: 4rem;
            margin-bottom: 1.5rem;
            display: block;
        }

        .feature-card h3 {
            font-size: 1.8rem;
            margin-bottom: 1rem;
            color: #e50914;
        }

        .feature-card p {
            color: #cccccc;
            font-size: 1.1rem;
            line-height: 1.8;
        }

        /* Pricing Section */
        .pricing {
            padding: 100px 0;
            background: #0d0d0d;
        }

        .pricing-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 3rem;
            margin-top: 3rem;
        }

        .pricing-card {
            background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
            padding: 3rem 2rem;
            border-radius: 20px;
            text-align: center;
            border: 1px solid #333;
            transition: all 0.3s ease;
            position: relative;
        }

        .pricing-card.popular {
            border-color: #e50914;
            transform: scale(1.05);
            box-shadow: 0 20px 50px rgba(229, 9, 20, 0.3);
        }

        .pricing-card.popular::before {
            content: 'MOST POPULAR';
            position: absolute;
            top: -15px;
            left: 50%;
            transform: translateX(-50%);
            background: #e50914;
            color: white;
            padding: 8px 25px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: bold;
        }

        .pricing-card:hover {
            transform: translateY(-10px);
            border-color: #e50914;
        }

        .pricing-card.popular:hover {
            transform: scale(1.05) translateY(-10px);
        }

        .plan-name {
            font-size: 1.8rem;
            color: #e50914;
            margin-bottom: 1rem;
            font-weight: bold;
        }

        .plan-price {
            font-size: 3.5rem;
            font-weight: bold;
            margin-bottom: 0.5rem;
        }

        .plan-period {
            color: #888;
            margin-bottom: 2rem;
            font-size: 1.1rem;
        }

        .plan-features {
            list-style: none;
            margin-bottom: 2rem;
        }

        .plan-features li {
            padding: 0.8rem 0;
            border-bottom: 1px solid #333;
            color: #cccccc;
        }

        .plan-features li:last-child {
            border-bottom: none;
        }

        .plan-features li::before {
            content: '✓';
            color: #e50914;
            font-weight: bold;
            margin-right: 10px;
        }

        /* Contact Section */
        .contact {
            padding: 100px 0;
            background: #111111;
        }

        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .contact-info {
            background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
            padding: 3rem;
            border-radius: 20px;
            border: 1px solid #333;
        }

        .contact-info h3 {
            color: #e50914;
            font-size: 2rem;
            margin-bottom: 1.5rem;
        }

        .contact-info p {
            color: #cccccc;
            margin-bottom: 1rem;
            font-size: 1.1rem;
        }

        .contact-form {
            background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
            padding: 3rem;
            border-radius: 20px;
            border: 1px solid #333;
        }

        .contact-form h3 {
            color: #e50914;
            font-size: 2rem;
            margin-bottom: 2rem;
            text-align: center;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 15px;
            background: #0d0d0d;
            border: 2px solid #333;
            border-radius: 10px;
            color: #ffffff;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #e50914;
            box-shadow: 0 0 10px rgba(229, 9, 20, 0.3);
        }

        .submit-btn {
            width: 100%;
            background: linear-gradient(45deg, #e50914, #b20710);
            color: white;
            padding: 15px;
            border: none;
            border-radius: 10px;
            font-size: 1.1rem;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(229, 9, 20, 0.4);
        }

        /* Footer */
        footer {
            background: #000000;
            padding: 2rem 0;
            text-align: center;
            border-top: 1px solid #333;
        }

        footer p {
            color: #888;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .nav-menu {
                display: none;
            }

            .hero h1 {
                font-size: 2.5rem;
            }

            .hero p {
                font-size: 1.2rem;
            }

            .contact-content {
                grid-template-columns: 1fr;
            }

            .pricing-card.popular {
                transform: none;
            }

            .features-grid {
                grid-template-columns: 1fr;
            }

            .pricing-grid {
                grid-template-columns: 1fr;
            }
        }
    
/* APK Download Section */
.downloads{padding:80px 0;background:linear-gradient(135deg,#080808,#151515)}
.downloads-subtitle{text-align:center;color:#ccc;font-size:1.1rem;margin:-20px auto 35px;max-width:720px}
.downloads-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px}
.download-card{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:20px;padding:30px;text-align:center;box-shadow:0 12px 32px rgba(0,0,0,.35);transition:.25s}
.download-card:hover{transform:translateY(-6px);border-color:#e50914}
.download-icon{font-size:54px;margin-bottom:15px}
.download-card h3{font-size:1.45rem;margin-bottom:10px;color:#fff}
.download-card p{color:#ccc;line-height:1.6;margin-bottom:18px}
.apk-version{display:inline-block;background:#e50914;color:#fff;border-radius:999px;padding:5px 12px;font-weight:bold;margin-bottom:12px!important}

/* TMDB storefront section */
.tmdb-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:20px;margin-top:30px}
.tmdb-card{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:16px;overflow:hidden;box-shadow:0 10px 30px rgba(0,0,0,.15)}
.tmdb-card img{width:100%;height:240px;object-fit:cover;display:block}
.tmdb-info{padding:14px}.tmdb-info h3{font-size:1rem;margin:0 0 6px}.tmdb-meta{opacity:.8;font-size:.9rem;margin-bottom:8px}.tmdb-info p{font-size:.9rem;line-height:1.4}
@media(max-width:600px){.tmdb-grid{grid-template-columns:repeat(2,1fr);gap:12px}.tmdb-card img{height:210px}.tmdb-info{padding:10px}.tmdb-info p:not(.tmdb-meta){display:none}}

/* Client TMDB storefront horizontal poster sections */
.client-tmdb-content .tmdb-scroll{min-height:390px;align-items:stretch}
.client-tmdb-content .movie-card{min-width:200px;max-width:200px;flex:0 0 200px}
.client-tmdb-content .movie-poster{height:290px}
@media(max-width:700px){
  .client-tmdb-content{padding:60px 0}
  .client-tmdb-content .category-title{font-size:1.25rem;padding-left:12px;margin-bottom:.5rem}
  .client-tmdb-content .tmdb-scroll{gap:12px;padding:12px;min-height:310px}
  .client-tmdb-content .movie-card{min-width:145px;max-width:145px;flex-basis:145px;border-radius:10px}
  .client-tmdb-content .movie-poster{height:220px}
  .client-tmdb-content .movie-info{padding:10px}
  .client-tmdb-content .movie-title{font-size:.9rem}
  .client-tmdb-content .movie-year{font-size:.78rem;margin-bottom:5px}
  .client-tmdb-content .movie-rating{font-size:.75rem;padding:3px 8px}
  .client-tmdb-content .auto-scroll-control{font-size:.72rem;padding:5px 9px;right:8px;top:6px}
}

/* MASTER PUBLIC TABLE DARK FIX */
table,.table,.admin-table,.client-table,.plan-table{width:100%;border-collapse:collapse!important;background:#0b0b0b!important;color:#fff!important;border:1px solid #333!important;}
table th,table td,.table th,.table td,.admin-table th,.admin-table td,.client-table th,.client-table td,.plan-table th,.plan-table td{background:#0f0f0f!important;color:#fff!important;border:1px solid #333!important;padding:11px!important;text-align:left!important;vertical-align:top!important;}
table th,.table th,.admin-table th,.client-table th,.plan-table th{background:#181818!important;color:#fff!important;font-weight:800!important;}
table tr:nth-child(even) td{background:#151515!important;color:#fff!important;}
table tr:hover td{background:#202020!important;color:#fff!important;}
table a{color:#7dd3fc!important;} table small{color:#cbd5e1!important;}
.table-wrap,.table-scroll{background:#0b0b0b!important;border:1px solid #333!important;border-radius:14px!important;overflow:auto!important;}

/* FINAL PUBLIC TABLE FIX: black tables, white text */
.table-scroll, .table-wrap, .responsive-table { width:100% !important; overflow-x:auto !important; background:#0b0b0b !important; border:1px solid #333 !important; border-radius:12px !important; }
table { width:100% !important; border-collapse:collapse !important; background:#0b0b0b !important; color:#fff !important; border:1px solid #333 !important; }
table thead, table tbody, table tr { background:#0b0b0b !important; color:#fff !important; }
table th, table td { background:#111 !important; color:#fff !important; border:1px solid #333 !important; padding:12px !important; text-align:left !important; vertical-align:top !important; }
table th { background:#1f1f1f !important; color:#fff !important; font-weight:800 !important; }
table tr:nth-child(even) td { background:#161616 !important; color:#fff !important; }
table tr:hover td { background:#242424 !important; color:#fff !important; }
table a { color:#7dd3fc !important; }
table small { color:#d1d5db !important; }
table input, table select, table textarea { background:#050505 !important; color:#fff !important; border:1px solid #444 !important; }
td[colspan] { color:#facc15 !important; background:#111 !important; font-weight:800 !important; }
@media(max-width:760px){ table{min-width:720px !important;} }


/* =========================================================
   GLOBAL DARK TABLE FIX - all tables/boxes black with white writing
   Added by ChatGPT: keeps every panel table readable on admin/client/storefront.
   ========================================================= */
html, body {
  background: #0b0b0b !important;
  color: #ffffff !important;
}

.table-wrap, .table-responsive, .responsive-table {
  width: 100% !important;
  overflow-x: auto !important;
  background: #0b0b0b !important;
  border-radius: 12px !important;
}

table, .table, table.table {
  width: 100% !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  background: #000000 !important;
  color: #ffffff !important;
  border: 1px solid #333333 !important;
}

table thead, table tbody, table tfoot,
.table thead, .table tbody, .table tfoot {
  background: #000000 !important;
  color: #ffffff !important;
}

table tr, .table tr,
table tr:nth-child(odd), table tr:nth-child(even),
.table tr:nth-child(odd), .table tr:nth-child(even) {
  background: #000000 !important;
  color: #ffffff !important;
}

table th, table td,
.table th, .table td,
thead th, tbody td, tfoot td {
  background: #000000 !important;
  color: #ffffff !important;
  border: 1px solid #333333 !important;
  padding: 10px 12px !important;
  vertical-align: middle !important;
}

table th, .table th, thead th {
  background: #111111 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

table td *, table th *, .table td *, .table th * {
  color: #ffffff !important;
}

table a, .table a {
  color: #ff4b4b !important;
  font-weight: 700 !important;
}

table input, table select, table textarea,
.table input, .table select, .table textarea {
  background: #111111 !important;
  color: #ffffff !important;
  border: 1px solid #444444 !important;
}

table tr:hover, .table tr:hover {
  background: #171717 !important;
}

/* Remove white Bootstrap/common utility/card/table backgrounds everywhere */
.bg-white, .table-light, .table-striped, .table-hover, .list-group-item,
.card, .box, .panel, .widget, .analytics-card, .stat-card, .content-box,
.white, .light, .card-body, .modal-content {
  background: #000000 !important;
  color: #ffffff !important;
  border-color: #333333 !important;
}

.card *, .box *, .panel *, .widget *, .analytics-card *, .stat-card *, .content-box *,
.card-body *, .modal-content *, .list-group-item * {
  color: #ffffff !important;
}

/* Force common inline/utility table cell classes dark */
[style*="background: #fff"], [style*="background:#fff"],
[style*="background: white"], [style*="background:white"],
[style*="background-color: #fff"], [style*="background-color:#fff"],
[style*="background-color: white"], [style*="background-color:white"] {
  background: #000000 !important;
  color: #ffffff !important;
}

[style*="color: #000"], [style*="color:#000"],
[style*="color: black"], [style*="color:black"] {
  color: #ffffff !important;
}

/* Empty table messages */
.no-data, .empty, .empty-state {
  background: #000000 !important;
  color: #ffffff !important;
  border: 1px solid #333333 !important;
}

/* FINAL EXTRA NO WHITE TABLES */


/* FINAL OVERRIDE: no white boxes/tables anywhere */
html, body, main, .main { background:#050505 !important; color:#fff !important; }
.card, .box, .panel, .widget, .content-box, .quick-card, .statbox, .analytics-card, .stat-card, .table-wrap, .table-responsive, .responsive-table, form, fieldset {
  background:#111111 !important; color:#ffffff !important; border-color:#333333 !important;
}
.card *, .box *, .panel *, .widget *, .content-box *, .quick-card *, .statbox *, .analytics-card *, .stat-card *, form *, fieldset * { color:#ffffff !important; }
table, .table, table.table, .client-table, .admin-table, .plan-table, .analytics-table, .log-table {
  background:#000000 !important; color:#ffffff !important; border:1px solid #333333 !important; border-collapse:collapse !important;
}
thead, tbody, tfoot, tr, th, td,
table thead, table tbody, table tfoot, table tr, table th, table td,
.table thead, .table tbody, .table tfoot, .table tr, .table th, .table td,
.client-table thead, .client-table tbody, .client-table tr, .client-table th, .client-table td,
.admin-table thead, .admin-table tbody, .admin-table tr, .admin-table th, .admin-table td,
.plan-table thead, .plan-table tbody, .plan-table tr, .plan-table th, .plan-table td,
.analytics-table thead, .analytics-table tbody, .analytics-table tr, .analytics-table th, .analytics-table td,
.log-table thead, .log-table tbody, .log-table tr, .log-table th, .log-table td {
  background:#000000 !important; color:#ffffff !important; border-color:#333333 !important;
}
table th, .table th, thead th, .client-table th, .admin-table th, .plan-table th, .analytics-table th, .log-table th { background:#111827 !important; color:#ffffff !important; }
table td, .table td, tbody td, .client-table td, .admin-table td, .plan-table td, .analytics-table td, .log-table td { background:#050505 !important; color:#ffffff !important; }
table tr:nth-child(even) td, .table tr:nth-child(even) td, .client-table tr:nth-child(even) td, .admin-table tr:nth-child(even) td, .plan-table tr:nth-child(even) td { background:#111111 !important; color:#ffffff !important; }
table tr:hover td, .table tr:hover td, .client-table tr:hover td, .admin-table tr:hover td, .plan-table tr:hover td { background:#1a1a1a !important; color:#ffffff !important; }
table *, .table *, .client-table *, .admin-table *, .plan-table *, .analytics-table *, .log-table * { color:#ffffff !important; }
table a, .table a, .client-table a, .admin-table a, .plan-table a, .analytics-table a, .log-table a { color:#7dd3fc !important; }
input, select, textarea, .searchbox { background:#000000 !important; color:#ffffff !important; border:1px solid #444444 !important; }
input::placeholder, textarea::placeholder { color:#9ca3af !important; }
button, .btn { color:#ffffff !important; }
.badge.active,.badge.done{background:#14532d !important;color:#dcfce7 !important;}.badge.expired,.badge.new,.badge.off{background:#7f1d1d !important;color:#fee2e2 !important;}.badge.unlimited{background:#1e3a8a !important;color:#dbeafe !important;}.badge.soon{background:#713f12 !important;color:#fef3c7 !important;}
[style*="background:#fff"], [style*="background: #fff"], [style*="background:white"], [style*="background: white"], [style*="background-color:#fff"], [style*="background-color: #fff"], [style*="background-color:white"], [style*="background-color: white"] { background:#000000 !important; color:#ffffff !important; }
[style*="color:#000"], [style*="color: #000"], [style*="color:black"], [style*="color: black"], [style*="color:#555"], [style*="color: #555"], [style*="color:#6b7280"], [style*="color: #6b7280"] { color:#ffffff !important; }



/* FINAL GLOBAL TABLE + BOX CONTRAST FIX */
html,body{background:#050505 !important;color:#fff !important;}
.card,.box,.panel,.widget,.content-box,.quick-card,.statbox,.analytics-card,.stat-card,.table-wrap,.table-responsive,.responsive-table,form,fieldset{background:#111 !important;color:#fff !important;border-color:#333 !important;}
.card *,.box *,.panel *,.widget *,.content-box *,.quick-card *,.statbox *,.analytics-card *,.stat-card *{color:#fff !important;}
table,.table,.client-table,.admin-table,.plan-table,.analytics-table,.log-table{background:#000 !important;color:#fff !important;border:1px solid #333 !important;border-collapse:collapse !important;}
thead,tbody,tfoot,tr,th,td,table tr,table th,table td,.table tr,.table th,.table td,.client-table tr,.client-table th,.client-table td{background:#050505 !important;color:#fff !important;border-color:#333 !important;}
table th,.table th,thead th,.client-table th,.admin-table th,.plan-table th,.analytics-table th,.log-table th{background:#111827 !important;color:#fff !important;}
table td,.table td,tbody td,.client-table td,.admin-table td,.plan-table td,.analytics-table td,.log-table td{background:#050505 !important;color:#fff !important;}
table tr:nth-child(even) td,.table tr:nth-child(even) td,.client-table tr:nth-child(even) td{background:#111 !important;color:#fff !important;}
table tr:hover td,.table tr:hover td,.client-table tr:hover td{background:#1a1a1a !important;color:#fff !important;}
table a,.table a,.client-table a{color:#7dd3fc !important;}
input,select,textarea,.searchbox{background:#000 !important;color:#fff !important;border:1px solid #444 !important;}
input::placeholder,textarea::placeholder{color:#9ca3af !important;}
.badge.active,.status-pill.active{background:#16a34a !important;color:#fff !important;}
.badge.expired,.status-pill.expired{background:#dc2626 !important;color:#fff !important;}
.badge.unlimited,.status-pill.unlimited{background:#2563eb !important;color:#fff !important;}
.badge.soon,.status-pill.soon{background:#d97706 !important;color:#fff !important;}



/* =====================================================
   FINAL DARK FIX - All pages, all boxes, all tables
   Black background + white writing, no white panels.
   ===================================================== */
:root{color-scheme:dark;--bg:#050505;--panel:#111;--panel2:#151515;--row:#0b0b0b;--row2:#111;--line:#333;--text:#fff;--muted:#d1d5db;--red:#e50914;}
html,body{background:var(--bg)!important;color:var(--text)!important;}
body *, body *::before, body *::after{box-sizing:border-box;}
.main,.content,.page,.wrap,main,section{color:var(--text)!important;}
.card,.box,.panel,.widget,.content-box,.quick-card,.statbox,.stat-card,.analytics-card,.form-card,.login-card,.account-box,.mini,.status-box,.summary-box,fieldset,form:not(.inline):not(.actions form){background:var(--panel)!important;color:var(--text)!important;border-color:var(--line)!important;}
.card *,.box *,.panel *,.widget *,.content-box *,.quick-card *,.statbox *,.stat-card *,.analytics-card *,.form-card *,.login-card *,.account-box *,.mini *,.status-box *,.summary-box *,fieldset *,form *{color:inherit;}
p,span,div,label,small,strong,b,h1,h2,h3,h4,h5,h6,li{color:inherit;}
.muted,small,.help,.hint,.client-slug{color:var(--muted)!important;}
input,select,textarea,.searchbox{background:#000!important;color:#fff!important;border:1px solid #444!important;box-shadow:none!important;}
input::placeholder,textarea::placeholder{color:#9ca3af!important;opacity:1!important;}
select option{background:#000!important;color:#fff!important;}
button,.btn,input[type=submit]{color:#fff!important;border-color:#333!important;}
a{color:#7dd3fc!important;}
/* tables */
.table-scroll,.table-wrap,.responsive-table{width:100%!important;overflow-x:auto!important;background:#050505!important;border:1px solid var(--line)!important;border-radius:14px!important;}
table,.table,.admin-table,.client-table,.plan-table,.analytics-table,.log-table{width:100%!important;border-collapse:collapse!important;border-spacing:0!important;background:#050505!important;color:#fff!important;border:1px solid var(--line)!important;}
thead,tbody,tr{background:#050505!important;color:#fff!important;}
th,td,table th,table td,.table th,.table td,.admin-table th,.admin-table td,.client-table th,.client-table td,.plan-table th,.plan-table td,.analytics-table th,.analytics-table td,.log-table th,.log-table td{background:#0b0b0b!important;color:#fff!important;border:1px solid var(--line)!important;border-bottom:1px solid var(--line)!important;padding:11px!important;text-align:left!important;vertical-align:top!important;}
th,table th,.table th,.admin-table th,.client-table th,.plan-table th,.analytics-table th,.log-table th{background:#111827!important;color:#fff!important;font-weight:800!important;}
tr:nth-child(even) td,table tr:nth-child(even) td,.table tr:nth-child(even) td,.admin-table tr:nth-child(even) td,.client-table tr:nth-child(even) td,.plan-table tr:nth-child(even) td,.analytics-table tr:nth-child(even) td,.log-table tr:nth-child(even) td{background:#111!important;color:#fff!important;}
tr:hover td,table tr:hover td,.table tr:hover td,.admin-table tr:hover td,.client-table tr:hover td,.plan-table tr:hover td,.analytics-table tr:hover td,.log-table tr:hover td{background:#1a1a1a!important;color:#fff!important;}
table *, .table *, .admin-table *, .client-table *, .plan-table *, .analytics-table *, .log-table *{color:#fff!important;}
table a,.table a,.admin-table a,.client-table a,.plan-table a,.analytics-table a,.log-table a{color:#7dd3fc!important;}
td[colspan],.empty-cell{color:#facc15!important;text-align:center!important;font-weight:800!important;}
/* status badges */
.badge,.status-pill,.status-active,.status-expired,.status-disabled{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;border-radius:999px!important;padding:6px 12px!important;font-weight:900!important;font-size:12px!important;color:#fff!important;border:1px solid rgba(255,255,255,.22)!important;min-width:62px!important;}
.badge.active,.status-pill.active,.status-active,.badge.done{background:#16a34a!important;color:#fff!important;border-color:#22c55e!important;}
.badge.expired,.status-pill.expired,.status-expired,.badge.off,.badge.new{background:#dc2626!important;color:#fff!important;border-color:#ef4444!important;}
.badge.disabled,.status-disabled{background:#4b5563!important;color:#fff!important;border-color:#9ca3af!important;}
.badge.unlimited,.status-pill.unlimited{background:#2563eb!important;color:#fff!important;border-color:#60a5fa!important;}
.badge.soon,.status-pill.soon{background:#d97706!important;color:#fff!important;border-color:#fbbf24!important;}
/* kill any white inline classes/styles */
.bg-white,.table-light,.card.bg-white,.box.bg-white,.panel.bg-white{background:#111!important;color:#fff!important;}
[style*="background:#fff"],[style*="background: #fff"],[style*="background:white"],[style*="background: white"],[style*="background-color:#fff"],[style*="background-color: #fff"],[style*="background-color:white"],[style*="background-color: white"],[style*="background:#f"],[style*="background: #f"]{background:#111!important;color:#fff!important;}
[style*="color:#000"],[style*="color: #000"],[style*="color:black"],[style*="color: black"],[style*="color:#111"],[style*="color: #111"],[style*="color:#555"],[style*="color: #555"],[style*="color:#6b7280"],[style*="color: #6b7280"]{color:#fff!important;}
.copy-btn{background:#262626!important;color:#fff!important;border:1px solid #444!important;}
.actions{color:#fff!important;}
.actions form{background:transparent!important;border:0!important;padding:0!important;margin:0!important;}
@media(max-width:760px){table,.client-table,.admin-table,.plan-table,.analytics-table,.log-table{min-width:720px!important}.table-scroll,.table-wrap{overflow-x:auto!important}}
