/* Servizio H24 — priorità riparazioni in bacheca lab */
.laboratorio-module .tabella-bacheca tbody tr.riga-h24 {
    background: #fee2e2 !important;
    box-shadow: inset 4px 0 0 #dc2626;
    animation: none !important;
    transition: none !important;
}

.laboratorio-module .tabella-bacheca tbody tr.riga-h24:hover {
    background: #fecaca !important;
}

.laboratorio-module .tabella-bacheca tbody tr.riga-h24 td {
    border-color: #fca5a5;
}

.ddm-h24-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 4px;
    background: #dc2626;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.4;
    vertical-align: middle;
    white-space: nowrap;
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
}

.ddm-h24-checkbox-wrap {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
    padding: 10px 12px;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    background: #fef2f2;
    color: #991b1b;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    cursor: pointer;
}

.ddm-h24-checkbox-wrap input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: #dc2626;
}

.ddm-h24-checkbox-wrap strong {
    color: #b91c1c;
}

/* Checkbox H24 fuori dalla card (mount anticipato): non mostrare */
.modal-overlay > .ddm-h24-checkbox-wrap[data-ddm-h24-gestione],
body > .ddm-h24-checkbox-wrap[data-ddm-h24-gestione] {
    display: none !important;
}

@media (max-width: 640px) {
    .ddm-h24-badge {
        display: inline-flex;
        margin-left: 4px;
        margin-top: 4px;
        font-size: 10px;
    }

    .ddm-h24-checkbox-wrap {
        font-size: 13px;
    }
}
