/**
 * ==========================================
 *  JUTALOMPONT - DASHBOARD SPECIFIC STYLES
 *  2025 Modern Edition
 * ==========================================
 * 
 * FIGYELEM: A CSS változók a design-system.css-ben vannak!
 * Ez a fájl CSAK a dashboard-specifikus komponenseket tartalmazza.
 */

/* Dashboard Container - csak ha van body.dashboard-page */
body.dashboard-page main.container {
    max-width: 1400px;
}

/* Legacy support */
.dashboard-container {
    font-family: var(--jp-font-sans);
    color: var(--jp-text);
}

/* Stat Cards */
.stat-card {
    display: flex;
    align-items: center;
    padding: 1.5rem;
}

.stat-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.stat-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    color: var(--jp-text);
}

.stat-content p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--jp-text-secondary);
    font-weight: 500;
}

/* Welcome Hero */
.welcome-hero {
    background: var(--jp-gradient);
    color: white;
    border-radius: var(--jp-radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.welcome-hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    opacity: 0.5;
}

/* Progress Bars */
.progress-custom {
    height: 8px;
    border-radius: 4px;
    background-color: var(--jp-border-light);
    overflow: hidden;
}

.progress-bar-custom {
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s ease;
}

/* Timeline */
.timeline-item {
    position: relative;
    padding-left: 2rem;
    padding-bottom: 1.5rem;
    border-left: 2px solid var(--jp-border-light);
}

.timeline-item:last-child {
    border-left: 2px solid transparent;
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -9px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--jp-bg-card);
    border: 2px solid var(--jp-primary);
}

.timeline-content {
    position: relative;
    top: -4px;
}

/* Leaderboard */
.leaderboard-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--jp-border-light);
}

.leaderboard-item:last-child {
    border-bottom: none;
}

.rank-badge {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: 0.75rem;
}

.rank-1 { background: #fef3c7; color: #d97706; }
.rank-2 { background: #f1f5f9; color: #475569; }
.rank-3 { background: #ffedd5; color: #c2410c; }

/* Quick Actions */
.quick-action-btn {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.quick-action-btn:hover {
    background: rgba(255,255,255,0.25);
    color: white;
    transform: translateY(-1px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stat-content h3 { font-size: 1.5rem; }
    .welcome-hero { padding: 1.5rem; }
}
/* ============================================
   INLINE CSS MIGRATED FROM DASHBOARD.PHP
   Date: 2025-12-04
   ============================================ */
/* ============================================
   DASHBOARD 2025 - Premium Styles
   ============================================ */

:root {
    --dash-primary: #6366f1;
    --dash-primary-light: rgba(99, 102, 241, 0.1);
    --dash-secondary: #64748b;
    --dash-secondary-light: rgba(100, 116, 139, 0.1);
    --dash-success: #10b981;
    --dash-success-light: rgba(16, 185, 129, 0.1);
    --dash-warning: #f59e0b;
    --dash-warning-light: rgba(245, 158, 11, 0.1);
    --dash-info: #06b6d4;
    --dash-info-light: rgba(6, 182, 212, 0.1);
    --dash-danger: #ef4444;
    --dash-danger-light: rgba(239, 68, 68, 0.1);
    --dash-pink: #ec4899;
    --dash-pink-light: rgba(236, 72, 153, 0.1);
    --dash-card-bg: var(--jp-bg-card, #ffffff);
    --dash-text: var(--jp-text, #1f2937);
    --dash-text-muted: var(--jp-text-muted, #6b7280);
    --dash-border: var(--jp-border, #e5e7eb);
    --dash-radius: 16px;
    --dash-radius-lg: 20px;
    --dash-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --dash-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --dash-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark mode variable overrides */
[data-bs-theme="dark"] {
    --dash-card-bg: #1e293b;
    --dash-text: #f1f5f9;
    --dash-text-muted: #94a3b8;
    --dash-border: #334155;
    --dash-primary-light: rgba(99, 102, 241, 0.2);
    --dash-success-light: rgba(16, 185, 129, 0.2);
    --dash-warning-light: rgba(245, 158, 11, 0.2);
    --dash-info-light: rgba(6, 182, 212, 0.2);
    --dash-pink-light: rgba(236, 72, 153, 0.2);
    --dash-secondary-light: rgba(100, 116, 139, 0.2);
    --dash-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --dash-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* ====================================
   PREMIUM HERO SECTION 2025
   ==================================== */
.dash-hero {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    border-radius: 24px;
    padding: 0;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

.dash-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    pointer-events: none;
    animation: heroFloat 8s ease-in-out infinite;
}

.dash-hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
    animation: heroFloat 10s ease-in-out infinite reverse;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(1.05); }
}

/* Animated gradient border effect */
.dash-hero-inner {
    position: relative;
    z-index: 2;
    padding: 2rem 2.5rem;
}

/* Sparkle effects */
.dash-hero-sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    opacity: 0;
    animation: sparkle 3s ease-in-out infinite;
}
.dash-hero-sparkle:nth-child(1) { top: 20%; left: 15%; animation-delay: 0s; }
.dash-hero-sparkle:nth-child(2) { top: 60%; left: 25%; animation-delay: 0.5s; }
.dash-hero-sparkle:nth-child(3) { top: 30%; right: 20%; animation-delay: 1s; }
.dash-hero-sparkle:nth-child(4) { top: 70%; right: 30%; animation-delay: 1.5s; }
.dash-hero-sparkle:nth-child(5) { top: 40%; left: 40%; animation-delay: 2s; }

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1); }
}

.dash-hero-content {
    position: relative;
    z-index: 2;
}

/* Premium Avatar */
.dash-avatar {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 100%);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    border: 3px solid rgba(255,255,255,0.4);
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.dash-avatar:hover {
    transform: scale(1.05) rotate(2deg);
    border-color: rgba(255,255,255,0.6);
}

.dash-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 17px;
}

/* Online status indicator */
.dash-avatar::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 50%;
    border: 3px solid #8b5cf6;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.5);
}

/* Welcome Text */
.dash-welcome-text h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.5px;
}

.dash-welcome-text p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* VIP Badge Premium */
.dash-vip-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: vipPulse 2s ease-in-out infinite;
}

@keyframes vipPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(245, 158, 11, 0.5); }
    50% { box-shadow: 0 4px 25px rgba(245, 158, 11, 0.8); }
}

