:root {
            --primary-blue: #0b2149;
            --navy-dark: #071630;
            --navy-sidebar: #091c3e;
            --accent-pink: #ed147d;
            --accent-orange: #ff6a00;
            --accent-green: #0ca872;
            --accent-purple: #7026db;
            --accent-cyan: #0099ff;
            --text-dark: #0f2444;
            --text-muted: #556987;
            --border-soft: rgba(16, 52, 120, 0.08);
            --shadow-soft: 0 4px 18px rgba(16, 52, 120, 0.06);
            --shadow-btn: 0 4px 14px rgba(237, 20, 125, 0.3);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            -webkit-tap-highlight-color: transparent;
        }

        html, body {
            width: 100%;
            max-width: 100%;
            font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: #eef4fb;
            color: var(--text-dark);
            min-height: 100vh;
            overflow-x: hidden;
        }

        /* Outer Web App Layout */
        .dashboard-app-layout {
            display: flex;
            width: 100%;
            min-height: 100vh;
            background: #f4f8fd;
            position: relative;
        }
        .settings-icon {
    width: 50px;
    height: 24px;
    object-fit: contain;
    display: block;
}

        /* ================= SIDEBAR ================= */
        .slide-bar-drawer {
            width: 255px;
            min-width: 255px;
            background: var(--navy-sidebar);
            display: flex;
            flex-direction: column;
            overflow-y: auto;
            border-right: 1px solid rgba(255, 255, 255, 0.07);
            box-shadow: 4px 0 20px rgba(7, 22, 48, 0.15);
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .slide-bar-header {
            padding: 22px 18px 18px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .slide-user-profile-wrap {
            display: flex;
            align-items: center;
            gap: 12px;
            min-width: 0;
        }

        .slide-user-avatar {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: linear-gradient(135deg, #8327db 0%, #ff2d60 100%);
            color: #ffffff;
            font-size: 16px;
            font-weight: 800;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
            flex-shrink: 0;
        }

        .slide-user-info {
            display: flex;
            flex-direction: column;
            min-width: 0;
        }

        .slide-user-name {
            font-size: 13.5px;
            font-weight: 800;
            color: #ffffff;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .slide-user-id {
            font-size: 10.5px;
            color: #8c9eb5;
            font-weight: 600;
            margin-top: 1px;
        }

        .slide-close-btn {
            background: rgba(255, 255, 255, 0.08);
            border: none;
            color: #ffffff;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 15px;
            transition: background 0.15s ease;
        }

        .slide-close-btn:hover {
            background: rgba(255, 255, 255, 0.18);
        }

        .slide-nav-menu {
            display: flex;
            flex-direction: column;
            padding: 14px 12px;
            gap: 4px;
            flex: 1;
        }

        .slide-nav-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 11px 14px;
            border-radius: 12px;
            color: #b0c0d6;
            text-decoration: none;
            font-size: 13px;
            font-weight: 700;
            transition: all 0.15s ease;
            cursor: pointer;
            border: none;
            background: none;
            width: 100%;
            text-align: left;
        }

        .slide-nav-item svg {
            width: 19px;
            height: 19px;
            flex-shrink: 0;
        }

        .slide-nav-item:hover {
            color: #ffffff;
            background: rgba(255, 255, 255, 0.06);
        }

        .slide-nav-item.active {
            background: linear-gradient(90deg, #ff5722 0%, #ff8a00 100%);
            color: #ffffff;
            box-shadow: 0 4px 12px rgba(255, 87, 34, 0.35);
        }

        .slide-nav-item.active svg {
            color: #ffffff;
        }

        /* Collapsible Privacy Nav Group */
        .slide-nav-group {
            display: flex;
            flex-direction: column;
            width: 100%;
        }

        .slide-nav-toggle {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            cursor: pointer;
        }

        .slide-collapse-icon {
            margin-left: auto;
            font-size: 15px;
            font-weight: 800;
            line-height: 1;
            width: 22px;
            height: 22px;
            border-radius: 6px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.08);
            color: #b0c0d6;
            transition: all 0.2s ease;
            user-select: none;
        }

        .slide-nav-toggle:hover .slide-collapse-icon {
            background: rgba(255, 255, 255, 0.18);
            color: #ffffff;
        }

        .slide-nav-group.open .slide-collapse-icon {
            background: rgba(255, 255, 255, 0.22);
            color: #ffffff;
        }

        .slide-subnav-menu {
            display: none;
            flex-direction: column;
            gap: 2px;
            padding: 4px 0 6px 14px;
            margin: 2px 0 4px 18px;
            border-left: 2px solid rgba(255, 255, 255, 0.12);
            transition: all 0.2s ease;
        }

        .slide-nav-group.open .slide-subnav-menu {
            display: flex;
        }

        .slide-subnav-item {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 7px 10px;
            border-radius: 8px;
            color: #8fa0ba;
            text-decoration: none;
            font-size: 12px;
            font-weight: 600;
            transition: all 0.15s ease;
            text-transform: capitalize;
        }

        .slide-subnav-item:hover {
            color: #ffffff;
            background: rgba(255, 255, 255, 0.08);
            transform: translateX(2px);
        }

        .slide-subnav-item.active {
            color: #ff8a00;
            font-weight: 700;
            background: rgba(255, 138, 0, 0.15);
        }

        .subnav-dot {
            font-size: 13px;
            color: #0088cc;
            line-height: 1;
        }

        .slide-subnav-item.active .subnav-dot {
            color: #ff8a00;
        }

        .slide-nav-item.logout {
            margin-top: auto;
            color: #ff5b5b;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            padding-top: 14px;
            border-radius: 0;
        }

        .slide-nav-item.logout:hover {
            background: rgba(255, 91, 91, 0.12);
            color: #ff7878;
        }

        .slide-bar-backdrop {
            position: fixed;
            inset: 0;
            background: rgba(4, 15, 36, 0.6);
            backdrop-filter: blur(3px);
            z-index: 99998;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }

        .slide-bar-backdrop.open {
            opacity: 1;
            pointer-events: auto;
        }

        /* ================= MAIN CONTENT PANEL ================= */
        .main-content-panel {
            flex: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
            background: #f8fbfe;
            min-height: 100vh;
        }

        /* Top Header */
        .dashboard-header {
            position: sticky;
            top: 0;
            z-index: 990;
            background: #ffffff;
            padding: 12px 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid rgba(16, 52, 120, 0.08);
            box-shadow: 0 2px 10px rgba(16, 52, 120, 0.04);
            width: 100%;
        }

        .header-brand-wrap {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            min-width: 0;
        }

        .header-logo-icon {
            width: 40px;
            height: 40px;
            border-radius: 11px;
            object-fit: cover;
            box-shadow: 0 2px 8px rgba(16, 52, 120, 0.15);
            flex-shrink: 0;
        }

        .brand-text-block {
            display: flex;
            flex-direction: column;
            min-width: 0;
        }

        .brand-logo-title {
            font-size: 16.5px;
            font-weight: 800;
            letter-spacing: -0.3px;
            line-height: 1.15;
            white-space: nowrap;
        }

        .brand-logo-title .text-digital { color: #0b2149; }
        .brand-logo-title .text-scratch { color: #ed147d; }
        .brand-logo-title .text-cards { color: #ed147d; }
        .brand-logo-title .text-design { color: #0b2149; }

        .brand-tagline-row {
            font-size: 9.5px;
            font-weight: 800;
            display: flex;
            gap: 5px;
            margin-top: 1px;
            white-space: nowrap;
        }

        .tag-c { color: #ed147d; }
        .tag-e { color: #0d5dd6; }
        .tag-r { color: #ff7e1d; }
        .tag-g { color: #0ba872; }

        .header-actions-right {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-shrink: 0;
        }

        .notification-btn {
            position: relative;
            background: none;
            border: none;
            cursor: pointer;
            padding: 5px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #0b2149;
            transition: transform 0.15s ease;
        }

        .notification-btn:active {
            transform: scale(0.92);
        }

        .notification-btn svg {
            width: 25px;
            height: 25px;
        }

        .notification-badge {
            position: absolute;
            top: 1px;
            right: 1px;
            background: #ed147d;
            color: #ffffff;
            font-size: 10px;
            font-weight: 800;
            width: 17px;
            height: 17px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid #ffffff;
            box-shadow: 0 2px 5px rgba(237, 20, 125, 0.4);
        }

        .header-profile-btn {
            display: flex;
            align-items: center;
            gap: 5px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 2px;
            border-radius: 999px;
            transition: opacity 0.15s ease;
        }

        .header-profile-btn:active {
            opacity: 0.85;
        }

        .header-profile-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: linear-gradient(135deg, #8327db 0%, #6012b8 100%);
            color: #ffffff;
            font-size: 13.5px;
            font-weight: 800;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 8px rgba(131, 39, 219, 0.35);
        }

        .header-profile-chevron {
            color: #0b2149;
            width: 14px;
            height: 14px;
        }

        /* Dashboard Content Body */
        .dashboard-content-body {
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 16px;
            padding: 16px 20px 30px;
            box-sizing: border-box;
        }

        /* ================= WELCOME BANNER ================= */
        .welcome-card-banner {
            padding: 18px 24px;
            background: linear-gradient(135deg, #f0f6ff 0%, #ffffff 42%, #eaf2fd 100%) !important;
            border-radius: 20px;
            border: 1px solid rgba(16, 52, 120, 0.12) !important;
            box-shadow: 0 4px 18px rgba(8, 26, 58, 0.05);
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            position: relative;
            overflow: hidden;
            width: 100%;
            box-sizing: border-box;
        }

        .welcome-left-col {
            display: flex;
            align-items: center;
            gap: 18px;
            flex: 1;
            min-width: 0;
        }

        .merchant-round-badge {
            width: 76px;
            height: 76px;
            border-radius: 50%;
            background: #ffffff;
            border: 3.5px solid #081a3a !important;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 14px rgba(8, 26, 58, 0.12);
            flex-shrink: 0;
            padding: 4px;
            text-align: center;
            position: relative;
            cursor: pointer;
            overflow: visible;
            box-sizing: border-box;
        }

        .welcome-company-logo-img {
            width: 110%;
            height: 110%;
            border-radius: 50%;
            object-fit: cover;
            display: block;
        }

        .welcome-company-fallback {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
        }

        .btn-change-logo-badge {
            position: absolute;
            bottom: -2px;
            right: -2px;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: linear-gradient(135deg, #0084ff 0%, #0055d4 100%);
            color: #ffffff;
            border: 2px solid #ffffff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 11px;
            cursor: pointer;
            box-shadow: 0 2px 8px rgba(0,0,0,0.25);
            transition: transform 0.2s, background 0.2s;
            z-index: 5;
        }

        .btn-change-logo-badge:hover {
            transform: scale(1.15);
            background: linear-gradient(135deg, #f95722 0%, #ff7a00 100%);
        }

        .merchant-badge-icon {
            width: 22px;
            height: 22px;
            color: #081a3a;
            margin-bottom: 2px;
        }

        .merchant-badge-label {
            font-size: 7px;
            font-weight: 900;
            line-height: 1.05;
            color: #081a3a;
            letter-spacing: -0.2px;
            text-transform: uppercase;
        }

        .welcome-text-col {
            display: flex;
            flex-direction: column;
            min-width: 0;
            gap: 2px;
        }

        .welcome-lead {
            font-size: 15px;
            font-weight: 700;
            color: #081a3a;
            line-height: 1.2;
            letter-spacing: -0.2px;
        }

        .welcome-merchant-title {
            font-size: 26px;
            font-weight: 900;
            color: #081a3a;
            letter-spacing: -0.4px;
            line-height: 1.2;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .welcome-subtext {
            font-size: 13.5px;
            color: #1e3a66;
            font-weight: 500;
            line-height: 1.35;
            margin-top: 1px;
        }

        .welcome-subtext span.welcome-scratch-highlight {
            display: inline;
            font-weight: 800;
        }

        .welcome-subtext .word-digital {
            color: #0084ff !important;
            font-weight: 800 !important;
            display: inline;
        }

        .welcome-subtext .word-scratch {
            color: #f95722 !important;
            font-weight: 800 !important;
            display: inline;
        }

        .welcome-subtext .word-cards {
            color: #0ca872 !important;
            font-weight: 800 !important;
            display: inline;
        }

        .welcome-right-col {
            display: flex;
            align-items: center;
            flex-shrink: 0;
            position: relative;
        }

        .welcome-tagline-pill {
            display: none !important;
        }

        .welcome-bell-btn {
            position: relative;
            background: #ffffff;
            border: 1.5px solid #dce5f2;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #081a3a;
            cursor: pointer;
            box-shadow: 0 3px 12px rgba(8, 26, 58, 0.08);
            transition: all 0.2s ease;
            flex-shrink: 0;
        }

        .welcome-bell-btn:hover {
            background: #f8fafc;
            transform: scale(1.06);
            box-shadow: 0 4px 16px rgba(8, 26, 58, 0.14);
        }

        .welcome-bell-btn svg {
            width: 22px;
            height: 22px;
            fill: #081a3a;
        }

        .welcome-bell-badge {
            position: absolute;
            top: -3px;
            right: -3px;
            background: #e61c24;
            color: #ffffff;
            font-size: 11px;
            font-weight: 800;
            width: 19px;
            height: 19px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid #ffffff;
            line-height: 1;
            box-shadow: 0 2px 6px rgba(230, 28, 36, 0.4);
        }

        /* ================= HERO ACTION BUTTONS (BELOW WELCOME CARD) ================= */
        .dashboard-hero-actions-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
            margin: 4px 0 16px;
            width: 100%;
        }

        .hero-action-card {
            display: flex;
            align-items: center;
            padding: 12px 18px;
            border-radius: 16px;
            text-decoration: none;
            color: #ffffff;
            position: relative;
            overflow: hidden;
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
            cursor: pointer;
            min-height: 68px;
            box-sizing: border-box;
        }

        .hero-btn-add {
            background: linear-gradient(90deg, #0050ff 0%, #0072ff 100%) !important;
            box-shadow: 0 6px 20px rgba(0, 80, 255, 0.32) !important;
            border: none !important;
        }

        .hero-btn-add:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 26px rgba(0, 80, 255, 0.45) !important;
        }

        .hero-btn-add:active {
            transform: scale(0.985);
        }

        .hero-btn-design {
            background: linear-gradient(90deg, #019a35 0%, #00b33c 100%) !important;
            box-shadow: 0 6px 20px rgba(1, 154, 53, 0.32) !important;
            border: none !important;
        }

        .hero-btn-design:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 26px rgba(1, 154, 53, 0.45) !important;
        }

        .hero-btn-design:active {
            transform: scale(0.985);
        }

        .hero-action-icon-wrap {
            width: 58px;
            height: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            margin-right: 12px;
        }

        .hero-action-img-icon {
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
            filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.2));
        }

        .hero-action-texts {
            display: flex;
            flex-direction: column;
            justify-content: center;
            flex: 1;
            min-width: 0;
        }

        .hero-action-main-text {
            font-size: 16.5px;
            font-weight: 900;
            letter-spacing: 0.3px;
            line-height: 1.15;
            color: #ffffff !important;
            text-transform: uppercase;
        }

        .hero-action-sub-text {
            font-size: 11.5px;
            font-weight: 500;
            color: rgba(255, 255, 255, 0.95) !important;
            margin-top: 3px;
            line-height: 1.2;
            white-space: nowrap;
        }

        .hero-action-arrow-icon {
            width: 22px;
            height: 22px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            margin-left: 10px;
            background: transparent !important;
            border-radius: 0 !important;
            transition: transform 0.2s ease;
        }

        .hero-action-arrow-icon svg {
            width: 18px;
            height: 18px;
            color: #ffffff !important;
            stroke: #ffffff !important;
        }

        .hero-action-card:hover .hero-action-arrow-icon {
            transform: translateX(3px);
        }

        .confetti-dot {
            position: absolute;
            border-radius: 50%;
            pointer-events: none;
        }
        .confetti-1 { width: 5px; height: 5px; background: #00d2ff; top: -4px; left: 10px; }
        .confetti-2 { width: 4px; height: 4px; background: #ff2d60; bottom: 8px; right: -3px; }
        .confetti-3 { width: 6px; height: 6px; background: #ffd000; top: 1px; right: 10px; }

        /* ================= 3 METRIC CARDS ================= */
        .stats-grid-row {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
            width: 100%;
        }

        .stat-card-box {
            border-radius: 16px;
            padding: 12px 10px;
            color: #ffffff;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            position: relative;
            overflow: hidden;
            box-shadow: 0 4px 16px rgba(11, 33, 73, 0.08);
            min-width: 0;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .stat-card-box:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(11, 33, 73, 0.16);
        }

        .stat-card-box.orange { background: linear-gradient(145deg, #ff7e1d 0%, #ff4b2b 100%); }
        .stat-card-box.green { background: linear-gradient(145deg, #0ca872 0%, #00874e 100%); }
        .stat-card-box.blue { background: linear-gradient(145deg, #ef03df 0%, #b1229e 100%); }

        .stat-card-top {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 4px;
            width: 100%;
        }

        .stat-card-icon-wrap {
            width: 30px;
            height: 30px;
            border-radius: 9px;
            background: rgba(255, 255, 255, 0.22);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .stat-card-icon-wrap svg {
            width: 17px;
            height: 17px;
            color: #ffffff;
        }

        .stat-metric-badge {
            background: #ffffff;
            color: #0b2149;
            font-size: 8px;
            font-weight: 800;
            padding: 2px 5px;
            border-radius: 999px;
            display: flex;
            flex-direction: column;
            align-items: center;
            line-height: 1.05;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            flex-shrink: 0;
        }

        .badge-trend-row {
            display: flex;
            align-items: center;
            gap: 2px;
            color: #0ca872;
            font-size: 8.5px;
            font-weight: 900;
            white-space: nowrap;
        }

        .badge-sub-label {
            font-size: 6.5px;
            color: #6a7b92;
            font-weight: 700;
            white-space: nowrap;
        }

        .stat-number-value {
            font-size: 24px;
            font-weight: 900;
            line-height: 1.1;
            margin: 6px 0 2px;
            color: #ffffff;
            letter-spacing: -0.5px;
            text-align: center !important;
            width: 100% !important;
        }

        .stat-title-label {
            font-size: 11.5px;
            font-weight: 600;
            line-height: 1.15;
            color: rgba(255, 255, 255, 0.95);
            white-space: normal;
            text-align: center !important;
            width: 100% !important;
            margin-bottom: 2px !important;
        }

        .stat-bottom-pill {
            margin-top: 4px !important;
            background: rgba(0, 0, 0, 0.18);
            border-radius: 999px;
            padding: 3px 6px;
            font-size: 8px;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center !important;
            gap: 4px;
            color: #ffffff;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            width: 100%;
            box-sizing: border-box;
        }

        .stat-bottom-pill span:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .stat-bottom-pill svg {
            width: 9px;
            height: 9px;
            flex-shrink: 0;
            margin-left: 2px;
        }

        /* ================= 2 SCRATCH CARDS SECTION ================= */
        .scratch-cards-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            width: 100%;
        }

        .promo-card {
            border-radius: 18px;
            padding: 14px 12px;
            color: #ffffff;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            position: relative;
            overflow: hidden;
            min-height: 155px;
            box-shadow: 0 6px 18px rgba(11, 33, 73, 0.08);
        }

        .promo-card.purple { background: linear-gradient(145deg, #6c23ce 0%, #46149c 100%); }
        .promo-card.magenta { background: linear-gradient(145deg, #ed147d 0%, #be085d 100%); }

        .promo-card-content {
            position: relative;
            z-index: 2;
            max-width: 60%;
        }

        .promo-card-title {
            font-size: 14px;
            font-weight: 900;
            line-height: 1.15;
            color: #ffffff;
        }

        .promo-card-sub {
            font-size: 9px;
            color: rgba(255, 255, 255, 0.85);
            font-weight: 600;
            line-height: 1.25;
            margin-top: 2px;
        }

        .promo-card-number {
            font-size: 32px;
            font-weight: 900;
            line-height: 1;
            margin: 8px 0 10px;
            color: #ffffff;
            letter-spacing: -0.5px;
            text-align: center !important;
            width: 100% !important;
        }

        .btn-promo-action {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            border-radius: 999px;
            padding: 6px 10px;
            font-size: 9.5px;
            font-weight: 800;
            border: none;
            cursor: pointer;
            white-space: nowrap;
            text-decoration: none;
            box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
            transition: transform 0.15s ease;
            width: fit-content;
        }

        .btn-promo-action:active { transform: scale(0.95); }
        .btn-promo-action.yellow { background: #ffcc00; color: #0b2149; }
        .btn-promo-action.cyan { background: #0099ff; color: #ffffff; }

        .promo-visual-graphic {
            position: absolute;
            right: 6px;
            top: 1px;
            bottom: 10px;
            width: 42%;
            display: flex;
            align-items: center;
            justify-content: center;
            pointer-events: none;
            z-index: 1;
        }

        .scratch-mini-card-3d {
            width: 72px;
            height: 98px;
            border-radius: 9px;
            background: linear-gradient(135deg, #ffd700 0%, #ff8800 100%);
            border: 2px solid #ffffff;
            box-shadow: -4px 6px 15px rgba(0, 0, 0, 0.35);
            transform: rotate(6deg);
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 4px;
            position: relative;
        }

        .mini-card-header {
            font-size: 7.5px;
            font-weight: 900;
            color: #ffffff;
            text-transform: uppercase;
            letter-spacing: -0.2px;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
            margin-bottom: 2px;
        }

        .mini-scratch-foil {
            width: 100%;
            flex: 1;
            border-radius: 6px;
            background: radial-gradient(circle, #e6ecf2 30%, #9cb0c6 70%, #76879e 100%);
            border: 1px dashed rgba(255, 255, 255, 0.9);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .mini-foil-sparkle { font-size: 14px; }

        .unscratch-card-fan {
            position: relative;
            width: 78px;
            height: 98px;
        }

        .fan-card-item {
            position: absolute;
            width: 58px;
            height: 78px;
            border-radius: 8px;
            background: linear-gradient(135deg, #0099ff 0%, #0052cc 100%);
            border: 1.5px solid rgba(255, 255, 255, 0.85);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .fan-card-1 { top: 8px; left: 0; transform: rotate(-14deg); }
        .fan-card-2 { top: 4px; left: 10px; transform: rotate(0deg); }
        .fan-card-3 { top: 2px; left: 18px; transform: rotate(14deg); z-index: 2; }
        .fan-gift-icon { font-size: 18px; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); }

        /* ================= REFERRAL & EARN DASHBOARD SECTION ================= */
        .referral-earn-dashboard-card {
            background: linear-gradient(135deg, #0b1f48 0%, #153878 50%, #5833dc 100%);
            border-radius: 20px;
            padding: 22px 24px;
            color: #ffffff;
            box-shadow: 0 10px 30px rgba(11, 31, 72, 0.18);
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.12);
            width: 100%;
        }

        .referral-earn-dashboard-card::after {
            content: '';
            position: absolute;
            top: -60px;
            right: -60px;
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(255, 79, 139, 0.3) 0%, rgba(255, 79, 139, 0) 70%);
            pointer-events: none;
        }

        .ref-earn-header-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 12px;
            flex-wrap: wrap;
        }

        .ref-earn-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(255, 255, 255, 0.14);
            padding: 4px 12px;
            border-radius: 999px;
            font-size: 10.5px;
            font-weight: 800;
            letter-spacing: 0.5px;
            backdrop-filter: blur(4px);
        }

        .ref-bonus-pill {
            background: linear-gradient(135deg, #ffb703 0%, #fb8500 100%);
            color: #071630;
            padding: 4px 12px;
            border-radius: 999px;
            font-size: 10.5px;
            font-weight: 900;
            letter-spacing: 0.4px;
            box-shadow: 0 2px 8px rgba(251, 133, 0, 0.4);
        }

        .ref-earn-body {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
        }

        .ref-earn-info {
            flex: 1;
            min-width: 0;
        }

        .ref-earn-title {
            font-size: 19px;
            font-weight: 800;
            color: #ffffff;
            margin: 0 0 6px;
            line-height: 1.25;
        }

        .ref-earn-desc {
            font-size: 13px;
            color: #d1dcf5;
            line-height: 1.5;
            margin: 0 0 14px;
        }

        .ref-earn-desc strong {
            color: #ffd166;
        }

        .ref-code-share-bar {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
        }

        .ref-code-display-box {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(0, 0, 0, 0.28);
            border: 1.5px dashed rgba(255, 255, 255, 0.35);
            border-radius: 10px;
            padding: 7px 14px;
        }

        .ref-code-label {
            font-size: 11.5px;
            color: #a9beea;
            font-weight: 600;
        }

        .ref-code-value {
            font-size: 15px;
            font-weight: 900;
            letter-spacing: 1.5px;
            color: #ffd166;
            font-family: monospace;
        }

        .btn-copy-ref-code {
            background: #ffffff;
            color: #0b1f48;
            border: none;
            border-radius: 10px;
            padding: 8px 14px;
            font-size: 12px;
            font-weight: 800;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: all 0.2s ease;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
        }

        .btn-copy-ref-code:hover {
            background: #f0f4ff;
            transform: translateY(-1px);
        }

        .btn-copy-ref-code svg {
            width: 14px;
            height: 14px;
            stroke: #0b1f48;
        }

        .ref-earn-actions {
            display: flex;
            flex-direction: column;
            gap: 8px;
            flex-shrink: 0;
            min-width: 190px;
        }

        .btn-share-whatsapp {
            background: #25d366;
            color: #ffffff;
            border: none;
            border-radius: 10px;
            padding: 10px 16px;
            font-size: 13px;
            font-weight: 800;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
            transition: transform 0.15s ease, filter 0.15s ease;
        }

        .btn-share-whatsapp:hover {
            filter: brightness(1.05);
            transform: translateY(-1px);
        }

        .btn-share-whatsapp svg {
            width: 17px;
            height: 17px;
        }

        .btn-use-referral {
            background: rgba(255, 255, 255, 0.12);
            color: #ffffff;
            border: 1px solid rgba(255, 255, 255, 0.25);
            border-radius: 10px;
            padding: 8px 14px;
            font-size: 11.5px;
            font-weight: 700;
            text-align: center;
            text-decoration: none;
            transition: all 0.2s ease;
        }

        .btn-use-referral:hover {
            background: rgba(255, 255, 255, 0.22);
            color: #ffffff;
        }

        @media (max-width: 850px) {
            .ref-earn-body {
                flex-direction: column;
                align-items: stretch;
            }
            .ref-earn-actions {
                min-width: 100%;
            }
            .btn-share-whatsapp {
                width: 100%;
            }
        }

        @media (max-width: 480px) {
            .referral-earn-dashboard-card {
                padding: 16px 14px;
                border-radius: 16px;
            }
            .ref-earn-title {
                font-size: 16px;
            }
            .ref-earn-desc {
                font-size: 12px;
                margin-bottom: 12px;
            }
            .ref-code-share-bar {
                flex-direction: column;
                align-items: stretch;
                gap: 8px;
            }
            .ref-code-display-box {
                justify-content: space-between;
                width: 100%;
            }
            .btn-copy-ref-code {
                width: 100%;
                justify-content: center;
                height: 40px;
            }
            .btn-share-whatsapp {
                height: 44px;
                font-size: 13px;
            }
        }

        /* ================= RECENT WINNERS SECTION ================= */
        .recent-winners-section {
            background: #ffffff;
            border-radius: 20px;
            padding: 14px 12px 16px;
            box-shadow: var(--shadow-soft);
            border: 1px solid var(--border-soft);
            position: relative;
            width: 100%;
        }

        .section-header-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 10px;
            padding: 0 4px;
        }

        .header-title-group {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .trophy-badge {
            font-size: 25px;
            filter: drop-shadow(0 2px 4px rgba(255, 179, 0, 0.4));
        }

        .section-title-text {
            font-size: 15px;
            font-weight: 900;
            color: var(--primary-blue);
            line-height: 1.8;
        }

        .section-subtitle-text {
            font-size: 9.5px;
            color: var(--text-muted);
            font-weight: 600;
            margin-top: 1px;
        }

        .view-all-link {
            font-size: 12px;
            font-weight: 800;
            color: #0d5dd6;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 3px;
        }

        .carousel-outer-wrapper {
            position: relative;
            width: 100%;
        }

        .carousel-nav-arrow {
            position: absolute;
            top: 45%;
            transform: translateY(-50%);
            width: 26px;
            height: 26px;
            border-radius: 50%;
            background: #ffffff;
            border: 1px solid rgba(16, 52, 120, 0.12);
            box-shadow: 0 3px 8px rgba(11, 33, 73, 0.14);
            color: #0b2149;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 10;
            font-weight: 900;
            font-size: 14px;
            transition: transform 0.15s ease, background 0.15s ease;
        }

        .carousel-nav-arrow:active { transform: translateY(-50%) scale(0.9); }
        .carousel-nav-arrow.prev { left: -4px; }
        .carousel-nav-arrow.next { right: -4px; }

        .winners-carousel-track {
            display: flex;
            gap: 10px;
            overflow-x: auto;
            scroll-behavior: smooth;
            padding: 4px 4px;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
        }

        .winners-carousel-track::-webkit-scrollbar { display: none; }

        .winner-card-item {
            flex: 0 0 160px;
            min-width: 160px;
            background: #ffffff;
            border-radius: 16px;
            border: 1px solid rgba(16, 52, 120, 0.1);
            box-shadow: 0 4px 14px rgba(11, 33, 73, 0.06);
            padding: 9px;
            display: flex;
            flex-direction: column;
            position: relative;
            overflow: hidden;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .winner-card-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 22px rgba(11, 33, 73, 0.12);
        }

        .winner-image-wrap {
            width: 100%;
            height: 115px;
            border-radius: 12px;
            overflow: hidden;
            background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 8px;
            position: relative;
        }

        .winner-full-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            border-radius: 12px;
        }

        .winner-fallback-box {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
            color: #1e40af;
            border-radius: 12px;
            padding: 8px;
            text-align: center;
        }

        .winner-fallback-icon {
            font-size: 32px;
            margin-bottom: 4px;
        }

        .winner-fallback-text {
            font-size: 11px;
            font-weight: 800;
            color: #1e3a8a;
            max-width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .winner-won-badge {
            position: absolute;
            top: 6px;
            right: 6px;
            background: linear-gradient(135deg, #ff9900 0%, #ff5500 100%);
            color: #ffffff;
            font-size: 9px;
            font-weight: 900;
            padding: 2px 7px;
            border-radius: 999px;
            box-shadow: 0 2px 6px rgba(255, 85, 0, 0.35);
            letter-spacing: 0.5px;
        }

        .winner-item-name {
            font-size: 12.5px;
            font-weight: 900;
            color: #0b2149;
            margin-bottom: 4px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            width: 100%;
            line-height: 1.25;
        }

        .winner-cust-name {
            font-size: 11.5px;
            font-weight: 800;
            color: #1e293b;
            display: flex;
            align-items: center;
            gap: 4px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            width: 100%;
            margin-bottom: 2px;
        }

        .winner-cust-name .cust-name-text {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .winner-cust-phone {
            font-size: 10.5px;
            font-weight: 700;
            color: #0284c7;
            display: flex;
            align-items: center;
            gap: 4px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            width: 100%;
            margin-bottom: 3px;
        }

        .winner-won-date {
            font-size: 9.5px;
            font-weight: 600;
            color: #64748b;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        /* ================= BOTTOM VALUE PROPOSITION BANNER ================= */
        .bottom-values-banner {
            background: linear-gradient(135deg, #ffffff 0%, #fdf5fc 100%);
            border-radius: 18px;
            padding: 12px 16px;
            border: 1px solid rgba(16, 52, 120, 0.08);
            box-shadow: 0 3px 12px rgba(16, 52, 120, 0.04);
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            width: 100%;
        }

        .values-icons-grid {
            display: flex;
            align-items: center;
            gap: 10px;
            flex: 1;
        }

        .value-feature-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            gap: 3px;
            flex: 1;
        }

        .value-circle-icon {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #ffffff;
            box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
        }

        .value-circle-icon.pink { background: linear-gradient(135deg, #ed147d 0%, #d80068 100%); }
        .value-circle-icon.green { background: linear-gradient(135deg, #0ca872 0%, #038a5b 100%); }
        .value-circle-icon.orange { background: linear-gradient(135deg, #ff7e1d 0%, #f35702 100%); }
        .value-circle-icon.purple { background: linear-gradient(135deg, #8327db 0%, #5d11aa 100%); }

        .value-circle-icon svg { width: 16px; height: 16px; }

        .value-item-label {
            font-size: 8px;
            font-weight: 800;
            color: #0b2149;
            line-height: 1.15;
            white-space: nowrap;
        }

        .happy-slogan-col {
            display: flex;
            flex-direction: column;
            align-items: center;
            font-family: 'Caveat', cursive, sans-serif;
            line-height: 1;
            flex-shrink: 0;
            text-align: center;
        }

        .happy-text-top {
            font-size: 15px;
            font-weight: 700;
            color: #0f52ba;
        }

        .happy-text-bottom {
            font-size: 16.5px;
            font-weight: 700;
            color: #ed147d;
            position: relative;
        }

        .happy-brush-swoosh {
            width: 90px;
            height: 6px;
            margin-top: 1px;
        }

        /* ================= FIXED BOTTOM NAVIGATION BAR ================= */
        .bottom-nav-bar {
            position: fixed;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100%;
            background: #ffffff;
            border-top: 1px solid rgba(16, 52, 120, 0.09);
            box-shadow: 0 -4px 18px rgba(11, 33, 73, 0.08);
            display: flex;
            align-items: center;
            justify-content: space-around;
            padding: 7px 6px 9px;
            z-index: 998;
        }

        .bottom-tab-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2px;
            text-decoration: none;
            cursor: pointer;
            background: none;
            border: none;
            outline: none;
            position: relative;
            padding: 0 4px;
        }

        .tab-icon-circle {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #ffffff;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
            transition: transform 0.15s ease;
        }

        .bottom-tab-item:active .tab-icon-circle { transform: scale(0.92); }
        .tab-icon-circle.home { background: linear-gradient(135deg, #ff4d29 0%, #ff7a00 100%); }
        .tab-icon-circle.unscratched { background: linear-gradient(135deg, #0099ff 0%, #0066cc 100%); }
        .tab-icon-circle.scratched { background: linear-gradient(135deg, #ff7e1d 0%, #f74d1a 100%); }
        .tab-icon-circle.customers { background: linear-gradient(135deg, #0ca872 0%, #059669 100%); }
        .tab-icon-circle.profile { background: linear-gradient(135deg, #8327db 0%, #c026d3 100%); }

        .tab-icon-circle svg { width: 20px; height: 20px; }

        .tab-text-label {
            font-size: 10.5px;
            font-weight: 800;
            color: #0b2149;
            line-height: 1;
        }

        .active-tab-indicator {
            width: 40px;
            height: 3px;
            border-radius: 2px;
            background: #ff4d29;
            margin-top: 2px;
        }

        /* Active highlight for Referral & Earn matching Home */
        .slide-nav-item.referral-highlight,
        .slide-nav-item.active {
            background: linear-gradient(90deg, #ff5722 0%, #ff8a00 100%) !important;
            color: #ffffff !important;
            box-shadow: 0 4px 12px rgba(255, 87, 34, 0.35) !important;
        }
        .slide-nav-item.referral-highlight svg,
        .slide-nav-item.active svg {
            color: #ffffff !important;
        }

        /* Recent Winners Header Actions */
        .winners-header-actions {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .btn-select-winners {
            background: #eff6ff;
            color: #2563eb;
            border: 1.5px solid rgba(37, 99, 235, 0.25);
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 9.5px;
            font-weight: 800;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            transition: all 0.2s ease;
            box-shadow: 0 2px 6px rgba(37, 99, 235, 0.08);
            text-decoration: none;
        }

        .btn-select-winners:hover {
            background: #2563eb;
            color: #ffffff;
            box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
            transform: translateY(-1px);
        }

        .btn-add-winner-photo {
            background: linear-gradient(135deg, #0ca872 0%, #0099ff 100%);
            color: #ffffff;
            border: none;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 11.5px;
            font-weight: 800;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            box-shadow: 0 3px 10px rgba(12, 168, 114, 0.25);
            transition: all 0.2s ease;
            white-space: nowrap;
            text-decoration: none;
        }

        .btn-add-winner-photo:hover {
            transform: translateY(-1px);
            box-shadow: 0 5px 14px rgba(12, 168, 114, 0.35);
        }

        /* Congratulations Video Banner */
        .dashboard-congrats-video-banner {
            width: 100%;
            border-radius: 14px;
            overflow: hidden;
            margin: 8px 0 14px;
            box-shadow: 0 4px 16px rgba(11, 33, 73, 0.08);
            /* background: #000000; */
            /* border: 0px  rgba(231, 234, 241, 0.1); */
            position: relative;
            line-height: 0;
            z-index: 10;
        }

        .congrats-video-player {
            width: 100%;
            height: auto;
            max-height: 245px;
            object-fit: cover;
            display: block;
           
        }

        /* Winner Card Rank, Reorder & Edit Pic Controls */
        .winner-rank-badge {
            position: absolute;
            top: 5px;
            left: 5px;
            background: rgba(11, 33, 73, 0.88);
            color: #ffd700;
            font-size: 10px;
            font-weight: 900;
            padding: 2px 6px;
            border-radius: 6px;
            border: 1px solid rgba(255, 215, 0, 0.5);
            z-index: 4;
            backdrop-filter: blur(4px);
            line-height: 1.2;
        }

        .winner-card-actions {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 4px;
            margin-top: 6px;
            width: 100%;
        }

        .btn-winner-reorder {
            background: #f1f5f9;
            color: #0b2149;
            border: 1px solid #cbd5e1;
            border-radius: 6px;
            width: 22px;
            height: 22px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 9px;
            font-weight: 900;
            cursor: pointer;
            transition: all 0.15s ease;
            flex-shrink: 0;
            padding: 0;
        }

        .btn-winner-reorder:hover:not(:disabled) {
            background: #0b2149;
            color: #ffffff;
            border-color: #0b2149;
        }

        .btn-winner-reorder:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }

        .btn-winner-edit-pic {
            background: linear-gradient(135deg, #0084ff 0%, #0055d4 100%);
            color: #ffffff;
            border: none;
            border-radius: 6px;
            padding: 0 6px;
            font-size: 9px;
            font-weight: 800;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 3px;
            height: 22px;
            flex: 1;
            justify-content: center;
            transition: transform 0.15s ease, background 0.15s ease;
            white-space: nowrap;
        }

        .btn-winner-edit-pic:hover {
            transform: scale(1.03);
            background: linear-gradient(135deg, #0ca872 0%, #0099ff 100%);
        }

        /* Custom Modals (Change Logo & Select Winners) */
        /* Custom Modals (Change Logo & Select Winners) */
        .modal-custom-backdrop,
        .custom-modal-backdrop {
            position: fixed;
            inset: 0;
            background: rgba(7, 22, 48, 0.65);
            backdrop-filter: blur(4px);
            z-index: 999990;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 16px;
            box-sizing: border-box;
        }

        .modal-custom-backdrop.show,
        .modal-custom-backdrop.open,
        .custom-modal-backdrop.show,
        .custom-modal-backdrop.open {
            display: flex !important;
        }

        .modal-custom-box,
        .custom-modal-dialog {
            background: #ffffff;
            border-radius: 24px;
            width: 100%;
            max-width: 500px;
            padding: 24px;
            box-shadow: 0 20px 50px rgba(7, 22, 48, 0.3);
            border: 1px solid rgba(16, 52, 120, 0.1);
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            box-sizing: border-box;
            animation: modalFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        }

        @keyframes modalFadeIn {
            from { opacity: 0; transform: scale(0.95); }
            to { opacity: 1; transform: scale(1); }
        }

        .modal-custom-header,
        .custom-modal-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 12px;
            padding-bottom: 12px;
            border-bottom: 1px solid rgba(16, 52, 120, 0.08);
        }

        .modal-custom-title,
        .custom-modal-title {
            font-size: 16.5px;
            font-weight: 800;
            color: #0b2149;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .modal-custom-close,
        .custom-modal-close {
            background: rgba(11, 33, 73, 0.06);
            border: none;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 15px;
            color: #475569;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.15s;
        }

        .modal-custom-close:hover,
        .custom-modal-close:hover {
            background: rgba(11, 33, 73, 0.14);
            color: #0b2149;
        }

        .modal-action-row,
        .custom-modal-footer {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-top: 18px;
        }

        /* Change Logo Modal Elements */
        .logo-preview-center {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin: 14px 0 10px;
        }

        .logo-preview-circle {
            width: 90px;
            height: 90px;
            border-radius: 50%;
            border: 3px dashed #3b82f6;
            background: #f8fafc;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
            margin-bottom: 6px;
        }

        .logo-preview-circle img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .logo-upload-options,
        .logo-upload-options-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            margin: 16px 0;
        }

        .btn-logo-option {
            background: #f8fafc;
            border: 1.5px solid #e2e8f0;
            border-radius: 14px;
            padding: 14px 10px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 6px;
            cursor: pointer;
            transition: all 0.2s;
            text-align: center;
        }

        .btn-logo-option:hover {
            border-color: #3b82f6;
            background: #eff6ff;
            transform: translateY(-2px);
        }

        .btn-logo-option .option-icon {
            font-size: 26px;
        }

        .btn-logo-option .option-text {
            font-size: 12px;
            font-weight: 800;
            color: #0b2149;
        }

        .btn-logo-option .option-sub {
            font-size: 10px;
            color: #64748b;
        }

        .modal-action-row {
            display: flex;
            gap: 10px;
            margin-top: 18px;
        }

        .btn-modal-submit {
            flex: 1;
            background: linear-gradient(90deg, #f95722 0%, #ff7a00 100%);
            color: #ffffff;
            border: none;
            padding: 12px 16px;
            border-radius: 12px;
            font-size: 13px;
            font-weight: 800;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(249, 87, 34, 0.3);
            transition: transform 0.2s;
        }

        .btn-modal-submit:active {
            transform: scale(0.98);
        }

        .btn-modal-cancel {
            background: #f1f5f9;
            color: #475569;
            border: 1px solid #cbd5e1;
            padding: 12px 16px;
            border-radius: 12px;
            font-size: 13px;
            font-weight: 700;
            cursor: pointer;
        }

        /* Select Winners Modal Elements */
        .select-winners-box {
            max-width: 580px;
            max-height: 85vh;
            display: flex;
            flex-direction: column;
        }

        .winners-selection-scroll,
        .winners-list-container {
            overflow-y: auto;
            max-height: 350px;
            display: flex;
            flex-direction: column;
            gap: 8px;
            padding-right: 4px;
            margin: 12px 0;
        }

        /* ==========================================================================
           EXECUTIVE SELECT WINNERS MODAL (DESKTOP & MOBILE REDESIGN)
           ========================================================================== */
        #selectWinnersModal {
            position: fixed !important;
            inset: 0 !important;
            z-index: 999990 !important;
            backdrop-filter: blur(8px) !important;
            background: rgba(7, 22, 48, 0.65) !important;
            overflow-x: hidden !important;
            overflow-y: auto !important;
            box-sizing: border-box !important;
            display: none;
            align-items: center !important;
            justify-content: center !important;
            padding: 16px !important;
        }

        #selectWinnersModal.open,
        #selectWinnersModal.show {
            display: flex !important;
        }

        #selectWinnersModal .custom-modal-dialog,
        .select-winners-dialog {
            max-width: 920px !important;
            width: 94% !important;
            padding: 0 !important;
            border-radius: 22px !important;
            overflow: hidden !important;
            max-height: 86vh !important;
            box-shadow: 0 30px 80px rgba(11, 33, 73, 0.4), 0 10px 25px rgba(0, 0, 0, 0.1) !important;
            display: flex !important;
            flex-direction: column !important;
            background: #f8fafc !important;
            border: 1px solid rgba(255, 255, 255, 0.3) !important;
            animation: modalFadeInUp 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
            box-sizing: border-box !important;
            min-width: 0 !important;
            margin: auto !important;
        }

        @keyframes modalFadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px) scale(0.98);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        .select-winners-header {
            background: linear-gradient(135deg, #0b2149 0%, #173873 60%, #0284c7 100%) !important;
            color: #ffffff !important;
            padding: 20px 26px !important;
            border-bottom: none !important;
            display: flex !important;
            align-items: center !important;
            justify-content: space-between !important;
            flex-shrink: 0 !important;
            box-sizing: border-box !important;
            width: 100% !important;
            min-width: 0 !important;
        }

        .select-winners-header .custom-modal-title {
            display: flex !important;
            align-items: center !important;
            gap: 14px !important;
            flex: 1 !important;
            min-width: 0 !important;
        }

        .winners-header-text-col {
            flex: 1 !important;
            min-width: 0 !important;
            overflow: hidden !important;
        }

        .winners-trophy-icon {
            width: 46px !important;
            height: 46px !important;
            min-width: 46px !important;
            border-radius: 14px !important;
            background: rgba(255, 255, 255, 0.16) !important;
            backdrop-filter: blur(8px) !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            font-size: 24px !important;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
            border: 1px solid rgba(255, 255, 255, 0.25) !important;
            flex-shrink: 0 !important;
        }

        .winners-modal-main-title {
            font-size: 17px !important;
            font-weight: 800 !important;
            color: #ffffff !important;
            letter-spacing: -0.2px !important;
            line-height: 1.2 !important;
        }

        .winners-modal-sub-title {
            font-size: 12px !important;
            color: #cbd5e1 !important;
            font-weight: 500 !important;
            margin-top: 3px !important;
            line-height: 1.3 !important;
        }

        .select-winners-close {
            width: 36px !important;
            height: 36px !important;
            min-width: 36px !important;
            border-radius: 50% !important;
            background: rgba(255, 255, 255, 0.16) !important;
            color: #ffffff !important;
            border: none !important;
            font-size: 15px !important;
            cursor: pointer !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            transition: all 0.2s ease !important;
            flex-shrink: 0 !important;
        }

        .select-winners-close:hover {
            background: rgba(255, 255, 255, 0.3) !important;
            transform: scale(1.08) !important;
        }

        .select-winners-body {
            padding: 20px 26px !important;
            background: #f8fafc !important;
            flex: 1 1 auto !important;
            overflow-y: hidden !important;
            overflow-x: hidden !important;
            display: flex !important;
            flex-direction: column !important;
            min-height: 0 !important;
            box-sizing: border-box !important;
            width: 100% !important;
            max-width: 100% !important;
        }

        .winners-select-header {
            display: flex !important;
            gap: 12px !important;
            align-items: center !important;
            margin-bottom: 16px !important;
            flex-wrap: wrap !important;
            flex-shrink: 0 !important;
            box-sizing: border-box !important;
            width: 100% !important;
        }

        .winners-search-wrap {
            flex: 1 1 200px !important;
            min-width: 0 !important;
            position: relative !important;
            display: flex !important;
            align-items: center !important;
            box-sizing: border-box !important;
        }

        .winners-search-icon {
            position: absolute !important;
            left: 14px !important;
            font-size: 14px !important;
            color: #94a3b8 !important;
            pointer-events: none !important;
        }

        .winners-search-input {
            width: 100% !important;
            padding: 10px 14px 10px 38px !important;
            border: 1.5px solid #cbd5e1 !important;
            border-radius: 12px !important;
            font-size: 13.5px !important;
            font-family: inherit !important;
            background: #ffffff !important;
            color: #0b2149 !important;
            transition: all 0.2s ease !important;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
        }

        .winners-search-input:focus {
            border-color: #0284c7 !important;
            outline: none !important;
            box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
        }

        .winners-actions-wrap {
            display: flex !important;
            gap: 8px !important;
            align-items: center !important;
        }

        .btn-select-top10 {
            display: inline-flex !important;
            align-items: center !important;
            gap: 6px !important;
            padding: 10px 16px !important;
            border-radius: 11px !important;
            font-size: 12.5px !important;
            font-weight: 800 !important;
            background: linear-gradient(135deg, #0b2149 0%, #1e40af 100%) !important;
            color: #ffffff !important;
            border: none !important;
            cursor: pointer !important;
            transition: all 0.2s ease !important;
            box-shadow: 0 2px 8px rgba(11, 33, 73, 0.18) !important;
        }

        .btn-select-top10:hover {
            transform: translateY(-1px) !important;
            box-shadow: 0 4px 14px rgba(11, 33, 73, 0.26) !important;
        }

        .btn-clear-selection {
            padding: 10px 14px !important;
            border-radius: 11px !important;
            font-size: 12px !important;
            font-weight: 700 !important;
            background: #ffffff !important;
            border: 1.5px solid #cbd5e1 !important;
            color: #64748b !important;
            cursor: pointer !important;
            transition: all 0.2s ease !important;
        }

        .btn-clear-selection:hover {
            background: #f1f5f9 !important;
            color: #0b2149 !important;
            border-color: #94a3b8 !important;
        }

        /* 2-Column Grid Container on Desktop */
        .winners-list-container,
        #winnersSelectionList {
            display: grid !important;
            grid-template-columns: repeat(2, 1fr) !important;
            gap: 14px !important;
            overflow-y: auto !important;
            overflow-x: hidden !important;
            flex: 1 1 auto !important;
            min-height: 120px !important;
            max-height: 52vh !important;
            padding: 4px 6px 14px 2px !important;
            scrollbar-width: thin !important;
            scrollbar-color: #cbd5e1 #f1f5f9 !important;
            width: 100% !important;
            box-sizing: border-box !important;
        }

        .winners-list-container::-webkit-scrollbar {
            width: 6px !important;
        }

        .winners-list-container::-webkit-scrollbar-track {
            background: #f1f5f9 !important;
            border-radius: 8px !important;
        }

        .winners-list-container::-webkit-scrollbar-thumb {
            background: #cbd5e1 !important;
            border-radius: 8px !important;
        }

        .winners-list-container::-webkit-scrollbar-thumb:hover {
            background: #94a3b8 !important;
        }

        /* Modern 2-Column Card */
        .winner-select-card,
        .winner-select-row {
            display: flex !important;
            align-items: stretch !important;
            gap: 14px !important;
            padding: 13px 14px !important;
            background: #ffffff !important;
            border: 1.5px solid #e2e8f0 !important;
            border-radius: 16px !important;
            box-shadow: 0 3px 12px rgba(11, 33, 73, 0.04) !important;
            transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
            margin-bottom: 0 !important;
            user-select: none !important;
            box-sizing: border-box !important;
        }

        .winner-select-card:hover,
        .winner-select-row:hover {
            border-color: #3b82f6 !important;
            box-shadow: 0 6px 20px rgba(59, 130, 246, 0.12) !important;
            transform: translateY(-1px) !important;
        }

        .winner-select-card.selected,
        .winner-select-row.selected {
            border-color: #10b981 !important;
            background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%) !important;
            box-shadow: 0 4px 16px rgba(16, 185, 129, 0.14) !important;
        }

        /* Media Column with Big Photo Thumbnail */
        .winner-card-media-col {
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            flex-shrink: 0 !important;
            cursor: pointer !important;
        }

        .winner-card-pic-wrap,
        .winner-select-pic-wrap {
            width: 86px !important;
            height: 86px !important;
            min-width: 86px !important;
            min-height: 86px !important;
            border-radius: 14px !important;
            position: relative !important;
            overflow: hidden !important;
            background: #0f172a !important;
            border: 2.5px solid #ffffff !important;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            flex-shrink: 0 !important;
        }

        .winner-card-full-thumb,
        .winner-thumb-large {
            width: 100% !important;
            height: 100% !important;
            object-fit: cover !important;
            display: block !important;
        }

        .winner-thumb-large-fallback {
            font-size: 32px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
        }

        .winner-card-rank-tag {
            position: absolute !important;
            top: 4px !important;
            left: 4px !important;
            font-size: 10.5px !important;
            font-weight: 800 !important;
            padding: 2px 6px !important;
            border-radius: 6px !important;
            background: rgba(11, 33, 73, 0.88) !important;
            color: #ffffff !important;
            z-index: 2 !important;
            line-height: 1.2 !important;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25) !important;
        }

        .winner-card-rank-tag.rank-gold {
            background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
            color: #ffffff !important;
        }

        .winner-card-rank-tag.rank-silver {
            background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%) !important;
            color: #ffffff !important;
        }

        .winner-card-rank-tag.rank-bronze {
            background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
            color: #ffffff !important;
        }

        /* Content Column */
        .winner-card-content-col {
            flex: 1 1 auto !important;
            min-width: 0 !important;
            overflow: hidden !important;
            display: flex !important;
            flex-direction: column !important;
            justify-content: space-between !important;
            gap: 6px !important;
            box-sizing: border-box !important;
        }

        .winner-card-head-row {
            display: flex !important;
            align-items: flex-start !important;
            justify-content: space-between !important;
            gap: 8px !important;
            min-width: 0 !important;
            width: 100% !important;
            box-sizing: border-box !important;
        }

        .winner-card-prize-name,
        .winner-item-title {
            font-size: 14.5px !important;
            font-weight: 800 !important;
            color: #0b2149 !important;
            line-height: 1.25 !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
            white-space: nowrap !important;
            flex: 1 1 auto !important;
            min-width: 0 !important;
        }

        /* Clean Toggle Switch Pill */
        .winner-card-toggle,
        .winner-toggle-wrap {
            display: inline-flex !important;
            align-items: center !important;
            cursor: pointer !important;
            user-select: none !important;
            flex-shrink: 0 !important;
            margin: 0 !important;
        }

        .winner-card-toggle input {
            display: none !important;
        }

        .winner-toggle-slider {
            display: inline-flex !important;
            align-items: center !important;
            gap: 4px !important;
            padding: 4px 10px !important;
            border-radius: 999px !important;
            background: #f1f5f9 !important;
            border: 1.5px solid #e2e8f0 !important;
            font-size: 11px !important;
            font-weight: 800 !important;
            color: #64748b !important;
            transition: all 0.2s ease !important;
        }

        .winner-select-card.selected .winner-toggle-slider,
        .winner-select-row.selected .winner-toggle-wrap {
            background: #dcfce7 !important;
            border-color: #86efac !important;
            color: #15803d !important;
        }

        .toggle-check-icon {
            font-size: 11px !important;
            font-weight: 900 !important;
        }

        /* Customer Winner Row */
        .winner-card-winner-info {
            display: flex !important;
            align-items: center !important;
            gap: 5px !important;
            font-size: 12px !important;
            color: #64748b !important;
            font-weight: 600 !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
            white-space: nowrap !important;
            min-width: 0 !important;
            width: 100% !important;
            box-sizing: border-box !important;
        }

        .winner-cust-avatar {
            font-size: 12px !important;
            flex-shrink: 0 !important;
        }

        .winner-cust-name-text {
            color: #334155 !important;
            font-weight: 700 !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
            white-space: nowrap !important;
            min-width: 0 !important;
            flex-shrink: 1 !important;
        }

        .winner-cust-dot {
            color: #cbd5e1 !important;
            font-weight: 900 !important;
            flex-shrink: 0 !important;
        }

        .winner-cust-phone-text {
            color: #64748b !important;
            font-size: 11.5px !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
            white-space: nowrap !important;
            min-width: 0 !important;
        }

        /* Action Buttons Row */
        .winner-card-bottom-actions {
            display: flex !important;
            align-items: center !important;
            justify-content: space-between !important;
            gap: 8px !important;
            margin-top: 4px !important;
            min-width: 0 !important;
            width: 100% !important;
            box-sizing: border-box !important;
        }

        .btn-winner-card-editpic,
        .btn-winner-modal-editpic {
            display: inline-flex !important;
            align-items: center !important;
            gap: 5px !important;
            padding: 6px 12px !important;
            background: #f8fafc !important;
            border: 1.5px solid #cbd5e1 !important;
            border-radius: 8px !important;
            font-size: 11.5px !important;
            font-weight: 800 !important;
            color: #0b2149 !important;
            cursor: pointer !important;
            transition: all 0.15s ease !important;
            white-space: nowrap !important;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
        }

        .btn-winner-card-editpic:hover,
        .btn-winner-modal-editpic:hover {
            background: #0b2149 !important;
            color: #ffffff !important;
            border-color: #0b2149 !important;
            transform: translateY(-1px) !important;
        }

        .winner-card-reorder,
        .winner-reorder-group {
            display: flex !important;
            align-items: center !important;
            gap: 4px !important;
        }

        .btn-sort-winner-up,
        .btn-sort-winner-down {
            width: 28px !important;
            height: 26px !important;
            border-radius: 7px !important;
            border: 1.5px solid #cbd5e1 !important;
            background: #ffffff !important;
            font-size: 10px !important;
            font-weight: 900 !important;
            color: #0b2149 !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            cursor: pointer !important;
            transition: all 0.15s ease !important;
        }

        .btn-sort-winner-up:hover:not(:disabled),
        .btn-sort-winner-down:hover:not(:disabled) {
            background: #0b2149 !important;
            color: #ffffff !important;
            border-color: #0b2149 !important;
        }

        .btn-sort-winner-up:disabled,
        .btn-sort-winner-down:disabled {
            opacity: 0.2 !important;
            cursor: not-allowed !important;
        }

        /* Modal Footer */
        .select-winners-footer {
            padding: 16px 26px !important;
            background: #ffffff !important;
            border-top: 1px solid #e2e8f0 !important;
            display: flex !important;
            align-items: center !important;
            justify-content: space-between !important;
            flex-shrink: 0 !important;
            border-radius: 0 0 24px 24px !important;
        }

        .winners-status-pill {
            display: inline-flex !important;
            align-items: center !important;
            gap: 8px !important;
            font-size: 13px !important;
            font-weight: 700 !important;
            color: #15803d !important;
            background: #f0fdf4 !important;
            padding: 6px 14px !important;
            border-radius: 999px !important;
            border: 1px solid #bbf7d0 !important;
        }

        .status-indicator-dot {
            width: 8px !important;
            height: 8px !important;
            border-radius: 50% !important;
            background: #10b981 !important;
            box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2) !important;
        }

        .winners-footer-btns {
            display: flex !important;
            gap: 10px !important;
            align-items: center !important;
        }

        .btn-save-winners {
            padding: 10px 22px !important;
            border-radius: 11px !important;
            background: linear-gradient(135deg, #0ca872 0%, #0284c7 100%) !important;
            color: #ffffff !important;
            font-size: 13.5px !important;
            font-weight: 800 !important;
            border: none !important;
            cursor: pointer !important;
            box-shadow: 0 4px 14px rgba(12, 168, 114, 0.3) !important;
            transition: all 0.2s ease !important;
            display: inline-flex !important;
            align-items: center !important;
            gap: 6px !important;
        }

        .btn-save-winners:hover {
            transform: translateY(-1px) !important;
            box-shadow: 0 6px 18px rgba(12, 168, 114, 0.4) !important;
        }

        .winners-loading-spinner {
            width: 24px !important;
            height: 24px !important;
            border: 3px solid #e2e8f0 !important;
            border-top-color: #0284c7 !important;
            border-radius: 50% !important;
            animation: spinWinner 0.8s linear infinite !important;
            margin: 0 auto 8px auto !important;
        }

        @keyframes spinWinner {
            to { transform: rotate(360deg); }
        }

        .winners-empty-loading {
            grid-column: 1 / -1 !important;
            text-align: center !important;
            padding: 36px 16px !important;
            color: #94a3b8 !important;
            font-size: 13.5px !important;
            font-weight: 600 !important;
        }

        .winners-empty-state {
            grid-column: 1 / -1 !important;
            text-align: center !important;
            padding: 36px 16px !important;
        }

        #updateWinnerPicModal {
            z-index: 999999 !important;
        }

        .winner-thumb img,
        img.winner-thumb,
        .winner-select-thumb img {
            width: 56px !important;
            height: 56px !important;
            max-width: 56px !important;
            max-height: 56px !important;
            object-fit: cover !important;
            border-radius: 10px !important;
            display: block;
        }

        .winner-select-info {
            flex: 1;
            min-width: 0;
        }

        .winner-select-prize {
            font-size: 12.5px;
            font-weight: 800;
            color: #0b2149;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .winner-select-meta {
            font-size: 11px;
            color: #64748b;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 8px;
            margin-top: 2px;
        }

        .winners-toolbar-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            margin-top: 6px;
        }

        .winners-search-input {
            flex: 1;
            padding: 8px 12px;
            border: 1px solid #cbd5e1;
            border-radius: 10px;
            font-size: 12px;
            outline: none;
        }

        .winners-search-input:focus {
            border-color: #3b82f6;
        }

        .btn-pill-action {
            background: #f1f5f9;
            border: 1px solid #cbd5e1;
            padding: 6px 12px;
            border-radius: 16px;
            font-size: 11px;
            font-weight: 700;
            color: #475569;
            cursor: pointer;
        }

        .btn-pill-action:hover {
            background: #e2e8f0;
            color: #0b2149;
        }

        /* Toast notification */
        .dash-toast {
            position: fixed;
            top: 24px;
            left: 50%;
            transform: translateX(-50%) translateY(-100px);
            background: #0f172a;
            color: #ffffff;
            padding: 12px 24px;
            border-radius: 999px;
            font-size: 13.5px;
            font-weight: 700;
            box-shadow: 0 10px 30px rgba(0,0,0,0.25);
            z-index: 9999999;
            transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            pointer-events: none;
        }
        .dash-toast.show {
            transform: translateX(-50%) translateY(0);
        }

        /* ================= NOTIFICATIONS POPUP ================= */
        .notification-popup-backdrop {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.4);
            z-index: 99990;
            display: none;
        }

        .notification-popup-backdrop.open { display: block; }

        .notification-popup-box {
            position: fixed;
            top: 65px;
            right: 20px;
            width: 320px;
            max-width: 90vw;
            background: #ffffff;
            border-radius: 16px;
            box-shadow: 0 10px 30px rgba(11, 33, 73, 0.2);
            border: 1px solid rgba(16, 52, 120, 0.1);
            z-index: 99991;
            display: none;
            flex-direction: column;
            overflow: hidden;
        }

        .notification-popup-box.open { display: flex; }

        .popup-header {
            padding: 12px 16px;
            background: #f4f8fe;
            border-bottom: 1px solid rgba(16, 52, 120, 0.08);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .popup-header h4 { font-size: 13.5px; font-weight: 800; color: #0b2149; }

        .popup-list {
            padding: 8px 0;
            max-height: 280px;
            overflow-y: auto;
        }

        .popup-item {
            padding: 10px 16px;
            display: flex;
            align-items: flex-start;
            gap: 10px;
            border-bottom: 1px solid rgba(16, 52, 120, 0.05);
        }

        .popup-item:last-child { border-bottom: none; }

        .popup-item-icon {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: #ffe8f2;
            color: #ed147d;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            font-size: 14px;
        }

        .popup-item-text { font-size: 11.5px; color: #0b2149; font-weight: 600; line-height: 1.3; }
        .popup-item-time { font-size: 9px; color: #8c9eb5; margin-top: 2px; }

        /* =========================================================================
           RESPONSIVE DESIGN BREAKPOINTS
           Accurately tuned for:
           - Desktop/Laptop: 1024px+
           - Tablet: 481px - 899px (728px, 768px, etc. fills tablet screen without empty margins)
           - Mobile L: 425px (beautiful app frame)
           - Mobile M: 375px (no over-extension or clipped text)
           - Mobile S: 320px (compact, zero overflow, perfectly proportioned)
           ========================================================================= */

        /* 1. DESKTOP / LAPTOP (>= 900px, 1024px, etc.) */
        @media (min-width: 900px) {
            .slide-bar-drawer {
                position: sticky;
                top: 0;
                height: 100vh;
                transform: translateX(0) !important;
                z-index: 100;
                box-shadow: 4px 0 20px rgba(0, 0, 0, 0.08);
            }

            .slide-close-btn { display: none !important; }
            .slide-bar-backdrop { display: none !important; }

            .dashboard-content-body {
                max-width: 1440px;
                margin: 0 auto;
                padding: 24px 32px 40px;
                gap: 20px;
            }

            .welcome-card-banner { padding: 22px 28px; border-radius: 22px; }
            .welcome-lead { font-size: 16px; }
            .welcome-merchant-title { font-size: 22px; }
            .welcome-subtext { font-size: 13px; }
            .merchant-round-badge { width: 70px; height: 70px; }
            .merchant-badge-icon { width: 25px; height: 25px; }
            .merchant-badge-label { font-size: 7.8px; }
            .btn-design-cards { padding: 12px 22px; font-size: 13.5px; }
            .design-cards-sub { font-size: 11px; }

            .stats-grid-row { gap: 16px; }
            .stat-card-box { padding: 16px 18px; border-radius: 20px; }
            .stat-card-icon-wrap { width: 38px; height: 38px; border-radius: 12px; }
            .stat-card-icon-wrap svg { width: 22px; height: 22px; }
            .stat-metric-badge { font-size: 9.5px; padding: 3px 8px; }
            .badge-trend-row { font-size: 10.5px; }
            .stat-number-value { font-size: 32px; margin: 10px 0 4px; }
            .stat-title-label { font-size: 13px; }
            .stat-bottom-pill { margin-top: 10px; padding: 6px 10px; font-size: 10.5px; }

            .scratch-cards-row { gap: 20px; }
            .promo-card { padding: 22px 24px; border-radius: 24px; min-height: 180px; }
            .promo-card-title { font-size: 18px; }
            .promo-card-sub { font-size: 12px; margin-top: 4px; }
            .promo-card-number { font-size: 44px; margin: 12px 0 16px; }
            .btn-promo-action { padding: 10px 18px; font-size: 12px; }
            .scratch-mini-card-3d { width: 96px; height: 130px; }
            .mini-card-header { font-size: 9.5px; }
            .unscratch-card-fan { width: 106px; height: 130px; }
            .fan-card-item { width: 78px; height: 106px; }
            .fan-gift-icon { font-size: 25px; }

            .recent-winners-section { padding: 20px 24px 24px; border-radius: 24px; }
            .section-title-text { font-size: 18px; }
            .section-subtitle-text { font-size: 12px; }
            .view-all-link { font-size: 13.5px; }
            .winners-carousel-track { gap: 16px; padding: 8px 4px; }
            .winner-card-item { flex: 0 0 155px; padding: 14px 10px; border-radius: 18px; }
            .winner-image-wrap { height: 110px; margin-bottom: 8px; }
            .golden-won-ribbon { font-size: 12px; padding: 4px 0; margin-bottom: 8px; }
            .winner-date-row { font-size: 10px; margin-bottom: 4px; }
            .winner-city-row { font-size: 10px; }

            .bottom-values-banner { padding: 18px 24px; border-radius: 22px; }
            .values-icons-grid { gap: 24px; }
            .value-circle-icon { width: 44px; height: 44px; }
            .value-circle-icon svg { width: 22px; height: 22px; }
            .value-item-label { font-size: 11px; }
            .happy-text-top { font-size: 22px; }
            .happy-text-bottom { font-size: 24px; }
            .happy-brush-swoosh { width: 130px; height: 9px; }

            .bottom-nav-bar { display: none !important; }
        }

        /* 2. TABLET VIEW (481px - 899px, e.g. 728px, 768px) */
        /* FILLS THE TABLET SCREEN WITH FLUID 100% WIDTH - NO EXCESSIVE DEAD SPACE! */
        @media (min-width: 481px) and (max-width: 899px) {
            .dashboard-app-layout {
                display: block;
                width: 100%;
                max-width: 100%;
                margin: 0;
                background: #f8fbfe;
            }

            .slide-bar-drawer {
                position: fixed;
                top: 0;
                left: 0;
                width: 290px;
                max-width: 80vw;
                height: 100%;
                z-index: 99999;
                transform: translateX(-100%);
            }

            .slide-bar-drawer.open {
                transform: translateX(0);
            }

            .main-content-panel {
                width: 100%;
                padding-bottom: 96px;
            }

            .dashboard-header {
                padding: 14px 24px;
            }

            .dashboard-content-body {
                padding: 18px 24px;
                gap: 16px;
                max-width: 860px;
                margin: 0 auto;
            }

            .welcome-card-banner {
                padding: 18px 24px;
                border-radius: 20px;
            }

            .merchant-round-badge {
                width: 66px;
                height: 66px;
            }

            .merchant-badge-icon {
                width: 22px;
                height: 22px;
            }

            .merchant-badge-label {
                font-size: 7.2px;
            }

            .welcome-lead {
                font-size: 16px;
            }

            .welcome-merchant-title {
                font-size: 20px;
            }

            .welcome-subtext {
                font-size: 12px;
            }

            .btn-design-cards {
                padding: 11px 20px;
                font-size: 13px;
            }

            .stats-grid-row {
                gap: 14px;
            }

            .stat-card-box {
                padding: 14px 14px;
                border-radius: 16px;
            }

            .stat-number-value {
                font-size: 28px;
            }

            .stat-title-label {
                font-size: 11.5px;
            }

            .stat-bottom-pill {
                padding: 5px 8px;
                font-size: 9.5px;
            }

            .scratch-cards-row {
                gap: 16px;
            }

            .promo-card {
                padding: 18px 18px;
                border-radius: 20px;
                min-height: 170px;
            }

            .promo-card-title {
                font-size: 16.5px;
            }

            .promo-card-sub {
                font-size: 10.5px;
            }

            .promo-card-number {
                font-size: 38px;
            }

            .btn-promo-action {
                padding: 8px 14px;
                font-size: 11px;
            }

            .recent-winners-section {
                padding: 16px 20px 18px;
                border-radius: 20px;
            }

            .winner-card-item {
                flex: 0 0 135px;
                padding: 10px 8px;
            }

            .winner-image-wrap {
                height: 100px;
            }

            .bottom-values-banner {
                padding: 16px 22px;
            }

            .values-icons-grid {
                gap: 18px;
            }

            .bottom-nav-bar {
                max-width: 100%;
                padding: 8px 24px 10px;
            }

            /* Tablet (768px) Select Winners Modal */
            #selectWinnersModal {
                padding: 16px 14px !important;
                align-items: center !important;
                justify-content: center !important;
                overflow-x: hidden !important;
                overflow-y: auto !important;
            }

            #selectWinnersModal .custom-modal-dialog,
            .select-winners-dialog {
                width: 92% !important;
                max-width: 720px !important;
                max-height: 86vh !important;
                border-radius: 20px !important;
                margin: auto !important;
                display: flex !important;
                flex-direction: column !important;
                overflow: hidden !important;
                box-sizing: border-box !important;
            }

            .select-winners-header {
                padding: 16px 20px !important;
                gap: 10px !important;
                flex-shrink: 0 !important;
            }

            .winners-trophy-icon {
                width: 40px !important;
                height: 40px !important;
                min-width: 40px !important;
                font-size: 20px !important;
                border-radius: 12px !important;
            }

            .winners-modal-main-title {
                font-size: 15.5px !important;
            }

            .winners-modal-sub-title {
                font-size: 11.5px !important;
            }

            .select-winners-close {
                width: 32px !important;
                height: 32px !important;
                min-width: 32px !important;
                font-size: 14px !important;
                flex-shrink: 0 !important;
            }

            .select-winners-body {
                padding: 14px 18px !important;
                flex: 1 1 auto !important;
                min-height: 0 !important;
                display: flex !important;
                flex-direction: column !important;
                overflow: hidden !important;
            }

            .winners-select-header {
                gap: 10px !important;
                margin-bottom: 12px !important;
                flex-shrink: 0 !important;
            }

            .winners-search-wrap {
                flex: 1 1 180px !important;
                min-width: 0 !important;
            }

            .winners-search-input {
                padding: 9px 12px 9px 34px !important;
                font-size: 13px !important;
                border-radius: 10px !important;
            }

            .btn-select-top10 {
                padding: 9px 14px !important;
                font-size: 12px !important;
                border-radius: 10px !important;
            }

            .btn-clear-selection {
                padding: 9px 12px !important;
                font-size: 11.5px !important;
                border-radius: 10px !important;
            }

            .winners-list-container,
            #winnersSelectionList {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 12px !important;
                padding: 2px 4px 10px 2px !important;
                flex: 1 1 auto !important;
                min-height: 120px !important;
                max-height: 48vh !important;
                overflow-y: auto !important;
                overflow-x: hidden !important;
            }

            .winner-select-card,
            .winner-select-row {
                padding: 10px 12px !important;
                gap: 12px !important;
                border-radius: 14px !important;
                box-sizing: border-box !important;
            }

            .winner-card-pic-wrap,
            .winner-select-pic-wrap {
                width: 76px !important;
                height: 76px !important;
                min-width: 76px !important;
                min-height: 76px !important;
                border-radius: 12px !important;
            }

            .winner-card-prize-name {
                font-size: 13.5px !important;
                min-width: 0 !important;
            }

            .winner-toggle-slider {
                padding: 3px 8px !important;
                font-size: 10.5px !important;
            }

            .btn-winner-card-editpic,
            .btn-winner-modal-editpic {
                padding: 5px 10px !important;
                font-size: 11px !important;
            }

            .btn-sort-winner-up,
            .btn-sort-winner-down {
                width: 26px !important;
                height: 24px !important;
                font-size: 9.5px !important;
            }

            .select-winners-footer {
                padding: 12px 20px !important;
                gap: 10px !important;
                border-radius: 0 0 20px 20px !important;
                margin-top: 0 !important;
                flex-shrink: 0 !important;
            }

            .winners-status-pill {
                font-size: 12px !important;
                padding: 5px 12px !important;
            }

            .btn-modal-cancel {
                padding: 8px 16px !important;
                font-size: 12px !important;
            }

            .btn-save-winners {
                padding: 8px 18px !important;
                font-size: 12.5px !important;
            }
        }

        /* 2.5 MOBILE RESPONSIVE WELCOME BANNER (< 680px) */
        @media (max-width: 680px) {
            .welcome-card-banner {
                position: relative !important;
                flex-direction: row !important;
                align-items: center !important;
                justify-content: space-between !important;
                gap: 10px !important;
                padding: 14px 12px !important;
            }

            .welcome-left-col {
                width: 100% !important;
                display: flex !important;
                align-items: center !important;
                gap: 12px !important;
                padding-right: 48px !important;
            }

            .merchant-round-badge {
                width: 60px !important;
                height: 60px !important;
                border-width: 3px !important;
                flex-shrink: 0 !important;
            }

            .welcome-text-col {
                flex: 1 !important;
                min-width: 0 !important;
                gap: 1px !important;
            }

            .welcome-lead {
                font-size: 13px !important;
            }

            .welcome-merchant-title {
                white-space: normal !important;
                word-break: break-word !important;
                font-size: 20px !important;
                line-height: 1.2 !important;
            }

            .welcome-subtext {
                font-size: 11px !important;
                line-height: 1.3 !important;
            }

            .welcome-right-col {
                display: flex !important;
                position: absolute !important;
                top: 50% !important;
                transform: translateY(-50%) !important;
                right: 12px !important;
                gap: 0 !important;
            }

            .welcome-bell-btn {
                width: 38px !important;
                height: 38px !important;
            }

            .welcome-bell-btn svg {
                width: 19px !important;
                height: 19px !important;
            }

            .welcome-bell-badge {
                width: 17px !important;
                height: 17px !important;
                font-size: 10px !important;
                top: -3px !important;
                right: -3px !important;
            }

            .welcome-tagline-pill,
            .welcome-right-col .confetti-dot {
                display: none !important;
            }

            .dashboard-hero-actions-container {
                grid-template-columns: 1fr 1fr !important;
                gap: 8px !important;
                margin: 2px 0 10px !important;
                width: 100% !important;
            }

            .hero-action-card {
                min-height: 48px !important;
                height: 48px !important;
                padding: 8px 10px !important;
                border-radius: 12px !important;
                justify-content: center !important;
                gap: 6px !important;
            }

            .hero-action-icon-circle {
                width: 28px !important;
                height: 28px !important;
                border-radius: 8px !important;
                margin-right: 0 !important;
            }

            .hero-action-icon-circle svg {
                width: 14px !important;
                height: 14px !important;
            }

            .hero-action-texts {
                flex: none !important;
                text-align: center !important;
            }

            .hero-action-main-text {
                font-size: 11.5px !important;
                white-space: nowrap !important;
                letter-spacing: 0.2px !important;
            }

            .hero-action-sub-text, .hero-action-arrow-icon {
                display: none !important;
            }

            .winner-card-item {
                flex: 0 0 148px;
                min-width: 148px;
                padding: 8px;
            }

            .winner-image-wrap {
                height: 105px;
            }

            /* Responsive Recent Winners Header for Mobile (< 680px) */
            .section-header-row {
                display: flex !important;
                flex-direction: row !important;
                align-items: center !important;
                justify-content: space-between !important;
                flex-wrap: nowrap !important;
                gap: 4px !important;
                width: 100% !important;
                margin-bottom: 8px !important;
            }

            .header-title-group {
                display: inline-flex !important;
                align-items: center !important;
                gap: 5px !important;
                flex: 0 1 auto !important;
                min-width: 0 !important;
            }

            .trophy-badge {
                font-size: 16px !important;
                flex-shrink: 0 !important;
            }

            .section-title-text {
                font-size: 12px !important;
                font-weight: 900 !important;
                color: #0b2149 !important;
                white-space: nowrap !important;
                line-height: 1.2 !important;
            }

            .winners-header-actions {
                display: inline-flex !important;
                align-items: center !important;
                gap: 4px !important;
                flex-shrink: 0 !important;
                width: auto !important;
            }

            .btn-select-winners,
            .btn-add-winner-photo {
                height: 29px !important;
                min-height: 29px !important;
                max-height: 29px !important;
                padding: 0 7px !important;
                font-size: 9.5px !important;
                font-weight: 800 !important;
                border-radius: 8px !important;
                flex: 0 0 auto !important;
                width: auto !important;
                white-space: nowrap !important;
                gap: 3px !important;
            }

            .dashboard-congrats-video-banner {
                margin: 6px 0 10px !important;
                border-radius: 12px !important;
            }

            .congrats-video-player {
                max-height: 140px !important;
            }
        }

        /* 3. MOBILE BASE (< 480px) */
        @media (max-width: 480px) {
            .dashboard-app-layout {
                display: block;
                width: 100%;
                max-width: 100%;
                margin: 0 auto;
                background: #ffffff;
            }

            .slide-bar-drawer {
                position: fixed;
                top: 0;
                left: 0;
                width: 275px;
                max-width: 82vw;
                height: 100%;
                z-index: 99999;
                transform: translateX(-100%);
            }

            .slide-bar-drawer.open {
                transform: translateX(0);
            }

            .main-content-panel {
                width: 100%;
                padding-bottom: 88px;
            }

            .dashboard-header {
                padding: 10px 14px;
            }

            .dashboard-content-body {
                padding: 12px 14px 18px;
                gap: 12px;
            }

            .bottom-nav-bar {
                max-width: 100%;
                display: flex;
            }

            /* Extra compact winners header on narrow screens (< 480px) */
            .section-header-row {
                gap: 8px !important;
                margin-bottom: 10px !important;
            }

            .section-title-text {
                font-size: 14px !important;
            }

            .section-subtitle-text {
                font-size: 8.5px !important;
            }

            .winners-header-actions {
                display: flex !important;
                flex-wrap: wrap !important;
                gap: 6px !important;
                width: 100% !important;
            }

            .btn-select-winners,
            .btn-add-winner-photo {
                padding: 5px 9px !important;
                font-size: 10.5px !important;
                border-radius: 8px !important;
            }

            .view-all-link {
                font-size: 10.5px !important;
                margin-left: auto !important;
            }
        }

        /* 4. MOBILE M (350px - 400px, e.g. 375px iPhone) */
        /* BALANCES ICONS & TEXT SO NOTHING OVER-EXTENDS */
        @media (max-width: 400px) {
            .btn-select-winners,
            .btn-add-winner-photo {
                padding: 4px 7px !important;
                font-size: 9.5px !important;
                gap: 4px !important;
            }

            .view-all-link {
                font-size: 9.5px !important;
            }

            .hero-action-main-text { font-size: 10px !important; }
            .hero-action-icon-circle { width: 24px !important; height: 24px !important; }
            .hero-action-icon-circle svg { width: 12px !important; height: 12px !important; }
            .hero-action-card { padding: 6px 8px !important; }
            .dashboard-header {
                padding: 9px 12px;
            }

            .header-logo-icon {
                width: 36px;
                height: 36px;
            }

            .brand-logo-title {
                font-size: 15px;
            }

            .brand-tagline-row {
                font-size: 8.5px;
            }

            .welcome-card-banner {
                padding: 12px 10px !important;
                gap: 10px !important;
            }

            .merchant-round-badge {
                width: 48px;
                height: 48px;
            }

            .merchant-badge-icon {
                width: 16px;
                height: 16px;
            }

            .merchant-badge-label {
                font-size: 5.5px;
            }

            .welcome-lead {
                font-size: 12px;
            }

            .welcome-merchant-title {
                font-size: 14.5px;
            }

            .welcome-subtext {
                font-size: 8.5px;
            }

            .design-cards-sub {
                font-size: 8px;
            }

            .stats-grid-row {
                gap: 6px;
            }

            .stat-card-box {
                padding: 8px 6px;
                border-radius: 13px;
            }

            .stat-card-icon-wrap {
                width: 26px;
                height: 26px;
            }

            .stat-card-icon-wrap svg {
                width: 15px;
                height: 15px;
            }

            .stat-metric-badge {
                font-size: 7.2px;
                padding: 2px 4px;
            }

            .badge-trend-row {
                font-size: 7.5px;
            }

            .badge-sub-label {
                font-size: 6px;
            }

            .stat-number-value {
                font-size: 20px;
                margin: 4px 0 1px;
                text-align: center !important;
                width: 100% !important;
            }

            .stat-title-label {
                font-size: 8.5px;
                line-height: 1.2;
                min-height: 9px;
                text-align: center !important;
                width: 100% !important;
                margin-bottom: 2px !important;
            }

            .stat-bottom-pill {
                font-size: 7px;
                padding: 2.5px 4px;
                margin-top: 3px !important;
                justify-content: center !important;
                gap: 3px !important;
            }

            .scratch-cards-row {
                gap: 8px;
            }

            .promo-card {
                padding: 10px 8px;
                border-radius: 15px;
                min-height: 140px;
            }

            .promo-card-content {
                max-width: 62%;
            }

            .promo-card-title {
                font-size: 12.5px;
            }

            .promo-card-sub {
                font-size: 8px;
                line-height: 1.2;
            }

            .promo-card-number {
                font-size: 28px;
                margin: 6px 0 8px;
            }

            .btn-promo-action {
                padding: 5px 8px;
                font-size: 8.5px;
                gap: 3px;
            }

            /* Scale 3D visual graphics appropriately so they never extend past the card edge */
            .promo-visual-graphic {
                width: 35%;
                right: 12px;
                top: 0.5px;
            }

            .scratch-mini-card-3d {
                width: 62px;
                height: 84px;
                padding: 3px;
            }

            .mini-card-header {
                font-size: 6.5px;
            }

            .unscratch-card-fan {
                width: 66px;
                height: 84px;
            }

            .fan-card-item {
                width: 50px;
                height: 68px;
            }

            .fan-gift-icon {
                font-size: 15px;
            }

            .recent-winners-section {
                padding: 12px 10px 14px;
            }

            .winner-card-item {
                flex: 0 0 106px;
                padding: 7px 5px;
            }

            .winner-image-wrap {
                height: 80px;
            }

            .bottom-values-banner {
                padding: 12px 12px;
                gap: 8px;
            }

            .value-circle-icon {
                width: 28px;
                height: 28px;
            }

            .value-circle-icon svg {
                width: 14px;
                height: 14px;
            }

            .value-item-label {
                font-size: 7.2px;
            }

            .happy-text-top {
                font-size: 14px;
            }

            .happy-text-bottom {
                font-size: 15px;
            }

            .happy-brush-swoosh {
                width: 80px;
                height: 5px;
            }

            .tab-icon-circle {
                width: 37px;
                height: 37px;
            }

            .tab-icon-circle svg {
                width: 18px;
                height: 18px;
            }

            .tab-text-label {
                font-size: 10px;
            }
        }

        /* 5. MOBILE S (<= 340px, e.g. 320px Galaxy Fold / small devices) */
        @media (max-width: 340px) {
            .dashboard-header {
                padding: 7px 8px;
            }

            .header-logo-icon {
                width: 28px;
                height: 28px;
            }

            .brand-logo-title {
                font-size: 12px;
            }

            .brand-tagline-row {
                font-size: 7px;
                gap: 3px;
            }

            .notification-btn svg {
                width: 20px;
                height: 20px;
            }

            .header-profile-avatar {
                width: 28px;
                height: 28px;
                font-size: 10.5px;
            }

            .dashboard-content-body {
                padding: 8px 8px 14px;
                gap: 10px;
            }

            .welcome-card-banner {
                padding: 10px 8px !important;
                gap: 8px !important;
                border-radius: 14px;
            }

            .merchant-round-badge {
                width: 42px;
                height: 42px;
            }

            .merchant-badge-icon {
                width: 14px;
                height: 14px;
            }

            .merchant-badge-label {
                font-size: 4.8px;
            }

            .welcome-lead {
                font-size: 11px;
            }

            .welcome-merchant-title {
                font-size: 12.5px;
            }

            .welcome-subtext {
                font-size: 7.8px;
            }

            .dashboard-hero-actions-container {
                gap: 5px !important;
            }

            .hero-action-card {
                min-height: 42px !important;
                height: 42px !important;
                padding: 5px 6px !important;
            }

            .hero-action-main-text {
                font-size: 9px !important;
            }

            .hero-action-icon-circle {
                width: 22px !important;
                height: 22px !important;
            }

            .hero-action-icon-circle svg {
                width: 11px !important;
                height: 11px !important;
            }

            .stats-grid-row {
                gap: 4px;
            }

            .stat-card-box {
                padding: 6px 4px;
                border-radius: 10px;
            }

            .stat-card-icon-wrap {
                width: 20px;
                height: 20px;
                border-radius: 6px;
            }

            .stat-card-icon-wrap svg {
                width: 12px;
                height: 12px;
            }

            .stat-metric-badge {
                font-size: 5.8px;
                padding: 1px 3px;
            }

            .badge-trend-row {
                font-size: 6px;
            }

            .badge-sub-label {
                font-size: 4.8px;
            }

            .stat-number-value {
                font-size: 16px;
                margin: 3px 0 1px;
                text-align: center !important;
                width: 100% !important;
            }

            .stat-title-label {
                font-size: 7.2px;
                line-height: 1.15;
                min-height: 16px;
                text-align: center !important;
                width: 100% !important;
                margin-bottom: 2px !important;
            }

            .stat-bottom-pill {
                font-size: 5.8px;
                padding: 2px 3px;
                margin-top: 2px !important;
                justify-content: center !important;
                gap: 2px !important;
            }

            .scratch-cards-row {
                gap: 6px;
            }

            .promo-card {
                /* padding: 8px 6px; */
                border-radius: 12px;
                min-height: 125px;
            }

            .promo-card-content {
                max-width: 65%;
            }

            .promo-card-title {
                font-size: 11px;
            }

            .promo-card-sub {
                font-size: 6.8px;
            }

            .promo-card-number {
                font-size: 22px;
                margin: 3px 0 5px;
            }

            .btn-promo-action {
                padding: 4px 6px;
                font-size: 7.2px;
                gap: 2px;
            }

            .promo-visual-graphic {
                width: 30%;
                right: 12.7px;
            }

            .scratch-mini-card-3d {
                width: 46px;
                height: 64px;
            }

            .mini-card-header {
                font-size: 5.5px;
            }

            .unscratch-card-fan {
                width: 48px;
                height: 64px;
            }

            .fan-card-item {
                width: 36px;
                height: 50px;
            }

            .fan-gift-icon {
                font-size: 12px;
            }

            .recent-winners-section {
                padding: 8px 6px 10px;
            }

            .section-title-text {
                font-size: 13px;
            }

            .section-subtitle-text {
                font-size: 8px;
            }

            .view-all-link {
                font-size: 10px;
            }

            .winner-card-item {
                flex: 0 0 94px;
                padding: 5px 3px;
            }

            .winner-image-wrap {
                height: 68px;
            }

            .golden-won-ribbon {
                font-size: 8.5px;
                padding: 2px 0;
            }

            .winner-date-row,
            .winner-city-row {
                font-size: 6.8px;
            }

            /* Stack bottom value proposition cleanly in 320px */
            .bottom-values-banner {
                flex-direction: column;
                padding: 10px 8px;
                gap: 8px;
            }

            .values-icons-grid {
                width: 100%;
                justify-content: space-around;
            }

            .value-circle-icon {
                width: 26px;
                height: 26px;
            }

            .value-circle-icon svg {
                width: 13px;
                height: 13px;
            }

            .value-item-label {
                font-size: 6.8px;
            }

            .happy-slogan-col {
                width: 100%;
            }

            .happy-text-top {
                font-size: 13px;
            }

            .happy-text-bottom {
                font-size: 14px;
            }

            .happy-brush-swoosh {
                width: 75px;
                height: 5px;
            }

            .bottom-nav-bar {
                padding: 4px 2px 6px;
            }

            .tab-icon-circle {
                width: 32px;
                height: 32px;
            }

            .tab-icon-circle svg {
                width: 16px;
                height: 16px;
            }

            .tab-text-label {
                font-size: 8.8px;
            }

            .active-tab-indicator {
                width: 28px;
                height: 2px;
            }
        }

        /* =========================================================================
           MOBILE ENHANCEMENTS:
           1. Sides Alignment & Zero Side Gaps (No Gap on Sides in Mobile View)
           2. Identical Sizes for "Add Winner Photo" & "Select Winners" Buttons
           3. Elimination of Blank Gap at the End of the Page
           ========================================================================= */

        /* Same Sizes for "Add Winner Photo" and "Select Winners" across views */
        .btn-select-winners,
        .btn-add-winner-photo {
            height: 38px;
            padding: 0 16px;
            font-size: 11.5px;
            font-weight: 700;
            border-radius: 12px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            white-space: nowrap;
            box-sizing: border-box;
            cursor: pointer;
            line-height: 1;
        }

        .btn-select-winners svg {
            width: 15px;
            height: 15px;
            flex-shrink: 0;
        }

        .btn-add-winner-photo span:first-child {
            font-size: 14px;
            line-height: 1;
        }

        /* Mobile View (max-width: 680px) */
        @media (max-width: 680px) {
            html, body {
                width: 100% !important;
                max-width: 100vw !important;
                overflow-x: hidden !important;
                margin: 0 !important;
                padding: 0 !important;
            }

            .dashboard-app-layout {
                width: 100% !important;
                max-width: 100% !important;
                margin: 0 !important;
                padding: 0 !important;
            }

            /* 1. Sides alignment & No gap on sides in mobile view */
            .main-content-panel {
                width: 100% !important;
                max-width: 100% !important;
                padding-left: 0 !important;
                padding-right: 0 !important;
                margin: 0 !important;
                /* 3. Remove the gap at the end of the page */
                padding-bottom: 54px !important;
                min-height: auto !important;
            }

            .dashboard-header {
                width: 100% !important;
                padding: 10px 8px !important;
                box-sizing: border-box !important;
            }

            .dashboard-content-body {
                width: 100% !important;
                padding-left: 0 !important;
                padding-right: 0 !important;
                padding-top: 8px !important;
                padding-bottom: 0 !important;
                margin-bottom: 0 !important;
                gap: 8px !important;
                box-sizing: border-box !important;
            }

            /* Full width cards with clean flush alignment and zero side gap */
            .welcome-card-banner {
                width: 100% !important;
                border-radius: 0 !important;
                border-left: none !important;
                border-right: none !important;
                padding: 14px 10px !important;
                box-sizing: border-box !important;
            }

            .dashboard-hero-actions-container {
                width: 100% !important;
                padding: 0 4px !important;
                margin: 0 !important;
                box-sizing: border-box !important;
                gap: 6px !important;
            }

            .stats-grid-row {
                width: 100% !important;
                padding: 0 4px !important;
                margin: 0 !important;
                box-sizing: border-box !important;
                gap: 4px !important;
            }

            .scratch-cards-row {
                width: 100% !important;
                padding: 0 4px !important;
                margin: 0 !important;
                box-sizing: border-box !important;
                gap: 6px !important;
            }

            .recent-winners-section {
                width: 100% !important;
                border-radius: 0 !important;
                border-left: none !important;
                border-right: none !important;
                padding: 12px 8px 14px !important;
                margin-bottom: 0 !important;
                box-sizing: border-box !important;
            }

            .carousel-nav-arrow.prev {
                left: 2px !important;
            }

            .carousel-nav-arrow.next {
                right: 2px !important;
            }

            /* 2. One Row Alignment for Trophy, Recent Winners, Add Winner & Select Winners Buttons on Mobile */
            .section-header-row {
                display: flex !important;
                flex-direction: row !important;
                align-items: center !important;
                justify-content: space-between !important;
                flex-wrap: nowrap !important;
                gap: 4px !important;
                width: 100% !important;
                margin-bottom: 6px !important;
            }

            .header-title-group {
                display: inline-flex !important;
                align-items: center !important;
                gap: 4px !important;
                flex: 0 1 auto !important;
                min-width: 0 !important;
            }

            .trophy-badge {
                font-size: 15px !important;
                flex-shrink: 0 !important;
            }

            .section-title-text {
                font-size: 11px !important;
                font-weight: 900 !important;
                color: #0b2149 !important;
                white-space: nowrap !important;
                line-height: 1.2 !important;
            }

            .winners-header-actions {
                display: inline-flex !important;
                align-items: center !important;
                gap: 3px !important;
                width: auto !important;
                flex-shrink: 0 !important;
            }

            .btn-select-winners,
            .btn-add-winner-photo {
                flex: 0 0 auto !important;
                width: auto !important;
                height: 28px !important;
                min-height: 28px !important;
                max-height: 28px !important;
                padding: 0 6px !important;
                font-size: 9px !important;
                font-weight: 800 !important;
                border-radius: 7px !important;
                display: inline-flex !important;
                align-items: center !important;
                justify-content: center !important;
                gap: 2px !important;
                box-sizing: border-box !important;
                text-align: center !important;
                white-space: nowrap !important;
            }

            .btn-select-winners svg {
                width: 11px !important;
                height: 11px !important;
                flex-shrink: 0 !important;
            }
        }

        @media (max-width: 360px) {
            .section-title-text {
                font-size: 10px !important;
            }
            .btn-select-winners,
            .btn-add-winner-photo {
                font-size: 8px !important;
                padding: 0 4px !important;
                height: 26px !important;
                min-height: 26px !important;
                max-height: 26px !important;
            }
        }
/* Redesigned Add Cards & Design Cards Buttons in Mobile View - Exact Same Alignment */
        @media (max-width: 680px) {
            .dashboard-hero-actions-container {
                width: 100% !important;
                display: grid !important;
                grid-template-columns: 1fr 1fr !important;
                align-items: stretch !important;
                gap: 6px !important;
                padding: 0 4px !important;
                margin: 0 !important;
                box-sizing: border-box !important;
            }

            .hero-action-card {
                display: flex !important;
                align-items: center !important;
                align-self: stretch !important;
                justify-content: flex-start !important;
                padding: 8px 10px !important;
                min-height: 52px !important;
                height: 100% !important;
                border-radius: 12px !important;
                gap: 6px !important;
                margin: 0 !important;
                box-sizing: border-box !important;
            }

            .hero-action-icon-wrap {
                width: 34px !important;
                height: 32px !important;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
                flex-shrink: 0 !important;
                margin: 0 !important;
            }

            .hero-action-img-icon {
                max-width: 100% !important;
                max-height: 100% !important;
                width: auto !important;
                height: auto !important;
                object-fit: contain !important;
                display: block !important;
            }

            .hero-action-texts {
                display: flex !important;
                flex-direction: column !important;
                justify-content: center !important;
                align-items: flex-start !important;
                flex: 1 !important;
                min-width: 0 !important;
                margin: 0 !important;
                padding: 0 !important;
            }

            .hero-action-main-text {
                font-size: 11px !important;
                font-weight: 900 !important;
                line-height: 1.15 !important;
                margin: 0 !important;
                padding: 0 !important;
            }

            .hero-action-sub-text {
                display: block !important;
                font-size: 8px !important;
                font-weight: 500 !important;
                line-height: 1.15 !important;
                margin: 2px 0 0 0 !important;
                padding: 0 !important;
                white-space: nowrap !important;
                overflow: hidden !important;
                text-overflow: ellipsis !important;
            }

            .hero-action-arrow-icon {
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
                width: 14px !important;
                height: 14px !important;
                margin-left: 2px !important;
                flex-shrink: 0 !important;
            }

            .hero-action-arrow-icon svg {
                width: 14px !important;
                height: 14px !important;
                stroke-width: 3.5 !important;
            }

            /* Responsive Select Winners Modal (Mobile & Small Screens: 375px & 320px) */
            #selectWinnersModal {
                padding: 10px 8px !important;
                align-items: center !important;
                overflow-x: hidden !important;
                width: 100vw !important;
                max-width: 100vw !important;
                box-sizing: border-box !important;
            }

            #selectWinnersModal .custom-modal-dialog,
            .select-winners-dialog {
                width: 100% !important;
                max-width: 100% !important;
                max-height: 92vh !important;
                border-radius: 16px !important;
                margin: 0 auto !important;
                box-sizing: border-box !important;
                overflow-x: hidden !important;
            }

            .select-winners-header {
                padding: 12px 14px !important;
                gap: 8px !important;
                box-sizing: border-box !important;
                width: 100% !important;
            }

            .winners-trophy-icon {
                width: 36px !important;
                height: 36px !important;
                min-width: 36px !important;
                font-size: 18px !important;
                border-radius: 10px !important;
            }

            .select-winners-header .custom-modal-title {
                gap: 10px !important;
                flex: 1 !important;
                min-width: 0 !important;
            }

            .winners-header-text-col {
                flex: 1 !important;
                min-width: 0 !important;
                overflow: hidden !important;
            }

            .winners-modal-main-title {
                font-size: 14px !important;
                white-space: nowrap !important;
                overflow: hidden !important;
                text-overflow: ellipsis !important;
                line-height: 1.2 !important;
            }

            .winners-modal-sub-title {
                font-size: 10.5px !important;
                white-space: nowrap !important;
                overflow: hidden !important;
                text-overflow: ellipsis !important;
                line-height: 1.2 !important;
            }

            .select-winners-close {
                width: 30px !important;
                height: 30px !important;
                min-width: 30px !important;
                font-size: 13px !important;
                margin-left: 4px !important;
                flex-shrink: 0 !important;
            }

            .select-winners-body {
                padding: 12px 10px !important;
                box-sizing: border-box !important;
                width: 100% !important;
                overflow-x: hidden !important;
            }

            .winners-select-header {
                flex-direction: column !important;
                align-items: stretch !important;
                gap: 8px !important;
                margin-bottom: 10px !important;
                width: 100% !important;
                box-sizing: border-box !important;
            }

            .winners-search-wrap {
                width: 100% !important;
                flex: 1 1 100% !important;
                min-width: 0 !important;
                box-sizing: border-box !important;
            }

            .winners-search-input {
                width: 100% !important;
                box-sizing: border-box !important;
                padding: 8px 10px 8px 32px !important;
                font-size: 12.5px !important;
                border-radius: 9px !important;
            }

            .winners-search-icon {
                left: 10px !important;
                font-size: 13px !important;
            }

            .winners-actions-wrap {
                width: 100% !important;
                display: flex !important;
                gap: 8px !important;
                box-sizing: border-box !important;
            }

            .btn-select-top10 {
                flex: 1 !important;
                min-width: 0 !important;
                justify-content: center !important;
                text-align: center !important;
                padding: 8px 10px !important;
                font-size: 11.5px !important;
                border-radius: 9px !important;
                white-space: nowrap !important;
            }

            .btn-clear-selection {
                flex: 0 0 auto !important;
                padding: 8px 12px !important;
                font-size: 11px !important;
                border-radius: 9px !important;
                white-space: nowrap !important;
            }

            .winners-list-container,
            #winnersSelectionList {
                grid-template-columns: 1fr !important;
                gap: 8px !important;
                max-height: 52vh !important;
                padding: 2px 2px 8px 2px !important;
                width: 100% !important;
                box-sizing: border-box !important;
                overflow-x: hidden !important;
            }

            .winner-select-card,
            .winner-select-row {
                width: 100% !important;
                max-width: 100% !important;
                box-sizing: border-box !important;
                padding: 9px 10px !important;
                gap: 10px !important;
                border-radius: 12px !important;
            }

            .winner-card-pic-wrap,
            .winner-select-pic-wrap {
                width: 68px !important;
                height: 68px !important;
                min-width: 68px !important;
                min-height: 68px !important;
                border-radius: 10px !important;
            }

            .winner-card-content-col {
                flex: 1 1 auto !important;
                min-width: 0 !important;
                overflow: hidden !important;
            }

            .winner-card-head-row {
                width: 100% !important;
                min-width: 0 !important;
                gap: 6px !important;
            }

            .winner-card-prize-name,
            .winner-item-title {
                font-size: 13.5px !important;
                min-width: 0 !important;
            }

            .winner-toggle-slider {
                padding: 3px 7px !important;
                font-size: 10px !important;
            }

            .winner-card-winner-info {
                font-size: 11px !important;
                width: 100% !important;
                min-width: 0 !important;
            }

            .winner-card-bottom-actions {
                width: 100% !important;
                min-width: 0 !important;
                gap: 6px !important;
            }

            .btn-winner-card-editpic,
            .btn-winner-modal-editpic {
                padding: 5px 8px !important;
                font-size: 10.5px !important;
                gap: 3px !important;
            }

            .btn-sort-winner-up,
            .btn-sort-winner-down {
                width: 25px !important;
                height: 22px !important;
                font-size: 9px !important;
            }

            .select-winners-footer {
                padding: 10px 12px !important;
                flex-direction: column !important;
                align-items: stretch !important;
                gap: 8px !important;
                width: 100% !important;
                box-sizing: border-box !important;
            }

            .winners-status-pill {
                width: 100% !important;
                justify-content: center !important;
                font-size: 11px !important;
                padding: 5px 8px !important;
                box-sizing: border-box !important;
            }

            .winners-footer-btns {
                width: 100% !important;
                display: flex !important;
                gap: 6px !important;
                box-sizing: border-box !important;
            }

            .btn-modal-cancel {
                flex: 1 !important;
                min-width: 0 !important;
                padding: 8px 10px !important;
                font-size: 12px !important;
                text-align: center !important;
                border-radius: 9px !important;
            }

            .btn-save-winners {
                flex: 2 !important;
                min-width: 0 !important;
                padding: 8px 10px !important;
                font-size: 12px !important;
                text-align: center !important;
                justify-content: center !important;
                border-radius: 9px !important;
                white-space: nowrap !important;
            }
        }

        @media (max-width: 360px) {
            .dashboard-hero-actions-container {
                gap: 5px !important;
                align-items: stretch !important;
            }
            .hero-action-card {
                padding: 6px 6px !important;
                min-height: 48px !important;
                height: 100% !important;
                align-self: stretch !important;
                margin: 0 !important;
            }
            .hero-action-icon-wrap {
                width: 28px !important;
                height: 28px !important;
                margin: 0 !important;
            }
            .hero-action-main-text {
                font-size: 9.5px !important;
                line-height: 1.1 !important;
            }
            .hero-action-sub-text {
                font-size: 7.2px !important;
                line-height: 1.1 !important;
                margin-top: 1px !important;
            }

            /* Mobile S 320px Screen Safeguards */
            #selectWinnersModal {
                padding: 6px 4px !important;
            }

            .select-winners-header {
                padding: 8px 8px !important;
                gap: 6px !important;
            }

            .winners-trophy-icon {
                width: 30px !important;
                height: 30px !important;
                min-width: 30px !important;
                font-size: 15px !important;
                border-radius: 8px !important;
            }

            .winners-modal-main-title {
                font-size: 12px !important;
            }

            .winners-modal-sub-title {
                display: none !important;
            }

            .select-winners-close {
                width: 26px !important;
                height: 26px !important;
                min-width: 26px !important;
                font-size: 12px !important;
            }

            .select-winners-body {
                padding: 8px 6px !important;
            }

            .winner-select-card,
            .winner-select-row {
                padding: 6px 7px !important;
                gap: 7px !important;
            }

            .winner-card-pic-wrap,
            .winner-select-pic-wrap {
                width: 58px !important;
                height: 58px !important;
                min-width: 58px !important;
                min-height: 58px !important;
                border-radius: 9px !important;
            }

            .winner-card-prize-name,
            .winner-item-title {
                font-size: 11.5px !important;
            }

            .winner-card-winner-info {
                font-size: 9.5px !important;
            }

            .btn-winner-card-editpic,
            .btn-winner-modal-editpic {
                padding: 4px 6px !important;
                font-size: 9px !important;
            }

            .btn-sort-winner-up,
            .btn-sort-winner-down {
                width: 22px !important;
                height: 20px !important;
                font-size: 8.5px !important;
            }

            .winner-toggle-slider {
                padding: 2px 5px !important;
                font-size: 8.5px !important;
            }

            .select-winners-footer {
                padding: 6px 8px !important;
                gap: 5px !important;
            }

            .btn-save-winners {
                font-size: 10.5px !important;
                padding: 7px 8px !important;
            }

            .btn-modal-cancel {
                font-size: 10.5px !important;
                padding: 7px 6px !important;
            }
        }


/* Four dashboard cards share one responsive two-column grid. */
.dashboard-card-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: 1fr;
    gap: 12px !important;
    padding: 0 !important;
    width: 100%;
}
.dashboard-card-grid > .hero-action-card,
.dashboard-card-grid > .stat-card-box {
    box-sizing: border-box;
    min-width: 0;
    min-height: 150px !important;
    height: auto !important;
    margin: 0 !important;
    border-radius: 16px !important;
}
@media (max-width: 680px) {
    .dashboard-card-grid { gap: 8px !important; }
    .dashboard-card-grid > .hero-action-card,
    .dashboard-card-grid > .stat-card-box {
        min-height: 136px !important;
        padding: 12px 8px !important;
    }
    .dashboard-card-grid > .hero-action-card {
        flex-direction: column !important;
        justify-content: center !important;
        gap: 8px !important;
        text-align: center;
    }
    .dashboard-card-grid .hero-action-texts { align-items: center !important; }
    .dashboard-card-grid .hero-action-icon-wrap { width: 36px !important; height: 36px !important; }
    .dashboard-card-grid .hero-action-main-text { font-size: 14px !important; line-height: 1.3 !important; }
    .dashboard-card-grid .hero-action-sub-text {
        font-size: 11px !important;
        white-space: normal !important;
        line-height: 1.4 !important;
    }
    .dashboard-card-grid .hero-action-arrow-icon { display: none !important; }
    .dashboard-card-grid .stat-number-value { font-size: 28px !important; line-height: 1.2 !important; }
    .dashboard-card-grid .stat-title-label { font-size: 13px !important; line-height: 1.35 !important; white-space: normal !important; }
    .dashboard-card-grid .badge-trend-row { font-size: 11px !important; }
    .dashboard-card-grid .badge-sub-label { font-size: 10px !important; }
    .dashboard-card-grid .stat-bottom-pill { font-size: 10px !important; white-space: normal !important; line-height: 1.35 !important; }
}

/* Assigned / Used use the same dimensions and typography as scratch tiles. */
.dashboard-content-body {
    --scratch-tile-height: 155px;
    --scratch-title-size: 14px;
    --scratch-number-size: 32px;
    --scratch-caption-size: 9.5px;
    --scratch-grid-gap: 12px;
}
.dashboard-card-grid {
    grid-auto-rows: auto;
    gap: var(--scratch-grid-gap) !important;
}
.dashboard-card-grid #statCardAssigned,
.dashboard-card-grid #statCardUsed {
    box-sizing: border-box;
    height: var(--scratch-tile-height) !important;
    min-height: var(--scratch-tile-height) !important;
}
.dashboard-card-grid #statCardAssigned .stat-title-label,
.dashboard-card-grid #statCardUsed .stat-title-label {
    font-size: var(--scratch-title-size) !important;
    font-weight: 900;
    line-height: 1.15 !important;
}
.dashboard-card-grid #statCardAssigned .stat-number-value,
.dashboard-card-grid #statCardUsed .stat-number-value {
    font-size: var(--scratch-number-size) !important;
    line-height: 1 !important;
}
.dashboard-card-grid #statCardAssigned .stat-bottom-pill,
.dashboard-card-grid #statCardUsed .stat-bottom-pill {
    font-size: var(--scratch-caption-size) !important;
}
@media (min-width: 900px) {
    .dashboard-content-body {
        --scratch-tile-height: 180px;
        --scratch-title-size: 18px;
        --scratch-number-size: 44px;
        --scratch-caption-size: 12px;
        --scratch-grid-gap: 20px;
    }
}
@media (min-width: 481px) and (max-width: 899px) {
    .dashboard-content-body {
        --scratch-tile-height: 170px;
        --scratch-title-size: 16.5px;
        --scratch-number-size: 38px;
        --scratch-caption-size: 11px;
        --scratch-grid-gap: 16px;
    }
}
@media (max-width: 400px) {
    .dashboard-content-body {
        --scratch-tile-height: 140px;
        --scratch-title-size: 12.5px;
        --scratch-number-size: 28px;
        --scratch-caption-size: 8.5px;
        --scratch-grid-gap: 8px;
    }
}
@media (max-width: 340px) {
    .dashboard-content-body {
        --scratch-tile-height: 125px;
        --scratch-title-size: 11px;
        --scratch-number-size: 22px;
        --scratch-caption-size: 7.2px;
        --scratch-grid-gap: 6px;
    }
}
@media (max-width: 680px) {
    .dashboard-card-grid { padding: 0 4px !important; }
    .dashboard-card-grid > .hero-btn-add {
        display: grid !important;
        grid-template-columns: auto auto;
        align-content: center;
        justify-content: center !important;
        align-items: center;
        column-gap: 6px !important;
        row-gap: 6px !important;
    }
    .dashboard-card-grid .hero-btn-add .hero-action-texts { display: contents !important; }
    .dashboard-card-grid .hero-btn-add .hero-action-icon-wrap {
        grid-column: 1;
        grid-row: 1;
        width: 30px !important;
        height: 30px !important;
    }
    .dashboard-card-grid .hero-btn-add .hero-action-main-text {
        grid-column: 2;
        grid-row: 1;
        white-space: nowrap;
        text-align: center;
    }
    .dashboard-card-grid .hero-btn-add .hero-action-sub-text {
        grid-column: 1 / -1;
        grid-row: 2;
        text-align: center;
    }
    .dashboard-card-grid #statCardAssigned,
    .dashboard-card-grid #statCardUsed { padding: 8px 6px !important; }
    .dashboard-card-grid #statCardAssigned .stat-number-value,
    .dashboard-card-grid #statCardUsed .stat-number-value { margin: 4px 0 3px !important; }
    .dashboard-card-grid #statCardAssigned .stat-bottom-pill span:first-child,
    .dashboard-card-grid #statCardUsed .stat-bottom-pill span:first-child { white-space: normal; }
}

.dashboard-card-grid .hero-btn-add .hero-action-main-text {
    text-transform: none !important;
}
.dashboard-card-grid .hero-btn-add .hero-action-icon-wrap {
    width: 72px !important;
    height: 64px !important;
}
.dashboard-card-grid .hero-btn-add .hero-action-img-icon {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}
.hero-action-click-text {
    text-decoration: none;
}
@media (max-width: 680px) {
    .dashboard-card-grid > .hero-btn-add {
        grid-template-columns: 40px minmax(0, 1fr);
    }
    .dashboard-card-grid .hero-btn-add .hero-action-icon-wrap {
        width: 40px !important;
        height: 40px !important;
    }
    .dashboard-card-grid .hero-btn-add .hero-action-main-text {
        white-space: normal;
        min-width: 0;
    }
    .dashboard-card-grid .hero-btn-add .hero-action-click-text {
        grid-column: 1 / -1;
        grid-row: 3;
        text-align: center;
    }
}
