/* BUTTON */
.button {
  width: initial;
  min-width: 150px;
  padding: 0em 2em;
}

/* STEP */
div.step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

div.step-title {
  display: flex;
  align-items: center;
  margin-bottom: 1em;
}

div.step-title.validated {
  color: #a7c957;
}

div.step-title[disabled] {
  opacity: 0.5;
}

div.step-title:not(:first-of-type) {
  margin-top: 2em;
}

div.step-title > span.step-number {
  position: relative;
  width: 24px;
  margin-right: 1em;
  border: 2px solid #ffffff;
  border-radius: 50%;
  font-weight: bold;
}

div.step-title.validated > span.step-number {
  border-color: #a7c957;
  color: transparent;
}

div.step-title.validated > span.step-number:after {
  position: absolute;
  content: "L";
  color: #a7c957;
  transform: scaleX(-1) rotate(-45deg) translateX(8px) translateY(6px);
}

div.step-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-left: 2em;
}

div.modal-backdrop {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
  visibility: hidden;
}
div.modal-backdrop.show {
  visibility: visible;
}

div.modal-window {
  width: 500px;
  margin-top: 200px;
  border-radius: 5px;
  box-shadow: 0px 0px 3pt 1pt #666;
  padding: 1em;
  background-color: #303136;
  opacity: 0;
  transition: all 0.25s ease;
}
div.modal-window.show {
  margin-top: 0px;
  opacity: 1;
  visibility: visible;
}

div.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1em;
}
div.modal-header span {
  font-weight: bold;
}
div.modal-header .modal-close {
  position: relative;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #e63946;
  font-style: normal;
}
div.modal-header .modal-close:hover {
  cursor: pointer;
  filter: brightness(90%);
}
div.modal-header .modal-close:before {
  position: relative;
  transform: rotate(45deg);
  transform-origin: 2px 8px;
  width: 3px;
  height: 12px;
  background-color: #f2f2f2;
  content: "";
}
div.modal-header .modal-close:after {
  position: relative;
  transform: rotate(-45deg);
  transform-origin: 1px 8px;
  width: 3px;
  height: 12px;
  background-color: #f2f2f2;
  content: "";
}

div.modal-footer {
  display: flex;
  justify-content: center;
  margin-top: 1em;
}

.toasters-container {
  position: absolute;
  top: 0px;
  right: 0px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 400px;
  max-height: 100%;
  margin: 1em 1.5em;
}
.toaster {
  --bg-color: #303136;
  display: flex;
  align-items: center;
  border-radius: 5px;
  padding: 1em 1.5em;
  background-color: var(--bg-color);
  color: #f2f2f2;
}
.toaster:hover {
  cursor: pointer;
  filter: brightness(90%);
}
.toaster + .toaster {
  margin-top: 1em;
}
.toaster-close {
  box-sizing: border-box;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-left: 1em;
  border-radius: 50%;
  padding: 9px;
  background: #f2f2f2;
  opacity: 0.7;
}
.toaster-close:before {
  content: "";
  width: 3px;
  height: 12px;
  background-color: var(--bg-color);
  transform: rotate(-45deg) translateX(1px) translateY(1px);
}
.toaster-close:after {
  content: "";
  width: 3px;
  height: 12px;
  background-color: var(--bg-color);
  transform: rotate(45deg) translateX(-1px) translateY(1px);
}
.toaster-warning {
  --bg-color: #e09f3e;
}
