/* Modal Success Pengajuan KPR */
.kpr-modal-success {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  justify-content: center;
  align-items: center;
  background: rgba(30, 30, 30, 0.35);
}

.kpr-modal-success__overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30, 30, 30, 0.35);
  z-index: 1;
}

.kpr-modal-success__box {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 36px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  width: 600px;
  max-width: 96vw;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0px 0px 0px 7px rgba(255, 255, 255, 0.1);
}

.kpr-modal-success__close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 32px;
  color: #717171;
  cursor: pointer;
  z-index: 3;
}

.kpr-modal-success__img {
  object-fit: cover;
  border-radius: 24px;
  margin-bottom: 24px;
}

.kpr-modal-success__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
  margin-bottom: 24px;
}

.kpr-modal-success__title {
  color: #3E3A39;
  font-size: 20px;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 600;
  text-align: center;
}

.kpr-modal-success__desc {
  color: #717171;
  font-size: 16px;
  font-family: Lato, Arial, sans-serif;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0.32px;
  text-align: center;
}

.kpr-modal-success__actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.kpr-modal-success__btn {
  padding: 10px 18px;
  border-radius: 24px;
  font-size: 16px;
  font-family: Lato, Arial, sans-serif;
  font-weight: 500;
  outline: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.kpr-modal-success__btn--primary {
  background: radial-gradient(ellipse 143.59% 143.59% at 52.63% 123.08%, white 0%, #50C3CB 30%, #00A4CA 84%) padding-box, radial-gradient(circle, #50C3CB 0%, white 40%, #00A4CA 100%) border-box;
  color: #fff;
  border: 1px solid transparent;
  line-height: 1.1;
}

.kpr-modal-success__btn--primary:hover {
  border: 1px solid transparent;
  background: radial-gradient(ellipse 143.59% 143.59% at 52.63% 123.08%, white 0%, #0A8091 36%, #00A4CA 100%) padding-box, radial-gradient(circle, #50C3CB 0%, white 20%, #00A4CA 100%) border-box;
}

.kpr-modal-success__btn--secondary {
  background: #fff;
  color: #717171;
  outline: 1px #717171 solid;
  line-height: 1.1;
}

.kpr-modal-success__btn--secondary:hover {
  background: #E8E8E880;
  color: #717171;
  outline: 1px #71717180 solid;
}

body.modal-open {
  overflow: hidden;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 480px) {
  .kpr-modal-success {
    padding: 1rem;
  }

  .kpr-modal-success__box {
    width: 100%;
    padding: 20px;
  }

  .kpr-modal-success__img {
    margin-bottom: 20px;
  }

  .kpr-modal-success__content {
    gap: 10px;
    margin-bottom: 20px;
  }

  .kpr-modal-success__title {
    font-size: 18px;
  }

  .kpr-modal-success__desc,
  .kpr-modal-success__btn {
    font-size: 14px;
  }
}