.ojs-v25-ocrbox{
  box-sizing:border-box;
  width:100%;
  margin:0 0 10px;
  padding:10px 12px;
  border:1px solid #e5eaf1;
  border-radius:14px;
  background:#f8fafc;
  font-family:inherit;
}
.ojs-v25-ocr-head{
  display:flex;
  align-items:baseline;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:8px;
  color:#1e3a5f;
}
.ojs-v25-ocr-head strong{
  font-size:14px;
}
.ojs-v25-ocr-head span{
  font-size:12px;
  color:#667085;
}
.ojs-v25-actions{
  display:flex;
  align-items:center;
  gap:7px;
  flex-wrap:wrap;
}
.ojs-v25-btn,
.ojs-v25-ocr-lang{
  min-height:38px;
  box-sizing:border-box;
  border:1px solid #d8e0ea;
  border-radius:10px;
  background:#fff;
  color:#20344f;
  font:inherit;
  font-size:13px;
}
.ojs-v25-btn{
  cursor:pointer;
  padding:7px 11px;
}
.ojs-v25-btn:hover{
  background:#f1f5f9;
}
.ojs-v25-ocr-lang{
  padding:6px 28px 6px 9px;
}
.ojs-v25-preview{
  position:relative;
  margin-top:9px;
  padding:7px;
  border-radius:12px;
  background:#fff;
  border:1px solid #e4e7ec;
}
.ojs-v25-preview img{
  display:block;
  max-width:100%;
  max-height:190px;
  margin:auto;
  object-fit:contain;
  border-radius:8px;
}
.ojs-v25-remove{
  position:absolute;
  top:5px;
  right:5px;
  width:28px;
  height:28px;
  border:0;
  border-radius:50%;
  background:rgba(15,23,42,.72);
  color:#fff;
  font-size:20px;
  line-height:1;
  cursor:pointer;
}
.ojs-v25-progress{
  height:5px;
  margin-top:9px;
  overflow:hidden;
  border-radius:99px;
  background:#e8eef5;
}
.ojs-v25-progress > span{
  display:block;
  height:100%;
  width:0;
  border-radius:99px;
  background:currentColor;
  color:#2f75d6;
  transition:width .18s ease;
}
.ojs-v25-status{
  margin-top:7px;
  min-height:18px;
  font-size:12px;
  line-height:1.45;
  color:#667085;
}
.ojs-v25-status[data-mode="success"]{
  color:#16794c;
}
.ojs-v25-status[data-mode="error"]{
  color:#b42318;
}

@media (max-width: 640px){
  .ojs-v25-ocrbox{
    padding:9px;
    border-radius:12px;
  }
  .ojs-v25-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  .ojs-v25-ocr-lang{
    grid-column:1 / -1;
    width:100%;
  }
  .ojs-v25-btn{
    width:100%;
    min-height:42px;
  }
}