/* Balance Widget (Hero right side) */
.dash-balance-widget {
    text-align: right;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.08) 100%);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.2);
    display: inline-block;
}

.dash-balance-unit {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 500;
    color: #ffffff;
    margin-top: 0.25rem;
}

/* Premium Balance Box */
.dash-balance-box {
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.08) 100%);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    border: 1px solid rgba(255,255,255,0.25);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.dash-balance-box:hover {
    background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.12) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Animated coin icon in balance box */
.dash-balance-box::before {
    content: 'đź’°';
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    font-size: 5rem;
    opacity: 0.1;
    pointer-events: none;
}

.dash-balance-label {
    font-size: 0.75rem;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 600;
}

.dash-balance-value {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.dash-balance-value .currency {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.8;
}

/* Premium Collect Button */
.btn-hero-collect {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    color: #6366f1;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.btn-hero-collect:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: #4f46e5;
}

.btn-hero-collect i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn-hero-collect:hover i {
    transform: rotate(90deg);
}

/* Stats Grid */
.dash-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 1200px) {
    .dash-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dash-hero-inner {
        padding: 1.5rem;
    }
    .dash-welcome-text h1 {
        font-size: 1.5rem;
    }
    .dash-avatar {
        width: 56px;
        height: 56px;
        border-radius: 16px;
    }
    .dash-balance-value {
        font-size: 1.5rem;
    }
    .dash-balance-box {
        padding: 1rem 1.25rem;
    }
    .dash-balance-widget {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .dash-stats-grid {
        grid-template-columns: 1fr;
    }
    .dash-hero {
        border-radius: 20px;
    }
    .dash-hero-inner {
        padding: 1.25rem;
    }
}

.dash-stat-card {
    background: var(--jp-card-bg);
    border-radius: var(--jp-radius);
    padding: 1.25rem;
    border: 1px solid var(--jp-border);
    transition: var(--jp-transition);
    position: relative;
    overflow: hidden;
}

.dash-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--jp-shadow-hover);
    border-color: transparent;
}

.dash-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.dash-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--jp-text);
    margin-bottom: 0.15rem;
    letter-spacing: -0.5px;
}

.dash-stat-label {
    font-size: 0.8rem;
    color: var(--jp-text-muted);
    font-weight: 500;
}

.dash-stat-trend {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
}

.dash-stat-decoration {
    position: absolute;
    bottom: -15px;
    right: -15px;
    font-size: 4.5rem;
    opacity: 0.05;
    color: var(--jp-text);
}

/* Card Styles */
.dash-card {
    background: var(--jp-card-bg);
    border-radius: var(--jp-radius);
    border: 1px solid var(--jp-border);
    overflow: hidden;
    transition: var(--jp-transition);
    margin-bottom: 1rem;
}

.dash-card:hover {
    box-shadow: var(--jp-shadow);
}

.dash-card-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--jp-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
}

.dash-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--jp-text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dash-card-body {
    padding: 1.25rem;
}

/* Info Box - Fiók áttekintés */
.dash-info-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--jp-card-bg);
    border: 1px solid var(--jp-border);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.dash-info-box:hover {
    border-color: var(--jp-primary);
    transform: translateY(-2px);
}

.dash-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dash-info-icon i {
    font-size: 1rem;
}

.dash-info-content {
    flex: 1;
    min-width: 0;
}

.dash-info-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--jp-text);
    line-height: 1.2;
}

.dash-info-label {
    font-size: 0.75rem;
    color: var(--jp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Info color utilities */
.dash-secondary-light { background: var(--jp-secondary-light); }

/* Info colors */
.dash-secondary { color: #6b7280; }
.dash-info { color: #3b82f6; }

/* Progress Circle */
.dash-progress-ring {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.dash-progress-ring svg {
    transform: rotate(-90deg);
    width: 120px;
    height: 120px;
}

.dash-progress-ring .bg-circle {
    fill: none;
    stroke: var(--jp-border);
    stroke-width: 10;
}

.dash-progress-ring .progress-circle {
    fill: none;
    stroke: url(#progressGradient);
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 314;
    stroke-dashoffset: calc(314 - (314 * var(--progress, 0)) / 100);
    transition: stroke-dashoffset 0.5s ease;
}

.dash-progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.dash-progress-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--jp-text);
    line-height: 1;
}

.dash-progress-label {
    font-size: 0.7rem;
    color: var(--jp-text-muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Quick Actions - Premium Modern UI */
.dash-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.875rem;
}

.dash-quick-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1rem;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--jp-border);
    background: var(--jp-bg-card, #fff);
    position: relative;
    overflow: hidden;
}

.dash-quick-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dash-quick-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}

.dash-quick-btn:hover::before {
    opacity: 1;
}

.dash-quick-btn:hover .dash-quick-icon {
    transform: scale(1.15) rotate(-5deg);
}

.dash-quick-btn:active {
    transform: translateY(-2px) scale(0.98);
}

.dash-quick-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.dash-quick-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--jp-text);
    position: relative;
    z-index: 1;
}

/* Transaction List - Premium UI */
.dash-tx-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dash-tx-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.15rem;
    background: var(--jp-bg-secondary, rgba(248, 250, 252, 0.8));
    border-radius: 14px;
    border: 1px solid transparent;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.dash-tx-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 4px 0 0 4px;
    transition: all 0.25s ease;
}

.dash-tx-item.positive::before {
    background: linear-gradient(180deg, #10b981, #059669);
}

.dash-tx-item.negative::before {
    background: linear-gradient(180deg, #f43f5e, #dc2626);
}

.dash-tx-item:hover {
    transform: translateX(4px);
    background: var(--jp-bg-card, #fff);
    border-color: var(--jp-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.dash-tx-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    position: relative;
    transition: all 0.25s ease;
}

.dash-tx-icon.positive {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.1));
    color: #059669;
}

.dash-tx-icon.negative {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.15), rgba(220, 38, 38, 0.1));
    color: #dc2626;
}

.dash-tx-item:hover .dash-tx-icon {
    transform: scale(1.05);
}

.dash-tx-icon i {
    position: relative;
    z-index: 1;
}

.dash-tx-details {
    flex: 1;
    min-width: 0;
}

.dash-tx-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--jp-text);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.dash-tx-time {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: var(--jp-text-muted);
    background: rgba(0, 0, 0, 0.03);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
}

.dash-tx-time i {
    font-size: 0.7rem;
    opacity: 0.7;
}

