#flash-container .flash {
  font-weight: 800;
  margin-bottom: 20px;
  margin-top: 20px;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
}

.flash-success {
  color: white;
  background: green;
}

.flash-error {
  color: white;
  background: red;
}

.flash-information {
  color: white;
  background: black;
}

.flash-success {
  border-left: 4px solid #28a745;
}

.floating-flash.flash-error {
  border-left: 4px solid #dc3545;
}

.flash.flash-information {
  border-left: 4px solid #17a2b8;
}

.floating-flash-container {
  font-weight: 800;
  margin-bottom: 20px;
  margin-top: 20px;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 300px;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  animation: flash_message_slide_in 0.3s ease-out;
}

@keyframes flash_message_slide_in {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes flash_message_slide_out {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(100%);
    opacity: 0;
  }

}

.flash-message-content {
  padding-right: 36px;
  /* enough space for the close button */
  word-break: break-word;
}

.flash-close-btn {
  position: absolute;
  top: 5px;
  right: 10px;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}