/* ==========================================================================
   METALLICO — shared visual system for process pages
   (simulation / optimization / sensitivity of the 5 components).
   Class-based, applied over Radzen cards. Colour/layout only.
   ========================================================================== */

/* Full-bleed light workspace (outer card turned into a page wrapper) */
.mtl-page.rz-card {
    margin: -1.1rem -1.5rem 0;
    padding: 16px 24px;
    background: #f4f7f5;
    color: #142531;
    border: none;
    border-radius: 0;
    box-shadow: none;
    height: auto;
    max-width: none;
    overflow-x: hidden;
}

/* Left / right panels: fit to viewport height, scroll internally */
.mtl-panel.rz-card {
    height: calc(100vh - 120px);
    min-height: 420px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid rgba(20, 37, 49, 0.08);
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(18, 42, 54, 0.06);
}

/* Inner content blocks (replace the old grey #f7f7f7 cards) */
.mtl-block.rz-card {
    background: #ffffff;
    border: 1px solid rgba(31, 58, 89, 0.08);
    border-radius: 14px;
    box-shadow: none;
    padding: 1rem;
}

/* Small stat cards inside result grids */
.mtl-stat.rz-card {
    background: #f7f9fa;
    border: 1px solid rgba(31, 58, 89, 0.07);
    border-radius: 10px;
    box-shadow: none;
    padding: 0.75rem;
}

/* Section labels (RadzenText Overline) as brand-green eyebrows */
.mtl-page .rz-text-overline {
    color: #557f35;
    font-weight: 800;
    letter-spacing: 0.13em;
}

/* Process scheme images sit cleaner on the white blocks */
.mtl-block img {
    border-radius: 8px;
}

@media (max-width: 900px) {
    .mtl-panel.rz-card {
        height: auto;
        min-height: 0;
        overflow: visible;
    }
}
