/* SUCCESS MODAL DESIGN */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal.open {
  display: flex;
}

.modal-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(6px);
  background: rgba(0, 0, 0, 0.45);
}

.modal-box {
  position: relative;
  background: #ffffffcc;
  backdrop-filter: blur(10px);
  padding: 40px 32px;
  border-radius: 20px;
  width: 90%;
  max-width: 420px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  text-align: center;
  animation: modalFadeIn 0.25s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: none;
  background: transparent;
  font-size: 26px;
  cursor: pointer;
  color: #333;
}

.modal-icon {
  font-size: 58px;
  color: #2ecc71;
  margin-bottom: 12px;
  font-weight: bold;
}

.modal-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
}

.modal-text {
  font-size: 15px;
  color: #444;
  margin-bottom: 16px;
}

.modal-ref {
  background: #f5f5f5;
  padding: 10px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 20px;
  color: #444;
}

.modal-ref span {
  font-weight: 700;
  color: #000;
}

.modal-btn {
  display: inline-block;
  padding: 12px 26px;
  background: #0066ff;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0,102,255,0.25);
  transition: 0.25s ease;
}

.modal-btn:hover {
  background: #0052cc;
  box-shadow: 0 4px 16px rgba(0,82,204,0.35);
}

}