.dash-tx-amount {
    font-weight: 700;
    font-size: 1rem;
    text-align: right;
    padding: 0.4rem 0.85rem;
    border-radius: 10px;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.dash-tx-amount.positive { 
    color: #059669;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(5, 150, 105, 0.08));
}

.dash-tx-amount.negative { 
    color: #dc2626;
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.12), rgba(220, 38, 38, 0.08));
}

.dash-tx-item:hover .dash-tx-amount {
    transform: scale(1.02);
}

/* Dark mode adjustments */
[data-bs-theme="dark"] .dash-tx-item {
    background: rgba(30, 41, 59, 0.5);
}

[data-bs-theme="dark"] .dash-tx-item:hover {
    background: rgba(51, 65, 85, 0.6);
}

[data-bs-theme="dark"] .dash-tx-time {
    background: rgba(255, 255, 255, 0.05);
}

[data-bs-theme="dark"] .dash-tx-icon.positive {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.15));
}

[data-bs-theme="dark"] .dash-tx-icon.negative {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.2), rgba(220, 38, 38, 0.15));
}

[data-bs-theme="dark"] .dash-tx-amount.positive {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.1));
}

[data-bs-theme="dark"] .dash-tx-amount.negative {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.15), rgba(220, 38, 38, 0.1));
}

/* Leaderboard - Modern UI */
.dash-leaderboard {
    padding: 0;
}

.dash-leader-row {
    display: flex;
    align-items: center;
    padding: 0.875rem 1.25rem;
    gap: 0.875rem;
    border-bottom: 1px solid var(--jp-border);
    transition: all 0.2s ease;
}

.dash-leader-row:last-child {
    border-bottom: none;
}

.dash-leader-row:hover {
    background: var(--jp-bg-secondary, rgba(99, 102, 241, 0.03));
}

.dash-leader-row.current-user {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.05));
    border-left: 3px solid var(--jp-primary);
    margin-left: -1px;
}

.dash-leader-rank-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
    background: var(--jp-border);
    color: var(--jp-text-muted);
}

.dash-leader-rank-badge.gold {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #fff;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.4);
}

.dash-leader-rank-badge.gold i { font-size: 0.75rem; }

.dash-leader-rank-badge.silver {
    background: linear-gradient(135deg, #e5e7eb, #9ca3af);
    color: #4b5563;
    box-shadow: 0 2px 8px rgba(156, 163, 175, 0.3);
}

.dash-leader-rank-badge.silver i { font-size: 0.7rem; }

.dash-leader-rank-badge.bronze {
    background: linear-gradient(135deg, #fbbf24, #b45309);
    color: #fff;
    box-shadow: 0 2px 8px rgba(180, 83, 9, 0.3);
}

.dash-leader-rank-badge.bronze i { font-size: 0.65rem; }

.dash-leader-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--jp-primary), #8b5cf6);
}

.dash-leader-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dash-leader-avatar .avatar-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
}

.dash-leader-info {
    flex: 1;
    min-width: 0;
}

.dash-leader-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--jp-text);
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.dash-leader-level {
    font-size: 0.75rem;
    color: var(--jp-text-muted);
    margin-top: 0.125rem;
}

.dash-leader-score {
    text-align: right;
    flex-shrink: 0;
}

.dash-leader-score .score-value {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    color: var(--jp-primary);
    line-height: 1.2;
}

.dash-leader-score .score-label {
    font-size: 0.7rem;
    color: var(--jp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Daily Goals - Premium UI */
.dash-goals-card .dash-goals-progress-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    padding: 0.35rem 0.75rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.05));
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.dash-goals-progress-badge .completed {
    color: #059669;
    font-weight: 700;
}

.dash-goals-progress-badge .total {
    color: var(--jp-text-muted);
}

.dash-goals-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dash-goal-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.15rem;
    background: var(--jp-bg-secondary, rgba(248, 250, 252, 0.8));
    border-radius: 14px;
    border: 1px solid var(--jp-border);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.dash-goal-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--jp-border);
    border-radius: 4px 0 0 4px;
    transition: all 0.25s ease;
}

.dash-goal-item.completed::before {
    background: linear-gradient(180deg, #10b981, #059669);
}

.dash-goal-item:hover {
    transform: translateX(4px);
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.dash-goal-item.completed {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(5, 150, 105, 0.04));
    border-color: rgba(16, 185, 129, 0.2);
}

.dash-goal-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    background: rgba(99, 102, 241, 0.1);
    color: var(--jp-primary);
    transition: all 0.25s ease;
}

.dash-goal-icon.done {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.dash-goal-info {
    flex: 1;
    min-width: 0;
}

.dash-goal-title {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--jp-text);
    margin-bottom: 0.4rem;
}

.dash-goal-item.completed .dash-goal-title {
    color: #059669;
}

.dash-goal-progress-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dash-goal-progress {
    flex: 1;
    height: 6px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    overflow: hidden;
}

.dash-goal-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--jp-primary), #8b5cf6);
    border-radius: 10px;
    transition: width 0.4s ease;
}

.dash-goal-item.completed .dash-goal-fill {
    background: linear-gradient(90deg, #10b981, #059669);
}

.dash-goal-count {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--jp-text-muted);
    white-space: nowrap;
}

.dash-goal-reward {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.65rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(234, 88, 12, 0.1));
    color: #d97706;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    flex-shrink: 0;
}

.dash-goal-item.completed .dash-goal-reward {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.1));
    color: #059669;
}

.dash-goals-bonus {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1rem 1.15rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(234, 88, 12, 0.05));
    border-radius: 14px;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.dash-goals-bonus-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    animation: goalBounce 1s ease infinite;
}

@keyframes goalBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.dash-goals-bonus-text {
    font-size: 0.875rem;
    color: var(--jp-text);
}

.dash-goals-bonus-text strong {
    color: #d97706;
}

/* Dark mode for goals */
[data-bs-theme="dark"] .dash-goal-item {
    background: rgba(30, 41, 59, 0.5);
}

[data-bs-theme="dark"] .dash-goal-item.completed {
    background: rgba(16, 185, 129, 0.1);
}

[data-bs-theme="dark"] .dash-goals-bonus {
    background: rgba(245, 158, 11, 0.15);
}

