/* =============================================================================
   TECSON Heizölpreise Manager — Elementor Widget Styles
   Layout structure only — colors and typography are controlled via Elementor
   ============================================================================= */

/* --- Chart Widget --- */
.topm-chart-card {
    overflow: hidden;
    /* Background, border, shadow injected by Elementor */
}

.topm-chart-header {
    /* Padding, background injected by Elementor */
}

.topm-chart-title {
    margin: 0 0 4px;
    line-height: 1.3;
}

.topm-chart-subtitle {
    margin: 0;
}

.topm-chart-body {
    padding: 20px;
}

.topm-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 20px;
    /* Gap injected by Elementor */
}

.topm-avg-label {
    font-size: 13px;
    font-weight: 700;
    margin-right: 8px;
    color: #64748b; /* Fallback */
}

.topm-avg-btn {
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
    /* Padding, border-radius, colors injected by Elementor */
}

.topm-chart-plot-area {
    position: relative;
    /* Background injected by Elementor */
}

.topm-infobox {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 20px;
    left: 80px;
    padding: 12px 16px;
    z-index: 10;
    /* Colors, border, shadow injected by Elementor */
}

.topm-infobox-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.topm-infobox-date {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 2px;
}

.topm-infobox-price {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2px;
}

.topm-infobox-unit {
    font-size: 11px;
}

.topm-chart-credits {
    margin: 16px 0 0;
    font-size: 11px;
    text-align: right;
}

/* --- Current Price Widget --- */
.topm-current-price-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* padding, bg, radius, shadow injected by Elementor */
}

.topm-current-price-inner {
    /* text-align injected by Elementor */
}

.topm-current-price-value {
    display: block;
    font-weight: 800;
    line-height: 1.1;
    /* font-size, margin-bottom, color injected by Elementor */
}

.topm-current-price-unit {
    font-size: 0.4em;
    font-weight: 400;
    opacity: 0.7;
}

.topm-current-price-label {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

/* --- Comparison Card Widget --- */
.topm-comparison-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* padding, bg, radius, shadow, border-left injected by Elementor */
}

.topm-comparison-row {
    display: flex;
    align-items: center;
    /* gap, margin-bottom injected by Elementor */
}

.topm-comparison-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    /* font-size, color injected by Elementor */
}

.topm-comparison-value {
    font-weight: 700;
    line-height: 1.2;
}

.topm-comparison-label {
    /* typography, color injected by Elementor */
}

.topm-comparison-compare-date {
    opacity: 0.7;
    margin-left: 4px;
}

/* --- Responsive --- */
@media (max-width: 600px) {
    .topm-chart-body {
        padding: 12px;
    }
    .topm-infobox {
        position: static;
        margin-bottom: 16px;
        align-items: center;
        text-align: center;
    }
}
