import{Panel as o}from"@redocly/theme/components/Panel/Panel";import{FieldsGroupHeader as e}from"../common/headers.js";import{Trigger as r}from"./Trigger.js";import{styled as t}from"../../styled-components.js";const i=t(o)`
  ${e} {
    &:first-child {
      margin-top: 0;
    }
  }

  ${r} {
    flex: 1;
    max-width: 100%;
    justify-content: space-between;
  }
`,d=t(i)`
  border-bottom: 1px solid var(--border-color-primary);
  &:not(:last-child) {
    margin-bottom: 0;
    border-radius: 0;
  }

  ${r} {
    max-width: calc(100% - 9px - var(--spacing-unit)); /* shelf icon size and small padding */
    justify-content: flex-start;
  }
`;export{d as CallbackPanel,i as StyledResponsePanel};
