.sielpa-modal-open {
  overflow: hidden;
}

.sielpa-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(7, 17, 31, .62);
}

.sielpa-modal-panel {
  position: relative;
  width: min(100%, 560px);
  max-height: min(88vh, 720px);
  overflow: auto;
  border-radius: 16px;
  background: #fffdf8;
  color: #111827;
  box-shadow: 0 24px 60px rgba(7, 17, 31, .28);
  border: 1px solid rgba(15, 23, 42, .1);
}

.sielpa-modal-body {
  padding: 24px;
}

.sielpa-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, .14);
  background: #fff;
  color: #111827;
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
}

.sielpa-modal-close:hover,
.sielpa-modal-close:focus-visible {
  background: #f3f6fb;
}

.sielpa-modal-eyebrow {
  margin: 0 0 8px;
  color: #0f5e94;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.sielpa-modal-panel h2 {
  margin: 0 40px 12px 0;
  color: #07111f;
  font-size: clamp(22px, 4vw, 30px);
  line-height: 1.12;
  letter-spacing: 0;
}

.sielpa-modal-copy {
  display: grid;
  gap: 10px;
  color: #3f4654;
  font-size: 15px;
  line-height: 1.62;
}

.sielpa-modal-copy p,
.sielpa-modal-copy ul {
  margin: 0;
}

.sielpa-modal-copy ul {
  padding-left: 20px;
}

.sielpa-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.sielpa-modal-action,
.sielpa-modal-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 15px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.sielpa-modal-action {
  border: 1px solid #f2c94c;
  background: #07111f;
  color: #fff;
}

.sielpa-modal-secondary {
  border: 1px solid rgba(15, 23, 42, .14);
  background: #fff;
  color: #172033;
}

@media (max-width: 620px) {
  .sielpa-modal-body {
    padding: 22px 18px;
  }

  .sielpa-modal-actions {
    flex-direction: column;
  }

  .sielpa-modal-action,
  .sielpa-modal-secondary {
    width: 100%;
  }

}
