/* پاپ‌آپ پیام سراسری طب تو */
#tebNotifyRoot {
  position: fixed;
  inset: 0;
  z-index: 2147483600;
  pointer-events: none;
}

#tebNotifyRoot.teb-notify-open {
  pointer-events: auto;
}

.teb-notify-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: tebNotifyFade 0.18s ease;
}

.teb-notify-card {
  width: min(420px, 100%);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.28);
  padding: 1.35rem 1.25rem 1.15rem;
  text-align: center;
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  border: 1px solid rgba(13, 148, 136, 0.12);
  transform: translateY(8px) scale(0.98);
  animation: tebNotifyPop 0.2s ease forwards;
}

.teb-notify-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.35);
}

.teb-notify-success .teb-notify-icon {
  background: linear-gradient(135deg, #34d399, #059669);
}

.teb-notify-error .teb-notify-icon {
  background: linear-gradient(135deg, #f87171, #dc2626);
}

.teb-notify-warning .teb-notify-icon {
  background: linear-gradient(135deg, #fbbf24, #d97706);
}

.teb-notify-title {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}

.teb-notify-body {
  margin: 0 0 1.1rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #334155;
  white-space: pre-wrap;
  word-break: break-word;
}

.teb-notify-ok {
  border: none;
  border-radius: 999px;
  min-width: 120px;
  padding: 0.55rem 1.4rem;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  box-shadow: 0 8px 18px rgba(13, 148, 136, 0.28);
  cursor: pointer;
}

.teb-notify-ok:hover {
  filter: brightness(1.05);
}

.teb-notify-error .teb-notify-ok {
  background: linear-gradient(135deg, #f87171, #dc2626);
  box-shadow: 0 8px 18px rgba(220, 38, 38, 0.25);
}

@keyframes tebNotifyFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes tebNotifyPop {
  to { transform: translateY(0) scale(1); }
}
