/* ==========================================================================
   pv_image.css — drop this file into your Dash app's `assets/` folder.
   Dash auto-loads any CSS in `assets/`, no code changes needed.
   ========================================================================== */

/* ---- Precise column widths on wide screens: 4.1 / 3.8 / 4.1 in twelfths ---- */
@media (min-width: 992px) {
    .pv-col-step1,
    .pv-col-step3 {
        flex: 0 0 34.17% !important;     /* 4.1 / 12 */
        max-width: 34.17% !important;
    }
    .pv-col-step2 {
        flex: 0 0 31.66% !important;     /* 3.8 / 12 */
        max-width: 31.66% !important;
    }
}

/* ---- Step header (badge + title) ---- */
.pv-step-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #ECEFF3;
}
.pv-step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #0070C0;
    color: white;
    font-weight: 700;
    font-size: 0.95em;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 112, 192, 0.25);
}
.pv-step-title {
    font-size: 1.15em;
    font-weight: 700;
    color: #3A3A3A;             /* dark gray */
    letter-spacing: 0.01em;
}

/* ---- Run button: hover with distinct color change + lift ---- */
.pv-run-button {
    background-color: #0070C0 !important;
}
.pv-run-button:hover {
    background-color: #003D6B !important;   /* much darker navy */
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 61, 107, 0.40);
}
.pv-run-button:active {
    background-color: #002A4A !important;
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 61, 107, 0.30);
}
.pv-run-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 112, 192, 0.25);
}

/* ---- Upload drop-zone hover ---- */
.pv-upload-box:hover {
    border-color: #0070C0 !important;
    background-color: #EFF6FB !important;
    box-shadow: 0 2px 8px rgba(0, 112, 192, 0.08);
}

/* ---- Example thumbnail hover ---- */
.pv-thumb:hover {
    transform: scale(1.08);
    border-color: #0070C0 !important;
    box-shadow: 0 4px 10px rgba(0, 112, 192, 0.25) !important;
    z-index: 2;
    position: relative;
}
.pv-thumb-selected {
    transform: scale(1.04);
}

/* ---- Model radio: only the radio dot is themed; no card, no hover effect ---- */
.pv-model-radio input[type="radio"] {
    accent-color: #0070C0;
    width: 16px;
    height: 16px;
}
/* Selected option: bold + blue text */
.pv-model-radio label:has(input[type="radio"]:checked) {
    color: #0070C0 !important;
    font-weight: 700 !important;
}