/* Referral Card */
.dash-referral {
    background: linear-gradient(135deg, var(--jp-primary) 0%, #8b5cf6 100%);
    border-radius: var(--jp-radius);
    padding: 1.25rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.dash-referral::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.dash-referral-content {
    position: relative;
    z-index: 2;
}

.dash-referral h6 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.dash-referral p {
    font-size: 0.8rem;
    opacity: 0.85;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.dash-referral-input {
    display: flex;
    gap: 0.5rem;
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    padding: 0.4rem;
}

.dash-referral-input input {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
    min-width: 0;
}

.dash-referral-input input::placeholder {
    color: rgba(255,255,255,0.6);
}

.dash-referral-input button {
    background: #ffffff;
    color: var(--jp-primary);
    border: none;
    border-radius: 8px;
    padding: 0.4rem 0.8rem;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--jp-transition);
    flex-shrink: 0;
}

.dash-referral-input button:hover {
    transform: scale(1.05);
}

/* XP Progress Bar - Premium */
.dash-level-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.05));
    border-radius: 14px;
    padding: 1rem 1.15rem;
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.dash-level-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.875rem;
}

.dash-level-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--jp-primary), #8b5cf6);
    color: #fff;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.dash-level-badge i {
    font-size: 0.8rem;
}

.dash-level-xp {
    font-size: 0.8rem;
    color: var(--jp-text-muted);
    font-weight: 500;
}

.dash-level-xp strong {
    color: var(--jp-primary);
}

.dash-xp-bar {
    background: rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    height: 10px;
    overflow: hidden;
    margin: 0;
    position: relative;
}

.dash-xp-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--jp-primary), #8b5cf6, #ec4899);
    background-size: 200% 100%;
    border-radius: 20px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    animation: xpShimmer 2s ease-in-out infinite;
}

@keyframes xpShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.dash-xp-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 20px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4));
    border-radius: 0 20px 20px 0;
}

.dash-level-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.75rem;
}

.dash-level-remaining {
    font-size: 0.8rem;
    color: var(--jp-text-muted);
}

.dash-level-remaining strong {
    color: var(--jp-warning);
    font-weight: 700;
}

/* Empty State */
.dash-empty {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--jp-text-muted);
}

.dash-empty i {
    font-size: 2.5rem;
    opacity: 0.3;
    margin-bottom: 0.75rem;
}

.dash-empty p {
    margin: 0;
    font-size: 0.85rem;
}

/* Link Button */
.dash-link-btn {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--jp-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: var(--jp-transition);
}

.dash-link-btn:hover {
    color: #4f46e5;
}

/* Dark Mode */
[data-bs-theme="dark"] .dash-stat-card,
[data-bs-theme="dark"] .dash-card {
    background: #1e1e2d;
    border-color: #3a3a5c;
}

[data-bs-theme="dark"] .dash-quick-btn {
    background: #252540;
    border-color: #3a3a5c;
}

[data-bs-theme="dark"] .dash-news-item:hover {
    background: #252540;
}

[data-bs-theme="dark"] .dash-leader-rank.default {
    background: #252540;
}

/* ============================================
   LAYOUT FIX - Row & Column Alignment
   Premium 2025 Dashboard Layout
   ============================================ */

/* Ensure row has proper spacing */
.dash-hero + .dash-stats-grid + .row {
    margin-top: 0;
}

/* Right column cards proper spacing */
.col-lg-4 .dash-card {
    margin-bottom: 1rem;
}

.col-lg-4 .dash-card:last-child,
.col-lg-4 .dash-referral {
    margin-bottom: 0;
}

/* Prevent content overflow */
.dash-card,
.dash-stat-card {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Row gap fix */
.row.g-4 > [class*="col-"] {
    margin-bottom: 0;
}

/* Progress bar inside cards */
.dash-card .progress {
    height: 8px;
    border-radius: 4px;
    background: var(--jp-border);
}

.dash-card .progress-bar {
    border-radius: 4px;
}

/* Info box dark mode */
[data-bs-theme="dark"] .dash-info-box {
    background: rgba(30, 41, 59, 0.5);
    border-color: var(--jp-border);
}

[data-bs-theme="dark"] .dash-info-box:hover {
    background: rgba(51, 65, 85, 0.5);
}

/* Level card dark mode */
[data-bs-theme="dark"] .dash-level-card {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.2);
}

/* Referral card consistent */
.dash-referral {
    background: linear-gradient(135deg, var(--jp-primary) 0%, #8b5cf6 100%);
    border-radius: var(--jp-radius);
    padding: 1.25rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

/* Responsive fixes for small screens */
@media (max-width: 991.98px) {
    .col-lg-4 {
        margin-top: 1.5rem;
    }
    
    .col-lg-4 .dash-card:first-child {
        margin-top: 0;
    }
}

@media (max-width: 767.98px) {
    .dash-card-header {
        padding: 0.875rem 1rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .dash-card-body {
        padding: 1rem;
    }
    
    .dash-tx-item {
        padding: 0.875rem 1rem;
    }
    
    .dash-leader-row {
        padding: 0.75rem 1rem;
    }
    
    .dash-quick-grid {
        gap: 0.75rem;
    }
    
    .dash-quick-btn {
        padding: 1rem 0.75rem;
    }
    
    .dash-quick-icon {
        width: 44px;
        height: 44px;
        font-size: 1.15rem;
    }
}

/* Ensure Bootstrap col heights work */
.row.g-4 {
    --bs-gutter-y: 1.5rem;
}

/* Fix card title truncation */
.dash-card-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Avatar fallback consistent */
.avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--jp-primary-light);
    color: var(--jp-primary);
    font-weight: 600;
    border-radius: inherit;
}

/* ============================================
   JP-DASHBOARD PREFIX CLASSES
   For dashboard.php template compatibility
   ============================================ */

/* Hero Section */
.jp-dashboard-hero {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    border-radius: 24px;
    padding: 0;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
    transition: all 0.4s ease;
}

.jp-dashboard-hero:hover {
    box-shadow: 0 25px 70px rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}

.jp-dashboard-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    pointer-events: none;
    animation: heroFloat 8s ease-in-out infinite;
}

.jp-dashboard-hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
    animation: heroFloat 10s ease-in-out infinite reverse;
}

.jp-dashboard-hero-sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    opacity: 0;
    animation: sparkle 3s ease-in-out infinite;
}
.jp-dashboard-hero-sparkle:nth-child(1) { top: 20%; left: 15%; animation-delay: 0s; }
.jp-dashboard-hero-sparkle:nth-child(2) { top: 60%; left: 25%; animation-delay: 0.5s; }
.jp-dashboard-hero-sparkle:nth-child(3) { top: 30%; right: 20%; animation-delay: 1s; }
.jp-dashboard-hero-sparkle:nth-child(4) { top: 70%; right: 30%; animation-delay: 1.5s; }
.jp-dashboard-hero-sparkle:nth-child(5) { top: 40%; left: 40%; animation-delay: 2s; }

