/* SPARK platform page extras (Bootstrap theme compatible) */
.spark-profile-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
    margin-top: 120px;
}
.spark-profile-card .author-thumb img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid #1422b8;
    object-fit: cover;
}
.spark-vip-badge {
    display: inline-block;
    background: rgba(20, 34, 184, 0.15);
    color: #7da0ff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(20, 34, 184, 0.35);
}
.spark-banner-slider .owl-dots {
    margin-top: 12px;
}
.spark-banner-slider .owl-dot span {
    background: rgba(255, 255, 255, 0.35);
}
.spark-banner-slider .owl-dot.active span {
    background: #ffc107;
}
.spark-banner-slider .item {
    margin-bottom: 0;
}
.spark-promo-banner {
    background: linear-gradient(135deg, #1422b8 0%, #2d3fd4 100%);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    min-height: 160px;
}
.spark-promo-banner .badge-event {
    background: #ffc107;
    color: #1a1a2e;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}
.spark-wallet-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
}
.spark-wallet-box .wallet-amount {
    font-size: 36px;
    font-weight: 800;
    color: #00d395;
    line-height: 1.2;
}
.spark-quick-action {
    display: block;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s;
    margin-bottom: 20px;
}
.spark-quick-action:hover {
    transform: translateY(-3px);
    border-color: #1422b8;
    text-decoration: none;
}
.spark-quick-action .icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 20px;
}
.spark-quick-action .icon-wrap.green { background: rgba(0, 211, 149, 0.12); color: #00d395; }
.spark-quick-action .icon-wrap.red { background: rgba(255, 82, 82, 0.12); color: #ff5252; }
.spark-quick-action .icon-wrap.amber { background: rgba(255, 193, 7, 0.12); color: #ffc107; }
.spark-quick-action .icon-wrap.blue { background: rgba(20, 34, 184, 0.15); color: #7da0ff; }
.spark-quick-action span { color: #ccc; font-weight: 600; font-size: 14px; }
.spark-vip-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.spark-vip-card.active-vip { border-color: rgba(0, 211, 149, 0.4); }
.spark-vip-card.locked { opacity: 0.7; }
.spark-live-feed {
    max-height: 180px;
    overflow: hidden;
    position: relative;
}
.spark-live-feed-inner {
    animation: sparkScrollUp 12s linear infinite;
}
.spark-live-feed:hover .spark-live-feed-inner { animation-play-state: paused; }
@keyframes sparkScrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}
.spark-feed-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #ccc;
}
.spark-feed-item .earn { color: #00d395; font-weight: 700; }
.spark-task-ring {
    width: 160px;
    height: 160px;
    border: 4px dashed rgba(20, 34, 184, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.spark-task-ring .count { font-size: 28px; font-weight: 800; color: #7da0ff; display: block; }
.spark-task-btn {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1422b8, #2d3fd4);
    border: 8px solid rgba(255, 255, 255, 0.05);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 10px 40px rgba(20, 34, 184, 0.4);
}
.spark-task-btn:hover { transform: scale(1.03); }
.spark-task-btn i { font-size: 48px; margin-bottom: 10px; opacity: 0.8; }
.spark-task-btn span { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.spark-order-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    height: calc(100% - 20px);
}
.spark-order-card.combo-lock { border-color: rgba(255, 193, 7, 0.4); }
.spark-status {
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}
.spark-status.completed { background: rgba(0, 211, 149, 0.12); color: #00d395; border: 1px solid rgba(0, 211, 149, 0.3); }
.spark-status.pending { background: rgba(255, 193, 7, 0.12); color: #ffc107; border: 1px solid rgba(255, 193, 7, 0.3); }
.spark-tab-nav .nav-link {
    color: #aaa;
    font-weight: 600;
    font-size: 13px;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    padding: 10px 20px;
}
.spark-tab-nav .nav-link.active {
    color: #7da0ff;
    border-bottom-color: #1422b8;
    background: transparent;
}
.spark-qr-box {
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    display: inline-block;
    margin: 15px 0;
}
.spark-qr-box img { width: 160px; height: 160px; }
.spark-amount-tags .btn {
    margin: 4px;
    min-width: 70px;
    font-weight: 700;
    font-size: 13px;
}
.spark-upload-box {
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: border-color 0.3s;
}
.spark-upload-box:hover { border-color: #1422b8; }
.spark-upload-box {
    display: block;
    margin-bottom: 0;
}
.spark-upload-box input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}
.spark-upload-box .slip-preview-img {
    display: none;
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    margin: 0 auto;
}
.spark-upload-box.has-file .slip-placeholder { display: none; }
.spark-upload-box.has-file .slip-preview-img { display: block; }
.spark-support-card {
    display: block;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s;
    text-decoration: none;
}
.spark-support-card:hover {
    border-color: #1422b8;
    text-decoration: none;
    transform: translateY(-2px);
}
.spark-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.spark-modal-overlay.show { display: flex; }
.spark-modal-box {
    background: #1a1a2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    max-width: 440px;
    width: 100%;
}
.spark-modal-box.danger { border-color: rgba(255, 82, 82, 0.4); }
.spark-setting-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
}
.spark-setting-item:last-child { border-bottom: none; }
.spark-setting-item:hover { background: rgba(255, 255, 255, 0.02); }
.spark-login-tabs .nav-link {
    color: #aaa;
    font-weight: 600;
    border-radius: 8px;
}
.spark-login-tabs .nav-link.active {
    background: #1422b8;
    color: #fff;
}

/* =========================================================
   Responsive sidebar fix
   - Sidebar stays visible on tablet (>=768px) and larger.
   - Only on phones (<768px) it collapses to the off-canvas
     mobile menu opened by the hamburger.
   This overrides the old rule in main.css that hid the
   sidebar below 1400px (which is why it only appeared when
   zooming out on a normal laptop).
   ========================================================= */
@media (min-width: 768px) {
    .dashboard-section .side-header {
        width: 240px;
        max-width: 240px;
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }
    .dashboard-section .dasboard-body {
        width: calc(100% - 240px);
        margin-left: auto;
    }
    /* No hamburger / mobile top-bar once the sidebar is docked */
    .dashboard-section .side-header .cross-header-bar,
    .dashboard-section .mobile-header {
        display: none !important;
    }
}

@media (max-width: 767.98px) {
    .dashboard-section .side-header {
        width: 100%;
        max-width: 240px;
        -webkit-transform: translateX(-100%);
        -ms-transform: translateX(-100%);
        transform: translateX(-100%);
    }
    .dashboard-section .side-header.active {
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }
    .dashboard-section .dasboard-body {
        width: 100%;
    }
}

/* =========================================================
   Home quick-access grid (T&C, Event, Withdraw, ... )
   ========================================================= */
.spark-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.spark-quick-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 18px 8px;
    transition: all 0.3s;
    text-decoration: none;
}
.spark-quick-tile:hover {
    transform: translateY(-3px);
    border-color: #1422b8;
    text-decoration: none;
}
.spark-quick-tile .tile-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    margin-bottom: 10px;
}
.spark-quick-tile span {
    color: #cfd4e6;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.25;
    overflow-wrap: anywhere;
    max-width: 100%;
}
@media (max-width: 575.98px) {
    .spark-quick-grid { gap: 8px; }
    .spark-quick-tile { padding: 12px 4px; }
    .spark-quick-tile .tile-icon {
        width: 38px;
        height: 38px;
        font-size: 15px;
        margin-bottom: 6px;
    }
    .spark-quick-tile span { font-size: 10px; }
}
.tile-blue   { background: linear-gradient(135deg, #2f6bff, #1422b8); }
.tile-green  { background: linear-gradient(135deg, #16c784, #0e9c66); }
.tile-purple { background: linear-gradient(135deg, #9b5cff, #6d28d9); }
.tile-orange { background: linear-gradient(135deg, #ff8a3d, #f2670a); }
.tile-cyan   { background: linear-gradient(135deg, #29c6e6, #1594c9); }
.tile-teal   { background: linear-gradient(135deg, #17b8a6, #0e8a7d); }
.tile-pink   { background: linear-gradient(135deg, #ff5c9d, #e01e73); }
.tile-indigo { background: linear-gradient(135deg, #6674ff, #3b45c9); }

/* =========================================================
   VIP levels list (home + vip page)
   ========================================================= */
.spark-vip-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 12px;
}
.spark-vip-row .vip-left { display: flex; align-items: center; min-width: 0; }
.spark-vip-row .vip-left h6,
.spark-vip-row .vip-left small { overflow-wrap: anywhere; }

/* Compact "Upgrade now" buttons in the VIP list / cards
   (.custom-button is a big 50px pill by default and wraps on mobile) */
.spark-vip-row .custom-button,
.spark-vip-card .custom-button {
    line-height: 34px;
    padding: 0 16px;
    font-size: 13px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}
.vip-badge-current { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 575.98px) {
    .spark-vip-row { padding: 12px 14px; }
    .spark-vip-row .custom-button,
    .spark-vip-card .custom-button {
        line-height: 28px;
        padding: 0 12px;
        font-size: 12px;
    }
    .spark-vip-row .vip-medal {
        width: 38px;
        height: 38px;
        font-size: 16px;
        margin-right: 10px;
    }
}
.spark-vip-row .vip-medal {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    margin-right: 14px;
    /* background: linear-gradient(135deg, #ffb300, #ff7a00); */
}
.spark-vip-row h6 { margin: 0; color: #fff; font-weight: 700; }
.spark-vip-row small { color: #9aa2be; }
.spark-vip-row.current { border-color: rgba(0, 211, 149, 0.45); }
.vip-badge-current {
    background: rgba(0, 211, 149, 0.15);
    color: #00d395;
    border: 1px solid rgba(0, 211, 149, 0.35);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
}

/* =========================================================
   Invite friends card
   ========================================================= */
.spark-invite-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    background: linear-gradient(135deg, #1422b8 0%, #2d3fd4 100%);
    border-radius: 14px;
    padding: 22px 24px;
}
.spark-invite-card .invite-left { display: flex; align-items: center; }
.spark-invite-card .invite-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffb300, #ff7a00);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    margin-right: 16px;
}
.spark-invite-card h5 { margin: 0; color: #fff; font-weight: 700; }
.spark-invite-card p { margin: 0; color: rgba(255, 255, 255, 0.7); font-size: 13px; }

/* =========================================================
   Dark theme text + surface fix (readability)
   The base template ships a LIGHT dashboard (dashboard-bg #fafbff,
   create_wrapper #fff, dark navy headings) but the SPARK components
   and white text were written for a DARK background — so a lot of
   text rendered white-on-white (invisible). This makes the shell
   genuinely dark so everything is readable.
   ========================================================= */
.main--body.dashboard-bg,
.dashboard-bg {
    background: #0d1330;
}
.dashboard-section {
    color: #c7cee6;
}
.dashboard-section h1,
.dashboard-section h2,
.dashboard-section h3,
.dashboard-section h4,
.dashboard-section h5,
.dashboard-section h6,
.dashboard-section .title,
.dashboard-section .subtitle {
    color: #ffffff;
}
.dashboard-section h1 a,
.dashboard-section h2 a,
.dashboard-section h3 a,
.dashboard-section h4 a,
.dashboard-section h5 a,
.dashboard-section h6 a {
    color: #ffffff;
}
/* Slightly brighter muted text so it reads on dark */
.dashboard-section .text-muted { color: #97a0bd !important; }

/* Cards that were solid white in the light theme -> dark surfaces */
.dashboard-section .create_wrapper,
.dashboard-section .notification-check-area {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    color: #c7cee6;
    max-width: 100%;
}

/* Footer on dark */
.dashboard-section .dashboard-footer { border-top-color: rgba(255, 255, 255, 0.08); }
.dashboard-section .dashboard-footer .left,
.dashboard-section .dashboard-footer .right ul li a { color: #97a0bd; }
.dashboard-section .dashboard-footer .right ul li a:hover { color: #ffffff; }

/* Form fields readable on dark */
.dashboard-section input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.dashboard-section textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-radius: 10px;
}
.dashboard-section input::placeholder,
.dashboard-section textarea::placeholder { color: #8b93ad; }
.dashboard-section .create_form_group label { color: #c7cee6; }

/* Legacy light cards from the base template -> dark surfaces
   (used on some secondary pages such as notification/operations) */
.dashboard-section .total-earning-item,
.dashboard-section .total-content {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #c7cee6;
}
.dashboard-section .dashboard-item .dashboard-inner {
    background: linear-gradient(135deg, #1422b8, #2d3fd4);
    color: #ffffff;
}

/* =========================================================
   Login / Register form layout fix
   The base template styles EVERY button/input inside
   .account-form as a big pink field, which broke the
   password eye-toggle (giant pink box) and the checkbox
   (60px square). These overrides restore a normal layout.
   ========================================================= */
.account-form .form-group .position-relative input {
    padding-right: 55px;            /* leave room for the eye icon */
}
.account-form .form-group .pass-toggle {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    box-shadow: none;
    border: none;
    width: auto;
    min-width: 0;
    height: auto;
    padding: 6px 12px;
    margin: 0;
    color: #7a8bbf;
    font-size: 16px;
    border-radius: 0;
    cursor: pointer;
    z-index: 3;
}
.account-form .form-group .pass-toggle:hover { color: #1422b8; }

.account-form .sign-in-recovery {
    align-items: center;
}
.account-form .sign-in-recovery label {
    display: inline-flex;
    align-items: center;
    font-size: 15px;
    font-weight: 500;
    color: #33406a;
}
.account-form .sign-in-recovery input[type="checkbox"] {
    width: 16px;
    height: 16px;
    min-height: 0;
    padding: 0;
    margin: 0 8px 0 0;
    background: none;
    border: 1px solid #b9c0d6;
    border-radius: 3px;
    vertical-align: middle;
    -webkit-appearance: checkbox;
    -moz-appearance: checkbox;
    appearance: checkbox;
    accent-color: #1422b8;
}
/* Make register selects match the input height */
.account-form select.form-control {
    height: 60px;
    background-color: #f6f6fa;
    border: 1px solid rgba(59, 54, 140, 0.1);
    border-radius: 5px;
    color: #33406a;
}

/* =========================================================
   Home hero image slider
   ========================================================= */
.spark-hero-slider { margin-bottom: 10px; }
.spark-hero-slide {
    position: relative;
    height: 240px;
    border-radius: 18px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}
.spark-hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(13, 19, 48, 0.92) 0%, rgba(13, 19, 48, 0.55) 55%, rgba(20, 34, 184, 0.25) 100%);
}
.spark-hero-caption {
    position: relative;
    z-index: 2;
    padding: 0 32px;
    max-width: 560px;
}
.spark-hero-caption .hero-eyebrow {
    display: inline-block;
    background: rgba(255, 193, 7, 0.9);
    color: #1a1a2e;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.spark-hero-caption .hero-heading {
    color: #fff;
    font-weight: 800;
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 8px;
}
.spark-hero-caption .hero-sub { color: rgba(255, 255, 255, 0.8); margin-bottom: 0; font-size: 14px; }
.spark-hero-slider .owl-dots { text-align: center; margin-top: 10px; }
.spark-hero-slider .owl-dot span { background: rgba(255, 255, 255, 0.4); }
.spark-hero-slider .owl-dot.active span { background: #ffc107; }
@media (max-width: 575.98px) {
    .spark-hero-slide { height: 190px; }
    .spark-hero-caption { padding: 0 20px; }
    .spark-hero-caption .hero-heading { font-size: 22px; }
}

/* =========================================================
   Mobile sticky bottom navigation (Home / Starting / Records)
   Injected by spark-app.js; only shown on phones (<768px).
   ========================================================= */
.spark-bottom-nav { display: none; }
@media (max-width: 767.98px) {
    .spark-bottom-nav {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9990;
        background: #121a3d;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
        justify-content: space-around;
        align-items: flex-end;
    }
    .dashboard-section .dasboard-body { padding-bottom: 78px; }
    .spark-bottom-nav a {
        flex: 1;
        text-align: center;
        color: #8f98b8;
        font-size: 11px;
        font-weight: 600;
        text-decoration: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }
    .spark-bottom-nav a i { font-size: 18px; }
    .spark-bottom-nav a.active { color: #ff4d79; }
    .spark-bottom-nav a.center { position: relative; }
    .spark-bottom-nav a.center .center-btn {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background: linear-gradient(135deg, #ff4d79, #e01e63);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        margin-top: -28px;
        box-shadow: 0 6px 18px rgba(224, 30, 99, 0.45);
        border: 4px solid #0d1330;
    }
}

/* =========================================================
   Order / task tabs + task cards
   ========================================================= */
.spark-task-tabs {
    display: grid;
    grid-template-columns: 1fr;          /* mobile: stacked (1 per row) */
    gap: 8px;
    margin-bottom: 20px;
}
@media (min-width: 576px) {
    .spark-task-tabs { grid-template-columns: 1fr 1fr; }   /* tablet: 2 side by side */
}
@media (min-width: 992px) {
    .spark-task-tabs { grid-template-columns: repeat(4, 1fr); } /* laptop: 4 in a line */
}
.spark-task-tabs .task-tab {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #c7cee6;
    border-radius: 30px;
    padding: 10px 12px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}
.spark-task-tabs .task-tab .badge-count {
    display: inline-block;
    min-width: 20px;
    padding: 1px 6px;
    margin-left: 6px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
}
.spark-task-tabs .task-tab.active {
    background: linear-gradient(135deg, #1422b8, #2d3fd4);
    border-color: transparent;
    color: #fff;
}
.spark-task-tabs .task-tab.active .badge-count { background: rgba(255, 255, 255, 0.25); }
.spark-task-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 12px;
}
.spark-task-row .task-info { display: flex; align-items: center; min-width: 0; }
.spark-task-row .task-thumb {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(20, 34, 184, 0.18);
    color: #7da0ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-right: 14px;
    flex-shrink: 0;
}
.spark-task-row .task-name { color: #fff; font-weight: 700; margin: 0; font-size: 14px; }
.spark-task-row .task-merchant { color: #97a0bd; font-size: 12px; }
.spark-task-row .task-right { text-align: right; }
.spark-task-row .task-value { color: #c7cee6; font-size: 12px; }
.spark-task-row .task-commission { color: #00d395; font-weight: 700; font-size: 13px; display: block; }
.task-state-pill {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}
.task-state-pill.completed { background: rgba(0, 211, 149, 0.14); color: #00d395; }
.task-state-pill.pending { background: rgba(255, 193, 7, 0.14); color: #ffc107; }
.task-state-pill.uncompleted { background: rgba(255, 255, 255, 0.08); color: #c7cee6; }
.spark-empty {
    text-align: center;
    padding: 40px 20px;
    color: #97a0bd;
}
.spark-empty i { font-size: 40px; opacity: 0.4; display: block; margin-bottom: 12px; }
.spark-stat-tile {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    margin-bottom: 20px;
}
.spark-stat-tile .stat-num { font-size: 30px; font-weight: 800; line-height: 1; }
.spark-stat-tile .stat-label { color: #97a0bd; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
