/* Google Fonts - Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

.active .overlay {
  opacity: 1;
  pointer-events: auto;
}

.active .modal-box {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.close-btn {
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  padding: 14px 22px;
  background: #4070f4;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}

.close-btn:hover {
  background-color: #265df2;
}

.show-modal,
.modal-box {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.overlay {
  position: fixed;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.1);
  opacity: 0;
  z-index: 4;
  pointer-events: none;
}

.modal-box { 
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: -1;
  transform: translate(-50%, -50%);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.modal-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 380px;
  width: 100%;
  padding: 30px 20px;
  border-radius: 24px;
  background-color: #fff;
  opacity: 0;
  transition: all 0.3s ease;
  transform: translate(-50%, -50%) scale(1.2);
}

.modal-box i {
  font-size: 70px;
  color: #4070f4;
}

.modal-box h2 {
  margin-top: 20px;
  font-size: 25px;
  font-weight: 500;
  color: #333;
}

.modal-box h3 {
  font-size: 16px;
  font-weight: 400;
  color: #333;
  text-align: center;
}

.modal-box .buttons {
  margin-top: 25px;
}

.modal-box .close-btn {
  font-size: 14px;
  padding: 6px 12px;
  margin: 0 10px;
}