/* Chart Widget */
.smi-elementor-chart {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px;
    margin: 20px 0;
}

.smi-elementor-chart .chart-title {
    margin: 0 0 20px 0;
    font-size: 1.2em;
    font-weight: 600;
    color: #2c3338;
}

.chart-container {
    position: relative;
    min-height: 300px;
}

.chart-loading,
.chart-error {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 4px;
    margin-top: 10px;
}

.chart-error {
    color: #dc3545;
    background: #fff3f4;
}

/* AI Insights Widget */
.smi-insights-ai {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

.smi-ai-badge {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    padding: 12px 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.smi-ai-badge .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.smi-insights-content {
    padding: 20px;
}

.smi-insight-category {
    margin-bottom: 24px;
}

.smi-insight-category:last-child {
    margin-bottom: 0;
}

.smi-insight-category h4 {
    color: #2c3338;
    font-size: 1.1em;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.smi-insight-category ul {
    margin: 0;
    padding-left: 24px;
}

.smi-insight-category li {
    color: #4b5563;
    margin-bottom: 8px;
    line-height: 1.6;
}

.smi-insight-category li:last-child {
    margin-bottom: 0;
}

/* Responsive Styles */
@media screen and (max-width: 767px) {
    .smi-elementor-chart {
        padding: 15px;
    }

    .smi-elementor-chart .chart-title {
        font-size: 1.1em;
    }

    .chart-container {
        min-height: 250px;
    }

    .smi-insights-content {
        padding: 15px;
    }

    .smi-insight-category {
        margin-bottom: 20px;
    }
} 