/* __BATARYA_SMART_KPI_CARDS_R610__ */
.smartdash-mini-kpis article[data-smart-kpi-r610]{
  cursor:pointer;
  transition:
    transform .16s ease,
    box-shadow .16s ease,
    border-color .16s ease;
  position:relative;
}

.smartdash-mini-kpis article[data-smart-kpi-r610]::after{
  content:"عرض التفاصيل ←";
  position:absolute;
  left:12px;
  bottom:9px;
  font-size:8px;
  font-weight:900;
  color:#8a9aa5;
  opacity:0;
  transform:translateY(2px);
  transition:.16s ease;
}

.smartdash-mini-kpis article[data-smart-kpi-r610]:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 24px rgba(22,54,75,.09);
}

.smartdash-mini-kpis article[data-smart-kpi-r610]:hover::after,
.smartdash-mini-kpis article[data-smart-kpi-r610]:focus-visible::after{
  opacity:1;
  transform:none;
}

.smartdash-mini-kpis article[data-smart-kpi-r610]:focus-visible{
  outline:2px solid rgba(20,149,109,.32);
  outline-offset:2px;
}

.smart-kpi-lock-r610{
  overflow:hidden;
}

.smart-kpi-modal-r610{
  position:fixed;
  inset:0;
  z-index:99999;
  display:none;
  direction:rtl;
}

.smart-kpi-modal-r610.open{
  display:block;
}

.smart-kpi-backdrop-r610{
  position:absolute;
  inset:0;
  background:rgba(12,27,38,.42);
  backdrop-filter:blur(3px);
}

.smart-kpi-sheet-r610{
  position:absolute;
  top:50%;
  right:50%;
  transform:translate(50%,-50%);
  width:min(760px,calc(100vw - 28px));
  max-height:min(76vh,760px);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  border:1px solid #dce7eb;
  border-radius:20px;
  background:#fff;
  box-shadow:0 28px 70px rgba(13,36,52,.22);
}

.smart-kpi-head-r610{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  padding:17px 18px 14px;
  border-bottom:1px solid #e8eef1;
  background:linear-gradient(180deg,#fbfefe,#f7fbfa);
}

.smart-kpi-head-r610 small{
  display:block;
  font-size:8px;
  font-weight:950;
  letter-spacing:.09em;
  color:#13a679;
}

.smart-kpi-head-r610 h3{
  margin:3px 0 3px;
  color:#153149;
  font-size:18px;
}

.smart-kpi-head-r610 p{
  margin:0;
  color:#8294a0;
  font-size:10px;
  font-weight:650;
}

.smart-kpi-close-r610{
  border:1px solid #dce5e9;
  background:#fff;
  width:36px;
  height:36px;
  border-radius:11px;
  cursor:pointer;
  font-size:24px;
  line-height:1;
  color:#607481;
}

.smart-kpi-body-r610{
  padding:12px;
  overflow:auto;
  display:grid;
  gap:8px;
}

.smart-kpi-product-r610{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  border:1px solid #e4ecef;
  border-radius:13px;
  background:#fff;
  padding:11px 12px;
  text-align:right;
  cursor:pointer;
  transition:.15s ease;
}

.smart-kpi-product-r610:hover{
  transform:translateY(-1px);
  box-shadow:0 7px 18px rgba(21,54,75,.07);
}

.smart-kpi-product-r610.risk{
  border-color:#f1d2d2;
  background:#fffafa;
}

.smart-kpi-product-r610.idle{
  border-color:#f0dfbf;
  background:#fffdf8;
}

.smart-kpi-product-r610.healthy{
  border-color:#d7eae4;
  background:#fbfffd;
}

.smart-kpi-product-main-r610{
  min-width:0;
}

.smart-kpi-product-main-r610 b{
  display:block;
  color:#153149;
  font-size:11px;
  margin-bottom:3px;
}

.smart-kpi-product-main-r610 small{
  display:block;
  color:#8294a0;
  font-size:9px;
  line-height:1.65;
}

.smart-kpi-product-r610>span{
  flex:0 0 auto;
  font-size:9px;
  font-weight:900;
  border-radius:999px;
  padding:6px 9px;
  background:#f2f6f8;
  color:#4f6879;
}

.smart-kpi-product-r610.risk>span{
  background:#fff0f0;
  color:#c44d4d;
}

.smart-kpi-product-r610.idle>span{
  background:#fff5e5;
  color:#a96d1c;
}

.smart-kpi-product-r610.healthy>span{
  background:#edf9f5;
  color:#158661;
}

.smart-kpi-empty-r610{
  border:1px dashed #dce6ea;
  background:#fafcfd;
  border-radius:14px;
  padding:28px 18px;
  text-align:center;
}

.smart-kpi-empty-r610 b{
  display:block;
  color:#50697a;
  font-size:12px;
  margin-bottom:5px;
}

.smart-kpi-empty-r610 span{
  color:#8c9aa4;
  font-size:9px;
}

@media(max-width:720px){
  .smart-kpi-sheet-r610{
    width:calc(100vw - 18px);
    max-height:82vh;
  }

  .smart-kpi-product-r610{
    align-items:flex-start;
    flex-direction:column;
  }
}

