/* ==========================================================
   Land Shireel — Statistics.css
   ستايل خاص بالإحصاءات وحالات القطع فقط
   ========================================================== */

.statistics-card{overflow:hidden}
.stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.stat-item{
  position:relative;
  display:flex;
  align-items:center;
  gap:9px;
  min-height:64px;
  padding:9px 10px;
  border:1px solid rgba(15,23,42,.08);
  border-radius:14px;
  background:rgba(255,255,255,.84);
  overflow:hidden;
}
.stat-item::after{
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:2px;
  background:currentColor;
  opacity:.65;
}
.stat-item small{display:block;color:#667085;font-size:9px;line-height:1.4}
.stat-item strong{display:block;color:#172033;font-size:18px;line-height:1.2;margin-top:2px}
.stat-icon{
  flex:0 0 34px;
  width:34px;height:34px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:11px;
  color:#fff;
  font-size:16px;
  font-weight:900;
  box-shadow:0 6px 14px rgba(15,23,42,.12);
}
.stat-total{grid-column:span 2;color:#0f766e;background:linear-gradient(135deg,rgba(15,118,110,.08),rgba(255,255,255,.88))}
.stat-total .stat-icon{background:#0f766e}
.stat-available{color:#22c55e}
.stat-available .stat-icon{background:#22c55e}
.stat-sold{color:#ef4444}
.stat-sold .stat-icon{background:#ef4444}
.stat-reserved{color:#3b82f6}
.stat-reserved .stat-icon{background:#3b82f6;color:#fff}
.stat-temporary{color:#f97316}
.stat-temporary .stat-icon{background:#f97316}
.stat-development{color:#7c3aed}
.stat-development .stat-icon{background:#7c3aed}
.stat-customers{color:#475569}
.stat-customers .stat-icon{background:#475569}

/* الحالات الستة يمكن استخدامها أيضاً في أي قائمة مستقبلية */
.statistics-statuses{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.statistics-status{
  display:flex;align-items:center;gap:7px;
  padding:7px 8px;border:1px solid rgba(15,23,42,.07);
  border-radius:10px;background:#fff;font-size:10px;
}
.statistics-status .status-dot{
  width:10px;height:10px;border-radius:50%;
  box-shadow:0 0 0 3px rgba(255,255,255,.85);
}
.statistics-status.available .status-dot{background:#22c55e}
.statistics-status.sold .status-dot{background:#ef4444}
.statistics-status.reserved .status-dot{background:#3b82f6}
.statistics-status.temporary .status-dot{background:#f97316}
.statistics-status.development .status-dot{background:#7c3aed}
.statistics-status.customers .status-dot{background:#475569}

@media(max-width:420px){
  .stats-grid{gap:7px}
  .stat-item{min-height:58px;padding:8px}
  .stat-icon{width:31px;height:31px;flex-basis:31px}
}


/* Hide video control */
.video-btn,.video-button,.video-control,.btn-video,.video-toggle,
[data-action="video"],[data-video],[data-tool="video"],
button[title*="فيديو"],button[aria-label*="فيديو"],
a[title*="فيديو"],a[aria-label*="فيديو"]{
  display:none!important;
}


/* Planning menu: video controls disabled */
#videoBtn,
#videoGuideBtn,
#mobileVideoBtn,
.video-action,
.video-menu-item,
[data-action="video"],
[data-video="project"],
a[href*="youtube.com"] .video-action{
  display:none !important;
}
