.new-account {
  width: 375px;
  background-color: #ffffff;
  box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.08);
  z-index: 25;

  &__header {
    display: flex;
    flex-flow: column;
    border-bottom: 1px solid $geyser;
  }

  &__title {
    color: $tundora;
    font-family: Roboto;
    font-size: 32px;
    font-weight: 500;
    line-height: 43px;
    margin-top: 22px;
    margin-left: 29px;
  }

  &__tabs {
    margin-left: 22px;
    display: flex;
    margin-top: 10px;

    &__tab {
      height: 54px;
      padding: 15px 10px;
      color: $dusty-gray;
      font-family: Roboto;
      font-size: 18px;
      line-height: 24px;
      text-align: center;
      cursor: pointer;
    }

    &__tab:hover {
      color: $black;
      border-bottom: none;
    }

    &__selected {
      color: $curious-blue;
      border-bottom: 3px solid $curious-blue;
      cursor: initial;
    }
  }
}

.new-account-import-disclaimer {
  width: 120%;
  background-color: #f4f9fc;
  display: inline-block;
  align-items: center;
  padding: 20px 30px 20px;
  font-size: 12px;
  line-height: 1.5;
}

.new-account-import-form {
  display: flex;
  flex-flow: column;
  align-items: center;
  padding: 0 30px 30px;

  &__select-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 29px;
    width: 100%;
  }

  &__select-label {
    color: $scorpion;
    font-family: Roboto;
    font-size: 16px;
    line-height: 21px;
  }

  &__select {
    height: 54px;
    width: 210px;
    border: 1px solid #d2d8dd;
    border-radius: 4px;
    background-color: #ffffff;
    display: flex;
    align-items: center;

    .Select-control,
    .Select-control:hover {
      height: 100%;
      border: none;
      box-shadow: none;

      .Select-value {
        display: flex;
        align-items: center;
      }
    }
  }

  &__private-key-password-container {
    display: flex;
    flex-flow: column;
    align-items: center;
    width: 100%;
  }

  &__instruction {
    color: $scorpion;
    font-family: Roboto;
    font-size: 16px;
    line-height: 21px;
    align-self: flex-start;
  }

  &__private-key {
    display: flex;
    flex-flow: column;
    align-items: flex-start;
    margin-top: 34px;
  }

  &__input-password {
    height: 54px;
    width: 315px;
    border: 1px solid $geyser;
    border-radius: 4px;
    background-color: $white;
    margin-top: 16px;
    color: $scorpion;
    font-family: Roboto;
    font-size: 16px;
    padding: 0px 20px;
  }

  &__json {
    display: flex;
    flex-flow: column;
    align-items: center;
    margin-top: 29px;
  }

  &__buttons {
    margin-top: 39px;
    display: flex;
    width: 100%;
    justify-content: space-between;
  }
}

.hw-tutorial {
  width: 375px;
  border-top: 1px solid #d2d8dd;
  border-bottom: 1px solid #d2d8dd;
  overflow: visible;
  display: block;
  padding: 15px 30px;
}

