@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400&display=swap');

* {
  box-sizing: border-box;
}

body {
  background-color: #f4f7f6; /* Light grey background */
  font-family: 'Poppins', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
  margin: 0;
}

.show-notification-btn {
  background-color: #3498db; /* Blue button */
  color: #fff;
  font-family: inherit;
  font-weight: bold;
  padding: 1rem;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  margin: 10px; /* Spacing between buttons */
  transition: background-color 0.3s ease;
}

.show-notification-btn:hover {
  background-color: #2980b9; /* Darker blue on hover */
}

.show-notification-btn:focus {
  outline: none;
}

.show-notification-btn:active {
  transform: scale(0.98);
}

#notificationContainer {
  position: fixed;
  bottom: 20px; /* Slightly higher */
  right: 20px; /* Slightly more to the right */
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 1000; /* Ensure notifications are on top */
}

.toast-message {
  background-color: #ffffff; /* White background */
  border-radius: 5px;
  padding: 1rem 1.5rem; /* Adjusted padding */
  margin: 0.5rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  color: #333; /* Dark text */
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.toast-message.show {
  opacity: 1;
  transform: translateX(0);
}

.toast-message.info {
  border-left: 5px solid #3498db; /* Blue left border */
}

.toast-message.success {
  border-left: 5px solid #2ecc71; /* Green left border */
}

.toast-message.error {
  border-left: 5px solid #e74c3c; /* Red left border */
}