/* DESIGN NG BAGONG NOTIF */
.errorNotifications {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.errorNotification {
  background-color: #ed5f55;
  color: white;
  padding: 15px;
  border-radius: 5px;
  font-size: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  animation: slideIn 0.5s ease-in-out;
  min-height: 60px; /* Ensure that the notifications don't shrink */
  max-height: 80px; /* Limit the height of the notification */
  overflow: hidden; /* Prevent overflow */
}

.notificationHeader {
  font-weight: bold;
  margin-bottom: 10px;
}

.closeButton {
  font-size: 18px;
  color: white;
  cursor: pointer;
  float: right;
}

.messageContent {
  font-size: 14px;
  white-space: nowrap; /* Prevent wrapping of message content */
  overflow: hidden;
  text-overflow: ellipsis; /* Adds "..." for overflowed text */
}

@keyframes slideIn {
  0% {
      transform: translateX(100%);
  }
  100% {
      transform: translateX(0);
  }
}

.fadeOut {
  animation: fadeOut 1s forwards;
}

@keyframes fadeOut {
  0% {
      opacity: 1;
  }
  100% {
      opacity: 0;
      visibility: hidden; /* Ensure it doesn't take up space after fade */
  }
}

/* ETO NAMAN YUNG SA SUCCESS */
.successNotifications {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.successNotification {
  background-color: #37a337; /* Light green background */
  color: rgb(255, 255, 255);
  padding: 15px;
  border-radius: 5px;
  font-size: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  animation: slideIn 0.5s ease-in-out;
  min-height: 60px; /* Ensure that the notifications don't shrink */
  max-height: 80px; /* Limit the height of the notification */
  overflow: hidden; /* Prevent overflow */
}

.saksesnotificationHeader {
  font-weight: bold;
  margin-bottom: 10px;
}

.saksescloseButton {  
  font-size: 18px;
  color: rgb(255, 255, 255);
  cursor: pointer;
  float: right;
}

.saksesmessageContent {
  font-size: 14px;
  white-space: nowrap; /* Prevent wrapping of message content */
  overflow: hidden;
  text-overflow: ellipsis; /* Adds "..." for overflowed text */
}

@keyframes slideIn {
  0% {
      transform: translateX(100%);
  }
  100% {
      transform: translateX(0);
  }
}

.fadeOut {
  animation: fadeOut 1s forwards;
}

@keyframes fadeOut {
  0% {
      opacity: 1;
  }
  100% {
      opacity: 0;
      visibility: hidden; /* Ensure it doesn't take up space after fade */
  }
}