.jarvis-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.55);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
}

.jarvis-popup {
  min-width: 320px;
  background: #ffffff;
  color: #111827;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px 22px;
  text-align: center;
  direction: rtl;
  text-align: right;
  box-shadow: 0 10px 25px rgba(0,0,0,.4);
  animation: jarvis-popup-in .25s ease forwards;
}

.jarvis-popup.hide {
  animation: jarvis-popup-out .25s ease forwards;
}

@keyframes jarvis-popup-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes jarvis-popup-out {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-10px); }
}

.jarvis-popup__text {
  margin: 6px 0 16px;
  font-size: 15px;
  line-height: 1.5;
  direction: rtl;
  text-align: center;
}

.jarvis-popup__button-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.jarvis-btn {
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}
.jarvis-btn--primary {
  background: #2563eb;
  color: #ffffff;
}