/* Scrap Prices Frontend CSS */
.sp-price-list-wrap {
    font-family: inherit;
    direction: rtl;
    max-width: 700px;
}
.sp-price-header {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #eee;
}
.sp-cat-title {
    margin: 0 0 6px;
    font-size: 18px;
    color: #2c3e50;
}
.sp-update-date {
    font-size: 13px;
    color: #888;
}
.sp-price-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.sp-price-item {
    padding: 10px 14px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    transition: background .15s;
}
.sp-price-item:hover { background: #fafafa; }
.sp-price-item:last-child { border-bottom: none; }
.sp-item-title { color: #444; }
.sp-item-separator { color: #999; }
.sp-price-value {
    font-weight: bold;
    color: #e74c3c;
    font-size: 16px;
    direction: ltr;
    display: inline-block;
}
.sp-item-unit { color: #666; font-size: 13px; }
.sp-no-price { color: #aaa; font-style: italic; }

/* Chart */
.sp-chart-wrap {
    margin-top: 24px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 16px;
}
.sp-chart-title {
    margin: 0 0 12px;
    font-size: 15px;
    color: #444;
    text-align: center;
}
.sp-chart-canvas {
    width: 100%;
    display: block;
}
.sp-chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
    justify-content: center;
}
.sp-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #555;
}
.sp-legend-color {
    width: 18px;
    height: 4px;
    border-radius: 2px;
    display: inline-block;
}
.sp-updated-date {
    font-size: 13px;
    color: #888;
}