.filterContainer {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.filterText {
  margin-left: 5px;
}

.footer {
  composes: modalFooter from '~Components/Modal/ModalFooter.css';

  justify-content: space-between;
  padding: 15px;
}

.leftButtons,
.rightButtons {
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
}

.leftButtons {
  flex: 0 1 auto;
}

.rightButtons {
  justify-content: flex-end;
  flex: 1 1 50%;
}

.deleteButton {
  composes: button from '~Components/Link/Button.css';

  margin-right: 10px;
}

.importMode,
.bulkSelect {
  composes: select from '~Components/Form/SelectInput.css';

  margin-right: 10px;
  max-width: 100%;
  width: auto;
}

.errorMessage {
  color: var(--dangerColor);
}

@media only screen and (max-width: $breakpointSmall) {
  .footer {
    .leftButtons,
    .rightButtons {
      flex-direction: column;
      gap: 3px;
    }

    .leftButtons {
      align-items: flex-start;
      max-width: fit-content;
    }

    .rightButtons {
      align-items: flex-end;
    }

    a,
    button {
      margin-left: 0;

      &:first-child {
        margin-bottom: 5px;
      }
    }
  }
}