.jp-dashboard-hero-inner {
    position: relative;
    z-index: 2;
    padding: 2rem 2.5rem;
}

.jp-dashboard-hero-content {
    position: relative;
    z-index: 2;
}

/* Avatar */
.jp-dashboard-avatar {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 100%);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    border: 3px solid rgba(255,255,255,0.4);
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.jp-dashboard-avatar:hover {
    transform: scale(1.08) rotate(3deg);
    border-color: rgba(255,255,255,0.7);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.jp-dashboard-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 17px;
}

/* Welcome Text */
.jp-dashboard-welcome-text h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.jp-dashboard-welcome-text p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* VIP Badge */
.jp-dashboard-vip-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.5);
}

/* Balance Widget */
.jp-dashboard-balance-widget {
    text-align: right;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.08) 100%);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.2);
    display: inline-block;
    transition: all 0.3s ease;
    cursor: default;
}

.jp-dashboard-balance-widget:hover {
    background: linear-gradient(135deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.12) 100%);
    border-color: rgba(255,255,255,0.35);
    transform: translateY(-2px);
}

.jp-dashboard-balance-label {
    font-size: 0.75rem;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    font-weight: 600;
}

.jp-dashboard-balance-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.jp-dashboard-balance-widget:hover .jp-dashboard-balance-value {
    transform: scale(1.05);
}

.jp-dashboard-balance-unit {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 500;
    color: #ffffff;
}

/* Stats Grid */
.jp-dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 1200px) {
    .jp-dashboard-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .jp-dashboard-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Stat Card */
.jp-dashboard-stat-card {
    background: var(--dash-card-bg);
    border-radius: var(--dash-radius);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--dash-shadow);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--dash-border);
    cursor: default;
}

.jp-dashboard-stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    border-color: transparent;
}

.jp-dashboard-stat-card:hover .jp-dashboard-stat-icon {
    transform: scale(1.1) rotate(5deg);
}

.jp-dashboard-stat-card:hover .jp-dashboard-stat-decoration {
    opacity: 0.1;
    transform: translate(10px, 10px);
}

.jp-dashboard-stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.jp-dashboard-stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dash-text);
    margin-bottom: 0.25rem;
    transition: transform 0.3s ease;
}

.jp-dashboard-stat-card:hover .jp-dashboard-stat-value {
    transform: scale(1.02);
}

.jp-dashboard-stat-label {
    font-size: 0.875rem;
    color: var(--dash-text-muted);
    font-weight: 500;
}

.jp-dashboard-stat-trend {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.jp-dashboard-stat-decoration {
    position: absolute;
    bottom: -15px;
    right: -15px;
    font-size: 5rem;
    opacity: 0.05;
    color: var(--dash-text);
    transition: all 0.3s ease;
}

/* Dashboard Cards */
.jp-dashboard-card {
    background: var(--dash-card-bg);
    border-radius: var(--dash-radius);
    box-shadow: var(--dash-shadow);
    border: 1px solid var(--dash-border);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.jp-dashboard-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--dash-border);
}

.jp-dashboard-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dash-text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.jp-dashboard-card-body {
    padding: 1.5rem;
}

.jp-dashboard-link-btn {
    font-size: 0.875rem;
    color: var(--jp-primary, #6366f1);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.jp-dashboard-link-btn:hover {
    color: var(--jp-primary-dark, #4f46e5);
}

/* Empty State */
.jp-dashboard-empty {
    text-align: center;
    padding: 2rem;
    color: var(--dash-text-muted);
}

.jp-dashboard-empty i {
    font-size: 3rem;
    opacity: 0.3;
    margin-bottom: 1rem;
    display: block;
}

.jp-dashboard-empty p {
    margin: 0;
    font-size: 0.95rem;
}

/* Transaction List */
.jp-dashboard-tx-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.jp-dashboard-tx-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--jp-bg-secondary, #f8fafc);
    border-radius: 12px;
    gap: 1rem;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.jp-dashboard-tx-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.jp-dashboard-tx-item:hover::before {
    left: 100%;
}

[data-bs-theme="dark"] .jp-dashboard-tx-item {
    background: rgba(255,255,255,0.05);
}

.jp-dashboard-tx-item:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.jp-dashboard-tx-item:active {
    transform: translateX(4px) scale(0.99);
}

.jp-dashboard-tx-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.jp-dashboard-tx-item:hover .jp-dashboard-tx-icon {
    transform: scale(1.1);
}

.jp-dashboard-tx-icon.positive {
    background: var(--dash-success-light);
    color: var(--dash-success);
}

.jp-dashboard-tx-icon.negative {
    background: var(--dash-danger-light);
    color: var(--dash-danger);
}

.jp-dashboard-tx-details {
    flex: 1;
    min-width: 0;
}

.jp-dashboard-tx-title {
    font-weight: 600;
    color: var(--dash-text);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.jp-dashboard-tx-item:hover .jp-dashboard-tx-title {
    color: var(--jp-primary);
}

.jp-dashboard-tx-time {
    font-size: 0.8rem;
    color: var(--dash-text-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.jp-dashboard-tx-amount {
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
}

.jp-dashboard-tx-amount.positive {
    color: var(--dash-success);
}

.jp-dashboard-tx-amount.negative {
    color: var(--dash-danger);
}

/* Goals Section */
.jp-dashboard-goals-progress-badge {
    background: var(--dash-primary-light);
    color: var(--dash-primary);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
}

.jp-dashboard-goals-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.jp-dashboard-goal-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--jp-bg-secondary, #f8fafc);
    border-radius: 12px;
    gap: 1rem;
    transition: all 0.3s ease;
    cursor: default;
    position: relative;
}

[data-bs-theme="dark"] .jp-dashboard-goal-item {
    background: rgba(255,255,255,0.05);
}

.jp-dashboard-goal-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.jp-dashboard-goal-item:hover .jp-dashboard-goal-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Completed state - HTML uses .completed class */
.jp-dashboard-goal-item.completed,
.jp-dashboard-goal-item.done {
    background: linear-gradient(135deg, var(--dash-success-light) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-left: 3px solid var(--dash-success);
}

.jp-dashboard-goal-item.completed:hover,
.jp-dashboard-goal-item.done:hover {
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.15);
}

.jp-dashboard-goal-item.locked {
    opacity: 0.6;
    cursor: not-allowed;
}

.jp-dashboard-goal-item.locked:hover {
    transform: none;
    box-shadow: none;
}

/* Goal icon with done state */
.jp-dashboard-goal-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    background: var(--jp-bg-tertiary, #f1f5f9);
    color: var(--jp-text-muted);
    transition: all 0.3s ease;
}

.jp-dashboard-goal-icon.done {
    background: linear-gradient(135deg, var(--dash-success) 0%, #059669 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.jp-dashboard-goal-content {
    flex: 1;
    min-width: 0;
}

.jp-dashboard-goal-title {
    font-weight: 600;
    color: var(--dash-text);
    margin-bottom: 0.35rem;
    transition: color 0.2s ease;
}

.jp-dashboard-goal-item:hover .jp-dashboard-goal-title {
    color: var(--jp-primary);
}

/* Goal Info wrapper - used in HTML */
.jp-dashboard-goal-info {
    flex: 1;
    min-width: 0;
}

/* Goal Progress wrap - used in HTML */
.jp-dashboard-goal-progress-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.jp-dashboard-goal-progress {
    flex: 1;
    height: 8px;
    background: var(--dash-border);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

/* Goal Fill - HTML uses jp-dashboard-goal-fill, not progress-bar */
.jp-dashboard-goal-fill,
.jp-dashboard-goal-progress-bar {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--dash-primary) 0%, #8b5cf6 100%);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.jp-dashboard-goal-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: goalShimmer 2s infinite;
}

@keyframes goalShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Goal count text - used in HTML */
.jp-dashboard-goal-count {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--jp-text-muted);
    white-space: nowrap;
}

/* Goal reward styling - modernized */
.jp-dashboard-goal-reward {
    text-align: right;
    flex-shrink: 0;
    padding: 0.5rem 0.75rem;
    background: var(--dash-success-light);
    border-radius: 10px;
    min-width: 70px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dash-success);
}

.jp-dashboard-goal-reward i {
    margin-right: 0.25rem;
}

.jp-dashboard-goal-reward small {
    display: block;
    font-size: 0.7rem;
    opacity: 0.8;
    margin-top: 0.125rem;
}

.jp-dashboard-goal-reward-value {
    font-weight: 700;
    color: var(--dash-success);
    font-size: 0.95rem;
}

.jp-dashboard-goal-reward-label {
    font-size: 0.7rem;
    color: var(--dash-text-muted);
    text-transform: uppercase;
}

.jp-dashboard-goals-bonus {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--dash-success-light) 0%, var(--dash-primary-light) 100%);
    border-radius: 12px;
    margin-top: 1rem;
}

.jp-dashboard-goals-bonus-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--dash-success) 0%, #059669 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
}

