@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.welcome-screen-container {
  display: flex;
  font-size: 12px;
  height: 100%;
  justify-content: flex-end;
  width: 100%;

  & .welcome-screen-container-line-decoration {
    position: absolute;
    inset: 2rem;
    border: 2px solid white;
    border-radius: 2rem;
  }

  /* panel */
  & .welcome-screen-container-panel {
    background: #fefefe;
    flex: 0 1 400px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 2px 3px 0 rgba(0, 0, 0, 0.2);
    overflow: auto;
    padding: 4rem 4rem 0;
    z-index: 1;

    & .welcome-screen-container-application-logo {
      background-repeat: no-repeat;
      background-size: contain;
      height: 60px;
    }

    &::-webkit-scrollbar {
      width: 6px;
      background-color: transparent;
    }

    &::-webkit-scrollbar-track {
      background-color: transparent;
    }

    &::-webkit-scrollbar-thumb {
      background-color: transparent;
      border-radius: 2px;
    }

    &:hover::-webkit-scrollbar-thumb {
      background-color: rgba(0, 0, 0, 0.2);
    }

    &.change-password-panel {
      & .section-title {
        font-size: 15px;
      }

      & .form-field {
        display: flex;
        flex-direction: column;
      }

      & .password-strength-indicator-message {
        font-size: 10px;
        font-style: italic;
      }

      & .password-strength-indicator-issues-expander {
        background-image: url('images/down-arrow.svg');
        background-repeat: no-repeat;
        background-size: contain;
        margin-left: 0.25rem;
        height: 14px;
        width: 14px;
        background-color: transparent;
        border: none;
      }

      & .password-strength-indicator-issues-list {
        margin: 0;
        padding: 0;
      }

      & .list-item-icon {
        background-image: url('images/list-item.svg?fill=#f7851d');
        padding: 4px 0 4px 15px;
        background-position: 0 8px;
        background-size: 6px;
        background-repeat: no-repeat;
      }
    }

    & .validation-message {
      color: #fe3322;
      height: 100%;
      padding: 1px 0 0 0;
      width: auto;
      margin-bottom: 2px;
    }

    & .separator {
      border-bottom: 1px solid #d0dbe8;
      padding: 5px 0;
      margin-bottom: 10px;
      text-align: center;
    }

    & .welcome-screen-container-loader,
    & .welcome-screen-container-loader::after {
      border-radius: 50%;
      height: 10em;
      width: 10em;
    }


    & .welcome-screen-container-loader {
      -webkit-animation: load8 1.1s infinite linear;
      animation: load8 1.1s infinite linear;
      border-bottom: 1em solid rgba(0, 144, 255, 0.1);
      border-left: 1em solid #0090ff;
      border-right: 1em solid rgba(0, 144, 255, 0.1);
      border-top: 1em solid rgba(0, 144, 255, 0.1);
      font-size: 7px;
      margin: 40px auto 30px;
    }

    & .welcome-screen-container-help-icon {
      background-image: url('images/help-icon.svg');
      background-repeat: no-repeat;
      background-size: contain;
      height: 18px;
      width: 18px;
      border: 0;
      outline: 0;
    }

    & .welcome-screen-container-integrated-log-in {
      align-items: center;
      background-color: transparent;
      border: none;
      color: #0090ff;
      cursor: pointer;
      display: flex;
      margin: 0 auto;

      &:disabled {
        color: rgba(0, 144, 255, .5);
        cursor: not-allowed;
      }
    }

    & .welcome-screen-container-form-field {
      & input:not([type='checkbox']) {
        border: 1px solid #d0dbe8;
        background-color: rgb(232, 240, 254);
        height: 100%;
        padding: 4px;
        width: calc(100% - 1rem);
        padding-inline: 0.5rem;
        padding-block: 0.5rem;
        border-radius: 4px;

        &:focus-visible {
          outline: 1px solid #83D3F5;
        }
      }

      &.text-field {
        display: flex;
        flex-direction: column;
        border: 1px solid #d0dbe8;
        background-color: rgb(232, 240, 254);
        border-radius: 4px;
        height: 100%;
        padding: 4px;
        width: 310px;
      }

      &:focus-visible {
        outline: 1px solid #83D3F5;
      }
    }

    & .welcome-screen-container-help {
      cursor: pointer;
    }

    & .footer-container {
      position: sticky;
      bottom: 0;
      width: 100%;
      background-color: #fff;
    }

    &::after {
      content: "";
      display: block;
      height: 20px;
    }
  }

  & .info-red-icon {
    background-image: url('images/validation-icon.svg');
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 3px;
    float: left;
    height: 14px;
    width: 14px;
  }
}

