
/* Стили модального окна */
.tilda-exit-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 999999;
  justify-content: center;
  align-items: center;
  font-family: 'Roboto', Arial, sans-serif;
}

.tilda-exit-modal.active {
  display: flex;
}

.tilda-exit-modal__box {
  background: #ffffff;
  padding: 35px 30px 25px;
  border-radius: 16px;
  max-width: 460px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: tildaModalIn 0.3s ease;
}

@keyframes tildaModalIn {
  from { opacity: 0; transform: scale(0.9) translateY(-20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.tilda-exit-modal__icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.tilda-exit-modal__title {
  font-size: 20px;
  font-weight: 700;
  color: #222;
  margin: 0 0 10px;
}

.tilda-exit-modal__text {
  font-size: 15px;
  color: #666;
  margin: 0 0 20px;
  line-height: 1.5;
}

.tilda-exit-modal__url {
  display: block;
  background: #f5f5f5;
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 13px;
  color: #e74c3c;
  word-break: break-all;
  margin-bottom: 20px;
  border: 1px solid #eee;
}

.tilda-exit-modal__buttons {
  display: flex;
  gap: 12px;
}

.tilda-exit-modal__btn {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s;
}

.tilda-exit-modal__btn--stay {
  background: #f0f0f0;
  color: #333;
}

.tilda-exit-modal__btn--stay:hover {
  background: #e0e0e0;
}

.tilda-exit-modal__btn--go {
  background: #0066ff;
  color: #fff;
}

.tilda-exit-modal__btn--go:hover {
  background: #0052cc;
}
</style>