
.tooltip {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-family: "Arial", sans-serif;
  }
  
  .tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
  }

  .tooltip:hover .tooltiptextleft {
    visibility: visible;
    opacity: 1;
  }
  
  .tooltiptext {
    display: block;
    visibility: hidden;
    width: 270px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 10px;
    position: absolute;
    z-index: 9999;
    top: 100%;
    left: 50%;
    margin-left: -150px;
    opacity: 0;
    transition: opacity 0.3s;
  }
  .tooltiptextleft {
    display: block;
    visibility: hidden;
    width: 270px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 10px;
    position: absolute;
    z-index: 9999;
    top: 100%;
    left: 50%;
    margin-left: -230px;
    opacity: 0;
    transition: opacity 0.3s;
  }
  .alert-moderate{
    background-color: #fff59d !important;
    color: #333 !important;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word;
    display: flex;
    flex-direction: column;
  }
  .alert-major{
    background-color: #ef9a9a !important;
    color: #333 !important;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word;
    overflow: visible;
  }
  /* .tooltiptext::after {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    margin-left: -10px;
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent #333 transparent;
  } */
  
  .tooltip .icon {
    display: inline-block;
    width: 25px;
    height: 25px;
    font-size: 13px;
    background-color: #e1f5fe;
    color: #333;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
  }
  

/* From Uiverse.io by PriyanshuGupta28 */ 

.toast-container {
    position: fixed;
    top: 140px;
    right: 20px;
    z-index: 1000;
}

.toast {
    background-color: #333;
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 250px;
    max-width: 450px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease-in-out;
}

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

.toast-content {
    flex-grow: 1;
    margin-right: 10px;
}

.toast-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
}