.toast-container {
  position: fixed;
  z-index: 1;
  right: 30px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.toast {
  min-width: 250px;
  background-color: #ffffff;
  color: #fff;
  text-align: left;
  border-radius: 5px;
  padding: 16px;
  display: flex;
  flex-direction: column; /* Allow stacking of content vertically */
  gap: 10px;
  transition: opacity 0.5s ease-in-out;
  opacity: 0;
  position: relative;
 
}

.toast.show {
  opacity: 1;
  @media (max-width: 600px) {
    width: 100px;
  }
}

.toast-icon {
  font-size: 20px;
}

.toast.success {
  background-color: #4caf50; /* Green for success */
}

.toast.error {
  background-color: #f44336; /* Red for error */
}

.toast-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: #000;
  font-size: 16px;
  cursor: pointer;
}

.toast-close:hover {
  color: #000;
}

#toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px; /* Space between stacked toasts */
  @media (max-width:600px) {
  bottom: 115px;
  }
}
.topic-news {
  display: flex;
}
.bg-news {
  width: 50px;
  height: 50px;
  background: #ccc;
  border-radius: 2px;
  margin-right: 13px;
  flex: 0 0 50px;
  overflow:inherit;
  @media (max-width:600px) {
  flex: 0 0 25px;
  height: 25px;
  }
}
.news-outer-toast {
  position: relative;
  width: 50px;
  height: 50px;
  @media (max-width:600px) {
    width: 25px;
  height: 25px;
  }
}
.news-outer:before{
  display: block;
  content: "";
  width: 100%;
  padding-top: calc(1 / 1) * 100%;
}
.news-outer > .news-inner{
  position: absolute;
  top: 50%;
  right: 0;
  bottom: 0;
  left: 50%;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: translateY(-50%) translateX(-50%);
} 
.title-news {
  color:black;
  font-size: 16px;
  line-break: anywhere;
}