.jp-dashboard-goals-bonus-text {
    flex: 1;
    color: var(--dash-text);
}

/* Info Box */
.jp-dashboard-info-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--jp-bg-secondary, #f8fafc);
    border-radius: 12px;
}

[data-bs-theme="dark"] .jp-dashboard-info-box {
    background: rgba(255,255,255,0.05);
}

.jp-dashboard-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.jp-dashboard-info-content {
    flex: 1;
}

.jp-dashboard-info-value {
    font-weight: 700;
    color: var(--dash-text);
    font-size: 1.1rem;
}

.jp-dashboard-info-label {
    font-size: 0.75rem;
    color: var(--dash-text-muted);
}

/* Level Section */
.jp-dashboard-level-card {
    padding: 1.5rem;
}

.jp-dashboard-level-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.jp-dashboard-level-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--dash-warning) 0%, #d97706 100%);
    border-radius: 12px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.jp-dashboard-level-badge i {
    font-size: 1rem;
}

/* Level XP display - used in HTML */
.jp-dashboard-level-xp {
    font-size: 0.95rem;
    color: var(--jp-text-muted);
}

.jp-dashboard-level-xp strong {
    color: var(--jp-text);
    font-weight: 700;
}

.jp-dashboard-level-info {
    text-align: right;
}

.jp-dashboard-level-current {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dash-text);
}

.jp-dashboard-level-next {
    font-size: 0.85rem;
    color: var(--dash-text-muted);
}

.jp-dashboard-xp-bar {
    height: 10px;
    background: var(--dash-border);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.jp-dashboard-xp-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--dash-warning) 0%, #f59e0b 50%, #fbbf24 100%);
    border-radius: 5px;
    transition: width 0.6s ease;
}

.jp-dashboard-level-footer {
    text-align: center;
}

.jp-dashboard-level-remaining {
    font-size: 0.85rem;
    color: var(--dash-text-muted);
}

/* Quick Actions */
.jp-dashboard-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 576px) {
    .jp-dashboard-quick-grid {
        grid-template-columns: 1fr;
    }
}

.jp-dashboard-quick-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem;
    background: var(--jp-bg-secondary, #f8fafc);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.jp-dashboard-quick-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.jp-dashboard-quick-btn:hover::before {
    width: 200%;
    height: 200%;
}

[data-bs-theme="dark"] .jp-dashboard-quick-btn {
    background: rgba(255,255,255,0.05);
}

[data-bs-theme="dark"] .jp-dashboard-quick-btn::before {
    background: rgba(99, 102, 241, 0.15);
}

.jp-dashboard-quick-btn:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.jp-dashboard-quick-btn:active {
    transform: translateY(-2px) scale(0.98);
}

.jp-dashboard-quick-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.jp-dashboard-quick-btn:hover .jp-dashboard-quick-icon {
    transform: scale(1.15) rotate(5deg);
}

.jp-dashboard-quick-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--dash-text);
    position: relative;
    z-index: 1;
    transition: color 0.2s ease;
}

.jp-dashboard-quick-btn:hover .jp-dashboard-quick-label {
    color: var(--jp-primary);
}

/* Leaderboard */
.jp-dashboard-leaderboard {
    padding: 0;
}

.jp-dashboard-leader-row {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--dash-border);
    gap: 1rem;
    transition: all 0.25s ease;
    cursor: default;
}

