/**
 * استایل فرانت‌اند نمودار تغییرات قیمت افزونه «قیمت پرس» (Woo Price Multiplier by Ai)
 * پالت رنگی رسمی برند: #616c72 | #0eca75 | #54d39a | #9adcbf | #e1e6e5
 */

.wpmai-frontend-card {
    background: #ffffff;
    border: 1px solid #e1e6e5;
    border-top: 4px solid #0eca75;
    border-radius: 12px;
    padding: 18px 20px;
    margin: 20px 0;
    box-shadow: 0 4px 18px rgba(97, 108, 114, 0.08);
    font-family: inherit;
}

.wpmai-frontend-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e1e6e5;
    margin-bottom: 14px;
}

.wpmai-frontend-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wpmai-frontend-icon {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.wpmai-frontend-title {
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #616c72 !important;
}

.wpmai-frontend-subtitle {
    display: block;
    font-size: 12px;
    color: #616c72;
    opacity: 0.85;
}

.wpmai-ai-verified-badge {
    background: linear-gradient(135deg, #0eca75, #54d39a);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(14, 202, 117, 0.25);
}

.wpmai-frontend-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.wpmai-stat-pill {
    background: #e1e6e5;
    border-radius: 8px;
    padding: 9px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wpmai-stat-label {
    font-size: 11px;
    color: #616c72;
}

.wpmai-stat-val {
    font-size: 13.5px;
    color: #1d2327;
}

.wpmai-val-emerald {
    color: #0eca75;
}

.wpmai-frontend-chart-container {
    width: 100%;
    position: relative;
    background: #fafcfc;
    border: 1px solid #e1e6e5;
    border-radius: 8px;
    padding: 10px;
    box-sizing: border-box;
}

.wpmai-interactive-canvas {
    width: 100%;
    max-width: 100%;
    display: block;
}

.wpmai-frontend-legend {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 10px;
    font-size: 12px;
    color: #616c72;
}

.wpmai-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-left: 4px;
    vertical-align: middle;
}
