/* شاشة انتقال بين الصفحات — Eedeex */
html.eedeex-page-transition-active,
html.eedeex-page-transition-active body {
  overflow: hidden !important;
}

#eedeex-page-transition {
  position: fixed;
  inset: 0;
  z-index: 2147483645;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) 16px max(20px, env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  background: rgba(6, 10, 22, 0.72);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

#eedeex-page-transition.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.eedeex-pt-card {
  width: min(300px, 92vw);
  padding: 28px 24px 22px;
  border-radius: 22px;
  text-align: center;
  background: linear-gradient(165deg, rgba(18, 26, 44, 0.94) 0%, rgba(10, 14, 32, 0.98) 100%);
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 28px 64px rgba(0, 0, 0, 0.55),
    0 0 48px rgba(16, 185, 129, 0.08);
}

.eedeex-pt-logo-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
}

.eedeex-pt-orbit {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: rgba(52, 211, 153, 0.9);
  border-right-color: rgba(56, 189, 248, 0.35);
  animation: eedeex-pt-spin 1s linear infinite;
}

.eedeex-pt-orbit--outer {
  inset: -16px;
  border-top-color: rgba(56, 189, 248, 0.28);
  animation-duration: 1.45s;
  animation-direction: reverse;
}

.eedeex-pt-logo {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.eedeex-pt-brand {
  margin: 0 0 4px;
  font-family: 'IBM Plex Sans Arabic', 'Segoe UI', system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: 0.02em;
}

.eedeex-pt-status {
  margin: 0 0 16px;
  font-size: 0.78rem;
  font-weight: 500;
  color: #94a3b8;
  line-height: 1.5;
  min-height: 1.2em;
}

.eedeex-pt-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 10px;
}

.eedeex-pt-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.85);
  animation: eedeex-pt-dot 1.1s ease-in-out infinite;
}

.eedeex-pt-dots span:nth-child(2) { animation-delay: 0.15s; opacity: 0.75; }
.eedeex-pt-dots span:nth-child(3) { animation-delay: 0.3s; opacity: 0.55; }

@keyframes eedeex-pt-spin {
  to { transform: rotate(360deg); }
}

@keyframes eedeex-pt-dot {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.45; }
  40% { transform: translateY(-4px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .eedeex-pt-orbit,
  .eedeex-pt-dots span {
    animation: none !important;
  }
}
