        /* ============================================
           CSS DESIGN SYSTEM - SKROTFRAG
           Inspired by Stakent Dashboard
           Deep Purple/Navy Professional Theme
           ============================================ */

        :root {
            /* Colors - Deep Purple/Navy palette */
            --color-bg: #0a0a12;
            --color-bg-subtle: #12121c;
            --color-bg-muted: #1a1a28;
            --color-bg-elevated: #222234;
            --color-bg-card: rgba(20, 20, 35, 0.8);
            
            --color-border: rgba(255, 255, 255, 0.06);
            --color-border-subtle: rgba(255, 255, 255, 0.1);
            --color-border-glow: rgba(139, 92, 246, 0.2);
            
            --color-text: #f4f4f5;
            --color-text-secondary: #a1a1aa;
            --color-text-muted: #6b6b80;
            --color-text-disabled: #4a4a5a;
            
            /* Brand colors - Purple theme */
            --color-primary: #8b5cf6;
            --color-primary-hover: #7c3aed;
            --color-primary-muted: rgba(139, 92, 246, 0.15);
            --color-primary-glow: rgba(139, 92, 246, 0.3);
            
            --color-accent: #c084fc;
            --color-accent-muted: rgba(192, 132, 252, 0.15);
            
            --color-success: #22c55e;
            --color-success-muted: rgba(34, 197, 94, 0.12);
            --color-warning: #f59e0b;
            --color-warning-muted: rgba(245, 158, 11, 0.12);
            --color-error: #ef4444;
            --color-error-muted: rgba(239, 68, 68, 0.12);
            --color-info: #06b6d4;
            --color-info-muted: rgba(6, 182, 212, 0.12);
            
            /* Gradients */
            --gradient-purple: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
            --gradient-card: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 100%);
            --gradient-border: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.02) 100%);
            --gradient-promo: linear-gradient(135deg, rgba(139, 92, 246, 0.4) 0%, rgba(192, 132, 252, 0.2) 100%);
            
            /* Spacing */
            --space-1: 4px;
            --space-2: 8px;
            --space-3: 12px;
            --space-4: 16px;
            --space-5: 20px;
            --space-6: 24px;
            --space-8: 32px;
            --space-10: 40px;
            --space-12: 48px;
            
            /* Radius */
            --radius-sm: 6px;
            --radius-md: 10px;
            --radius-lg: 14px;
            --radius-xl: 18px;
            --radius-2xl: 24px;
            --radius-full: 9999px;
            
            /* Shadows & Glows */
            --shadow-sm: 0 1px 2px rgba(0,0,0,0.5);
            --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
            --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
            --shadow-xl: 0 16px 48px rgba(0,0,0,0.6);
            --shadow-glow: 0 0 20px rgba(139, 92, 246, 0.15);
            --shadow-card: 0 4px 24px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.05);
            
            /* Layout */
            --sidebar-width: 280px;
            --header-height: 72px;
            --mobile-nav-height: 80px;
            --safe-area-bottom: env(safe-area-inset-bottom, 0px);
        }

        /* ============================================
           RESET & BASE
           ============================================ */
        *, *::before, *::after {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            font-size: 16px;
            -webkit-text-size-adjust: 100%;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
            background: var(--color-bg);
            color: var(--color-text);
            line-height: 1.5;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            overflow-x: hidden;
            background-image: 
                radial-gradient(ellipse 80% 50% at 50% -20%, rgba(139, 92, 246, 0.08), transparent),
                radial-gradient(ellipse 60% 40% at 100% 100%, rgba(99, 102, 241, 0.05), transparent);
            background-attachment: fixed;
        }

        button {
            font-family: inherit;
            cursor: pointer;
            border: none;
            background: none;
        }

        input, select, textarea {
            font-family: inherit;
            font-size: inherit;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        /* ============================================
           MOBILE LAYOUT (Default)
           iOS/Android Native App Style
           ============================================ */
        
        .app {
            min-height: 100vh;
            min-height: 100dvh;
            display: flex;
            flex-direction: column;
        }

        /* Mobile Header - Glassmorphism */
        .mobile-header {
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(10, 10, 18, 0.9);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            border-bottom: 1px solid var(--color-border);
            padding: var(--space-3) var(--space-4);
            padding-top: calc(var(--space-3) + env(safe-area-inset-top, 0px));
        }

        .mobile-header-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 48px;
        }

        .mobile-header-title {
            font-size: 18px;
            font-weight: 600;
            letter-spacing: -0.3px;
            background: linear-gradient(90deg, var(--color-text) 0%, var(--color-text-secondary) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .mobile-header-actions {
            display: flex;
            gap: var(--space-2);
        }

        /* Desktop Sidebar - Hidden on mobile */
        .sidebar {
            display: none;
        }

        /* Desktop Header - Hidden on mobile */
        .desktop-header {
            display: none;
        }

        /* Main Content */
        .main-content {
            flex: 1;
            padding: var(--space-4);
            padding-bottom: calc(var(--mobile-nav-height) + var(--space-4) + var(--safe-area-bottom));
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
        }

        /* Mobile Bottom Navigation - Glassmorphism */
        .mobile-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 100;
            background: rgba(10, 10, 18, 0.95);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            border-top: 1px solid var(--color-border);
            padding-bottom: var(--safe-area-bottom);
        }

        .mobile-nav-inner {
            display: flex;
            height: var(--mobile-nav-height);
        }

        .mobile-nav-item {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 6px;
            color: var(--color-text-muted);
            transition: all 0.25s ease;
            position: relative;
            -webkit-tap-highlight-color: transparent;
        }

        .mobile-nav-item:active {
            transform: scale(0.9);
        }

        .mobile-nav-item.active {
            color: var(--color-primary);
        }

        .mobile-nav-item.active .nav-icon {
            filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.5));
        }

        .mobile-nav-item .nav-icon {
            width: 24px;
            height: 24px;
            transition: filter 0.25s ease;
        }

        .mobile-nav-item .nav-label {
            font-size: 10px;
            font-weight: 500;
            letter-spacing: 0.3px;
            text-transform: uppercase;
        }

        .mobile-nav-item .nav-badge {
            position: absolute;
            top: 6px;
            right: calc(50% - 18px);
            min-width: 18px;
            height: 18px;
            padding: 0 5px;
            background: var(--gradient-purple);
            border-radius: var(--radius-full);
            font-size: 10px;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
        }

        /* ============================================
           DESKTOP LAYOUT (1024px+)
           Stakent-Inspired Dashboard Style
           ============================================ */
        @media (min-width: 1024px) {
            .mobile-header { display: none; }
            .mobile-nav { display: none; }

            .app {
                flex-direction: row;
            }

            /* Desktop Sidebar - Glassmorphism */
            .sidebar {
                display: flex;
                flex-direction: column;
                width: var(--sidebar-width);
                height: 100vh;
                position: fixed;
                left: 0;
                top: 0;
                background: rgba(12, 12, 20, 0.95);
                backdrop-filter: blur(20px);
                border-right: 1px solid var(--color-border);
                z-index: 50;
            }

            .sidebar-header {
                padding: var(--space-5) var(--space-5);
                border-bottom: 1px solid var(--color-border);
            }

            .sidebar-logo {
                display: flex;
                align-items: center;
                gap: var(--space-3);
                cursor: pointer;
                padding: var(--space-2);
                margin: calc(-1 * var(--space-2));
                border-radius: var(--radius-lg);
                transition: background 0.2s;
            }

            .sidebar-logo:hover {
                background: rgba(255, 255, 255, 0.03);
            }

            .sidebar-logo-icon {
                width: 42px;
                height: 42px;
                background: var(--gradient-purple);
                border-radius: var(--radius-lg);
                display: flex;
                align-items: center;
                justify-content: center;
                color: white;
                box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
            }

            .sidebar-logo-icon svg {
                width: 22px;
                height: 22px;
            }

            .sidebar-logo-text {
                font-size: 20px;
                font-weight: 700;
                letter-spacing: -0.5px;
                background: linear-gradient(90deg, var(--color-text) 0%, var(--color-text-secondary) 100%);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                background-clip: text;
            }

            .sidebar-logo-text small {
                display: block;
                font-size: 11px;
                font-weight: 500;
                letter-spacing: 0;
                color: var(--color-text-muted);
                -webkit-text-fill-color: var(--color-text-muted);
            }

            /* Sidebar Tab Toggle - Like Staking/Stablecoin */
            .sidebar-tabs {
                display: flex;
                gap: var(--space-1);
                padding: var(--space-2);
                background: var(--color-bg-muted);
                border-radius: var(--radius-lg);
                margin: var(--space-4) var(--space-5);
            }

            .sidebar-tab {
                flex: 1;
                padding: var(--space-2) var(--space-3);
                border-radius: var(--radius-md);
                font-size: 13px;
                font-weight: 600;
                color: var(--color-text-muted);
                text-align: center;
                transition: all 0.2s;
            }

            .sidebar-tab:hover {
                color: var(--color-text-secondary);
            }

            .sidebar-tab.active {
                background: var(--color-bg-elevated);
                color: var(--color-text);
                box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
            }

            .sidebar-nav {
                flex: 1;
                padding: var(--space-2) var(--space-3);
                overflow-y: auto;
            }

            .sidebar-nav-section {
                margin-bottom: var(--space-4);
            }

            .sidebar-nav-label {
                font-size: 11px;
                font-weight: 600;
                text-transform: uppercase;
                letter-spacing: 0.8px;
                color: var(--color-text-disabled);
                padding: var(--space-3) var(--space-3);
                margin-bottom: var(--space-1);
            }

            .sidebar-nav-item {
                display: flex;
                align-items: center;
                gap: var(--space-3);
                width: 100%;
                padding: var(--space-3) var(--space-3);
                border-radius: var(--radius-md);
                color: var(--color-text-secondary);
                font-size: 14px;
                font-weight: 500;
                transition: all 0.2s;
                margin-bottom: 2px;
                position: relative;
            }

            .sidebar-nav-item::before {
                content: '';
                position: absolute;
                left: 0;
                top: 50%;
                transform: translateY(-50%);
                width: 3px;
                height: 0;
                background: var(--gradient-purple);
                border-radius: var(--radius-full);
                transition: height 0.2s;
            }

            .sidebar-nav-item:hover {
                background: rgba(255, 255, 255, 0.03);
                color: var(--color-text);
            }

            .sidebar-nav-item.active {
                background: rgba(139, 92, 246, 0.1);
                color: var(--color-primary);
            }

            .sidebar-nav-item.active::before {
                height: 20px;
            }

            .sidebar-nav-item svg {
                width: 20px;
                height: 20px;
                flex-shrink: 0;
                opacity: 0.7;
            }

            .sidebar-nav-item.active svg {
                opacity: 1;
                filter: drop-shadow(0 0 4px rgba(139, 92, 246, 0.4));
            }

            .sidebar-nav-item .nav-item-badge {
                margin-left: auto;
                min-width: 22px;
                height: 22px;
                padding: 0 7px;
                background: var(--gradient-purple);
                border-radius: var(--radius-full);
                font-size: 11px;
                font-weight: 700;
                display: flex;
                align-items: center;
                justify-content: center;
                color: white;
                box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
            }

            .sidebar-nav-item .nav-item-label {
                font-size: 10px;
                font-weight: 600;
                padding: 2px 6px;
                background: rgba(139, 92, 246, 0.2);
                color: var(--color-primary);
                border-radius: var(--radius-sm);
                margin-left: auto;
            }

            .sidebar-nav-item .external-link {
                margin-left: auto;
                width: 14px;
                height: 14px;
                opacity: 0.4;
            }

            .sidebar-footer {
                padding: var(--space-4);
                border-top: 1px solid var(--color-border);
            }

            /* Upgrade Card in Sidebar */
            .sidebar-upgrade {
                background: var(--gradient-promo);
                border: 1px solid rgba(139, 92, 246, 0.2);
                border-radius: var(--radius-xl);
                padding: var(--space-4);
                margin: var(--space-4) var(--space-3);
            }

            .sidebar-upgrade-icon {
                width: 36px;
                height: 36px;
                background: rgba(139, 92, 246, 0.3);
                border-radius: var(--radius-md);
                display: flex;
                align-items: center;
                justify-content: center;
                margin-bottom: var(--space-3);
            }

            .sidebar-upgrade-icon svg {
                width: 20px;
                height: 20px;
                color: var(--color-accent);
            }

            .sidebar-upgrade-title {
                font-size: 14px;
                font-weight: 600;
                margin-bottom: var(--space-1);
            }

            .sidebar-upgrade-text {
                font-size: 12px;
                color: var(--color-text-secondary);
                line-height: 1.4;
            }

            .sidebar-user {
                display: flex;
                align-items: center;
                gap: var(--space-3);
                padding: var(--space-3);
                border-radius: var(--radius-lg);
                background: rgba(255, 255, 255, 0.03);
                border: 1px solid var(--color-border);
                transition: all 0.2s;
                cursor: pointer;
            }

            .sidebar-user:hover {
                background: rgba(255, 255, 255, 0.05);
                border-color: var(--color-border-subtle);
            }

            .sidebar-user-avatar {
                width: 38px;
                height: 38px;
                background: var(--gradient-purple);
                border-radius: var(--radius-full);
                display: flex;
                align-items: center;
                justify-content: center;
                font-weight: 700;
                font-size: 14px;
                color: white;
                box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
            }

            .sidebar-user-info {
                flex: 1;
                min-width: 0;
            }

            .sidebar-user-name {
                font-size: 14px;
                font-weight: 600;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }

            .sidebar-user-role {
                font-size: 12px;
                color: var(--color-text-muted);
            }

            /* Desktop Header - Redesigned */
            .desktop-header {
                display: flex;
                align-items: center;
                justify-content: space-between;
                height: var(--header-height);
                padding: 0 var(--space-6);
                background: rgba(10, 10, 18, 0.8);
                backdrop-filter: blur(20px);
                border-bottom: 1px solid var(--color-border);
                position: sticky;
                top: 0;
                z-index: 40;
            }

            .desktop-header-left {
                display: flex;
                align-items: center;
                gap: var(--space-4);
            }

            .breadcrumbs {
                display: flex;
                align-items: center;
                gap: var(--space-2);
                font-size: 14px;
                color: var(--color-text-muted);
            }

            .breadcrumbs span {
                color: var(--color-text);
                font-weight: 500;
            }

            .desktop-header-right {
                display: flex;
                align-items: center;
                gap: var(--space-3);
            }

            .header-search {
                display: flex;
                align-items: center;
                gap: var(--space-2);
                padding: var(--space-2) var(--space-4);
                background: rgba(255, 255, 255, 0.03);
                border: 1px solid var(--color-border);
                border-radius: var(--radius-lg);
                color: var(--color-text-muted);
                font-size: 14px;
                cursor: pointer;
                transition: all 0.2s;
            }

            .header-search:hover {
                background: rgba(255, 255, 255, 0.05);
                border-color: var(--color-border-subtle);
            }

            .header-search svg {
                width: 16px;
                height: 16px;
            }

            .header-settings {
                display: flex;
                align-items: center;
                gap: var(--space-2);
                padding: var(--space-2) var(--space-3);
                background: rgba(255, 255, 255, 0.03);
                border: 1px solid var(--color-border);
                border-radius: var(--radius-lg);
                color: var(--color-text-secondary);
                font-size: 14px;
                transition: all 0.2s;
            }

            .header-settings:hover {
                background: rgba(255, 255, 255, 0.05);
                color: var(--color-text);
            }

            .header-settings svg {
                width: 18px;
                height: 18px;
            }

            /* Main content with sidebar offset */
            .main-content {
                margin-left: var(--sidebar-width);
                padding: var(--space-6);
                padding-bottom: var(--space-6);
                min-height: 100vh;
            }

            .page-container {
                max-width: 1400px;
                margin: 0 auto;
            }
        }

        /* ============================================
           COMPONENTS - STAKENT STYLE
           ============================================ */

        /* Page Header */
        .page-header {
            margin-bottom: var(--space-6);
        }

        .page-header-badge {
            display: inline-flex;
            align-items: center;
            gap: var(--space-2);
            padding: var(--space-1) var(--space-3);
            background: rgba(139, 92, 246, 0.15);
            border: 1px solid rgba(139, 92, 246, 0.2);
            border-radius: var(--radius-full);
            font-size: 12px;
            font-weight: 500;
            color: var(--color-primary);
            margin-bottom: var(--space-3);
        }

        .page-header-badge svg {
            width: 14px;
            height: 14px;
        }

        .page-title {
            font-size: 26px;
            font-weight: 700;
            letter-spacing: -0.5px;
            margin-bottom: var(--space-2);
            background: linear-gradient(90deg, var(--color-text) 20%, var(--color-text-secondary) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .page-subtitle {
            font-size: 14px;
            color: var(--color-text-muted);
        }

        @media (min-width: 1024px) {
            .page-title {
                font-size: 32px;
            }

            .page-header-row {
                display: flex;
                align-items: flex-start;
                justify-content: space-between;
                gap: var(--space-6);
            }
        }

        /* Cards - Glassmorphism Style */
        .card {
            background: var(--color-bg-card);
            border-radius: var(--radius-xl);
            padding: var(--space-4);
            margin-bottom: var(--space-4);
            border: 1px solid var(--color-border);
            backdrop-filter: blur(10px);
            position: relative;
            overflow: hidden;
        }

        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
        }

        @media (min-width: 1024px) {
            .card {
                padding: var(--space-5);
                box-shadow: var(--shadow-card);
                transition: all 0.25s ease;
            }

            .card:hover {
                border-color: var(--color-border-subtle);
                box-shadow: var(--shadow-card), var(--shadow-glow);
            }
        }

        .card-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: var(--space-4);
        }

        .card-title {
            font-size: 14px;
            font-weight: 600;
            color: var(--color-text-secondary);
            display: flex;
            align-items: center;
            gap: var(--space-2);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .card-title svg {
            width: 18px;
            height: 18px;
            color: var(--color-primary);
            opacity: 0.8;
        }

        /* Asset Cards - Like Stakent */
        .asset-card {
            background: var(--color-bg-card);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-xl);
            padding: var(--space-5);
            position: relative;
            overflow: hidden;
            transition: all 0.25s ease;
        }

        .asset-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
        }

        .asset-card:hover {
            border-color: var(--color-border-subtle);
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        .asset-card-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: var(--space-4);
        }

        .asset-card-icon {
            width: 44px;
            height: 44px;
            border-radius: var(--radius-lg);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
        }

        .asset-card-label {
            font-size: 11px;
            font-weight: 600;
            color: var(--color-text-muted);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .asset-card-title {
            font-size: 15px;
            font-weight: 600;
            color: var(--color-text);
        }

        .asset-card-arrow {
            width: 32px;
            height: 32px;
            border-radius: var(--radius-md);
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--color-border);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }

        .asset-card-arrow:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .asset-card-arrow svg {
            width: 16px;
            height: 16px;
            color: var(--color-text-muted);
        }

        .asset-card-value {
            font-size: 32px;
            font-weight: 700;
            letter-spacing: -1px;
            margin-bottom: var(--space-1);
        }

        .asset-card-change {
            display: inline-flex;
            align-items: center;
            gap: var(--space-1);
            font-size: 13px;
            font-weight: 500;
        }

        .asset-card-change.positive { color: var(--color-success); }
        .asset-card-change.negative { color: var(--color-error); }

        .asset-card-sparkline {
            height: 60px;
            margin-top: var(--space-4);
            position: relative;
        }

        .sparkline-value {
            position: absolute;
            top: 0;
            right: 0;
            font-size: 12px;
            font-weight: 500;
            color: var(--color-text-secondary);
            background: var(--color-bg-elevated);
            padding: 2px 8px;
            border-radius: var(--radius-sm);
        }

        /* Stats Grid - Stakent Style */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: var(--space-4);
            margin-bottom: var(--space-5);
        }

        @media (min-width: 1024px) {
            .stats-grid {
                grid-template-columns: repeat(4, 1fr);
                gap: var(--space-5);
            }
        }

        .stat-card {
            background: var(--color-bg-card);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-xl);
            padding: var(--space-4);
            display: flex;
            flex-direction: column;
            gap: var(--space-3);
            position: relative;
            overflow: hidden;
            transition: all 0.25s ease;
        }

        .stat-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
        }

        @media (min-width: 1024px) {
            .stat-card {
                padding: var(--space-5);
            }

            .stat-card:hover {
                border-color: var(--color-border-subtle);
                transform: translateY(-3px);
                box-shadow: var(--shadow-lg), var(--shadow-glow);
            }
        }

        .stat-icon {
            width: 44px;
            height: 44px;
            border-radius: var(--radius-lg);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .stat-icon svg {
            width: 22px;
            height: 22px;
        }

        .stat-icon.blue { 
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(99, 102, 241, 0.1) 100%); 
            color: var(--color-primary);
            box-shadow: 0 0 20px rgba(139, 92, 246, 0.15);
        }
        .stat-icon.green { 
            background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(16, 185, 129, 0.1) 100%); 
            color: var(--color-success);
            box-shadow: 0 0 20px rgba(34, 197, 94, 0.15);
        }
        .stat-icon.yellow { 
            background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(234, 179, 8, 0.1) 100%); 
            color: var(--color-warning);
            box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
        }
        .stat-icon.red { 
            background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(248, 113, 113, 0.1) 100%); 
            color: var(--color-error);
            box-shadow: 0 0 20px rgba(239, 68, 68, 0.15);
        }

        .stat-value {
            font-size: 28px;
            font-weight: 700;
            letter-spacing: -1px;
            background: linear-gradient(180deg, var(--color-text) 0%, var(--color-text-secondary) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .stat-label {
            font-size: 12px;
            color: var(--color-text-muted);
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* List Items - Stakent Style */
        .list-group {
            background: var(--color-bg-card);
            border-radius: var(--radius-xl);
            overflow: hidden;
            margin-bottom: var(--space-4);
            border: 1px solid var(--color-border);
        }

        .list-item {
            display: flex;
            align-items: center;
            gap: var(--space-3);
            padding: var(--space-4);
            border-bottom: 1px solid var(--color-border);
            transition: all 0.2s;
            cursor: pointer;
            -webkit-tap-highlight-color: transparent;
        }

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

        .list-item:active {
            background: rgba(139, 92, 246, 0.05);
        }

        @media (min-width: 1024px) {
            .list-item:hover {
                background: rgba(255, 255, 255, 0.02);
            }
        }

        .list-item-icon {
            width: 44px;
            height: 44px;
            border-radius: var(--radius-lg);
            background: rgba(139, 92, 246, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: all 0.2s;
        }

        .list-item:hover .list-item-icon {
            background: rgba(139, 92, 246, 0.15);
            box-shadow: 0 0 12px rgba(139, 92, 246, 0.2);
        }

        .list-item-icon svg {
            width: 22px;
            height: 22px;
            color: var(--color-primary);
        }

        .list-item-content {
            flex: 1;
            min-width: 0;
        }

        .list-item-title {
            font-size: 15px;
            font-weight: 600;
            margin-bottom: 3px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .list-item-subtitle {
            font-size: 13px;
            color: var(--color-text-muted);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .list-item-chevron {
            color: var(--color-text-disabled);
            flex-shrink: 0;
            transition: transform 0.2s;
        }

        .list-item:hover .list-item-chevron {
            transform: translateX(4px);
            color: var(--color-primary);
        }

        .list-item-chevron svg {
            width: 20px;
            height: 20px;
        }

        /* Buttons - Stakent Style */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: var(--space-2);
            padding: var(--space-3) var(--space-5);
            border-radius: var(--radius-lg);
            font-size: 14px;
            font-weight: 600;
            transition: all 0.2s ease;
            -webkit-tap-highlight-color: transparent;
            position: relative;
            overflow: hidden;
        }

        .btn:active {
            transform: scale(0.97);
        }

        .btn-primary {
            background: var(--gradient-purple);
            color: white;
            box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
        }

        .btn-primary:hover {
            box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
            transform: translateY(-1px);
        }

        .btn-secondary {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--color-border);
            color: var(--color-text);
        }

        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.08);
            border-color: var(--color-border-subtle);
        }

        .btn-ghost {
            background: transparent;
            color: var(--color-primary);
        }

        .btn-ghost:hover {
            background: var(--color-primary-muted);
        }

        .btn-outline {
            background: transparent;
            border: 1px solid var(--color-border);
            color: var(--color-text-secondary);
        }

        .btn-outline:hover {
            border-color: var(--color-primary);
            color: var(--color-primary);
            background: rgba(139, 92, 246, 0.05);
        }

        .btn-icon {
            width: 44px;
            height: 44px;
            padding: 0;
            border-radius: var(--radius-lg);
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid var(--color-border);
            color: var(--color-text-secondary);
        }

        .btn-icon:hover {
            background: rgba(255, 255, 255, 0.06);
            border-color: var(--color-border-subtle);
            color: var(--color-text);
        }

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

        .btn-sm {
            padding: var(--space-2) var(--space-4);
            font-size: 13px;
            border-radius: var(--radius-md);
        }

        .btn-lg {
            padding: var(--space-4) var(--space-6);
            font-size: 16px;
            border-radius: var(--radius-xl);
        }

        .btn-block {
            width: 100%;
        }

        /* Badge - Stakent Style */
        .badge {
            display: inline-flex;
            align-items: center;
            gap: var(--space-1);
            padding: 4px 10px;
            border-radius: var(--radius-full);
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.3px;
        }

        .badge svg {
            width: 12px;
            height: 12px;
        }

        .badge-primary { 
            background: rgba(139, 92, 246, 0.15); 
            color: var(--color-primary);
            border: 1px solid rgba(139, 92, 246, 0.2);
        }
        .badge-success { 
            background: rgba(34, 197, 94, 0.12); 
            color: var(--color-success);
            border: 1px solid rgba(34, 197, 94, 0.2);
        }
        .badge-warning { 
            background: rgba(245, 158, 11, 0.12); 
            color: var(--color-warning);
            border: 1px solid rgba(245, 158, 11, 0.2);
        }
        .badge-error { 
            background: rgba(239, 68, 68, 0.12); 
            color: var(--color-error);
            border: 1px solid rgba(239, 68, 68, 0.2);
        }

        .badge-new {
            background: var(--gradient-purple);
            color: white;
            border: none;
            font-size: 10px;
            padding: 3px 8px;
        }

        /* Input Fields - Stakent Style */
        .input-group {
            margin-bottom: var(--space-4);
        }

        .input-label {
            display: block;
            font-size: 12px;
            font-weight: 600;
            color: var(--color-text-muted);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: var(--space-2);
        }

        .input {
            width: 100%;
            padding: var(--space-3) var(--space-4);
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-lg);
            font-size: 15px;
            color: var(--color-text);
            transition: all 0.2s;
        }

        .input:focus {
            outline: none;
            border-color: var(--color-primary);
            background: rgba(139, 92, 246, 0.05);
            box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
        }

        .input::placeholder {
            color: var(--color-text-disabled);
        }

        /* Search Bar - Stakent Style */
        .search-bar {
            position: relative;
            margin-bottom: var(--space-4);
        }

        .search-bar svg {
            position: absolute;
            left: var(--space-4);
            top: 50%;
            transform: translateY(-50%);
            width: 18px;
            height: 18px;
            color: var(--color-text-muted);
        }

        .search-bar .input {
            padding-left: calc(var(--space-4) + 28px);
            background: rgba(255, 255, 255, 0.02);
        }

        /* Filter Tabs - Stakent Pill Style */
        .filter-tabs {
            display: flex;
            gap: var(--space-2);
            margin-bottom: var(--space-4);
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            padding-bottom: var(--space-1);
        }

        .filter-tab {
            min-width: max-content;
            padding: var(--space-2) var(--space-4);
            border-radius: var(--radius-full);
            font-size: 13px;
            font-weight: 500;
            color: var(--color-text-muted);
            white-space: nowrap;
            transition: all 0.2s;
            border: 1px solid var(--color-border);
            background: transparent;
        }

        .filter-tab:hover {
            border-color: var(--color-border-subtle);
            color: var(--color-text-secondary);
        }

        .filter-tab.active {
            background: rgba(255, 255, 255, 0.05);
            border-color: var(--color-text-secondary);
            color: var(--color-text);
        }

        .filter-tab-icon {
            display: inline-flex;
            align-items: center;
            gap: var(--space-1);
        }

        .filter-tab-icon svg {
            width: 14px;
            height: 14px;
        }

        /* Progress Bar - Stakent Style */
        .progress-bar {
            height: 6px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: var(--radius-full);
            overflow: hidden;
        }

        .progress-fill {
            height: 100%;
            background: var(--gradient-purple);
            border-radius: var(--radius-full);
            transition: width 0.5s ease;
            box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
        }

        /* Modal - Glassmorphism */
        .modal {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 200;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(8px);
            align-items: flex-end;
            justify-content: center;
        }

        .modal.active {
            display: flex;
        }

        @media (min-width: 1024px) {
            .modal {
                align-items: center;
            }
        }

        .modal-content {
            width: 100%;
            max-height: 90vh;
            background: var(--color-bg-subtle);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
            padding: var(--space-5);
            padding-bottom: calc(var(--space-5) + var(--safe-area-bottom));
            overflow-y: auto;
            animation: slideUp 0.3s ease;
        }

        @media (min-width: 1024px) {
            .modal-content {
                max-width: 480px;
                border-radius: var(--radius-2xl);
                margin: var(--space-6);
                padding-bottom: var(--space-5);
                animation: fadeScale 0.25s ease;
                box-shadow: var(--shadow-xl), 0 0 40px rgba(139, 92, 246, 0.1);
            }
        }

        @keyframes slideUp {
            from { transform: translateY(100%); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        @keyframes fadeScale {
            from { opacity: 0; transform: scale(0.95) translateY(10px); }
            to { opacity: 1; transform: scale(1) translateY(0); }
        }

        .modal-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: var(--space-5);
        }

        .modal-title {
            font-size: 20px;
            font-weight: 700;
            background: linear-gradient(90deg, var(--color-text) 0%, var(--color-text-secondary) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .modal-close {
            width: 36px;
            height: 36px;
            border-radius: var(--radius-lg);
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid var(--color-border);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--color-text-muted);
            transition: all 0.2s;
        }

        .modal-close:hover {
            background: rgba(255, 255, 255, 0.06);
            color: var(--color-text);
        }

        .modal-close svg {
            width: 18px;
            height: 18px;
        }

        /* Toast Notifications - Stakent Style */
        .toast {
            position: fixed;
            bottom: calc(var(--mobile-nav-height) + var(--space-4) + var(--safe-area-bottom));
            left: var(--space-4);
            right: var(--space-4);
            background: var(--color-bg-elevated);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-xl);
            padding: var(--space-4);
            display: flex;
            align-items: center;
            gap: var(--space-3);
            box-shadow: var(--shadow-xl);
            transform: translateY(150%);
            opacity: 0;
            transition: all 0.3s ease;
            z-index: 300;
        }

        @media (min-width: 1024px) {
            .toast {
                left: auto;
                right: var(--space-6);
                bottom: var(--space-6);
                max-width: 400px;
            }
        }

        .toast.show {
            transform: translateY(0);
            opacity: 1;
        }

        .toast svg {
            width: 22px;
            height: 22px;
            flex-shrink: 0;
        }

        .toast-success svg { color: var(--color-success); }
        .toast-error svg { color: var(--color-error); }
        .toast-warning svg { color: var(--color-warning); }
        .toast-info svg { color: var(--color-primary); }

        /* Demo Banner - Stakent Style */
        .demo-banner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: var(--gradient-promo);
            border: 1px solid rgba(139, 92, 246, 0.25);
            border-radius: var(--radius-xl);
            padding: var(--space-3) var(--space-4);
            margin-bottom: var(--space-4);
        }

        .demo-banner-content {
            display: flex;
            align-items: center;
            gap: var(--space-2);
            font-size: 14px;
            font-weight: 500;
        }

        .demo-banner-content svg {
            width: 18px;
            height: 18px;
            color: var(--color-accent);
        }

        /* Promo Card - Like Stakent Feature Card */
        .promo-card {
            background: var(--gradient-promo);
            border: 1px solid rgba(139, 92, 246, 0.2);
            border-radius: var(--radius-2xl);
            padding: var(--space-6);
            position: relative;
            overflow: hidden;
        }

        .promo-card::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
            pointer-events: none;
        }

        .promo-card-badge {
            display: inline-flex;
            align-items: center;
            gap: var(--space-1);
            padding: 4px 10px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: var(--radius-full);
            font-size: 11px;
            font-weight: 600;
            color: var(--color-accent);
            margin-bottom: var(--space-4);
        }

        .promo-card-title {
            font-size: 22px;
            font-weight: 700;
            margin-bottom: var(--space-2);
        }

        .promo-card-text {
            font-size: 14px;
            color: var(--color-text-secondary);
            margin-bottom: var(--space-5);
            line-height: 1.5;
        }

        .promo-card-actions {
            display: flex;
            flex-direction: column;
            gap: var(--space-3);
        }

        .promo-card .btn-primary {
            background: var(--color-primary);
            box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
        }

        .promo-card .btn-secondary {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(255, 255, 255, 0.15);
        }

        /* Desktop Data Table - Stakent Style */
        @media (min-width: 1024px) {
            .data-table {
                width: 100%;
                border-collapse: collapse;
            }

            .data-table th,
            .data-table td {
                padding: var(--space-3) var(--space-4);
                text-align: left;
            }

            .data-table th {
                font-size: 11px;
                font-weight: 600;
                color: var(--color-text-muted);
                text-transform: uppercase;
                letter-spacing: 0.8px;
                border-bottom: 1px solid var(--color-border);
            }

            .data-table td {
                font-size: 14px;
                border-bottom: 1px solid var(--color-border);
            }

            .data-table tr:hover td {
                background: rgba(139, 92, 246, 0.03);
            }

            .data-table tr:last-child td {
                border-bottom: none;
            }
        }

        /* Dashboard Grid for Desktop */
        @media (min-width: 1024px) {
            .dashboard-grid {
                display: grid;
                grid-template-columns: repeat(12, 1fr);
                gap: var(--space-5);
            }

            .col-4 { grid-column: span 4; }
            .col-6 { grid-column: span 6; }
            .col-8 { grid-column: span 8; }
            .col-9 { grid-column: span 9; }
            .col-3 { grid-column: span 3; }
            .col-12 { grid-column: span 12; }
        }

        /* Quick Actions Grid - Stakent Style */
        .quick-actions {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: var(--space-4);
        }

        @media (min-width: 1024px) {
            .quick-actions {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        .quick-action {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: var(--space-3);
            padding: var(--space-5);
            background: var(--color-bg-card);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-xl);
            transition: all 0.25s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .quick-action::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
        }

        .quick-action:hover {
            border-color: var(--color-primary);
            transform: translateY(-3px);
            box-shadow: 0 8px 24px rgba(139, 92, 246, 0.15);
        }

        .quick-action:active {
            transform: scale(0.98) translateY(-2px);
        }

        .quick-action-icon {
            width: 52px;
            height: 52px;
            border-radius: var(--radius-lg);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.25s ease;
        }

        .quick-action:hover .quick-action-icon {
            transform: scale(1.1);
        }

        .quick-action-icon svg {
            width: 26px;
            height: 26px;
        }

        .quick-action-label {
            font-size: 13px;
            font-weight: 600;
            text-align: center;
            color: var(--color-text-secondary);
        }

        .quick-action:hover .quick-action-label {
            color: var(--color-text);
        }

        /* Tab Content */
        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
            animation: fadeIn 0.25s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(8px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Scanner - Stakent Style */
        .scanner-container {
            position: relative;
            width: 100%;
            aspect-ratio: 4/3;
            background: var(--color-bg-card);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-xl);
            overflow: hidden;
            margin-bottom: var(--space-4);
        }

        .scanner-container video,
        .scanner-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .scanner-overlay {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(10, 10, 18, 0.5);
        }

        .scanner-frame {
            width: 80%;
            max-width: 280px;
            aspect-ratio: 3/1;
            border: 2px solid var(--color-primary);
            border-radius: var(--radius-lg);
            box-shadow: 0 0 0 9999px rgba(10, 10, 18, 0.7), 0 0 20px rgba(139, 92, 246, 0.3);
        }

        /* GPS Status - Stakent Style */
        .gps-status {
            display: flex;
            align-items: center;
            gap: var(--space-2);
            padding: var(--space-3) var(--space-4);
            background: var(--color-bg-card);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-lg);
            margin-bottom: var(--space-4);
            font-size: 13px;
            color: var(--color-text-secondary);
        }

        .gps-dot {
            width: 8px;
            height: 8px;
            border-radius: var(--radius-full);
            background: var(--color-warning);
            box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
        }

        .gps-dot.active {
            background: var(--color-success);
            box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(34, 197, 94, 0.5); }
            50% { opacity: 0.7; box-shadow: 0 0 16px rgba(34, 197, 94, 0.7); }
        }

        /* Empty State - Stakent Style */
        .empty-state {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: var(--space-12);
            text-align: center;
        }

        .empty-state svg {
            width: 64px;
            height: 64px;
            color: var(--color-text-disabled);
            margin-bottom: var(--space-4);
            opacity: 0.5;
        }

        .empty-state-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: var(--space-2);
            color: var(--color-text-secondary);
        }

        .empty-state-text {
            font-size: 14px;
            color: var(--color-text-muted);
            max-width: 280px;
        }

        /* Utilities */
        .hidden { display: none !important; }
        .mt-2 { margin-top: var(--space-2); }
        .mt-4 { margin-top: var(--space-4); }
        .mb-4 { margin-bottom: var(--space-4); }
        .text-center { text-align: center; }
        .text-primary { color: var(--color-primary); }
        .text-success { color: var(--color-success); }
        .text-warning { color: var(--color-warning); }
        .text-error { color: var(--color-error); }
        .text-muted { color: var(--color-text-muted); }
        .font-mono { font-family: 'SF Mono', 'JetBrains Mono', Monaco, monospace; letter-spacing: -0.02em; }

        /* Leaflet Custom Popup */
        .leaflet-popup-content-wrapper {
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
            padding: 0;
        }

        .leaflet-popup-content {
            margin: 16px;
        }

        .leaflet-popup-tip {
            background: #fff;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        }

        .leaflet-popup-close-button {
            color: #666 !important;
            font-size: 20px !important;
            padding: 8px !important;
            width: 30px !important;
            height: 30px !important;
        }

        .leaflet-popup-close-button:hover {
            color: #333 !important;
        }

        /* Dark theme popup (optional class) */
        .dark-popup .leaflet-popup-content-wrapper {
            background: var(--color-bg-elevated);
            color: var(--color-text);
        }

        .dark-popup .leaflet-popup-tip {
            background: var(--color-bg-elevated);
        }

        /* Loading Spinner - Stakent Style */
        .spinner {
            width: 28px;
            height: 28px;
            border: 2px solid rgba(139, 92, 246, 0.2);
            border-top-color: var(--color-primary);
            border-radius: var(--radius-full);
            animation: spin 0.8s linear infinite;
        }

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

        .loading {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: var(--space-8);
        }

        /* Address Suggestions Dropdown */
        .address-suggestions {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: var(--color-bg-elevated);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-lg);
            margin-top: var(--space-1);
            max-height: 200px;
            overflow-y: auto;
            z-index: 100;
            box-shadow: var(--shadow-lg);
        }

        .address-suggestion {
            padding: var(--space-3) var(--space-4);
            cursor: pointer;
            font-size: 14px;
            border-bottom: 1px solid var(--color-border);
            transition: background 0.15s;
        }

        .address-suggestion:last-child {
            border-bottom: none;
        }

        .address-suggestion:hover {
            background: rgba(139, 92, 246, 0.1);
        }

        .address-suggestion small {
            display: block;
            color: var(--color-text-muted);
            font-size: 12px;
            margin-top: 2px;
        }

        /* History Timeline */
        .history-timeline {
            position: relative;
            padding-left: var(--space-6);
        }

        .history-timeline::before {
            content: '';
            position: absolute;
            left: 10px;
            top: 0;
            bottom: 0;
            width: 2px;
            background: var(--color-border);
        }

        .history-item {
            position: relative;
            padding: var(--space-3) 0;
            padding-left: var(--space-4);
        }

        .history-item::before {
            content: '';
            position: absolute;
            left: -22px;
            top: 18px;
            width: 10px;
            height: 10px;
            background: var(--color-primary);
            border-radius: var(--radius-full);
            border: 2px solid var(--color-bg-subtle);
        }

        .history-item-date {
            font-size: 11px;
            color: var(--color-text-muted);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: var(--space-1);
        }

        .history-item-content {
            font-size: 14px;
        }

        .history-item-address {
            font-weight: 500;
        }

        .history-item-meta {
            font-size: 12px;
            color: var(--color-text-muted);
            margin-top: var(--space-1);
        }

        /* Container Stats in Modal */
        .container-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: var(--space-3);
            margin-bottom: var(--space-4);
            padding: var(--space-4);
            background: rgba(139, 92, 246, 0.05);
            border-radius: var(--radius-lg);
            border: 1px solid rgba(139, 92, 246, 0.1);
        }

        .container-stat {
            text-align: center;
        }

        .container-stat-value {
            font-size: 20px;
            font-weight: 700;
            color: var(--color-primary);
        }

        .container-stat-label {
            font-size: 11px;
            color: var(--color-text-muted);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* Pagination Enhanced */
        .pagination {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: var(--space-2);
            margin-top: var(--space-4);
        }

        .pagination-info {
            font-size: 13px;
            color: var(--color-text-muted);
            margin-right: var(--space-4);
        }

        .pagination-btn {
            min-width: 36px;
            height: 36px;
            padding: 0 var(--space-3);
            border-radius: var(--radius-md);
            font-size: 13px;
            font-weight: 500;
        }

        /* Sparkline SVG */
        .sparkline {
            width: 100%;
            height: 60px;
        }

        .sparkline-path {
            fill: none;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .sparkline-area {
            opacity: 0.15;
        }

        .sparkline-positive .sparkline-path { stroke: var(--color-success); }
        .sparkline-positive .sparkline-area { fill: var(--color-success); }
        .sparkline-negative .sparkline-path { stroke: var(--color-error); }
        .sparkline-negative .sparkline-area { fill: var(--color-error); }
        .sparkline-neutral .sparkline-path { stroke: var(--color-primary); }
        .sparkline-neutral .sparkline-area { fill: var(--color-primary); }

        /* Section Header */
        .section-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: var(--space-5);
        }

        .section-title {
            font-size: 13px;
            font-weight: 600;
            color: var(--color-text-muted);
            text-transform: uppercase;
            letter-spacing: 0.8px;
        }

        .section-actions {
            display: flex;
            align-items: center;
            gap: var(--space-2);
        }

        .section-action-btn {
            width: 32px;
            height: 32px;
            border-radius: var(--radius-md);
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid var(--color-border);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--color-text-muted);
            transition: all 0.2s;
        }

        .section-action-btn:hover {
            background: rgba(255, 255, 255, 0.06);
            color: var(--color-text);
        }

        .section-action-btn svg {
            width: 16px;
            height: 16px;
        }

        /* Active Staking Section */
        .staking-section {
            background: var(--color-bg-card);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-xl);
            padding: var(--space-5);
            margin-top: var(--space-5);
        }

        .staking-header {
            display: flex;
            align-items: center;
            gap: var(--space-3);
            margin-bottom: var(--space-4);
        }

        .staking-icon {
            width: 44px;
            height: 44px;
            border-radius: var(--radius-lg);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .staking-title {
            flex: 1;
        }

        .staking-title h3 {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 2px;
        }

        .staking-title span {
            font-size: 12px;
            color: var(--color-text-muted);
        }

        .staking-value {
            font-size: 36px;
            font-weight: 700;
            letter-spacing: -1px;
            margin: var(--space-4) 0;
            font-family: 'SF Mono', 'JetBrains Mono', Monaco, monospace;
        }

        .staking-metrics {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: var(--space-4);
            padding-top: var(--space-4);
            border-top: 1px solid var(--color-border);
        }

        .staking-metric {
            text-align: center;
        }

        .staking-metric-label {
            font-size: 11px;
            color: var(--color-text-muted);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: var(--space-2);
        }

        .staking-metric-value {
            font-size: 16px;
            font-weight: 600;
        }

        /* Investment Period Timeline */
        .timeline-container {
            background: var(--color-bg-card);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-xl);
            padding: var(--space-5);
        }

        .timeline-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: var(--space-4);
        }

        .timeline-title {
            font-size: 14px;
            font-weight: 600;
        }

        .timeline-title small {
            display: block;
            font-size: 11px;
            font-weight: 400;
            color: var(--color-text-muted);
            margin-top: 2px;
        }

        .timeline-badge {
            padding: 4px 10px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-md);
            font-size: 12px;
            font-weight: 500;
        }

        .timeline-track {
            height: 6px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: var(--radius-full);
            position: relative;
            margin: var(--space-4) 0;
        }

        .timeline-progress {
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            background: var(--gradient-purple);
            border-radius: var(--radius-full);
        }

        .timeline-marker {
            position: absolute;
            top: 50%;
            transform: translate(-50%, -50%);
            width: 20px;
            height: 20px;
            background: var(--color-bg);
            border: 3px solid var(--color-primary);
            border-radius: var(--radius-full);
            box-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
        }

        .timeline-labels {
            display: flex;
            justify-content: space-between;
            font-size: 11px;
            color: var(--color-text-muted);
        }

        /* ========================================
           INTRO WIZARD
           ======================================== */
        
        .intro-wizard {
            position: fixed;
            inset: 0;
            z-index: 1000;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: var(--space-4);
        }
        
        .intro-backdrop {
            position: absolute;
            inset: 0;
            background: rgba(10, 10, 18, 0.95);
            backdrop-filter: blur(20px);
        }
        
        .intro-content {
            position: relative;
            width: 100%;
            max-width: 480px;
            max-height: 90vh;
            background: var(--color-bg-subtle);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-2xl);
            overflow: hidden;
            animation: introSlideUp 0.5s ease-out;
            display: flex;
            flex-direction: column;
        }
        
        @keyframes introSlideUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .intro-header {
            text-align: center;
            padding: var(--space-6) var(--space-6) var(--space-4);
            background: linear-gradient(180deg, rgba(139, 92, 246, 0.1) 0%, transparent 100%);
            flex-shrink: 0;
        }
        
        .intro-logo {
            width: 64px;
            height: 64px;
            margin: 0 auto var(--space-3);
            background: var(--gradient-purple);
            border-radius: var(--radius-xl);
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
        }
        
        .intro-logo svg {
            width: 32px;
            height: 32px;
            color: white;
        }
        
        .intro-header h1 {
            font-size: 22px;
            font-weight: 700;
            margin-bottom: var(--space-1);
        }
        
        .intro-header p {
            color: var(--color-text-muted);
            font-size: 13px;
        }
        
        .intro-steps {
            position: relative;
            flex: 1;
            min-height: 280px;
            overflow: hidden;
        }
        
        .intro-step {
            position: absolute;
            inset: 0;
            padding: var(--space-4) var(--space-5);
            opacity: 0;
            transform: translateX(30px);
            pointer-events: none;
            transition: all 0.4s ease;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
        }
        
        .intro-step.active {
            opacity: 1;
            transform: translateX(0);
            pointer-events: auto;
        }
        
        .intro-step.prev {
            opacity: 0;
            transform: translateX(-30px);
        }
        
        .intro-step-icon {
            width: 56px;
            height: 56px;
            margin: 0 auto var(--space-3);
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(99, 102, 241, 0.1) 100%);
            border: 1px solid rgba(139, 92, 246, 0.3);
            border-radius: var(--radius-lg);
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 0 20px rgba(139, 92, 246, 0.15);
        }
        
        .intro-step-icon svg {
            width: 28px;
            height: 28px;
            color: var(--color-primary);
        }
        
        .intro-step-icon.success {
            background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(34, 197, 94, 0.1) 100%);
            border-color: rgba(34, 197, 94, 0.3);
            box-shadow: 0 0 30px rgba(34, 197, 94, 0.15);
        }
        
        .intro-step-icon.success svg {
            color: var(--color-success);
        }
        
        .intro-step h2 {
            text-align: center;
            font-size: 18px;
            font-weight: 600;
            margin-bottom: var(--space-2);
        }
        
        .intro-step > p {
            text-align: center;
            color: var(--color-text-secondary);
            font-size: 13px;
            line-height: 1.5;
            margin-bottom: var(--space-4);
        }
        
        .intro-feature-list {
            display: flex;
            flex-direction: column;
            gap: var(--space-2);
        }
        
        .intro-feature {
            display: flex;
            align-items: center;
            gap: var(--space-3);
            padding: var(--space-3);
            background: var(--color-bg-muted);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-md);
            font-size: 13px;
        }
        
        .intro-feature svg {
            width: 18px;
            height: 18px;
            color: var(--color-primary);
            flex-shrink: 0;
        }
        
        .intro-tips {
            display: flex;
            flex-direction: column;
            gap: var(--space-3);
        }
        
        .intro-tip {
            padding: var(--space-3) var(--space-4);
            background: var(--color-bg-muted);
            border-radius: var(--radius-lg);
            font-size: 13px;
            color: var(--color-text-secondary);
            border-left: 3px solid var(--color-primary);
        }
        
        .intro-tip strong {
            color: var(--color-text);
        }
        
        .intro-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: var(--space-4) var(--space-6);
            background: var(--color-bg-muted);
            border-top: 1px solid var(--color-border);
            flex-shrink: 0;
        }
        
        .intro-dots {
            display: flex;
            gap: var(--space-2);
            align-items: center;
        }
        
        .intro-dot {
            width: 8px;
            height: 8px;
            background: var(--color-border);
            border-radius: var(--radius-full);
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .intro-dot.active {
            width: 24px;
            background: var(--color-primary);
        }
        
        .intro-dot.completed {
            background: var(--color-success);
        }
        
        .intro-buttons {
            display: flex;
            gap: var(--space-3);
        }
        
        .intro-buttons .btn {
            min-width: 100px;
        }
        
        .intro-buttons .btn-primary {
            display: flex;
            align-items: center;
            gap: var(--space-2);
        }
        
        .intro-buttons .btn-primary svg {
            width: 16px;
            height: 16px;
        }
        
        @media (max-width: 480px) {
            .intro-content {
                max-width: 100%;
                border-radius: var(--radius-xl);
            }
            
            .intro-header {
                padding: var(--space-6) var(--space-4) var(--space-3);
            }
            
            .intro-logo {
                width: 64px;
                height: 64px;
            }
            
            .intro-logo svg {
                width: 32px;
                height: 32px;
            }
            
            .intro-header h1 {
                font-size: 20px;
            }
            
            .intro-step {
                padding: var(--space-4);
            }
            
            .intro-steps {
                min-height: 260px;
            }
        }

        /* Autocomplete Dropdown */
        .autocomplete-dropdown {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: var(--color-bg-elevated);
            border: 1px solid var(--color-border);
            border-top: none;
            border-radius: 0 0 var(--radius-lg) var(--radius-lg);
            max-height: 200px;
            overflow-y: auto;
            z-index: 100;
            box-shadow: var(--shadow-lg);
        }
        
        .autocomplete-dropdown.active {
            display: block;
        }
        
        .autocomplete-item {
            padding: var(--space-3) var(--space-4);
            cursor: pointer;
            font-size: 14px;
            border-bottom: 1px solid var(--color-border);
            transition: background 0.15s;
        }
        
        .autocomplete-item:last-child {
            border-bottom: none;
        }
        
        .autocomplete-item:hover {
            background: var(--color-primary-muted);
        }
        
        .autocomplete-item-title {
            font-weight: 500;
            color: var(--color-text);
        }
        
        .autocomplete-item-sub {
            font-size: 12px;
            color: var(--color-text-muted);
            margin-top: 2px;
        }
        
        .autocomplete-empty {
            padding: var(--space-3) var(--space-4);
            color: var(--color-text-muted);
            font-size: 13px;
            text-align: center;
        }

        /* Warning button */
        .btn-warning {
            background: linear-gradient(135deg, var(--color-warning) 0%, #d97706 100%);
            color: #000;
            font-weight: 600;
        }
        .btn-warning:hover {
            background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
        }
