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

.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, 46, 32, 0.94);
  color: #f3ead8;
  border: 1px solid rgba(212, 175, 55, 0.65);
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(20, 46, 32, 0.36);
  font-family: inherit;
  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;
  line-height: 1.85;
  color: rgba(243, 234, 216, 0.88);
}

.demo-notice b {
  color: #e8c96a;
  font-weight: 800;
}

.demo-notice button {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(243, 234, 216, 0.28);
  background: transparent;
  color: #f3ead8;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
}

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

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

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

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

@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;
  }

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