@import "admin/Label";
@import "admin/TaskOutputModal";
@import "admin/QueueSection";
@import "admin/ControlSection";
@import "admin/DiscoverSection";
@import "admin/ExtensionCard";

.ExtensionManager-controlSection {
  > .container {
    padding-bottom: 0;
  }
}

.FormControl-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.ButtonGroup--full {
  width: 100%;
  display: flex;

  > .Button:first-child {
    flex-grow: 1;
    text-align: start;
  }
}

.ConfigureAuth-hosts, .ConfigureComposer-repositories {
  > .ButtonGroup {
    margin-bottom: 8px;
  }
}

.flarum-extension-manager-Page .SettingsGroups .Form {
  max-height: unset;
}

.ExtensionManager-SettingsGroups {
  display: flex;
  column-count: 3;
  column-gap: 30px;
  flex-wrap: wrap;
  margin-top: 24px;

  .FormSection {
    min-width: 300px;
    max-height: 500px;
    min-height: 20vh;
    max-width: 400px;

    @media (max-width: 1209px) {
      margin-bottom: 20px;
    }

    .Form-controls {
      margin-top: auto;
    }
  }
}
