@import url("/styles/variables.css");

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  animation-name: fadeIn;
  animation-duration: 0.6s;
}

.modal {
  background: var(--white);
  margin: 8px;
  padding: 20px;
  border-radius: 5px;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.modal p {
  margin: 20px 10px;
}

.modal button {
  padding: 8px 30px;
  border: none;
  background-color: var(--mid-red);
  color: var(--white);
  border-radius: 4px;
  cursor: pointer;
}

.modal button:hover {
  background-color: var(--dark-red);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
