:host {
  display: block;
}

.share-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s);
  margin-bottom: var(--s2);
}

.share-target-button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--s);
  padding: 12px var(--s2);
  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: var(--s2);

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

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

  button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-half);

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

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