.hw-connect {
  width: 100%;

  &__header {
    &__title {
      margin-top: 5px;
      margin-bottom: 15px;
      font-size: 22px;
    }

    &__msg {
      font-size: 14px;
      color: #9b9b9b;
      margin-top: 10px;
      margin-bottom: 20px;
    }
  }

  &__btn-wrapper {
    flex: 1;
    flex-direction: row;
    display: flex;
  }

  &__connect-btn {
    background-color: #259de5;
    color: #fff;
    border: none;
    width: 315px;
    min-height: 54px;
    font-weight: 300;
    font-size: 14px;
    margin-bottom: 20px;
    margin-top: 20px;
    border-radius: 5px;
    display: flex;
    flex: 1;
    margin-left: 20px;
    margin-right: 20px;
    justify-content: center;
    text-transform: uppercase;
  }

  &__connect-btn.disabled {
    cursor: not-allowed;
    opacity: 0.5;
  }

  &__btn {
    background: #fbfbfb;
    border: 1px solid #e5e5e5;
    height: 100px;
    width: 150px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;

    &__img {
      width: 95px;
    }
  }

  &__btn.selected {
    border: 2px solid #00a8ee;
    width: 149px;
  }

  &__btn:first-child {
    margin-right: 15px;
    margin-left: 20px;
  }

  &__btn:last-child {
    margin-right: 20px;
  }

  &__hdPath {
    display: flex;
    flex-direction: row;
    margin-top: 15px;
    margin-bottom: 30px;
    font-size: 14px;

    &__title {
      display: flex;
      margin-top: 10px;
      margin-right: 15px;
    }

    &__select {
      display: flex;
      flex: 1;
    }
  }

  &__learn-more {
    margin-top: 15px;
    font-size: 14px;
    color: #5b5d67;
    line-height: 19px;
    text-align: center;
    cursor: pointer;

    &__arrow {
      transform: rotate(90deg);
      display: block;
      text-align: center;
      height: 30px;
      margin: 0px auto 10px;
    }
  }

  &__title {
    padding-top: 10px;
    font-weight: 400;
    font-size: 18px;
  }

  &__unlock-title {
    padding-top: 10px;
    font-weight: 400;
    font-size: 22px;
    margin-bottom: 15px;
  }

  &__msg {
    font-size: 14px;
    color: #9b9b9b;
    margin-top: 10px;
    margin-bottom: 15px;
  }

  &__link {
    color: #2d7cc2;
  }

  &__footer {
    &__title {
      padding-top: 15px;
      padding-bottom: 12px;
      font-weight: 400;
      font-size: 18px;
      text-align: center;
    }

    &__msg {
      font-size: 14px;
      color: #9b9b9b;
      margin-top: 12px;
      margin-bottom: 27px;
      width: 100%;
      display: block;
      margin-left: 20px;
    }

    &__link {
      color: #2d7cc2;
      margin-left: 5px;
    }
  }

  &__get-hw {
    width: 100%;
    padding-bottom: 10px;
    padding-top: 10px;

    &__msg {
      font-size: 14px;
      color: #9b9b9b;
    }

    &__link {
      font-size: 14px;
      text-align: center;
      color: #2d7cc2;
      cursor: pointer;
    }
  }

  &__step-asset {
    margin: 0px auto 20px;
    display: flex;
  }
}