.jp-dashboard-leader-row:hover {
    background: var(--jp-bg-secondary, #f8fafc);
}

[data-bs-theme="dark"] .jp-dashboard-leader-row:hover {
    background: rgba(255,255,255,0.03);
}

.jp-dashboard-leader-row:hover .jp-dashboard-leader-rank-badge {
    transform: scale(1.1);
}

.jp-dashboard-leader-row:hover .jp-dashboard-leader-avatar {
    transform: scale(1.08);
}

.jp-dashboard-leader-row:last-child {
    border-bottom: none;
}

.jp-dashboard-leader-rank {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.jp-dashboard-leader-rank.gold {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #fff;
}

.jp-dashboard-leader-rank.silver {
    background: linear-gradient(135deg, #e2e8f0 0%, #94a3b8 100%);
    color: #475569;
}

.jp-dashboard-leader-rank.bronze {
    background: linear-gradient(135deg, #fed7aa 0%, #fb923c 100%);
    color: #9a3412;
}

.jp-dashboard-leader-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.jp-dashboard-leader-info {
    flex: 1;
    min-width: 0;
}

.jp-dashboard-leader-name {
    font-weight: 600;
    color: var(--dash-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jp-dashboard-leader-level {
    font-size: 0.8rem;
    color: var(--dash-text-muted);
}

.jp-dashboard-leader-points {
    font-weight: 700;
    color: var(--dash-primary);
    white-space: nowrap;
}

/* Leader Rank Badge - HTML uses jp-dashboard-leader-rank-badge */
.jp-dashboard-leader-rank-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    background: var(--jp-bg-tertiary, #f1f5f9);
    color: var(--jp-text-muted);
    transition: all 0.3s ease;
}

.jp-dashboard-leader-rank-badge.gold {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.jp-dashboard-leader-rank-badge.silver {
    background: linear-gradient(135deg, #e2e8f0 0%, #94a3b8 100%);
    color: #475569;
    box-shadow: 0 4px 12px rgba(148, 163, 184, 0.3);
}

.jp-dashboard-leader-rank-badge.bronze {
    background: linear-gradient(135deg, #fed7aa 0%, #fb923c 100%);
    color: #9a3412;
    box-shadow: 0 4px 12px rgba(251, 146, 60, 0.3);
}

/* Leader Score - HTML uses jp-dashboard-leader-score with score-value/score-label */
.jp-dashboard-leader-score {
    text-align: right;
    flex-shrink: 0;
}

.jp-dashboard-leader-score .score-value {
    display: block;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--jp-primary);
    line-height: 1.2;
}

.jp-dashboard-leader-score .score-label {
    font-size: 0.7rem;
    color: var(--jp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Current user highlight in leaderboard */
.jp-dashboard-leader-row.current-user {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border-left: 3px solid var(--jp-primary);
}

/* Leader Avatar with fallback support */
.jp-dashboard-leader-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--jp-bg-tertiary, #f1f5f9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.jp-dashboard-leader-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jp-dashboard-leader-avatar .avatar-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    color: var(--jp-primary);
    font-weight: 700;
    font-size: 1rem;
}

/* Referral Card */
.jp-dashboard-referral {
    background: linear-gradient(135deg, var(--dash-primary) 0%, #8b5cf6 100%);
    border-radius: var(--dash-radius);
    padding: 1.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.jp-dashboard-referral::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    pointer-events: none;
    transition: all 0.5s ease;
}

.jp-dashboard-referral:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.jp-dashboard-referral:hover::before {
    transform: scale(1.5);
}

.jp-dashboard-referral h6 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.jp-dashboard-referral p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.jp-dashboard-referral-input {
    display: flex;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.jp-dashboard-referral-input input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 10px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.jp-dashboard-referral-input input:focus {
    outline: none;
    background: rgba(255,255,255,0.3);
}

.jp-dashboard-referral-input input::placeholder {
    color: rgba(255,255,255,0.6);
}

.jp-dashboard-referral-input button {
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 10px;
    background: #fff;
    color: var(--dash-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.jp-dashboard-referral-input button:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.jp-dashboard-referral-input button:active {
    transform: scale(1.02);
}

/* Responsive Hero */
@media (max-width: 992px) {
    .jp-dashboard-hero-inner {
        padding: 1.5rem;
    }
    
    .jp-dashboard-welcome-text h1 {
        font-size: 1.5rem;
    }
    
    .jp-dashboard-balance-value {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .jp-dashboard-avatar {
        width: 56px;
        height: 56px;
    }
    
    .jp-dashboard-welcome-text h1 {
        font-size: 1.25rem;
    }
    
    .jp-dashboard-balance-widget {
        width: 100%;
        text-align: center;
        margin-top: 1rem;
    }
    
    /* Mobile tap feedback */
    .jp-dashboard-stat-card:active,
    .jp-dashboard-quick-btn:active,
    .jp-dashboard-tx-item:active,
    .jp-dashboard-goal-item:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
    
    /* Reduced motion preference */
    @media (prefers-reduced-motion: reduce) {
        .jp-dashboard-hero,
        .jp-dashboard-stat-card,
        .jp-dashboard-quick-btn,
        .jp-dashboard-tx-item,
        .jp-dashboard-goal-item,
        .jp-dashboard-referral,
        .jp-dashboard-avatar,
        .jp-dashboard-balance-widget {
            transition: none;
        }
        
        .jp-dashboard-hero::before,
        .jp-dashboard-hero::after,
        .jp-dashboard-hero-sparkle,
        .jp-dashboard-goal-fill::after {
            animation: none;
        }
    }
}

/* Info box hover */
.jp-dashboard-info-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--jp-bg-secondary, #f8fafc);
    border-radius: 12px;
    transition: all 0.25s ease;
}

.jp-dashboard-info-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.jp-dashboard-info-box:hover .jp-dashboard-info-icon {
    transform: scale(1.1);
}

[data-bs-theme="dark"] .jp-dashboard-info-box {
    background: rgba(255,255,255,0.05);
}

.jp-dashboard-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

/* Dark mode improvements */
[data-bs-theme="dark"] .jp-dashboard-hero {
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.2);
}

[data-bs-theme="dark"] .jp-dashboard-stat-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="dark"] .jp-dashboard-stat-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

[data-bs-theme="dark"] .jp-dashboard-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

[data-bs-theme="dark"] .jp-dashboard-referral {
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

[data-bs-theme="dark"] .jp-dashboard-referral:hover {
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.3);
}

/* Card hover improvements */
.jp-dashboard-card {
    background: var(--dash-card-bg);
    border-radius: var(--dash-radius);
    box-shadow: var(--dash-shadow);
    border: 1px solid var(--dash-border);
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.jp-dashboard-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

/* XP bar shimmer animation */
.jp-dashboard-xp-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--dash-warning) 0%, #f59e0b 50%, #fbbf24 100%);
    border-radius: 5px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.jp-dashboard-xp-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: xpShimmer 2.5s infinite;
}

@keyframes xpShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ==========================================
   NEW DASHBOARD COMPONENTS 2025
   ========================================== */

/* Streak Card Special Styling */
.jp-streak-card.streak-fire {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(234, 88, 12, 0.05)) !important;
    border: 1px solid rgba(249, 115, 22, 0.3) !important;
}

.jp-streak-card .streak-flame {
    font-size: 1.2rem;
    animation: flameWiggle 0.5s ease-in-out infinite;
}

@keyframes flameWiggle {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}

/* Active Events Banner */
.jp-active-events-banner {
    margin-top: 1rem;
}

.jp-event-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, 
        color-mix(in srgb, var(--event-color) 15%, transparent),
        color-mix(in srgb, var(--event-color) 5%, transparent)
    );
    border: 1px solid color-mix(in srgb, var(--event-color) 30%, transparent);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.jp-event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px color-mix(in srgb, var(--event-color) 20%, transparent);
    color: inherit;
    text-decoration: none;
}

.jp-event-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--event-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.jp-event-content {
    flex: 1;
}

.jp-event-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--jp-text);
}

.jp-event-desc {
    font-size: 0.85rem;
    color: var(--jp-text-secondary);
    margin-top: 0.125rem;
}

.jp-event-arrow {
    color: var(--event-color);
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.jp-event-card:hover .jp-event-arrow {
    transform: translateX(4px);
}

.jp-event-pulse {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 8px;
    height: 8px;
    background: var(--event-color);
    border-radius: 50%;
    animation: eventPulse 2s infinite;
}

@keyframes eventPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

/* Daily Bonus Reminder */
.jp-daily-bonus-reminder {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(22, 163, 74, 0.05));
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    animation: bonusGlow 3s ease-in-out infinite;
}

@keyframes bonusGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
    50% { box-shadow: 0 0 20px 0 rgba(34, 197, 94, 0.15); }
}

.jp-daily-bonus-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.jp-daily-bonus-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    position: relative;
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.jp-daily-bonus-icon .jp-bonus-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    background: #ef4444;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: badgePulse 1s infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.jp-daily-bonus-text {
    flex: 1;
}

.jp-daily-bonus-text strong {
    display: block;
    font-size: 1rem;
    color: var(--jp-text);
}

.jp-daily-bonus-text span {
    font-size: 0.85rem;
    color: var(--jp-text-secondary);
}

.jp-daily-bonus-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.jp-daily-bonus-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
    color: white;
}

/* VIP Benefits Banner */
.jp-vip-benefits-banner {
    position: relative;
    background: linear-gradient(135deg, 
        color-mix(in srgb, var(--vip-color) 15%, var(--jp-bg)),
        color-mix(in srgb, var(--vip-color) 5%, var(--jp-bg))
    );
    border: 1px solid color-mix(in srgb, var(--vip-color) 40%, transparent);
    border-radius: 16px;
    padding: 1.25rem;
    overflow: hidden;
}

.jp-vip-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffd700' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.jp-vip-banner-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.jp-vip-banner-icon {
    width: 56px;
    height: 56px;
    background: var(--vip-color);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 15px color-mix(in srgb, var(--vip-color) 40%, transparent);
}

.jp-vip-banner-info {
    flex: 1;
}

.jp-vip-banner-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--vip-color);
    text-shadow: 0 0 30px color-mix(in srgb, var(--vip-color) 30%, transparent);
}

