@import "../../theme.scss";

.setting-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: $space-6;
  align-items: start;
  padding-block: $space-4;
  border-top: 1px solid $border-default;

  &:first-of-type {
    border-top: none;
    padding-top: 0;
  }

  &:last-child {
    padding-bottom: 0;
  }

  @media (max-width: 680px) {
    grid-template-columns: 1fr;
    gap: $space-2;
  }
}

.setting-row-label {
  display: flex;
  flex-direction: column;
  gap: $space-1;
  padding-top: $space-1;

  label,
  span {
    font-size: $text-sm;
    font-weight: $weight-semibold;
    color: $text-primary;
  }

  p {
    margin: 0 !important;
    font-size: $text-xs;
    color: $text-secondary;
  }
}

.setting-row-control {
  min-width: 0;
}
