#snackbar {
  visibility: hidden;
  min-width: 250px;
  transform: translateX(-50%);
  left: 50%;
  bottom: 30px;
  z-index: 11;
  background-color: var(--color-bg-default);
  font-size: 15px;
  border-radius: var(--border-radius-sm);
  pointer-events: all;
  position: fixed;
  box-shadow: var(--box-shadow-m);
  padding: 0;
  margin-left: 0;
}

#snackbar.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s;
  animation: fadein 0.5s;
}

#snackbar.info #snackbar-header {
  background-color: #cfe2ff;
  color: #084298;
}

#snackbar.info #snackbar-header svg path {
  fill: #084298;
}

#snackbar.success #snackbar-header {
  background-color: #d1e7dd;
  color: #0f5132;
}

#snackbar.success #snackbar-header svg path {
  fill: #0f5132;
}

#snackbar.warning #snackbar-header {
  background-color: #fff3cd;
  color: #664d03;
}


#snackbar.warning #snackbar-header svg path {
  fill: #664d03;
}

#snackbar.error #snackbar-header {
  background-color: #f8d7da;
  color: #842029;
}


#snackbar.error #snackbar-header svg path {
  fill: #842029;
}

#snackbar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem;
  height: unset;
  gap: 0.5rem;
  width: 100%;
}

#snackbar-header svg {
  width: 22px;
}

#close-snackbar-btn {
  opacity: 0.8;
  cursor: pointer;
}

#close-snackbar-btn {
  opacity: 1;
}


@-webkit-keyframes fadein {
  from {bottom: 0; opacity: 0;} 
  to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
  from {bottom: 30px; opacity: 1;} 
  to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}