.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  /* Black with 0.7 opacity */
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  /* Smooth transition for opacity */
}

.modal-content {
  background-color: rgba(0, 0, 0, 1);
  /* Solid black background for modal body */
  margin: auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  max-height: 80vh;
  overflow-y: auto;
  transition: all 0.3s ease-in-out;
  /* Smooth transition for all properties */
}

.modal.show {
  display: block!important;
  opacity: 1;
}

.modal-content.show {
  transform: translateX(-50%) translateY(0);
}

.modal-close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  right: 15px;
  top: 10px;
  transition: color 0.2s ease-in-out;
  /* Smooth transition for close button */
}

.modal-close:hover {
  color: black;
}

@keyframes slideInUp {
  from {
    bottom: -100%;
  }

  to {
    bottom: 0;
  }
}
