@keyframes reanimate-underline-1px {
  0% {
    background-position: 100% 100%;
    background-size: 100% 1px;
  }
  49% {
    background-position: 100% 100%;
    background-size: 0% 1px;
  }
  50% {
    background-position: 0% 100%;
    background-size: 0% 1px;
  }
  100% {
    background-position: 0% 100%;
    background-size: 100% 1px;
  }
}
@keyframes reanimate-underline-2px {
  0% {
    background-position: 100% 100%;
    background-size: 100% 2px;
  }
  49% {
    background-position: 100% 100%;
    background-size: 0% 2px;
  }
  50% {
    background-position: 0% 100%;
    background-size: 0% 2px;
  }
  100% {
    background-position: 0% 100%;
    background-size: 100% 2px;
  }
}
@keyframes reanimate-underline-3px {
  0% {
    background-position: 100% 100%;
    background-size: 100% 3px;
  }
  49% {
    background-position: 100% 100%;
    background-size: 0% 3px;
  }
  50% {
    background-position: 0% 100%;
    background-size: 0% 3px;
  }
  100% {
    background-position: 0% 100%;
    background-size: 100% 3px;
  }
}
@keyframes reanimate-underline-4px {
  0% {
    background-position: 100% 100%;
    background-size: 100% 4px;
  }
  49% {
    background-position: 100% 100%;
    background-size: 0% 4px;
  }
  50% {
    background-position: 0% 100%;
    background-size: 0% 4px;
  }
  100% {
    background-position: 0% 100%;
    background-size: 100% 4px;
  }
}
@keyframes reanimate-underline-5px {
  0% {
    background-position: 100% 100%;
    background-size: 100% 5px;
  }
  49% {
    background-position: 100% 100%;
    background-size: 0% 5px;
  }
  50% {
    background-position: 0% 100%;
    background-size: 0% 5px;
  }
  100% {
    background-position: 0% 100%;
    background-size: 100% 5px;
  }
}
/** Usage

    ```scss
      .lds { 
        @include ldsRingAnimation($foreground-color: #fff, $width: 2px, $size: 25px);
      }
    ```

    ```html
      <div class="lds">
        <div></div>
        <div></div>
        <div></div>
      </div>
    ```
 */
@keyframes reanimate-underline-1px {
  0% {
    background-position: 100% 100%;
    background-size: 100% 1px;
  }
  49% {
    background-position: 100% 100%;
    background-size: 0% 1px;
  }
  50% {
    background-position: 0% 100%;
    background-size: 0% 1px;
  }
  100% {
    background-position: 0% 100%;
    background-size: 100% 1px;
  }
}
@keyframes reanimate-underline-2px {
  0% {
    background-position: 100% 100%;
    background-size: 100% 2px;
  }
  49% {
    background-position: 100% 100%;
    background-size: 0% 2px;
  }
  50% {
    background-position: 0% 100%;
    background-size: 0% 2px;
  }
  100% {
    background-position: 0% 100%;
    background-size: 100% 2px;
  }
}
@keyframes reanimate-underline-3px {
  0% {
    background-position: 100% 100%;
    background-size: 100% 3px;
  }
  49% {
    background-position: 100% 100%;
    background-size: 0% 3px;
  }
  50% {
    background-position: 0% 100%;
    background-size: 0% 3px;
  }
  100% {
    background-position: 0% 100%;
    background-size: 100% 3px;
  }
}
@keyframes reanimate-underline-4px {
  0% {
    background-position: 100% 100%;
    background-size: 100% 4px;
  }
  49% {
    background-position: 100% 100%;
    background-size: 0% 4px;
  }
  50% {
    background-position: 0% 100%;
    background-size: 0% 4px;
  }
  100% {
    background-position: 0% 100%;
    background-size: 100% 4px;
  }
}
@keyframes reanimate-underline-5px {
  0% {
    background-position: 100% 100%;
    background-size: 100% 5px;
  }
  49% {
    background-position: 100% 100%;
    background-size: 0% 5px;
  }
  50% {
    background-position: 0% 100%;
    background-size: 0% 5px;
  }
  100% {
    background-position: 0% 100%;
    background-size: 100% 5px;
  }
}
/** Usage

    ```scss
      .lds { 
        @include ldsRingAnimation($foreground-color: #fff, $width: 2px, $size: 25px);
      }
    ```

    ```html
      <div class="lds">
        <div></div>
        <div></div>
        <div></div>
      </div>
    ```
 */
.modal {
  position: fixed;
  top: 0;
  bottom: 0;
  bottom: env(safe-area-inset-bottom, 0);
  left: 0;
  width: 100vw;
  background: rgba(0, 0, 0, 0.7);
  animation: fadeIn 0.2s ease-in;
  z-index: 1700;
  overflow-y: scroll;
}
.modal.closed {
  display: none;
}
.modal.show {
  display: flex;
}
.modal > * {
  position: relative;
  animation: slideDown 0.2s ease-in;
}
.modal--container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.modal--content {
  position: relative;
  background: white;
  max-width: 600px;
  width: 100%;
  margin: 20px;
  padding: 30px 25px;
  top: 60px;
}
@media screen and (min-width: 1000px) {
  .modal--content {
    padding: 50px 60px 90px 60px;
    top: 72px;
  }
}
.modal--close {
  position: absolute;
  right: 0;
  bottom: calc(100% + 28px);
  width: 30px;
  height: 30px;
  background-image: url(common/resources/icon-close.cdf54714.svg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
@media screen and (min-width: 1000px) {
  .modal--close {
    width: 44px;
    height: 44px;
    left: calc(100% + 8px);
    right: auto;
    bottom: calc(100% + 8px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideDown {
  from {
    top: -36px;
  }
  to {
    top: 0;
  }
}
.modal--form__hidden {
  display: none;
}
.modal--form__input {
  background: #eff0f2;
  border: none;
  padding: 12px;
  font-size: 18px;
  width: 100%;
}
.modal--form__input-container {
  margin-bottom: 32px;
}
@media screen and (min-width: 1000px) {
  .modal--form__input-container {
    margin-bottom: 35px;
  }
}
.modal--form__label p {
  margin-bottom: 7px;
}
.modal--form__label.has-error + .modal--form__error {
  display: block;
}
.modal--form__label.has-error > .modal--form__input {
  border: #e6553f solid 2px;
}
.modal--form__error {
  display: none;
  color: #e6553f;
  margin-top: 10px;
}

.modal--loading-icon {
  display: inline-block;
  position: relative;
  width: 34px;
  height: 14px;
  top: -4px;
  left: 6px;
}
.modal--loading-icon div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 25px;
  height: 25px;
  margin: 0px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #ffffff transparent transparent transparent;
}
.modal--loading-icon div:nth-child(1) {
  animation-delay: -0.45s;
}
.modal--loading-icon div:nth-child(2) {
  animation-delay: -0.3s;
}
.modal--loading-icon div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.modal--error {
  display: none;
  background: #fdefed;
  padding: 24px 17px;
  align-items: center;
  margin: 25px 0px 40px 0px;
}
@media screen and (min-width: 1000px) {
  .modal--error {
    padding: 25px 30px;
  }
}
.modal--error p {
  margin: 0;
}
.modal--error.show {
  display: flex;
}
.modal--error__warning-icon {
  height: 35px;
  min-width: 35px;
  margin-right: 17px;
  background-image: url(common/resources/warning-icon.fbb207f6.svg);
  background-size: 100%;
  background-position: center center;
  background-repeat: no-repeat;
}
@media screen and (min-width: 1000px) {
  .modal--error__warning-icon {
    margin-right: 30px;
  }
}
