.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}

.toast {
  display: flex;
  align-items: center;
  position: relative;
  background-color: #007bff;
  color: white;
  padding: 14px 20px;
  margin-bottom: 12px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  font-family: sans-serif;
  font-size: 15px;
  min-width: 260px;
  opacity: 0;
  width: 400px;
  transform: translateX(100%);
  animation: slideIn 0.3s forwards, fadeOut 0.5s 4.5s forwards;
  overflow: hidden;
}

.toast i {
  font-size: 18px;
  margin-right: 10px;
}

.progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background-color: #ffffff;
  animation: shrink 5s linear forwards;
}

@keyframes shrink {
  from { width: 100%; }
  to { width: 0%; }
}
@keyframes slideIn {
to {
  opacity: 1;
  transform: translateX(0);
}
}

@keyframes fadeOut {
to {
  opacity: 0;
  transform: translateX(100%);
}
}

/* modal session */
 /* Alert container - hidden by default */
 #sessionAlert {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: gray; /* Fully transparent background */
}

/* Alert box */
.alert-box {
  background-color: red;
  color: white;
  width: 400px;
  max-width: 90%;
  margin: 150px auto;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 0 10px black;
}

.alert-box button {
  background-color: white;
  color: red;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}

body.modal-open {
  overflow: hidden;
}


#loader {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999999;
  width: 100%;
  height: 100%;
  background-color: #2F6A8E;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.75s, visibility 0.75s;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loader-image {
  width: 100px;
  height: 100px;
  background-image: url('../images_0692/load.gif');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.loader-content p {
  margin-top: 12px;
  font-size: 16px;
  color: white;
}