.hw-account-list {
  display: flex;
  flex: 1;
  flex-flow: column;
  width: 100%;

  &__title_wrapper {
    display: flex;
    flex-direction: row;
    flex: 1;
  }

  &__title {
    margin-bottom: 23px;
    align-self: flex-start;
    color: $scorpion;
    font-family: Roboto;
    font-size: 16px;
    line-height: 21px;
    font-weight: bold;
    display: flex;
    flex: 1;
  }

  &__device {
    margin-bottom: 23px;
    align-self: flex-end;
    color: $scorpion;
    font-family: Roboto;
    font-size: 16px;
    line-height: 21px;
    font-weight: normal;
    display: flex;
  }

  &__item {
    font-size: 15px;
    flex-direction: row;
    display: flex;
    padding-left: 10px;
    padding-right: 10px;
  }

  &__item:nth-of-type(even) {
    background-color: #fbfbfb;
  }

  &__item:nth-of-type(odd) {
    background: rgba(0, 0, 0, 0.03);
  }

  &__item:hover {
    background-color: rgba(0, 0, 0, 0.06);
  }

  &__item__index {
    display: flex;
    width: 24px;
  }

  &__item__radio {
    display: flex;
    flex: 1;

    input {
      padding: 10px;
      margin-top: 13px;
    }
  }

  &__item__label {
    display: flex;
    flex: 1;
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  &__item__balance {
    display: flex;
    flex: 1;
    justify-content: center;
  }

  &__item__link {
    display: flex;
    margin-top: 13px;
  }

  &__item__link img {
    width: 15px;
    height: 15px;
  }
}

.hw-list-pagination {
  display: flex;
  align-self: flex-end;
  margin-top: 10px;

  &__button {
    height: 19px;
    display: flex;
    color: #33a4e7;
    font-size: 14px;
    line-height: 19px;
    border: none;
    min-width: 46px;
    margin-right: 0px;
    margin-left: 16px;
    padding: 0px;
    text-transform: uppercase;
    font-family: Roboto;
  }
}

.new-account-connect-form {
  display: flex;
  flex-flow: column;
  align-items: center;
  padding: 15px 30px 0;
  height: 710px;
  overflow: auto;

  &.unsupported-browser {
    height: 210px;
  }

  &.account-list {
    height: auto;
    padding-left: 20px;
    padding-right: 20px;
  }

  &__buttons {
    margin-top: 39px;
    display: flex;
    width: 100%;
    justify-content: space-between;
  }

  &__button {
    width: 150px;
    min-width: initial;
  }

  .btn-primary {
    background-color: #259de5;
    color: #ffffff;
    border: none;
    width: 100%;
    min-height: 54px;
    font-weight: 300;
    font-size: 14px;
    margin-bottom: 20px;
  }

  &__button.unlock {
    width: 50%;
  }

  &__button.btn-primary--disabled {
    cursor: not-allowed;
    opacity: 0.5;
  }
}

.hw-forget-device-container {
  display: flex;
  flex-flow: column;
  align-items: center;
  padding: 22px;

  a {
    color: #2d7cc2;
    font-size: 14px;
    cursor: pointer;
  }
}

.new-account-create-form {
  display: flex;
  flex-flow: column;
  align-items: center;
  padding: 30px;

  &__input-label {
    color: $scorpion;
    font-family: Roboto;
    font-size: 16px;
    line-height: 21px;
    align-self: flex-start;
  }

  &__input {
    height: 54px;
    width: 315.84px;
    border: 1px solid $geyser;
    border-radius: 4px;
    background-color: $white;
    color: $scorpion;
    font-family: Roboto;
    font-size: 16px;
    line-height: 21px;
    margin-top: 15px;
    padding: 0px 20px;
  }

  &__buttons {
    margin-top: 39px;
    display: flex;
    width: 100%;
    justify-content: space-between;
  }

  &__button {
    width: 150px;
    min-width: initial;
  }
}

.cashaccount-description {
  margin-top: 3rem;
  padding: 1.5rem;

  .new-account-create-form__input-label {
    font-size: 1.7rem;
    margin-bottom: 1.5rem;
  }
  h4 {
    font-size: 1.5rem;
    margin-bottom: 1.3rem;
  }
  h5 {
    font-size: 0.8rem;
    margin-bottom: 1.3rem;
  }
}

.cashaccount-import {
  margin: 1rem;

  .identity {
    font-size: 1.35rem;
    padding: 1.5rem 0;
    color: #0ac18e;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .title {
    color: #5d5d5d;
    font-family: Roboto;
    font-size: 1.3rem;
    line-height: 21px;
    margin: 2rem auto;
  }
  .notice {
    font-size: 0.7rem;
    font-style: italic;
    margin: 0;
  }
}

.cashaccount-advanced {
  margin-top: 3rem;

  a {
    color: #2f9ae0;
    cursor: pointer;
  }
}

.lds-roller {
  display: inline-block;
  position: relative;
  width: 64px;
  height: 64px;
}
.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 32px 32px;
}
.lds-roller div:after {
  content: ' ';
  display: block;
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0ac18e;
  margin: -3px 0 0 -3px;
}
.lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
  top: 50px;
  left: 50px;
}
.lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
  top: 54px;
  left: 45px;
}
.lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
  top: 57px;
  left: 39px;
}
.lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
  top: 58px;
  left: 32px;
}
.lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
  top: 57px;
  left: 25px;
}
.lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
  top: 54px;
  left: 19px;
}
.lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
  top: 50px;
  left: 14px;
}
.lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
  top: 45px;
  left: 10px;
}
@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
