/* ============================================================
   ASHISH CLIENT — CLEAN UNIFIED STYLES (2026-08)
   يوحّد كل التصحيحات السابقة (v10 → v45) في ملف واحد
   ويزيل التزاحمات والتراكبات والعناصر العائمة المكررة.
   ============================================================ */

/* ---------- 1) إزالة كل العناصر العائمة والمكررة ---------- */
#av15BottomNav,
.ash-bottom-nav,
.floating-bottom-bar,
.bottom-bar-floating,
.ashish-bottombar,
#ashishBottomBar,
.ashish-bottom-bar,
#bottomBar,
.bottom-nav,
.mobile-bottom-nav,
#mobileBottomNav,
.floating-bottombar,
.v14-bottombar,
.v15-bottom-nav,
.v25-bottombar,
.v27-bottombar,
#socialBar,
.social-bar,
.social-floating,
#whatsappFloat,
.whatsapp-float,
.wa-float,
#backToTop,
.back-to-top,
.scroll-top-btn,
#inquiryBtn.floating,
.floating-inquiry,
.land-transport-hero-btn,
#landTransportHeroBtn,
#ashishParticles,
.ashish-particles-canvas,
canvas.particles-canvas,
#ashishCurrencyBar,
.ashish-currency-bar,
.currency-floating-bar,
.v22-floating,
.v23-floating,
.v28-floating-attach,
.v29-submit-floating,
.v32-payment-float,
.v33-quick-actions-float,
.v40-floating-helper,
.v43-qr-float,
.gs-floating-help,
.super-admin-float,
.phase2-floating,
.mega-fixes-float,
.final-fixes-float,
#pwaInstallFloat,
.pwa-install-float,
.notch-fake,
.notch-decoration,
.header-notch-dot,
.red-mark-overlay,
.overlay-mark,
.debug-badge {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  z-index: -1 !important;
}

/* ---------- 2) إزالة الحشو السفلي الفائض ---------- */
html body:not(.client-admin-mode),
html body:not(.client-admin-mode) footer {
  padding-bottom: env(safe-area-inset-bottom, 0px) !important;
}

body.av15-active footer,
html body.av15-active footer {
  padding-bottom: env(safe-area-inset-bottom, 0px) !important;
}

/* ---------- 3) تنظيف طبقات z-index المتضاربة ---------- */
.bottom-sheet-overlay,
#sheetOverlay {
  z-index: 9000 !important;
}
.bottom-sheet {
  z-index: 9001 !important;
}
.modal-overlay {
  z-index: 9050 !important;
}
#serviceDetailSheet { z-index: 9002 !important; }
#orderSheet          { z-index: 9003 !important; }
#toast, .v40-toast   { z-index: 9200 !important; }

/* ---------- 4) توحيد الهيدر (إخفاء النقطة الحمراء العائمة) ---------- */
.ash-header::before,
.ash-header::after,
.notch-red-dot,
.header-red-mark {
  display: none !important;
}

/* ---------- 5) إعادة ضبط الحاوية الرئيسية ---------- */
#ashApp {
  padding-bottom: 24px !important; /* بدلاً من 90px+ */
}

/* ---------- 6) الحد من الطبقات الشفافة المتراكمة ---------- */
body:not(.client-admin-mode) {
  background: #02122C !important;
}

/* منع أي canvas أو svg يغطي المحتوى */
body > canvas,
body > svg.background-svg,
body > .bg-effect,
body > .particles-layer {
  display: none !important;
}

/* ---------- 7) تنسيق الأزرار السفلية داخل السلايدات ---------- */
.bottom-sheet .sheet-body {
  padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)) !important;
}

/* ---------- 8) إزالة العلامات الحمراء التصحيحية ---------- */
[data-debug],
[data-red-mark],
.dev-outline,
.debug-outline {
  outline: none !important;
  border: none !important;
  background-image: none !important;
}

/* ---------- 9) توحيد زر التقديم المركزي ---------- */
.central-submit-fixed,
#centralSubmitBar {
  position: static !important;
  transform: none !important;
  margin-top: 16px !important;
  box-shadow: none !important;
}

/* ---------- 10) قص أي overflow جانبي ---------- */
html, body {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

/* ---------- 11) skip link في مكانه الطبيعي ---------- */
a.skip-link {
  position: absolute !important;
  top: -100px !important;
  right: 0 !important;
}
a.skip-link:focus,
a.skip-link:focus-visible {
  top: 8px !important;
  right: 8px !important;
  z-index: 9500 !important;
}

/* ============================================================
   نهاية الملف — صفحة العميل نظيفة ومتماسكة
   ============================================================ */
