.Payments__main-container {
  display: flex;
  flex-direction: column;
}

.Payments__content {
  width: 100%;
  margin-bottom: 30px;
  background-color: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: 8px;
}

.Payments__content .CustomTable__cell--date {
  max-width: 90px;
  white-space: initial;
}

.Payments__content .CustomTable__cell--id {
  max-width: 120px;
}

.Payments__content .CustomTable__cell--merchant_id {
  max-width: 150px;
}

.Payments__content .CustomTable__cell--amount {
  max-width: 130px;
}

.Payments__content .CustomTable__cell--description {
  max-width: 180px;
}

.Payments__content .CustomTable__cell--reason {
  max-width: 150px;
}

.Payments__content .CustomTable__cell--status {
  max-width: 90px;
}

.Payments__content .CustomTable__cell--action {
  max-width: 90px;
}

@media (max-width: 1170px) {
  .Payments__content .CustomTable__cell--date {
    max-width: unset;
  }
}

.TestAccountBadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 94px;
  min-height: 24px;
  margin-left: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  text-align: center;
  vertical-align: middle;
  background-color: var(--light-orange);
  border: 1px solid #ffd175;
  border-radius: 4px;
}

.EnvironmentSelect {
  display: flex;
  flex-direction: column;
  margin: 16px 30px 0;
}

.EnvironmentSelect__box {
  display: flex;
  max-width: 400px;
  padding: 8px;
  margin: 0 0 8px;
  cursor: pointer;
  background-color: transparent;
  border: 1px solid var(--grey-light);
  border-radius: 8px;
  transition: background-color 300ms;
}

.EnvironmentSelect__box--active {
  background-color: var(--white);
}

.EnvironmentSelect__rect {
  width: 28px;
  height: 28px;
  margin: auto 12px auto 0;
  cursor: pointer;
  background-color: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: 50%;
}

.EnvironmentSelect__icon {
  display: flex;
  width: 28px;
  height: 28px;
  margin: auto 12px auto 0;
  border-radius: 50%;
}

.EnvironmentSelect__text-box {
  display: flex;
  flex-direction: column;
  width: calc(100% - 40px);
}

.EnvironmentSelect__title {
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-color);
  text-align: left;
}

.EnvironmentSelect__description {
  margin-right: 20px;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-color);
  text-align: left;
}

@media (min-width: 1170px) {
  .EnvironmentSelect {
    flex-direction: row;
  }

  .EnvironmentSelect__box {
    margin: 0 30px 8px 0;
  }

  .Payments__content .EnvironmentSelect {
    padding: 0 30px;
  }
}

@media (max-width: 599px) {
  .Payments__content {
    padding: 0 16px;
    border: unset;
  }
}

.PaymentsDashboard__box-container {
  display: flex;
  flex-wrap: wrap;
  padding-left: 15px;
}

.PaymentsDashboard__box {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: calc(33% - 30px);
  padding: 16px;
  margin: 16px 15px 0;
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: 6px;
}

.PaymentsDashboard__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 4px;
}

.PaymentsDashboard__text {
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  color: var(--grey);
  text-align: left;
}

.PaymentsDashboard__text span {
  text-transform: capitalize;
}

.PaymentsDashboard__number {
  margin-bottom: 16px;
  font-size: 32px;
  font-weight: 600;
  color: var(--text-color);
  text-align: left;
}

.PaymentsDashboard__box-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.15s ease-out;
}

.PaymentsDashboard__box-details.active {
  max-height: 500px;
}

.PaymentsDashboard__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 34px;
  padding: 0;
  margin: 8px 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  cursor: pointer;
  background-color: transparent;
  border: 0;
  transition: all 0.1s ease-in-out;
}

.PaymentsDashboard__button:hover {
  color: #1978c8;
}

.PaymentsDashboard__button .svg-container.active {
  transform: rotate(180deg);
}

.PaymentsDashboard__details:not(:last-child) {
  margin-bottom: 12px;
}

.PaymentsDashboard__details-name {
  font-size: 14px;
  color: var(--grey);
}

.PaymentsDashboard__details-currency {
  color: var(--blue);
  text-transform: uppercase;
}

.PaymentsDashboard__details-transactions {
  color: var(--text-color);
}

.PaymentsDashboard__details-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-color);
}

@media (max-width: 768px) {
  .PaymentsDashboard__box-container {
    padding-left: 0;
  }

  .PaymentsDashboard__box {
    max-width: calc(50% - 16px);
    margin: 16px 8px 0;
  }
}

@media (max-width: 599px) {
  .PaymentsDashboard__box {
    max-width: 100%;
    margin: 16px 0 0;
  }
}

.Payments__export-btn {
  align-self: flex-start;
  width: auto;
  min-height: 54px;
  padding-right: 16px;
  padding-left: 16px;
}

@media (min-width: 1170px) {
  .Payments__export-btn {
    margin-left: auto;
  }
}
