#ui_overlay {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 100;
  backdrop-filter: blur(1px);
}

#ui_toasts_wrapper {
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 999999999;
}

#ui_toasts_wrapper>div.toast {
  width: 250px;
  min-height: 50px;
  border-radius: 5px;
  background-color: rgba(115, 161, 61, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px;
  box-sizing: border-box;
  transition: 0.5s;
  opacity: 1;
  margin-top: 10px;
  position: relative;
}

#ui_toasts_wrapper>div.toast.bad {
  background-color: rgba(181, 60, 60, 0.9);
}

#ui_toasts_wrapper>div.toast>span.close {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 30px;
  height: 30px;
  background-image: url(/images/icons/close.png);
  background-size: auto 10px;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}

#ui_toasts_wrapper>div.toast>span.title {
  font-family: 'roboto-bold';
  color: white;
  font-size: 14px;
  margin-bottom: 2px;
}

#ui_toasts_wrapper>div.toast>span.description {
  margin-top: 2px;
  font-family: 'roboto';
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.modal_window {
  box-shadow: 0 0 10px black;
  position: fixed;
  background-color: #151618;
  border-radius: 5px;
  border: 2px rgb(40, 40, 40) solid;
  padding: 15px;
  z-index: 3000;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
  max-width: 500px;
  min-width: 350px;
}

.modal_window>span.close {
  width: 25px;
  height: 25px;
  background-image: url(/images/icons/close.png);
  background-size: auto 15px;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
}

.modal_window>h1 {
  margin: 0;
  font-family: 'montserrat-bold';
  color: white;
  font-size: 32px;
}

.modal_window>p {
  margin: 0;
  margin-top: 10px;
  font-family: 'montserrat-regular';
  color: white;
  font-size: 16px;
  line-height: 24px;
}

.modal_window>button,
.modal_window>a {
  border: none;
  background-color: #5383ff;
  height: 35px;
  margin-top: 15px;
  font-size: 14px;
}

.modal_window>button:hover,
.modal_window>a:hover{
  box-shadow: 0 0 1px 2px rgb(83 131 255 / 50%);
}

div.input_wrapper.password span.show_password {
  position: absolute;
  height: 20px;
  width: 20px;
  background-position: center;
  background-size: auto 10px;
  right: 5px;
  top: 50%;
  transform: translate(0, -50%);
  cursor: pointer;
  background-repeat: no-repeat;
  background-image: url('/images/icons/eye_open.png');
}

div.input_wrapper.password input {
  padding-right: 25px;
}

div.input_wrapper.password span.show_password.active {
  background-image: url('/images/icons/eye_closed.png');
}

span.close {
  position: absolute;
  background-image: url(/images/icons/close.png);
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  right: 0;
  top: 0;
  cursor: pointer;
  z-index: 5;
}

span.close:hover {
  opacity: 0.7;
}

#ui_preloader{
  position: fixed;
  top:0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999999999;
  background-image: url(/images/icons/load.svg);
  background-position: center;
  background-size: 50px 50px;
  background-repeat: no-repeat;
}

#ui_action_status{
  position: absolute;
  left: 10px;
  bottom: 10px;
  border-radius: 5px;
  color: white;
  font-family: 'montserrat-semibold';
  background-color: rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  height: 25px;
  line-height: 21px;
  font-size: 12px;
  padding-left: 21px;
  padding-right: 5px;
  white-space: nowrap;
  transition: 0.5s;
  z-index: 10;
  backdrop-filter: blur(1px);
}

#ui_action_status.loading{
 border: 2px rgb(10, 191, 254) solid;
}

#ui_action_status.loading::before{
  content: "";
  border: 3.5px dashed rgb(10, 191, 254);
  border-radius: 100%;
  animation: loadingD 1.5s 0.3s cubic-bezier(0.17, 0.37, 0.43, 0.67) infinite;
  position: absolute;
  top: 4px;
  left: 4px;
  height: 13px;
  width: 13px;
  box-sizing: border-box;
}

#ui_action_status.complete{
  border: 2px rgb(146, 191, 36) solid;
}

#ui_action_status.complete::before{
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  height: 13px;
  width: 13px;
  background-image: url(/images/icons/action_status_complete_checkbox.png);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

@keyframes loadingD {
  0 {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(360deg);
  }
}