.jp-vip-banner-perks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.375rem;
}

.jp-vip-banner-perks span {
    font-size: 0.8rem;
    color: var(--jp-text-secondary);
    display: flex;
    align-items: center;
}

.jp-vip-banner-perks span i {
    color: var(--vip-color);
    margin-right: 0.25rem;
}

.jp-vip-banner-expiry {
    text-align: right;
}

.jp-vip-banner-expiry small {
    color: var(--jp-text-secondary);
    font-size: 0.75rem;
}

/* Dark Mode Support for New Components */
[data-theme="dark"] .jp-event-card {
    background: linear-gradient(135deg, 
        color-mix(in srgb, var(--event-color) 20%, #1a1a2e),
        color-mix(in srgb, var(--event-color) 10%, #1a1a2e)
    );
}

[data-theme="dark"] .jp-daily-bonus-reminder {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(22, 163, 74, 0.08));
}

[data-theme="dark"] .jp-vip-benefits-banner {
    background: linear-gradient(135deg, 
        color-mix(in srgb, var(--vip-color) 20%, #1a1a2e),
        color-mix(in srgb, var(--vip-color) 10%, #1a1a2e)
    );
}

/* Responsive */
@media (max-width: 768px) {
    .jp-daily-bonus-content {
        text-align: center;
        justify-content: center;
    }
    
    .jp-daily-bonus-text {
        flex: none;
        width: 100%;
        text-align: center;
    }
    
    .jp-vip-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .jp-vip-banner-perks {
        justify-content: center;
    }
    
    .jp-vip-banner-expiry {
        text-align: center;
        width: 100%;
    }
}

/* ============================================
   Dashboard addons (quick strip, chart)
   ============================================ */
.jp-dashboard-quick-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin: 16px 0 8px;
}

.quick-pill {
    background: var(--jp-bg-card);
    border: 1px solid var(--jp-border);
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: var(--jp-shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pill-title {
    font-weight: 700;
    color: var(--jp-text);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
}

.pill-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--jp-primary);
}

.pill-muted {
    color: var(--jp-text-muted);
    font-size: 0.9rem;
}

.pill-link {
    font-weight: 700;
    color: var(--jp-success);
    text-decoration: none;
}

.pill-link:hover {
    text-decoration: underline;
}

.jp-dashboard-chart-card .chart-wrap {
    position: relative;
    min-height: 180px;
}

.jp-dashboard-chart-card canvas {
    width: 100%;
}

.chart-empty {
    opacity: 0.6;
}

.jp-dashboard-chip {
    background: var(--jp-bg-card);
    border: 1px solid var(--jp-border);
    border-radius: 999px;
    padding: 4px 10px;
}

.jp-dashboard-quick-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

@media (max-width: 768px) {
    .jp-dashboard-quick-strip {
        grid-template-columns: 1fr;
    }
}