/* Fun Stats Widget Styles */

/* Sidebar Widget Container */
.sidebar-widget {
    margin: 20px 0;
}

/* Fun Stats Widget */
.fun-stats-widget {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--bg-secondary);
}

.fun-stats-widget h3 {
    text-align: center;
    margin: 0 0 20px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 12px;
}

/* Grid Layout for Stats */
.stats-grid-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

/* Individual Stat Boxes */
.stat-box {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
    transition: all 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    min-height: 85px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

/* Highlight Box (Today's Best) */
.stat-box.highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    grid-column: span 2;
    border-color: transparent;
}

.stat-box.highlight:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(247, 147, 30, 0.3);
}

.stat-box.highlight .stat-number,
.stat-box.highlight .stat-label {
    color: white;
}

/* Stat Elements */
.stat-icon {
    font-size: 1.4rem;
    margin-bottom: 8px;
    display: block;
}

.stat-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 500;
    line-height: 1.2;
}

/* Motivation Message */
.motivation-message {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 12px 16px;
    border-radius: 10px;
    text-align: center;
    font-size: 0.85rem;
    font-style: italic;
    font-weight: 500;
    margin-top: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stats-grid-sidebar {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .stat-box.highlight {
        grid-column: span 1;
    }
    
    .stat-box {
        padding: 14px 10px;
        min-height: 75px;
    }
    
    .stat-number {
        font-size: 1.1rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .fun-stats-widget {
        padding: 16px;
        margin: 16px 0;
    }
    
    .stat-box {
        padding: 12px 8px;
        min-height: 70px;
    }
    
    .motivation-message {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
}
