@use "design-system";

@import 'confirm-page-container-warning/index';
@import 'confirm-page-container-summary/index';

.confirm-page-container-content {
  overflow-y: auto;
  height: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;

  &--with-top-border {
    border-top: 1px solid var(--color-border-muted);
  }

  &__details {
    box-sizing: border-box;
  }

  &__gas-fee {
    border-bottom: 1px solid var(--color-border-muted);

    .advanced-gas-inputs__gas-edit-rows {
      margin-bottom: 16px;
    }
  }

  &__tab {
    @include design-system.H7;

    color: var(--color-text-alternative);
    text-transform: uppercase;

    & button {
      color: var(--color-text-alternative);
      text-transform: uppercase;
      max-width: 170px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    & .dropdown__select {
      color: var(--color-text-alternative);
      text-transform: uppercase;

      option {
        text-transform: none;
      }
    }

    & .dropdown__icon-caret-down {
      top: 40%;
    }
  }

  &__total-amount {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  &__total-value {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .page-container__footer {
    margin-top: auto;
  }

  &__currency-container,
  &__total-amount,
  &__total-value {
    position: relative;
  }
}
