.system-messages {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  max-height: 50vh;
  z-index: 500;
  opacity: 1;
  transition: opacity 500ms ease;
  overflow-y: auto;
}
.system-messages.fading {
  opacity: 0;
}
.system-messages h2.visually-hidden {
  width: 0;
  height: 0;
}
.system-messages .messages {
  position: relative;
  font-size: 16px;
  font-weight: 700;
  line-height: 18px;
  padding: 16px 56px 16px 64px;
  word-wrap: break-word;
  background-repeat: no-repeat;
  transition: opacity 300ms ease;
}
.system-messages .messages.fading {
  opacity: 0;
}
.system-messages .messages::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 16px;
  width: 32px;
  height: 32px;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: 32px;
          mask-size: 32px;
}
.system-messages .messages::after {
  content: "";
  position: absolute;
  height: 80%;
  right: 55px;
  width: 2px;
  top: 10%;
  background-color: white;
  opacity: 0.3;
}
.system-messages .messages .sm-close {
  cursor: pointer;
  position: absolute;
  top: 14px;
  right: 17px;
  width: 24px;
  height: 24px;
}
.system-messages .messages__item:not(:first-child) {
  margin-top: 5px;
}
.system-messages .messages--error {
  color: #ffffff;
  background-color: #F52A53;
  border-color: #f5204b;
  box-shadow: 0px 16px 24px 0px rgba(223, 67, 80, 0.16), 0px 8px 8px 0px rgba(220, 47, 61, 0.08);
}
.system-messages .messages--error::before {
  -webkit-mask-image: url("../assets/svg/error.svg");
          mask-image: url("../assets/svg/error.svg");
  background-color: #ffffff;
}
.system-messages .messages--error .sm-close svg path {
  stroke: #ffffff;
}
.system-messages .messages--warning {
  color: #ffffff;
  background-color: #F26522;
  border-color: #F26522;
  box-shadow: 0 2px 0 #ed560e;
}
.system-messages .messages--warning::before {
  -webkit-mask-image: url("../assets/svg/warning.svg");
          mask-image: url("../assets/svg/warning.svg");
  background-color: #ffffff;
}
.system-messages .messages--warning .sm-close svg path {
  stroke: #ffffff;
}
.system-messages .messages--status {
  color: #2D2B50;
  background-color: #2BDEA8;
  border-color: #2BDEA8;
  box-shadow: 0 2px 0 #20cf9a;
}
.system-messages .messages--status::before {
  -webkit-mask-image: url("../assets/svg/success.svg");
          mask-image: url("../assets/svg/success.svg");
  background-color: #2D2B50;
}
.system-messages .messages--status .sm-close svg path {
  stroke: #2D2B50;
}
