/* ---------- تنبيه النسخة التجريبية ---------- */

.demo-notice {
  position: fixed;
  bottom: 14px;
  inset-inline: 14px;
  z-index: 91;
  width: min(760px, 100%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 14px;
  background: rgba(20, 26, 44, 0.93);
  color: #eef1f6;
  border: 1px solid rgba(201, 162, 39, 0.6);
  border-radius: 9px;
  box-shadow: 0 14px 34px rgba(11, 18, 33, 0.34);
  font-size: 11px;
  line-height: 1.85;
  backdrop-filter: blur(8px);
  animation: demo-notice-in 0.35s ease-out;
}

.demo-notice[hidden] {
  display: none;
}

.demo-notice > svg {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  color: #e8c96a;
}

.demo-notice p {
  flex: 1;
  margin: 0;
  color: rgba(238, 241, 246, 0.86);
}

.demo-notice b {
  color: #f0d79f;
  font-weight: 700;
}

.demo-notice button {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  border: 1px solid rgba(238, 241, 246, 0.24);
  background: transparent;
  color: #eef1f6;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
}

.demo-notice button:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* لا نزاحم زر واتساب العائم */

body:has(.demo-notice:not([hidden])) .wa-fab {
  bottom: 78px;
}

@keyframes demo-notice-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .demo-notice {
    font-size: 10px;
    padding: 9px 11px;
    gap: 9px;
    inset-inline: 10px;
  }

  body:has(.demo-notice:not([hidden])) .wa-fab {
    bottom: 92px;
  }
}
