/* Invoice OCR / Excel isolated module */
#invoiceExportBar{
  position:absolute;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  z-index:10002;
  width:min(94vw,520px);
  pointer-events:auto;
}
.image-modal{position:fixed;}
.invoice-export-actions{
  display:flex;
  gap:8px;
  justify-content:center;
  flex-wrap:wrap;
}
.invoice-action-btn{
  border:0;
  border-radius:10px;
  padding:10px 14px;
  font-size:14px;
  font-weight:600;
  cursor:pointer;
  background:rgba(15,23,42,.92);
  color:#fff;
  box-shadow:0 3px 12px rgba(0,0,0,.25);
}
.invoice-action-btn:hover{filter:brightness(1.08);}
.invoice-action-btn:disabled{opacity:.55;cursor:wait;}
.invoice-excel-btn{background:rgba(22,101,52,.95);}
.invoice-ocr-status{
  margin:8px auto 0;
  width:fit-content;
  max-width:94vw;
  padding:7px 10px;
  border-radius:8px;
  background:rgba(0,0,0,.72);
  color:#fff;
  font-size:12px;
  line-height:1.35;
  text-align:center;
}
.invoice-ocr-status.warning{background:rgba(146,64,14,.94);}
.invoice-ocr-status.error{background:rgba(153,27,27,.94);}
.invoice-ocr-status.success{background:rgba(21,128,61,.94);}
@media (max-width:600px){
  #invoiceExportBar{bottom:max(12px, env(safe-area-inset-bottom));}
  .invoice-action-btn{padding:9px 11px;font-size:13px;}
}
