/* Fix216 - Biểu đồ doanh thu Trang chủ */
#ov-fix216-revenue-chart{
  margin-top:14px!important;
  margin-bottom:14px!important;
  padding:16px!important;
  overflow:hidden!important;
}

#ov-fix216-revenue-chart .ov216-head{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:16px!important;
  margin-bottom:12px!important;
}

#ov-fix216-revenue-chart .ov216-head>div:first-child>span{
  display:block!important;
  margin-bottom:3px!important;
  color:#64748b!important;
  font-size:10px!important;
  font-weight:800!important;
  letter-spacing:.08em!important;
}

#ov-fix216-revenue-chart .ov216-head h3{
  margin:0!important;
  color:#0f172a!important;
  font-size:17px!important;
  line-height:1.25!important;
}

#ov-fix216-revenue-chart .ov216-head small{
  display:block!important;
  margin-top:4px!important;
  color:#64748b!important;
  font-size:11px!important;
}

#ov-fix216-revenue-chart .ov216-range{
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
  padding:3px!important;
  border:1px solid #dbe5f1!important;
  border-radius:10px!important;
  background:#f8fafc!important;
}

#ov-fix216-revenue-chart .ov216-range button{
  min-height:30px!important;
  padding:0 10px!important;
  border:0!important;
  border-radius:7px!important;
  background:transparent!important;
  color:#475569!important;
  font-size:11px!important;
  font-weight:750!important;
  cursor:pointer!important;
  white-space:nowrap!important;
}

#ov-fix216-revenue-chart .ov216-range button:hover{
  background:#eef4ff!important;
  color:#1d4ed8!important;
}

#ov-fix216-revenue-chart .ov216-range button.active{
  background:#2563eb!important;
  color:#fff!important;
  box-shadow:0 2px 5px rgba(37,99,235,.18)!important;
}

#ov-fix216-revenue-chart .ov216-range .ov216-refresh{
  width:30px!important;
  min-width:30px!important;
  padding:0!important;
  font-size:18px!important;
}

#ov-fix216-revenue-chart .ov216-kpis{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
  margin-bottom:8px!important;
}

#ov-fix216-revenue-chart .ov216-kpis>div{
  display:flex!important;
  align-items:baseline!important;
  justify-content:space-between!important;
  gap:8px!important;
  min-width:0!important;
  padding:9px 11px!important;
  border:1px solid #e2e8f0!important;
  border-radius:9px!important;
  background:#fff!important;
}

#ov-fix216-revenue-chart .ov216-kpis span{
  color:#64748b!important;
  font-size:10px!important;
  font-weight:700!important;
}

#ov-fix216-revenue-chart .ov216-kpis strong{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:#0f172a!important;
  font-size:13px!important;
}

#ov-fix216-revenue-chart .ov216-chart-wrap{
  position:relative!important;
  min-height:290px!important;
  border:1px solid #e2e8f0!important;
  border-radius:10px!important;
  background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)!important;
  overflow:hidden!important;
}

#ov-fix216-revenue-chart .ov216-svg{
  display:block!important;
  width:100%!important;
  height:290px!important;
}

#ov-fix216-revenue-chart .ov216-grid{
  stroke:#e8eef6!important;
  stroke-width:1!important;
  vector-effect:non-scaling-stroke!important;
}

#ov-fix216-revenue-chart .ov216-ylabel,
#ov-fix216-revenue-chart .ov216-xlabel{
  fill:#64748b!important;
  font-size:10px!important;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;
}

#ov-fix216-revenue-chart .ov216-area{
  fill:rgba(37,99,235,.08)!important;
}

#ov-fix216-revenue-chart .ov216-line{
  fill:none!important;
  stroke:#2563eb!important;
  stroke-width:2.5!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  vector-effect:non-scaling-stroke!important;
}

#ov-fix216-revenue-chart .ov216-point circle:first-child{
  fill:#fff!important;
  stroke:#2563eb!important;
  stroke-width:2!important;
  vector-effect:non-scaling-stroke!important;
}

#ov-fix216-revenue-chart .ov216-hit{
  fill:transparent!important;
  stroke:transparent!important;
  cursor:crosshair!important;
}

#ov-fix216-revenue-chart .ov216-tooltip{
  position:absolute!important;
  z-index:5!important;
  transform:translate(-50%,-100%)!important;
  display:flex!important;
  flex-direction:column!important;
  gap:2px!important;
  min-width:120px!important;
  padding:7px 9px!important;
  border-radius:8px!important;
  background:rgba(15,23,42,.96)!important;
  color:#fff!important;
  box-shadow:0 8px 24px rgba(15,23,42,.22)!important;
  pointer-events:none!important;
}

#ov-fix216-revenue-chart .ov216-tooltip[hidden]{
  display:none!important;
}

#ov-fix216-revenue-chart .ov216-tooltip strong{
  font-size:10px!important;
  font-weight:700!important;
  color:#cbd5e1!important;
}

#ov-fix216-revenue-chart .ov216-tooltip span{
  font-size:13px!important;
  font-weight:850!important;
  color:#fff!important;
}

#ov-fix216-revenue-chart .ov216-tooltip small{
  font-size:10px!important;
  color:#93c5fd!important;
}

#ov-fix216-revenue-chart .ov216-loading,
#ov-fix216-revenue-chart .ov216-error,
#ov-fix216-revenue-chart .ov216-empty{
  position:absolute!important;
  inset:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  color:#64748b!important;
  font-size:12px!important;
  text-align:center!important;
  pointer-events:none!important;
}

#ov-fix216-revenue-chart .ov216-error strong{
  color:#b91c1c!important;
}

#ov-fix216-revenue-chart .ov216-empty{
  background:rgba(255,255,255,.62)!important;
}

@media (max-width:900px){
  #ov-fix216-revenue-chart .ov216-head{
    flex-direction:column!important;
  }
  #ov-fix216-revenue-chart .ov216-range{
    width:100%!important;
    overflow-x:auto!important;
  }
  #ov-fix216-revenue-chart .ov216-kpis{
    grid-template-columns:1fr!important;
  }
}
