/* Modal Overlay */
.overlay {
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease-in-out, visibility 0.3s;
}

/* Show overlay */
.overlay-show {
  visibility: visible;
  opacity: 1;
}

/* Modal Styling */
.modal {
  visibility: hidden;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  background-color: #071225;
  border-radius: 10px;
  border: 1px solid white;
  padding: 20px;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Show Modal */
.modal-show {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Modal Content */
.modal-content {
  text-align: center;
  min-width: 300px;
}

/* Modal Text */
.modal-text {
  font-size: 18px;
  margin-bottom: 20px;
  color: #ffffff;
}

/* Close Button */
.close-btn {
  padding: 10px 20px;
  background-color: #3026c5;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.close-btn:hover {
  background-color: #6152e7;
}