.welcome-screen-container .welcome-screen-container-panel .welcome-screen-container-form {
  padding: 2rem 0;

  & .welcome-screen-container-form-label {
    font-size: 15px;
    margin-bottom: 2px;
    color: grey;
  }

  & .validation-message-container.invalid-value {
    height: auto;
    margin: 0 0 5px;
  }

  & .welcome-screen-container-validation-message {
    color: #fe3322;
    padding: 1px 0 0 1.25rem;
  }

  & .welcome-screen-container-form-item {
    margin: 0 0 1rem;
    position: relative;

    &.form-actions {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: flex-end;
      gap: 1rem;
    }

    & .remember-me-field {
      display: flex;
      align-items: center;
      height: 29px;
      color: grey;
    }

    & .left-items {
      flex: 1;
    }

    & .welcome-screen-container-button {
      background-color: #0090ff;
      border: 0;
      border-radius: 5px;
      color: #fff;
      cursor: pointer;
      justify-content: center;
      outline: none;
      padding: 0.5rem 1.5rem;
      display: flex;
      align-items: center;

      &:disabled {
        background-color: rgba(0, 144, 255, .5);
        cursor: not-allowed;
      }

      &:not(:first-of-type) {
        margin-right: 5px;
      }

      &.return-button {
        background-color: transparent;
        margin-right: 0.5rem;
        color: #0090ff;
        padding: 0;
      }
    }

    & .welcome-screen-password-field {
      width: 100%;
      position: relative;

      & .welcome-screen-show-password-button-wrapper {
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        aspect-ratio: 1;
        display: flex;
        justify-content: center;
        align-items: center;

        & .welcome-screen-show-password-button {
          background-repeat: no-repeat;
          background-size: contain;
          border: none;
          padding: 0.5rem;
          cursor: pointer;

          &.visible {
            background-image: url('images/visible-icon.svg');
          }

          &.hidden {
            background-image: url('images/hidden-icon.svg');
          }
        }
      }
    }
  }

  & .welcome-screen-container-form-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 3rem;
  }

  & .welcome-screen-container-validation {
    height: 20px;
    margin: 0 0 5px;
  }

  & .welcome-screen-container-validation-icon {
    background-image: url('images/validation-icon.svg');
    background-repeat: no-repeat;
    background-size: contain;
    float: left;
    height: 14px;
    width: 14px;
  }

  & .welcome-screen-container-form-item-header {
    color: #888;
    font-size: 10px;
    margin: 0 0 5px;
    overflow: hidden;
    text-align: center;

    &:before,
    &:after {
      border-bottom: 1px solid #d0dbe8;
      content: '';
      display: inline-block;
      vertical-align: middle;
      width: 50%;
    }

    &:before {
      margin: 0 5px 0 -55%;
    }

    &:after {
      margin: 0 -55% 0 5px;
    }
  }
}

.welcome-screen-container-announcements {
  border-top: 1px solid #d0dbe8;
  margin: 10px 0 0;
  padding: 5px 0 0;
  color: grey;

  & .welcome-screen-container-announcements-header {
    font-size: 15px;
    margin-bottom: 4px;
  }

  & .welcome-screen-container-announcements-item {
    padding: 5px 0 0;
  }
}

.welcome-screen-container-application-version {
  width: 100%;
  border-top: 1px solid #d0dbe8;
  color: #888;
  font-size: 10px;
  margin: 10px 0 0;
  padding: 3px 0 0;
  text-align: right;
}

.welcome-screen-container-button-loader-wrapper {
  margin-right: 5px;

  & .welcome-screen-container-button-loader {
    animation: load8 1.1s infinite linear;
    -webkit-animation: load8 1.1s infinite linear;
    border-radius: 50%;
    border-style: solid;
    border-width: 2px;
    font-size: 10px;
    height: 10px;
    transform: translateZ(0);
    -ms-transform: translateZ(0);
    -webkit-transform: translateZ(0);
    width: 10px;
  }

  & .welcome-screen-container-button-loader-white {
    border-color: rgba(255, 255, 255, 0.2);
    border-left-color: #ffffff;
  }

  & .welcome-screen-container-button-loader-blue {
    border-color: rgba(0, 144, 255, 0.2);
    border-left-color: #0090ff;
  }
}

.form-row .form-column.align-start {
  align-items: flex-start;
}

.welcome-screen-container .options-field {
  border: 1px solid rgb(208, 219, 232);
  border-radius: 4px;
  box-shadow: rgba(0, 0, 0, 0.075) 0 1px 1px inset;
  color: rgb(33, 36, 45);
}

.welcome-screen-container .options-field .options-field-expander {
  background-image: url('images/down-arrow.svg');
  background-size: 16px 16px;
  background-repeat: no-repeat;
  border-color: rgb(208, 219, 232);
  width: 34px;
}

.welcome-screen-container .options-field .context-panel {
  box-shadow: rgba(0, 0, 0, 0.22) 0 1px 4px 0;
}

.welcome-screen-container .options-field .drop-down-element {
  padding: 7px;
}
