/* Ensures popup is above all elements */
.mfp-bg {
  z-index: 100000 !important; /* behind modal content */
}

.mfp-wrap {
  z-index: 100001 !important; /* on top of everything */
}

body.mfp-open {
  overflow: hidden !important;
  position: relative;
  height: 100vh;
}

.white-popup-block {
  background: #fff;
  padding: 30px;
  max-width: 500px;
  margin: 40px auto;
  position: relative;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 1051; /* extra safety */
}

.app-modal h2 {
  font-weight: bold;
  color: var(--primery);
  text-align: center;
  margin: 24px 0;
}
.app-modal p {
  font-weight: 400 !important;
  color: var(--primery);
  text-align: center;
  font-size: 18px;
}

.app-modal .buttons {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 20px;
  width: 100%;
  flex-wrap: wrap;
  margin-top: 24px;
}

.app-modal .my_btn {
  border-radius: 10px !important;
}

.my_btn.btn-2 {
  background-color: #13233d !important;
}
