.ei-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 10, 12, 0.62);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.ei-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ei-modal {
  width: min(440px, 100%);
  background: #fff;
  color: #111;
  border-radius: 16px;
  padding: 28px 24px 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  text-align: center;
  transform: translateY(8px);
  transition: transform 0.2s ease;
}

.ei-overlay.is-open .ei-modal {
  transform: translateY(0);
}

.ei-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: #666;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.ei-modal-wrap {
  position: relative;
}

.ei-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #777;
  text-align: center;
}

.ei-title {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
}

.ei-body {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.45;
  color: #444;
  text-align: center;
}

.ei-submit {
  display: block;
  box-sizing: border-box;
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 16px;
  font-weight: 650;
  color: #fff !important;
  background-color: #0076df;
  background-image: none !important;
  text-align: center;
  text-decoration: none !important;
  text-shadow: none !important;
  cursor: pointer;
}

.ei-submit:hover,
.ei-submit:focus {
  color: #fff !important;
  background-color: #0063be;
  background-image: none !important;
  text-shadow: none !important;
  outline: none;
}

.ei-dismiss {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 0;
  background: transparent;
  color: #777;
  font-size: 14px;
  cursor: pointer;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.ei-lock {
  overflow: hidden;
}
