:host {
  display: block;
}

.share-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.share-target-button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 12px 16px;
  text-align: left;
  width: 100%;

  mat-icon {
    font-size: 20px;
    width: 20px;
    height: 20px;
  }

  span {
    flex: 1;
  }
}

.native-button {
  grid-column: 1 / -1;
}

.mastodon-instance {
  margin-bottom: 16px;

  mat-form-field {
    width: 100%;
  }
}

.clipboard-actions {
  display: flex;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.12);

  button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;

    mat-icon {
      font-size: 18px;
      width: 18px;
      height: 18px;
    }
  }
}

mat-dialog-content {
  min-width: 400px;
}
