/* Затемняющая подложка на весь экран */
.itdolg-notify-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
}

.itdolg-notify-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* Центрированное окно уведомления */
.itdolg-notify-modal {
  background: #ffffff;
  color: #111827;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 28px 24px 24px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.18), 0 8px 16px -6px rgba(15, 23, 42, 0.08);
  position: relative;
  text-align: center;
  transform: scale(0.94) translateY(10px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.itdolg-notify-overlay.is-open .itdolg-notify-modal {
  transform: scale(1) translateY(0);
}

/* Иконка статуса вверху по центру (по умолчанию фирменный фиолетовый) */
.itdolg-notify-modal__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(118, 80, 245, 0.1);
  color: var(--purple, #7650f5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.itdolg-notify-modal--success .itdolg-notify-modal__icon {
  background: #ecfdf5;
  color: #10b981;
}

.itdolg-notify-modal--warning .itdolg-notify-modal__icon {
  background: #fffbeb;
  color: #d97706;
}

.itdolg-notify-modal--error .itdolg-notify-modal__icon {
  background: #fef2f2;
  color: #dc2626;
}

.itdolg-notify-modal__title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.itdolg-notify-modal__message {
  font-size: 14px;
  line-height: 1.5;
  color: #475569;
  margin: 0 0 22px 0;
}

/* Фирменная фиолетовая кнопка со скруглением и тенью */
.itdolg-notify-modal__btn {
  width: 100%;
  padding: 13px 20px;
  border: none;
  border-radius: 12px;
  background: var(--purple, #7650f5);
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  box-shadow: 0 10px 22px #7650f533;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, filter 0.2s ease;
}

.itdolg-notify-modal__btn:hover {
  filter: brightness(0.94);
}

.itdolg-notify-modal__btn:active {
  transform: scale(0.99);
}

/* Крестик закрытия в правом верхнем углу */
.itdolg-notify-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  width: 30px;
  height: 30px;
  font-size: 20px;
  line-height: 1;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s, background-color 0.15s;
}

.itdolg-notify-modal__close:hover {
  color: #0f172a;
  background: #f1f5f9;
}
