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

.wrapper--value {
  width: 100%;
}

.skeleton--value-panel {
  height: 305px;
  width: 100%;

  &.is-zk-evm {
    height: 151px !important;
  }
}

.container--title--color {
  color: $white;
}

.box--statuses {
  display: flex;
  flex-direction: column;
  padding: 40px 8px 0px 8px;
  gap: 16px;
}

.row--network-statuses {
  display: flex;
  flex-direction: column;
  row-gap: 16px;

  @media (min-width: $md) {
    display: grid;
    grid-template-rows: repeat(4, 1fr);
    grid-auto-flow: column;
    column-gap: 32px;
    row-gap: 16px;
  }
}

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

.column--network-name {
  display: flex;
  flex-direction: column;
  row-gap: 2px;
  @media (min-width: $md) {
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    padding-right: 8px;
  }
}

.container--xcm-restricted {
  background: rgba(240, 185, 11, 0.2);
  padding: 8px 16px 8px 16px;
  border-radius: 6px;
  li {
    color: $warning-yellow;
  }

  @media (min-width: $md) {
    width: calc(50% - 8px);
    margin-left: auto;
  }
}

.column--status {
  align-self: flex-end;
  padding: 4px 24px 4px 24px;
  border-radius: 15px;
  min-width: 110px;
  text-align: center;
}

.status--success {
  background: rgba(86, 245, 102, 0.2);
  color: $connected-green;
  font-weight: 500;
}

.status--fixing {
  background: rgba(255, 86, 33, 0.2);
  color: $warning-red;
  font-weight: 500;
}

.status--restricted {
  background: rgba(240, 185, 11, 0.2);
  color: $warning-yellow;
  font-weight: 500;
}

.body--dark {
  .status--success {
    background: rgba(86, 245, 102, 0.1);
    color: $connected-green;
  }
  .status--fixing {
    background: rgba(255, 86, 33, 0.1);
    color: $warning-red;
  }
  .status--restricted {
    background: rgba(240, 185, 11, 0.1);
    color: $warning-yellow;
  }
  .container--xcm-restricted {
    background: rgba(240, 185, 11, 0.1);
  }
}
