.envoy-modal {
  display: block; position: fixed; inset: 0; z-index: 1055; background: rgba(17, 24, 39, 0.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.envoy-modal.is-hidden {
  display: none !important;
}
/* Centered via absolute */
.envoy-modal__dialog {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: calc(100% - 2.5rem);  background: #fff; border-radius: 2px; box-shadow: 0 1.5rem 3.5rem rgba(15, 23, 42, 0.35); text-align: center; animation: envoyModalIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes envoyModalIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) translateY(1rem) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0) scale(1);
  }
}
.envoy-modal__close {
  position: absolute; border-radius: 9999px; border: none; background: #f3f4f6; color: #6b7280;  line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background 0.15s ease, color 0.15s ease;
}
.envoy-modal__close:hover,
.envoy-modal__close:focus {
  background: #e5e7eb; color: #111827; outline: none;
}
.envoy-modal__icon {
  border-radius: 9999px; background: #fff1e6; color: #ff944d; display: flex; align-items: center; justify-content: center;
}
.envoy-modal__title {
  font-weight: 700; color: #111827;
}
.envoy-modal__body {
  line-height: 1.65; color: #4b5563;
}
.envoy-modal__body p {
  margin: 0;
}
.envoy-modal__body a {
  color: #ff944d; font-weight: 600; text-decoration: none; border-bottom: 0.0625rem solid transparent; transition: border-color 0.15s ease;
}
.envoy-modal__body a:hover {
  border-color: #ff944d;
}
.envoy-modal__actions {
  display: flex; justify-content: center;
}
.envoy-modal__btn {
  font-weight: 600; border-radius: 0.65rem; border: none; background: #ff944d; color: #fff; cursor: pointer; box-shadow: 0 0.5rem 1.25rem rgba(255, 148, 77, 0.35); transition: transform 0.1s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.envoy-modal__btn:hover {
  background: #f5822f; box-shadow: 0 0.65rem 1.5rem rgba(255, 148, 77, 0.45);
}
.envoy-modal__btn:active {
  transform: translateY(0.0625rem);
}
.envoy-modal__btn:focus {
  outline: none; box-shadow: 0 0 0 0.2rem rgba(255, 148, 77, 0.35);
}
/* Prevents background scroll while any envoy-modal is open
   (envoy-modal.js toggles this class on <body>) */
body.envoy-modal-lock {
  overflow: hidden;
}

