.notifications {
    position: fixed;
    z-index: 50000;
    top: 30px;
    right: 20px;
  }
  .notifications :where(._toast_v, .column) {
    display: flex;
    align-items: center;
  }
  .notifications ._toast_v {
    width: 400px;
    position: relative;
    overflow: hidden;
    list-style: none;
    border-radius: 4px;
    border: none !important;
    padding: 14px 17px;
    margin-bottom: 10px;
    background: #fff;
    justify-content: space-between;
    animation: show_toast 0.3s ease forwards;
  }
  @keyframes show_toast {
    0% {
      transform: translateX(100%);
    }
    40% {
      transform: translateX(-5%);
    }
    80% {
      transform: translateX(0%);
    }
    100% {
      transform: translateX(-10px);
    }
  }
  .notifications ._toast_v.hide {
    animation: hide_toast 0.3s ease forwards;
  }
  @keyframes hide_toast {
    0% {
      transform: translateX(-10px);
    }
    40% {
      transform: translateX(0%);
    }
    80% {
      transform: translateX(-5%);
    }
    100% {
      transform: translateX(calc(100% + 20px));
    }
  }
  ._toast_v::before {
    position: absolute;
    content: "";
    height: 3px;
    width: 100%;
    bottom: 0px;
    left: 0px;
    animation: progress 5s linear forwards;
    background: #fff;
  }
  @keyframes progress {
    100% {
      width: 0%;
    }
  }
  ._toast_v.success,
  .btn#success {
    background: #27AE60;
  }
  ._toast_v.error,
  .btn#error {
    background: #EB5757;
  }
  ._toast_v.warning,
  .btn#warning {
    background: #F1BD1D;
  }
  ._toast_v.info,
  .btn#info {
    background: #2F80ED;
  }
  ._toast_v .column i {
    font-size: 1.75rem;
    color: #fff;
  }
  /* // ._toast_v.success .column i {
  //   color: #27AE60;
  // }
  // ._toast_v.error .column i {
  //   color: #EB5757;
  // }
  // ._toast_v.warning .column i {
  //   color: #F1BD1D;
  // }
  // ._toast_v.info .column i {
  //   color: #2F80ED;
  // } */
  ._toast_v .column span {
    font-size: 0.7rem;
    margin-left: 12px;
    color: #fff;
  }
  ._toast_v i:last-child {
    color: #aeb0d7;
    cursor: pointer;
  }
  ._toast_v i:last-child:hover {
    color: var(--dark);
  }
  .buttons .btn {
    border: none;
    outline: none;
    cursor: pointer;
    margin: 0 5px;
    color: var(--light);
    font-size: 1.2rem;
    padding: 10px 20px;
    border-radius: 4px;
  }
  @media screen and (max-width: 530px) {
    .notifications {
      width: 95%;
    }
    .notifications ._toast_v {
      width: 100%;
      font-size: 1rem;
      margin-left: 20px;
    }
    .buttons .btn {
      margin: 0 1px;
      font-size: 1.1rem;
      padding: 8px 15px;
    }
  }
  
  /* styles.css */
.alert-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f44336; /* Red color for no internet */
    color: white;
    text-align: center;
    padding: 10px;
    display: none; /* Hidden by default */
    z-index: 6000;
}

.alert-bar.online {
    background-color: #4CAF50; /* Green color for online status */
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    font-weight: bold;
    position: absolute;
    right: 10px;
    top: 5px;
    cursor: pointer;
}

.close-btn:hover {
    color: #ccc;
}

/* styles.css */
.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: none; /* Hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 7000;
}

.loader {
  position: absolute;
  bottom: 0;
  left: 0;
  border: 10px solid #e4e4e4; /* Light grey */
  border-top: 10px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
