/* ── Processing status cards ─────────────────────────────────────────────── */
.status {
    background-color: var(--hm-color-surface);
    border: 1px solid var(--hm-color-border);
    border-radius: var(--hm-radius-md);
    padding: 10px;
    overflow: hidden;
    font-size: var(--hm-font-size-sm);
    color: var(--hm-color-text-muted);
}

.status.active {
    animation-name: hm-status-pulse;
    animation-duration: 4s;
    animation-iteration-count: infinite;
}

.status.complete {
    background-color: rgba(46, 125, 82, 0.12);
    border-color: var(--hm-color-success);
    color: var(--hm-color-success);
}

@keyframes hm-status-pulse {
    0%   { background-color: var(--hm-color-surface); }
    50%  { background-color: rgba(46, 125, 82, 0.12); }
    100% { background-color: var(--hm-color-surface); }
}

/* ── Materialize progress bar override ───────────────────────────────────── */
.progress {
    background-color: var(--hm-color-surface-alt) !important;
    border-radius: var(--hm-radius-full) !important;
    height: 5px !important;
    margin-top: 6px !important;
}

.progress .determinate {
    background-color: var(--hm-color-primary) !important;
    border-radius: var(--hm-radius-full) !important;
}

/* ── Color palette swatches ──────────────────────────────────────────────── */
.palette .color {
    float: left;
    width: 40px;
    height: 40px;
    border: 1px solid var(--hm-color-border);
    border-radius: var(--hm-radius-sm);
    text-align: center;
    padding: 5px;
    font-weight: var(--hm-font-weight-semibold);
    margin: 5px;
    text-shadow: 0 0 5px rgba(255,255,255,0.8);
    font-size: var(--hm-font-size-xs);
}

/* ── Materialize collection overrides ────────────────────────────────────── */
.collection-item > .row {
    margin-bottom: 0;
}

/* ── Input / output panes ────────────────────────────────────────────────── */
#input-pane {
    overflow: auto;
    max-width: 100%;
    max-height: 500px;
}

#svgContainer {
    overflow: auto;
    max-width: 100%;
    max-height: 600px;
    border: 1px solid var(--hm-color-border);
    border-radius: var(--hm-radius-md);
    padding: 8px;
    background-color: var(--hm-color-surface);
}
