@import 'src/css/quasar.variables.scss';

.wrapper--select-account {
  position: relative;
}

.row--input {
  display: flex;
  justify-content: space-between;
}

.column--icon-account {
  display: flex;
  align-items: center;
  column-gap: 8px;
}

.column--icon {
  height: 24px;
  width: 24px;
  overflow: hidden;
  flex-shrink: 0;
}

.input--address {
  width: 270px;
  background-color: transparent;
  &:focus {
    outline: none;
  }
  @media (min-width: $md) {
    width: 320px;
  }
  @media (min-width: $xl) {
    width: 350px;
  }
}

.icon--selector {
  height: 20px;
  width: 20px;
  color: $gray-4;
}

.input--checkbox {
  height: 16px;
  width: 16px;
  appearance: none;
  border-width: 2px;
  border-color: $navy-1;
  border-radius: 100%;
  background-color: $gray-6;
  &:focus {
    border-width: 4px;
    border-color: $astar-blue;
  }
  &:checked {
    border-width: 4px;
    border-color: $astar-blue;
  }
}

.list {
  position: relative;
  width: 100%;
  padding-top: 16px;
  padding-bottom: 16px;
  padding-left: 12px;
  padding-right: 36px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease 0s;
  &:hover {
    transition: all 0.3s ease 0s;
    background-color: $gray-1;
  }
}

.list__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.text--account {
  font-weight: 700;
  font-size: 12px;
  color: $gray-1;
}

.text--address {
  font-weight: 400;
  font-size: 12px;
  color: $gray-4;
}

.placeholder--icon {
  width: 24px;
}

.box__row {
  display: flex;
  column-gap: 8px;
  align-items: center;
}

.column--wallet-address {
  display: flex;
  column-gap: 12px;
  align-items: center;
}

.column--wallet-name {
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row--separator--account {
  padding: 0 12px;
  margin-top: 16px;
}

.body--dark {
  .list {
    &:hover {
      background-color: $item--bg--hover-dark;
    }
  }
}
