/*============================================================================================*/
/* Your custom styles below */
/*============================================================================================*/
/* Alert Box Container */
.popup {
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(41, 147, 45, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup-content {
  background-color: #fefefe;
  padding: 20px;
  border: 1px solid #888;
  width: 30%;
}

.close-btn {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
  color: #2b40e0;
  text-decoration: none;
  cursor: pointer;
}


.alert-box {
  position:initial;
  top: 20px;
  right: 20px;
  background-color: rgba(62, 180, 108, 0.23); /* Red background color */
  color: white; /* White text color */
  padding: 20px;
  border-left-style: solid red;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* Add a subtle box shadow */
  animation: fadeIn 0.5s ease-in-out, slideIn 0.5s ease-in-out;
  z-index: 9999; /* Ensure the alert box is on top of other elements */
}

/* Fade-in animation */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0.5;
  }
}

/* Slide-in animation */
@keyframes slideIn {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Alert Box Text */
.alert-box p {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
  animation: textAnimation 2s ease-in-out infinite;
}
/* Text animation */
@keyframes textAnimation {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(10px);
  }
  100% {
    transform: translateX(0);
  }
}