/* General styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #c0bcbc;
  font-family: Arial, sans-serif;
}

/* Container for the dialog box */
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.dialog {
  background: #e0e5ec;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 8px 8px 20px rgba(200, 200, 200, 0.4),
    -8px -8px 20px rgba(255, 255, 255, 0.8);
  text-align: center;
  width: 300px;
  animation: fadeIn 1s ease-in-out;
}

h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #555;
}

.button-group {
  display: flex;
  justify-content: space-evenly;
}

button {
  background: #e0e5ec;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 4px 4px 10px rgba(200, 200, 200, 0.4),
    -4px -4px 10px rgba(255, 255, 255, 0.8);
}

button:hover {
  background: #d1d9e6;
  transform: scale(1.05);
}

button:active {
  background: #c1c9e1;
  transform: scale(0.98);
}

button#cancelButton {
  background: #f8f8f8;
  color: #888;
}

button#cancelButton:hover {
  background: #f0f0f0;
}

/* Sad notification */
.sad-notification {
  display: none;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffffff;
  color: rgb(0, 0, 0);
  padding: 15px;
  border-radius: 10px;
  font-size: 18px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  border-radius: 5px;
  animation: fadeInSad 1s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInSad {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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